Fatal kernel trap - "data storage interrupt" - on recent 7-STABLE
Nick Withers
nick at nickwithers.com
Sat Jan 17 21:18:45 PST 2009
Hi all,
My lofty plans for testing PPC ATA DMA have been thwarted somewhat by my
bringing my G4 box from 7-STABLE / 7.1-PRERELEASE as of around the
2008-11-26 to 7-STABLE of around the 2009-01-15, where I'm now seeing,
after a few hours of uptime (transcribed from the screen):
____
fatal kernel trap:
exception = 0x3 (data storage interrupt)
virtual address = 0x4200009c
srr0 = 0x2175b0
srr1 = 0x9032
curthread = 0x1deed20
pid = 40264, comm = find
[thread pid 40264 tid 100126 ]
Stopped at 0x2175b0: lwarx r10, r0, r9,
db>
____
I've had it twice now (I've been off-site a lot, sure I could've had it
more often if I were quicker rebooting the thing), with only the thread
information changing on the second - same exception, virtual address,
srr0 and srr1.
The keyboard is non-responsive at this point and I have to hard reset
it.
I've just switched back to running the old (i.e, November 2008 7-STABLE)
kernel and am expecting not to see it again...
Boot dmesg:
____
Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.1-STABLE #0: Thu Jan 15 23:32:53 EST 2009
nick at internal.shmon.net:/usr/obj/usr/RELENG_7/src/sys/INTERNAL
module_register: module uhub/ugen already exists!
Module uhub/ugen failed to register: 17
cpu0: Motorola PowerPC 7400 revision 2.8, 400.00 MHz
cpu0: HID0 8094c0a4<EMCP,DOZE,DPM,EIEC,ICE,DCE,SGE,BTIC,BHT>
real memory = 393060352 (374 MB)
avail memory = 378433536 (360 MB)
kbd0 at kbdmux0
nexus0: <Open Firmware Nexus device>
unin0: <Apple UniNorth System Controller> on nexus0
unin0: Version 8
pcib0: <Apple UniNorth Host-PCI bridge> on nexus0
pci0: <PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x400-0x4ff mem
0x94000000-0x97ffffff,0x90000000-0x90003fff irq 48 at device 16.0 on
pci0
pcib1: <Apple UniNorth Host-PCI bridge> on nexus0
pci1: <PCI bus> on pcib1
pcib2: <Open Firmware PCI-PCI bridge> at device 13.0 on pci1
pci2: <PCI bus> on pcib2
macio0: <KeyLargo I/O Controller> mem 0x80000000-0x8007ffff at device
7.0 on pci2
openpic0: <OpenPIC Interrupt Controller> mem 0x40000-0x7ffff on macio0
ata0 mem 0x1f000-0x1ffff,0x8a00-0x8aff irq 19,11 on macio0
ata0: [ITHREAD]
ata1 mem 0x20000-0x20fff,0x8b00-0x8bff irq 20,12 on macio0
ata1: [ITHREAD]
ata2 mem 0x21000-0x21fff,0x8c00-0x8cff irq 21,13 on macio0
ata2: [ITHREAD]
ohci0: <Apple KeyLargo USB controller> mem 0x80082000-0x80082fff irq 27
at device 8.0 on pci2
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0
usb0: <Apple KeyLargo USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
ohci1: <Apple KeyLargo USB controller> mem 0x80081000-0x80081fff irq 28
at device 9.0 on pci2
ohci1: [GIANT-LOCKED]
ohci1: [ITHREAD]
usb1: OHCI version 1.0
usb1: <Apple KeyLargo USB controller> on ohci1
usb1: USB revision 1.0
uhub1: <Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
pci2: <serial bus, FireWire> at device 10.0 (no driver attached)
pcib3: <Apple UniNorth Host-PCI bridge> on nexus0
pci3: <PCI bus> on pcib3
gem0: <Apple UniNorth GMAC Ethernet> mem 0xf5200000-0xf53fffff irq 41 at
device 15.0 on pci3
miibus0: <MII bus> on gem0
brgphy0: <Broadcom 1000baseTX PHY> PHY 0 on miibus0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
gem0: 10kB RX FIFO, 4kB TX FIFO
gem0: Ethernet address: 00:30:65:a8:02:3a
gem0: [ITHREAD]
sc0: <System console> on nexus0
sc0: Unknown <16 virtual consoles, flags=0x300>
ugen0: <American Power Conversion Smart-UPS 1000 FW:600.3.I USB FW:1.5,
class 0/0, rev 1.10/0.06, addr 2> on uhub0
uhub2: <Mitsumi Electric Hub in Apple Extended USB Keyboard, class 9/0,
rev 1.10/1.00, addr 2> on uhub1
uhub2: 3 ports with 2 removable, bus powered
ukbd0: <Mitsumi Electric Apple Extended USB Keyboard, class 0/0, rev
1.10/1.01, addr 3> on uhub2
kbd1 at ukbd0
uhid0: <Mitsumi Electric Apple Extended USB Keyboard, class 0/0, rev
1.10/1.01, addr 3> on uhub2
Timecounter "decrementer" frequency 24907667 Hz quality 0
Timecounters tick every 10.000 msec
ipfw2 (+ipv6) initialized, divert loadable, nat loadable, rule-based
forwarding disabled, default to deny, logging limited to 200
packets/entry by default
ad0: 19569MB <WDC WD205AA-40BAA0 10.09K11> at ata0-master BIOSPIO
ad1: 76319MB <WDC WD800JB-00DUA3 75.13B75> at ata0-slave BIOSPIO
GEOM: ad1: the secondary GPT table is corrupt or invalid.
GEOM: ad1: using the primary only -- recovery suggested.
Root mount waiting for: GMIRROR
Root mount waiting for: GMIRROR
Root mount waiting for: GMIRROR
Root mount waiting for: GMIRROR
GEOM_MIRROR: Force device gm0 start due to timeout.
GEOM_MIRROR: Device mirror/gm0 launched (1/2).
GEOM: mirror/gm0: the secondary GPT table is corrupt or invalid.
GEOM: mirror/gm0: using the primary only -- recovery suggested.
Trying to mount root from ufs:/dev/ad0s4
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 16 files 1
WARNING: /var was not properly dismounted
WARNING: /data was not properly dismounted
____
I'm not much of a kernel debugger, I'm afraid... I'm sure I've seen
information on how to translate kernel addresses into the location of
the code in the kernel but am doing a poor job of digging it up.
Anyone able to give me a pointer or two?
Thanks!
--
Nick Withers
email: nick at nickwithers.com
Web: http://www.nickwithers.com
Mobile: +61 414 397 446
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20090118/ee120a5a/attachment.pgp
More information about the freebsd-ppc
mailing list