Latest working kernel version:2.6.24 Earliest failing kernel version:2.6.25 Distribution:Debian Hardware Environment:powermac G4 AGP graphics 350MHz Software Environment:GNU/Linux Problem Description: Advised to build kernel from kernel.org using debian config. Built 2.6.29-rc1 kernel using that config plus default answers to new kernel configs and built kernel using pmac32 default config from kernel source. Both had a panic at the "same" place, i.e. pci_map_rom. Below is a slice of the console screen at panic: NIP: c01cc6f4 LR: c01cc9d4 CTR: 00000000 REGS: e7851bd0 TRAP: 0200 Not tainted (2.6.29-rc1) MSR: 00049030 <EE,ME,IR,DR> CR: 82000022 XER: 20000000 TASK: e7848000[1] 'swapper' THREAD: e7850000 Call trace: e7851c80 [c01cc9c4] pci_map_rom (unreliable) e7851ca0 [c03a14cc] aty128_probe e7851de0 [c01c9530] local_pci_probe e7851df0 [c01ca5fc] pci_device_probe The ouput of 'lspci -vx' is: 0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth AGP Flags: bus master, 66MHz, medium devsel, latency 16 Capabilities: [80] AGP version 1.0 Kernel driver in use: agpgart-uninorth Kernel modules: uninorth-agp 00: 6b 10 20 00 16 00 30 22 00 00 00 06 08 10 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00 0000:00:10.0 VGA compatible controller: ATI Technologies Inc Rage 128 PF/PRO AGP 4x TMDS (prog-if 00 [VGA controller]) Flags: bus master, stepping, 66MHz, medium devsel, latency 255, IRQ 48 Memory at 94000000 (32-bit, prefetchable) [size=64M] I/O ports at 0400 [size=256] Memory at 90000000 (32-bit, non-prefetchable) [size=16K] Expansion ROM at f1000000 [disabled] [size=128K] Capabilities: [50] AGP version 2.0 Capabilities: [5c] Power Management version 2 Kernel driver in use: aty128fb 00: 02 10 46 50 87 00 b0 02 00 00 00 03 08 ff 00 00 10: 08 00 00 94 01 04 00 00 00 00 00 90 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 f1 50 00 00 00 00 00 00 00 ff 01 08 00 0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth PCI Flags: bus master, 66MHz, medium devsel, latency 16 Kernel modules: uninorth-agp 00: 6b 10 1f 00 16 00 20 22 00 00 00 06 08 10 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0001:10:0d.0 PCI bridge: Digital Equipment Corporation DECchip 21154 (rev 05) (prog-if 00 [Normal decode]) Flags: bus master, 66MHz, medium devsel, latency 32 Bus: primary=10, secondary=11, subordinate=11, sec-latency=32 I/O behind bridge: 00002000-00003fff Memory behind bridge: 80000000-87ffffff Capabilities: [dc] Power Management version 1 00: 11 10 26 00 07 01 b0 02 05 00 04 06 08 20 01 00 10: 00 00 00 00 00 00 00 00 10 11 11 20 21 31 a0 02 20: 00 80 f0 87 01 80 f1 7f 00 00 00 00 00 00 00 00 30: 00 00 00 00 dc 00 00 00 00 00 00 00 00 00 00 00 0001:11:02.0 SCSI storage controller: Adaptec AHA-7850 (rev 03) Subsystem: Adaptec AHA-2904/Integrated AIC-7850 Flags: bus master, medium devsel, latency 16, IRQ 52 I/O ports at 2000 [disabled] [size=256] Memory at 80083000 (32-bit, non-prefetchable) [size=4K] Expansion ROM at 80090000 [disabled] [size=64K] Capabilities: [dc] Power Management version 1 Kernel driver in use: aic7xxx Kernel modules: aic7xxx 00: 04 90 78 50 16 00 90 02 03 00 00 01 08 10 00 00 10: 01 20 00 00 00 30 08 80 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 04 90 50 78 30: 00 00 09 80 dc 00 00 00 00 00 00 00 00 01 04 04 0001:11:04.0 VGA compatible controller: ATI Technologies Inc Rage 128 RE/SG (prog-if 00 [VGA controller]) Subsystem: Device b530:0408 Flags: bus master, stepping, medium devsel, latency 16, IRQ 54 Memory at 84000000 (32-bit, prefetchable) [disabled] [size=64M] I/O ports at 2400 [disabled] [size=256] Memory at 80088000 (32-bit, non-prefetchable) [disabled] [size=16K] Expansion ROM at 800a0000 [disabled] [size=128K] Capabilities: [5c] Power Management version 1 Kernel driver in use: aty128fb 00: 02 10 45 52 84 00 90 02 00 00 00 03 08 10 00 00 10: 08 00 00 84 01 24 00 00 00 80 08 80 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 30 b5 08 04 30: 00 00 0a 80 5c 00 00 00 00 00 00 00 ff 01 08 00 0001:11:07.0 Class ff00: Apple Computer Inc. KeyLargo Mac I/O (rev 02) Flags: bus master, medium devsel, latency 16 Memory at 80000000 (32-bit, non-prefetchable) [size=512K] Kernel driver in use: macio 00: 6b 10 22 00 16 00 00 02 02 00 00 ff 08 10 00 00 10: 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0001:11:08.0 USB Controller: Apple Computer Inc. KeyLargo USB (prog-if 10 [OHCI]) Flags: bus master, medium devsel, latency 16, IRQ 27 Memory at 80082000 (32-bit, non-prefetchable) [size=4K] Kernel driver in use: ohci_hcd 00: 6b 10 19 00 06 00 00 02 00 10 03 0c 00 10 00 00 10: 00 20 08 80 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 01 03 56 0001:11:09.0 USB Controller: Apple Computer Inc. KeyLargo USB (prog-if 10 [OHCI]) Flags: bus master, medium devsel, latency 16, IRQ 28 Memory at 80081000 (32-bit, non-prefetchable) [size=4K] Kernel driver in use: ohci_hcd 00: 6b 10 19 00 06 00 00 02 00 10 03 0c 00 10 00 00 10: 00 10 08 80 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 01 03 56 0001:11:0a.0 FireWire (IEEE 1394): Texas Instruments TSB12LV23 IEEE-1394 Controller (prog-if 10 [OHCI]) Flags: bus master, medium devsel, latency 16, IRQ 63 Memory at 80080000 (32-bit, non-prefetchable) [size=2K] Memory at 80084000 (32-bit, non-prefetchable) [size=16K] Capabilities: [44] Power Management version 1 Kernel driver in use: firewire_ohci Kernel modules: firewire-ohci 00: 4c 10 19 80 16 00 10 02 00 10 00 0c 08 10 00 00 10: 00 00 08 80 00 40 08 80 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 44 00 00 00 00 00 00 00 00 01 02 04 0002:21:0b.0 Host bridge: Apple Computer Inc. UniNorth Internal PCI Flags: bus master, 66MHz, medium devsel, latency 16 Kernel modules: uninorth-agp 00: 6b 10 1e 00 16 00 20 22 00 00 00 06 08 10 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0002:21:0f.0 Ethernet controller: Apple Computer Inc. UniNorth GMAC (Sun GEM) Flags: bus master, 66MHz, slow devsel, latency 16, IRQ 41 Memory at f5200000 (32-bit, non-prefetchable) [size=2M] Expansion ROM at f5000000 [disabled] [size=1M] Kernel driver in use: gem Kernel modules: sungem 00: 6b 10 21 00 16 00 a0 84 00 00 00 02 08 10 00 00 10: 00 00 20 f5 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 f5 00 00 00 00 00 00 00 00 ff 01 40 40 Let me know if you need me to boot again for more info. Also, I have the debs for the two builds if needed. -jeff Steps to reproduce:
Seems to be related to second graphics card on the machine. Please see (end of): http://bugs.debian.org/490694 -jeff
Hi Jeff, Sorry for the long silence. Now I'm in suspense: do you still have access to this hardware? Can you still reproduce the crashes on startup with a second video card? Did the behavior change at all in later versions, and what's the newest version you've tested? Any new weird symptoms? Curious, Jonathan
From Jeff at [1]: > Well, I got a new flat-screen and hook it up, and it seems to work with > both cards in the machine. > > Here are the particulars: > > % uname -a > Linux naro 2.6.32-5-powerpc #1 Mon Jan 16 16:36:52 UTC 2012 ppc > GNU/Linux > > % lspci -tv > -+-[0002:21]-+-0b.0 Apple Computer Inc. UniNorth Internal PCI > | \-0f.0 Apple Computer Inc. UniNorth GMAC (Sun GEM) > +-[0001:10]-+-0b.0 Apple Computer Inc. UniNorth PCI > | \-0d.0-[11]--+-02.0 Adaptec AIC-7850 > | +-04.0 ATI Technologies Inc Rage 128 RE/SG > | +-07.0 Apple Computer Inc. KeyLargo Mac I/O > | +-08.0 Apple Computer Inc. KeyLargo USB > | +-09.0 Apple Computer Inc. KeyLargo USB > | \-0a.0 Texas Instruments TSB12LV23 IEEE-1394 > Controller \-[0000:00]-+-0b.0 Apple Computer Inc. UniNorth AGP > \-10.0 ATI Technologies Inc Rage 128 PF/PRO AGP 4x TMDS > > So far nothing has shown up regarding the earlier fix I did to get the > 2.2 or maybe 2.4 kernel to work when I had a similar problem with it. > I'll keep looking. [1] http://bugs.debian.org/490694
(In reply to comment #3) > Well, I got a new flat-screen and hook it up, and it seems to work with > both cards in the machine. [...] > Linux naro 2.6.32-5-powerpc #1 Mon Jan 16 16:36:52 UTC 2012 ppc GNU/Linux Nice to hear. Would you be able to try e.g. a lenny livecd to confirm that the original bug is reproducible with this setup?
(In reply to comment #4) > Nice to hear. Would you be able to try e.g. a lenny livecd to confirm that > the original bug is reproducible with this setup? Or to try v2.6.26 on squeeze, perhaps like this: # prerequisites apt-get install git-core build-essential # get the kernel git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git cd linux # configure it cp /boot/config-$(uname -r) .config; # current configuration make localmodconfig; # minimize configuration # build it git checkout v2.6.26 make silentoldconfig make; # optionally with -j<num> for parallel build fakeroot -u make deb-pkg # install and test dpkg -i ../<name of package> reboot
Jeffrey Green wrote: > Built both 5.0.0 and 5.0.9 install CDs. Both hung during boot. Messages > regarding the graphics card a bit before the oops. Good enough for me. :) Let's call this fixed.