From owner-freebsd-ppc@FreeBSD.ORG Sun Jan 18 05:18:45 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8416D1065670 for ; Sun, 18 Jan 2009 05:18:45 +0000 (UTC) (envelope-from nick@nickwithers.com) Received: from mail.nickwithers.com (mail.nickwithers.com [123.243.228.66]) by mx1.freebsd.org (Postfix) with ESMTP id 9935F8FC16 for ; Sun, 18 Jan 2009 05:18:43 +0000 (UTC) (envelope-from nick@nickwithers.com) Received: from [10.0.0.245] (unknown [10.0.0.245]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.nickwithers.com (Postfix) with ESMTPSA id BE2E13F for ; Sun, 18 Jan 2009 16:18:26 +1100 (EST) From: Nick Withers To: freebsd-ppc@freebsd.org Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-rS29BGPvLAxsFwneuDJR" Date: Sun, 18 Jan 2009 16:18:15 +1100 Message-Id: <1232255895.67062.27.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 FreeBSD GNOME Team Port X-MailScanner-ID: BE2E13F.6026B X-nickwithers-MailScanner: Found to be clean X-nickwithers-MailScanner-From: nick@nickwithers.com Subject: Fatal kernel trap - "data storage interrupt" - on recent 7-STABLE X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2009 05:18:45 -0000 --=-rS29BGPvLAxsFwneuDJR Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 =3D 0x3 (data storage interrupt) virtual address =3D 0x4200009c srr0 =3D 0x2175b0 srr1 =3D 0x9032 curthread =3D 0x1deed20 pid =3D 40264, comm =3D 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@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 real memory =3D 393060352 (374 MB) avail memory =3D 378433536 (360 MB) kbd0 at kbdmux0 nexus0: unin0: on nexus0 unin0: Version 8 pcib0: on nexus0 pci0: on pcib0 vgapci0: port 0x400-0x4ff mem 0x94000000-0x97ffffff,0x90000000-0x90003fff irq 48 at device 16.0 on pci0 pcib1: on nexus0 pci1: on pcib1 pcib2: at device 13.0 on pci1 pci2: on pcib2 macio0: mem 0x80000000-0x8007ffff at device 7.0 on pci2 openpic0: 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: mem 0x80082000-0x80082fff irq 27 at device 8.0 on pci2 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0 usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered ohci1: mem 0x80081000-0x80081fff irq 28 at device 9.0 on pci2 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0 usb1: on ohci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered pci2: at device 10.0 (no driver attached) pcib3: on nexus0 pci3: on pcib3 gem0: mem 0xf5200000-0xf53fffff irq 41 at device 15.0 on pci3 miibus0: on gem0 brgphy0: 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: on nexus0 sc0: Unknown <16 virtual consoles, flags=3D0x300> ugen0: on uhub0 uhub2: on uhub1 uhub2: 3 ports with 2 removable, bus powered ukbd0: on uhub2 kbd1 at ukbd0 uhid0: 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 at ata0-master BIOSPIO ad1: 76319MB 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! --=20 Nick Withers email: nick@nickwithers.com Web: http://www.nickwithers.com Mobile: +61 414 397 446 --=-rS29BGPvLAxsFwneuDJR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEABECAAYFAklyu5cACgkQ3wcG/Pf4WrgtGgCgtezpSR9OMWG5u0V1XdoHyk9N 6zMAnj0eKcrt/aWUH/BUNHgJaz+Ol3d9 =F8/u -----END PGP SIGNATURE----- --=-rS29BGPvLAxsFwneuDJR--