ppc-development-kernels > 2.6.3_rc2-r1 won't boot on my system (PowerBook G4 867Mhz 12"), the boot process hangs after mounting the proc filesystem. It does not happen with <= 2.6.2-r1 and it's always reproducable. PPC kernel developer Benjamin Herrenschmidt says it's userland and not kernel related, please read http://lists.debian.org/debian-powerpc/2004/debian-powerpc-200402/msg00519.html . At least another person on the gentoo ppc forum has the same problem with a Pbook 867 MHz and an iMac 233 MHz. Simon
Thanks for reporting. I was uploading the new 2004.0 release which features nothing but 2.6.3-r2 kernels. I shall add a fallback 2.4.24 kernel too. We'll have to start producing liveDVDs soon to accomodate for all these kernels and the boot.msg explaining options for each kernel ;-) I have cc'ed zhen@gentoo.org and drobbins@gentoo.org, since this bug might cause a small (few hours) delay for the ppc release. Pieter
I added a fallback non-modular 2.4.24-r2 kernel for non-G5 machines on the livecd. Boot livecds using "fallback" on faulty machines. This boot option will only be advertized in the ppc release notes because 2.4 accepts different args (video=radeon instead of video=radeonfb) and I don't have enough room in the yaboot boot.msg to explain those.
Unfortunately, adding a fallback kernel is not possible due to 2.4.24 not having support for latest gcloop. My first guess would be that this is a libc related problem. (I've observed a similar userland kernel locking behaviour but with devfsd. The livecd has a debug environment now (pass debug as kernel argument) which spawns a shell inside the initrd. I've made sure the initrd has enough tools to install gentoo. If the debug environment hangs, the problem is probably a kernel problem and not user space. Could you try booting 2004.0/PPC passing 'debug' if the normal booting process hangs? Pieter
I'd love to help you but I can't find a 2004.0/PPC livecd image, all mirrors I checked have empty experimental/ppc/livecd/ directories. Simon
Will ping when they are online. No worry
Im running fine on a 2.6.3 kernel g4 pb 800mhz kde 3.2 $uname -a Linux hephaestus 2.6.3_rc3-benh1 #2 Mon Mar 1 15:11:08 CST 2004 ppc 7455, altivec supported PowerBook3,4 GNU/Linux $ls -l /etc/make.profile lrwxr-xr-x 1 root root 40 Mar 1 16:21 /etc/make.profile -> /usr/portage/profiles/default-ppc-2004.0 $kwin --version Qt: 3.2.2 KDE: 3.2.0 KWin: 3.0
Ok, 2004.0 livecd made things a bit clearer for me regarding this situation: On a dual G4 867 machine with an nvidia card, mounting /proc locks up If you replace the nvidia card with an ati card, and reboot /proc mounts perfectly. I think that rebooting the livecd with the nvidia card with video=ofonly as kernel arguments should prevent /proc mounting to lock up the system.
Ok, 2004.0 livecd does not work. video=rivafb results in green and pink lines on the monitor (as expected; rivafb seems to be broken some time now). video=ofonly is better but still locks on mounting /proc. Simon
Any suggestions for producing a livecd which doesn't have this problem? What is the latest 2.6 kernel ebuild that doesn't have the problem. cc'in lu_zero to integrate gcloop support into that ebuild. Any word on benh's opinion, now that we've managed to reduce link /proc to rivafb?
the latest patch should work with any 2.6 kernel non -mm you can find it on dev.gentoo.org/~lu_zero/gcloop still I'd like to have that problem solved with a newer kernel point to me the last known working kernel and I'll update the ebuild
Wild guess: could this have anything todo with the /sys directory missing?
No: root@cepheus sys # ls -l total 0 drwxr-xr-x 12 root root 0 Mar 16 07:49 block drwxr-xr-x 11 root root 0 Mar 16 07:49 bus drwxr-xr-x 8 root root 0 Mar 16 07:49 cdev drwxr-xr-x 14 root root 0 Mar 16 07:49 class drwxr-xr-x 8 root root 0 Mar 16 07:49 devices drwxr-xr-x 2 root root 0 Mar 16 07:49 firmware drwxr-xr-x 2 root root 0 Mar 16 07:49 power There are now more reports on forums.gentoo.org about the problem. However, no one reported this on lists.debian.org/debian-powerpc, so I really think this is a Gentoo bug ... BTW, as I mentioned in my first message, the latest WORKING kernel is ppc-development-sources-2.6.2-r*. Simon
I can confirm that the stock 2.6.4 kernel from kernel.org works on my PowerBook 12" (867). I was also suffering from this bug with 2.6.3-benh2. (hanging on /proc mount)
luca, can you see to it we have a 2.6.4 kernel available asap? I'll update the bootable iso's right away.
2.6.4 works for me, too. Benh's tree is now almost identical to vanilla anyway, right? However, I am not able to load the snd_powermac module with a stock 2.6.4 kernel, so I wouldn't include that one on the livecd (better than 2.6.3, though). Could someone test and confirm this, please? Simon
could you paste a dmesg? Alsa should work fine (I'm still rebuilding my ppc after a bad power failure so I can't test in short time)
Total memory = 640MB; using 2048kB for hash table (at c0400000) Linux version 2.6.4 (root@cepheus) (gcc version 3.3.3 (Gentoo Linux 3.3.3_pre20040215)) #1 Sat Mar 20 15:57:23 CET 2004 Found UniNorth memory controller & host bridge, revision: 210 Mapped at 0xfdf00000 Found a Intrepid mac-io controller, rev: 0, mapped at 0xfde80000 Processor NAP mode on idle enabled. PowerMac motherboard: PowerBook G4 12" Found UniNorth PCI host bridge at 0xf0000000. Firmware bus number: 0->0 Found UniNorth PCI host bridge at 0xf2000000. Firmware bus number: 0->0 Found UniNorth PCI host bridge at 0xf4000000. Firmware bus number: 0->0 via-pmu: Server Mode is disabled PMU driver 2 initialized for Core99, firmware: 0c nvram: Checking bank 0... nvram: gen0=592, gen1=591 nvram: Active bank is: 0 nvram: OF partition at 0x410 nvram: XP partition at 0x1020 nvram: NR partition at 0x1120 On node 0 totalpages: 163840 DMA zone: 163840 pages, LIFO batch:16 Normal zone: 0 pages, LIFO batch:1 HighMem zone: 0 pages, LIFO batch:1 Built 1 zonelists Kernel command line: root=/dev/hda10 ro ide-scsi ide_setup: ide-scsi -- BAD OPTION PowerMac using OpenPIC irq controller at 0x80040000 OpenPIC Version 1.2 (4 CPUs and 64 IRQ sources) at fc62f000 OpenPIC timer frequency is 4.166666 MHz PID hash table entries: 4096 (order 12: 32768 bytes) GMT Delta read from XPRAM: 0 minutes, DST: off time_init: decrementer frequency = 33.280414 MHz Console: colour dummy device 80x25 Memory: 643328k available (1800k kernel code, 944k data, 144k init, 0k highmem) AGP special page: 0xe7fff000 Calibrating delay loop... 530.43 BogoMIPS Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) POSIX conformance testing by UNIFIX NET: Registered protocol family 16 PCI: Probing PCI hardware Registering openpic with sysfs... Using unsupported 1024x768 NVDA,Display-A at 94004000, depth=8, pitch=1024 fb0: Open Firmware frame buffer device on /pci@f0000000/NVDA,Parent@10/NVDA,Display-A@0 Thermal assist unit not available Registering PowerMac CPU frequency driver Low: 533 Mhz, High: 867 Mhz, Boot: 533 Mhz, switch method: PMU ikconfig 0.7 with /proc/config* devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x0 Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Console: switching to colour frame buffer device 128x48 Generic RTC Driver v1.07 Macintosh non-volatile memory driver v1.1 loop: loaded (max 8 devices) PPP generic driver version 2.4.2 MacIO PCI driver attached to Intrepid chipset input: Macintosh mouse button emulation apm_emu: APM Emulation 0.5 initialized. Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx PCI: Enabling device 0002:02:0d.0 (0000 -> 0002) adb: starting probe task... adb devices: [2]: 2 c4 [3]: 3 1 [7]: 7 1f ADB keyboard at 2, handler 1 Detected ADB keyboard, type ISO, swapping keys. input: ADB keyboard on adb2:2.c4/input input: ADB Powerbook buttons on adb7:7.1f/input ADB mouse at 3, handler set to 4 (trackpad) input: ADB mouse on adb3:3.01/input adb: finished probe task... ide0: Found Apple UniNorth ATA-6 controller, bus ID 3, irq 39 Probing IDE interface ide0... hda: TOSHIBA MK4021GAS, ATA DISK drive hda: Enabling Ultra DMA 5 Using anticipatory io scheduler ide0 at 0xe90c3000-0xe90c3007,0xe90c3160 on irq 39 ide1: Found Apple KeyLargo ATA-3 controller, bus ID 0, irq 24 Probing IDE interface ide1... hdc: MATSHITACD-RW CW-8122, ATAPI CD/DVD-ROM drive hdc: MDMA, cycleTime: 120, accessTime: 90, recTime: 30 hdc: Set MDMA timing for mode 2, reg: 0x00011d26 hdc: Enabling MultiWord DMA 2 ide1 at 0xe90c6000-0xe90c6007,0xe90c6160 on irq 24 hda: max request size: 128KiB hda: 78140160 sectors (40007 MB), CHS=65535/16/63, UDMA(100) /dev/ide/host0/bus0/target0/lun0: [mac] p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, (U)DMA Uniform CD-ROM driver Revision: 3.20 Console: switching to colour frame buffer device 128x48 mice: PS/2 mouse device common for all mice NET: Registered protocol family 2 IP: routing cache hash table of 8192 buckets, 64Kbytes TCP: Hash tables configured (established 262144 bind 65536) NET: Registered protocol family 1 NET: Registered protocol family 17 kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 144k init 4k chrp 8k prep Adding 667640k swap on /dev/hda11. Priority:-1 extents:1 EXT3 FS on hda10, internal journal SCSI subsystem initialized drivers/usb/core/usb.c: registered new driver usbfs drivers/usb/core/usb.c: registered new driver hub ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) ohci_hcd: block sizes: ed 64 td 64 PCI: Enabling device 0001:01:18.0 (0000 -> 0002) ohci_hcd 0001:01:18.0: OHCI Host Controller ohci_hcd 0001:01:18.0: irq 27, pci mem e912c000 ohci_hcd 0001:01:18.0: new USB bus registered, assigned bus number 1 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected PCI: Enabling device 0001:01:19.0 (0000 -> 0002) ohci_hcd 0001:01:19.0: OHCI Host Controller ohci_hcd 0001:01:19.0: irq 28, pci mem e912e000 ohci_hcd 0001:01:19.0: new USB bus registered, assigned bus number 2 hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected PCI: Enabling device 0001:01:1a.0 (0000 -> 0002) ohci_hcd 0001:01:1a.0: OHCI Host Controller ohci_hcd 0001:01:1a.0: irq 29, pci mem e9130000 ohci_hcd 0001:01:1a.0: new USB bus registered, assigned bus number 3 usb 1-1: new full speed USB device using address 2 hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected sungem.c:v0.98 8/24/03 David S. Miller (davem@redhat.com) eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:03:93:d1:26:d6 PHY ID: 4061e4, addr: 0 eth0: Found BCM5221 PHY usb 1-2: new full speed USB device using address 3 Bluetooth: Core ver 2.4 NET: Registered protocol family 31 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized Bluetooth: HCI USB driver ver 2.5 drivers/usb/core/usb.c: registered new driver hci_usb usb 1-2: control timeout on ep0in usb 1-2: control timeout on ep0in usb 1-2: control timeout on ep0in usb 1-2: control timeout on ep0in usb 1-2: control timeout on ep0in snd_powermac: falsely claims to have parameter enable snd_powermac: falsely claims to have parameter enable ohci1394: $Rev: 1172 $ Ben Collins <bcollins@debian.org> PCI: Enabling device 0002:02:0e.0 (0000 -> 0002) ohci1394: fw-host0: Unexpected PCI resource length of 1000! ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[40] MMIO=[f5000000-f50007ff] Max Packet=[2048] ieee1394: Host added: ID:BUS[0-00:1023] GUID[000393fffed126d6] hda: Set PIO timing for mode 0, reg: 0x08618a92 snd_powermac: falsely claims to have parameter enable snd_powermac: falsely claims to have parameter enable snd_powermac: falsely claims to have parameter enable snd_powermac: falsely claims to have parameter enable snd_powermac: falsely claims to have parameter enable snd_powermac: falsely claims to have parameter enable snd_powermac: falsely claims to have parameter enable snd_powermac: falsely claims to have parameter enable
Ok, please forget my last post. Everything works fine after downgrading to stable gcc and libc (3.2.3). Include 2.6.4!
One experimental ppc livecd with 2.6.4 coming up. Luca, is your gcloop thing in this kernel? I'll post the livecd kernel .configs here in a (long) minute. Feel free to review.
Created attachment 28061 [details] 2.6.4 livecd kernel .configs (tar.bz2) tar.bz2 file containing all 2.6.4 kernel .configs. Please note that this is against regular development-sources-2.6.4 without gcloop integrated. An ebuild revision will be needed for integrating gcloop I guess.
there already is a patch in my home at d.g.o and an experimental kernel 2.6.5_rc2-ben0 has been tested here and is about to be in cvs (hopefully)
gentoo-dev-sources and development-sources no longer have this issue.