Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't boot 3.x.x-Kernels on Powermac G5 late 2005
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Odiseus
n00b
n00b


Joined: 21 Dec 2012
Posts: 15

PostPosted: Sun Dec 23, 2012 11:55 am    Post subject: Can't boot 3.x.x-Kernels on Powermac G5 late 2005 Reply with quote

Problem:

Can't boot linux 3.x.x kernels

That includes self compiled kernels and newer iso-images inluding gentoo
install-powerpc-minimal-20120909.iso

Last working gentoo-boot-image is: install-powerpc-minimal-20101212.iso

Plain vanilla kernel 2.6.39.4 works fine.

Last lines of boot with 3.7.1-gentoo
DRM and nouveau in kernel.config enabled:

----------------------------------------------------------------

VPS: Mounted root (ext4 filesystem) readonly on device 8:20.
Freeing unused kernel memory: 308k freed
windfarm: Backside control started.
windfarm: Slots control loop started.
windfarm: Drive bay control loop started.

# I press ctrl-alt-del
# last windfarm line gets partly overwritten

Freeeing unDrive bay control loop started.
sd 1:0:0:0: [sdb] Syncronizing SCSI cache
sd 0:0:0:0: [sda] Syncronizing SCSI cache
Disabling non-boot CPUs ...
usb 2-1: USB disconnect, devicenumber 2 ache
nouveau E[ DRM] GPU lockup - switching to software fbcon

then after a while just the fans get real noisy...

----------------------------------------------------------------

Same but without kernel-option Direct Rendering Manager and
therefore nvidiafb and of-fb enabled
(Kernel output says that nvidiafb is used)

# I press ctrl-alt-del
(this time nothing gets overwritten.)

sd 1:0:0:0: [sdb] Syncronizing SCSI cache
sd 0:0:0:0: [sda] Syncronizing SCSI cache
Disabling non-boot CPUs ...
usb 2-1: USB disconnect, device number 2 ache
Info: rcu_shed self-detected stall on CPU { 1} (t=15000 jiffies)
Call Trace:
....
Here the fans don't get noisy and from time to time new
call traces are getting printed on the screen.

----------------------------------------------------------------

Hardware:

Power Mac G5 (Late 2005) Dual-core 2GHz
NVIDIA GeForce 6600 LE

Gentoo Linux:

/etc/make.conf
VIDEO_CARDS="nouveau"
ACCEPT_KEYWORDS="~ppc64"
CHOST="powerpc64-unknown-linux-gnu"

# uname -a
Linux electra 2.6.39.4 #1 SMP Thu Aug 30 12:48:09 CEST 2012 ppc64 PPC970MP,
altivec supported PowerMac11,2 GNU/Linux

sys-fs/udev (eix output)

Installed versions: 196-r1^t(01:55:28 PM 12/19/2012)(acl gudev hwdb keymap kmod openrc -doc -introspection -selinux -static-libs)

sys-apps/openrc (eix output)

Installed versions: 0.11.8(01:51:13 PM 12/19/2012)(ncurses pam unicode -debug -newnet -prefix -selinux -static-libs ELIBC="glibc" KERNEL="linux -FreeBSD")

sys-devel/gcc (eix output)

Installed versions: 4.6.3(4.6)^s(10:49:50 AM 11/24/2012)(altivec cxx fortran gtk mudflap nls nptl openmp -bootstrap -build -doc -fixed-point -gcj -go -graphite -hardened -libssp -multilib -multislot -nopie -nossp -objc -objc++ -objc-gc -test -vanilla)

# lspci
0000:00:0b.0 PCI bridge: Apple Inc. CPC945 PCIe Bridge
0000:0a:00.0 VGA compatible controller: NVIDIA Corporation NV43 [GeForce 6600 LE] (rev a2)
0001:00:00.0 Host bridge: Apple Inc. U4 HT Bridge
0001:00:01.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-X bridge (rev a3)
0001:00:02.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-X bridge (rev a3)
0001:00:03.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3)
0001:00:04.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3)
0001:00:05.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3)
0001:00:06.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3)
0001:00:07.0 PCI bridge: Apple Inc. Shasta PCI Bridge
0001:00:08.0 PCI bridge: Apple Inc. Shasta PCI Bridge
0001:00:09.0 PCI bridge: Apple Inc. Shasta PCI Bridge
0001:01:07.0 Unassigned class [ff00]: Apple Inc. Shasta Mac I/O
0001:01:0b.0 USB controller: NEC Corporation USB (rev 43)
0001:01:0b.1 USB controller: NEC Corporation USB (rev 43)
0001:01:0b.2 USB controller: NEC Corporation USB 2.0 (rev 04)
0001:03:0c.0 IDE interface: Broadcom K2 SATA
0001:03:0d.0 Unassigned class [ff00]: Apple Inc. Shasta IDE
0001:03:0e.0 FireWire (IEEE 1394): Apple Inc. Shasta Firewire
0001:05:04.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5780 Gigabit Ethernet (rev 03)
0001:05:04.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5780 Gigabit Ethernet (rev 03)


I appreciate any help!

Michael
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Wed Dec 26, 2012 9:45 am    Post subject: Reply with quote

cant help much as i have never played with a Powermac.
Could it be that you problem is just that you are enabling to many things ?
What i mean is, does it boot if you just enable plain vesa console and no frambuffer or drm support at all ?
I would also make sure that your card is supported by nouveau / kms.

Hopefully someone else with similar hardware can pop by and help you out.

good luck !
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Jan 02, 2013 5:02 pm    Post subject: Reply with quote

With the 2nd kernel, try passing video=ofonly to the kernel. That will select the Open Firmware driver.

I haven't seen the lockups with nouveau, but that should work around them. Can you put your kernel log and config somewhere? It's possible that you've built something into the kernel that causing a problem, like a device trying to map x86 I/O addresses.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Odiseus
n00b
n00b


Joined: 21 Dec 2012
Posts: 15

PostPosted: Sun Jan 06, 2013 2:02 pm    Post subject: Reply with quote

JoseJX wrote:
With the 2nd kernel, try passing video=ofonly to the kernel. That will select the Open Firmware driver.

I haven't seen the lockups with nouveau, but that should work around them. Can you put your kernel log and config somewhere? It's possible that you've built something into the kernel that causing a problem, like a device trying to map x86 I/O addresses.


Thanks very much!

video=ofonly helps to prevent the stall-messages but doesn't boot either.

I couldn't reconstruct the exact config though.
But I did put one that doesn't produces stall-messages there:

http://paste.debian.net/222191
I haven't got any logfiles.

I tried the debian-testing-powerpc-DVD-1.iso on 3th of January.
An older one with 3.x kernel worked for someone with an G5 quad late 2005 according to the following thread:
http://www.mintppc.org/forums/viewtopic.php?f=15&t=1052
There are a couple of differences like the quad has got a
GeForce 6600 instead of a GeForce 6600 LE.
Back to top
View user's profile Send private message
Odiseus
n00b
n00b


Joined: 21 Dec 2012
Posts: 15

PostPosted: Mon Jan 14, 2013 10:27 am    Post subject: Reply with quote

I found out that it was possible with all the kernels I lately tested to reboot with

SysReq + Alt + b
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Tue Jan 15, 2013 9:04 am    Post subject: Reply with quote

Odiseus wrote:
I found out that it was possible with all the kernels I lately tested to reboot with
SysReq + Alt + b


i would advice you to kill all processes but init ( SysReq + Alt + i ), sync filesystems ( SysReq + Alt + s ) and remount ro filesystems ( SysReq + Alt + u) before forcing a reboot.

cheers
Back to top
View user's profile Send private message
Phileas Fogg
n00b
n00b


Joined: 10 Mar 2013
Posts: 1

PostPosted: Sun Mar 10, 2013 2:53 pm    Post subject: Reply with quote

I had a similar issue with my PowerMac 11,2 and Linux 3 kernels.
It's a bug in Linux kernel.

See here: https://lists.ozlabs.org/pipermail/linuxppc-dev/2013-March/104362.html

It's easy to fix. I can boot Linux 3.8.2 on my PowerMac G5 now.

Regards
Back to top
View user's profile Send private message
wzis
n00b
n00b


Joined: 20 Aug 2013
Posts: 1
Location: Sydney

PostPosted: Tue Aug 20, 2013 11:31 am    Post subject: The issue seems to be related with the console handling Reply with quote

From qemu-system-ppc64, even with fedora 19 which has kernel 3.9.5, it also seems hung at
Calling quiesce...
returning from prom_init

but if you put "-vnc :0" and connect VNC with it, you will see the penguin logo on the VNC window, and you can type things there, but don't know which one is waiting input there and what input it expects.
_________________
Roger Freeman
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum