From owner-freebsd-questions@FreeBSD.ORG Wed Jun 25 15:31:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65AEC1065672 for ; Wed, 25 Jun 2008 15:31:31 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: from smtpauth18.prod.mesa1.secureserver.net (smtpauth18.prod.mesa1.secureserver.net [64.202.165.31]) by mx1.freebsd.org (Postfix) with SMTP id 462088FC1F for ; Wed, 25 Jun 2008 15:31:31 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: (qmail 21879 invoked from network); 25 Jun 2008 15:04:50 -0000 Received: from unknown (199.254.197.8) by smtpauth18.prod.mesa1.secureserver.net (64.202.165.31) with ESMTP; 25 Jun 2008 15:04:50 -0000 Message-ID: <48625E91.90200@computer.org> Date: Wed, 25 Jun 2008 10:04:49 -0500 From: Eric Schuele User-Agent: Thunderbird 2.0.0.14 (X11/20080616) MIME-Version: 1.0 To: FreeBSD Questions X-Enigmail-Version: 0.95.2 OpenPGP: url=http://www.ravenlock.us/keys/pub_schuele.pgp Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD640A6B8C8645A2F86167EFE" Subject: Regular panics in RELENG_7.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 15:31:31 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD640A6B8C8645A2F86167EFE Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello, I seem to be suffering from some rather consistent panics. I say consistent not because I can actually reproduce it on demand, but that I know it _will_ happen eventually. These only happen while I am at the office with my laptop. The only difference between the office and home is the wireless network. I have an atheros based card in my laptop (and using wpa_supplicant), and we have two wireless access points here at the office. I'm not sure why there would be some problem, but if I disable card the panics stop. I do notice that the two access points have similar S/N ratios given my proximity to both. And that my machine frequently flip flops between the two. What happens is, two maybe three times a week my machine will panic here at the office. Frequently when shutting down (when ath0 goes down), sometimes when starting X, sometimes when killing X, sometimes while sitting at console not even logged in, and sometimes after a reboot from a panic while fsck'ing. All seemingly go away if I disable the atheros card in bios. I have a dozen crashdumps. I'm including dmesg, and a couple backtraces. I'm not particularly familiar with the kernel sources so not sure what I'm looking for here. Given the wide variation in bts, I suspect folks are gonna say my memory is to blame. Possible of course.... but odd it only happens at office. And only in RELENG_7, never before in any prior versions. Ideas appreciated. Thanks in advance. (dumps below, dmesg is last) --=20 Regards, Eric =3D=3D=3D BT 01 - I see fork_trampoline() in a lot of the bts =3D=3D=3D (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc0758098 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c= :409 #2 0xc0758351 in panic (fmt=3DVariable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc0a43bb0 in trap_fatal (frame=3D0xdf902a2c, eva=3D23) at /usr/src/sys/i386/i386/trap.c:899 #4 0xc0a43e00 in trap_pfault (frame=3D0xdf902a2c, usermode=3D0, eva=3D23= ) at /usr/src/sys/i386/i386/trap.c:812 #5 0xc0a4475a in trap (frame=3D0xdf902a2c) at /usr/src/sys/i386/i386/trap.c:490 #6 0xc0a2c35b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc0944328 in softdep_disk_io_initiation (bp=3D0xd31b33e4) at /usr/src/sys/ufs/ffs/ffs_softdep.c:3841 #8 0xc094a39c in ffs_geom_strategy (bo=3D0xc3e42c70, bp=3D0xd31b33e4) at= buf.h:436 #9 0xc07bb5ef in bufwrite (bp=3D0xd31b33e4) at buf.h:429 #10 0xc09498a9 in ffs_bufwrite (bp=3D0xd31b33e4) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1804 #11 0xc07b5550 in vfs_bio_awrite (bp=3D0xd31b33e4) at buf.h:417 #12 0xc07bf90c in vop_stdfsync (ap=3D0xdf902cd4) at /usr/src/sys/kern/vfs_default.c:437 #13 0xc06f0a62 in devfs_fsync (ap=3D0xdf902cd4) at /usr/src/sys/fs/devfs/devfs_vnops.c:394 #14 0xc0a579c2 in VOP_FSYNC_APV (vop=3D0xc0b75f40, a=3D0xdf902cd4) at vnode_if.c:1007 #15 0xc07cee82 in sched_sync () at vnode_if.h:538 #16 0xc0739511 in fork_exit (callout=3D0xc07ce789 , arg=3D0x0= , frame=3D0xdf902d38) at /usr/src/sys/kern/kern_fork.c:783 #17 0xc0a2c3d0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205 (kgdb) =3D=3D=3D BT 02 - I think this was during fsck =3D=3D=3D (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc0758098 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c= :409 #2 0xc0758351 in panic (fmt=3DVariable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc0a43bb0 in trap_fatal (frame=3D0xdd73e828, eva=3D7) at /usr/src/sys/i386/i386/trap.c:899 #4 0xc0a43e00 in trap_pfault (frame=3D0xdd73e828, usermode=3D0, eva=3D7)= at /usr/src/sys/i386/i386/trap.c:812 #5 0xc0a4475a in trap (frame=3D0xdd73e828) at /usr/src/sys/i386/i386/trap.c:490 #6 0xc0a2c35b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc06ef776 in devfs_find (dd=3D0xc3d66000, name=3D0xc3df1405 "tty", namelen=3D3) at /usr/src/sys/fs/devfs/devfs_devs.c:156 #8 0xc06f3445 in devfs_lookup (ap=3D0xdd73e9b8) at /usr/src/sys/fs/devfs/devfs_vnops.c:609 #9 0xc0a58d91 in VOP_LOOKUP_APV (vop=3D0xc0b75e60, a=3D0xdd73e9b8) at vnode_if.c:99 #10 0xc07c3238 in lookup (ndp=3D0xdd73eb80) at vnode_if.h:57 #11 0xc07c3f18 in namei (ndp=3D0xdd73eb80) at /usr/src/sys/kern/vfs_lookup.c:219 #12 0xc07d9c19 in vn_open_cred (ndp=3D0xdd73eb80, flagp=3D0xdd73ec78, cmode=3D0, cred=3D0xc41fd600, fp=3D0xc3e1e288) at /usr/src/sys/kern/vfs_vnops.c:188 #13 0xc07d9ed5 in vn_open (ndp=3D0xdd73eb80, flagp=3D0xdd73ec78, cmode=3D= 0, fp=3D0xc3e1e288) at /usr/src/sys/kern/vfs_vnops.c:94 #14 0xc07d7c96 in kern_open (td=3D0xc425f660, path=3D0x81af295
, pathseg=3DUIO_USERSPACE, flags=3D3, mode=3D0) at /usr/src/sys/kern/vfs_syscalls.c:1028 #15 0xc07d81f2 in open (td=3D0xc425f660, uap=3D0xdd73ecfc) at /usr/src/sys/kern/vfs_syscalls.c:995 #16 0xc0a44148 in syscall (frame=3D0xdd73ed38) at /usr/src/sys/i386/i386/trap.c:1035 #17 0xc0a2c3c0 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196 #18 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) =3D=3D=3D BT 03 - Might have been shutting X down. =3D=3D=3D (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc0758098 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c= :409 #2 0xc0758351 in panic (fmt=3DVariable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc0a43bb0 in trap_fatal (frame=3D0xdd710828, eva=3D7) at /usr/src/sys/i386/i386/trap.c:899 #4 0xc0a43e00 in trap_pfault (frame=3D0xdd710828, usermode=3D0, eva=3D7)= at /usr/src/sys/i386/i386/trap.c:812 #5 0xc0a4475a in trap (frame=3D0xdd710828) at /usr/src/sys/i386/i386/trap.c:490 #6 0xc0a2c35b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc06ef776 in devfs_find (dd=3D0xc3d66000, name=3D0xc3df2005 "tty", namelen=3D3) at /usr/src/sys/fs/devfs/devfs_devs.c:156 #8 0xc06f3445 in devfs_lookup (ap=3D0xdd7109b8) at /usr/src/sys/fs/devfs/devfs_vnops.c:609 #9 0xc0a58d91 in VOP_LOOKUP_APV (vop=3D0xc0b75e60, a=3D0xdd7109b8) at vnode_if.c:99 #10 0xc07c3238 in lookup (ndp=3D0xdd710b80) at vnode_if.h:57 #11 0xc07c3f18 in namei (ndp=3D0xdd710b80) at /usr/src/sys/kern/vfs_lookup.c:219 #12 0xc07d9c19 in vn_open_cred (ndp=3D0xdd710b80, flagp=3D0xdd710c78, cmode=3D0, cred=3D0xc41ce900, fp=3D0xc3e1e870) at /usr/src/sys/kern/vfs_vnops.c:188 #13 0xc07d9ed5 in vn_open (ndp=3D0xdd710b80, flagp=3D0xdd710c78, cmode=3D= 0, fp=3D0xc3e1e870) at /usr/src/sys/kern/vfs_vnops.c:94 #14 0xc07d7c96 in kern_open (td=3D0xc41c5880, path=3D0x81af295
, pathseg=3DUIO_USERSPACE, flags=3D3, mode=3D0) at /usr/src/sys/kern/vfs_syscalls.c:1028 #15 0xc07d81f2 in open (td=3D0xc41c5880, uap=3D0xdd710cfc) at /usr/src/sys/kern/vfs_syscalls.c:995 #16 0xc0a44148 in syscall (frame=3D0xdd710d38) at /usr/src/sys/i386/i386/trap.c:1035 #17 0xc0a2c3c0 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196 #18 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) =3D=3D=3D BT 04 - Dont recall any specifics here =3D=3D=3D (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc0758098 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c= :409 #2 0xc0758351 in panic (fmt=3DVariable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc094436f in softdep_disk_io_initiation (bp=3D0xd31c6cc8) at /usr/src/sys/ufs/ffs/ffs_softdep.c:3845 #4 0xc094a39c in ffs_geom_strategy (bo=3D0xc3e46c70, bp=3D0xd31c6cc8) at= buf.h:436 #5 0xc07bb5ef in bufwrite (bp=3D0xd31c6cc8) at buf.h:429 #6 0xc09498a9 in ffs_bufwrite (bp=3D0xd31c6cc8) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1804 #7 0xc07b5550 in vfs_bio_awrite (bp=3D0xd31c6cc8) at buf.h:417 #8 0xc07bf90c in vop_stdfsync (ap=3D0xdf902cd4) at /usr/src/sys/kern/vfs_default.c:437 #9 0xc06f0a62 in devfs_fsync (ap=3D0xdf902cd4) at /usr/src/sys/fs/devfs/devfs_vnops.c:394 #10 0xc0a579c2 in VOP_FSYNC_APV (vop=3D0xc0b75f40, a=3D0xdf902cd4) at vnode_if.c:1007 #11 0xc07cee82 in sched_sync () at vnode_if.h:538 #12 0xc0739511 in fork_exit (callout=3D0xc07ce789 , arg=3D0x0= , frame=3D0xdf902d38) at /usr/src/sys/kern/kern_fork.c:783 #13 0xc0a2c3d0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205 (kgdb) =3D=3D=3D DMESG =3D=3D=3D Copyright (c) 1992-2008 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.0-STABLE #0: Mon Mar 31 11:42:13 CDT 2008 ravenlock@fangorn.nxdomain.org:/usr/obj/usr/src/sys/CUSTOM Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz (2657.82-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0xf29 Stepping =3D 9 Features=3D0xbfebf9ff Features2=3D0x4400 real memory =3D 805081088 (767 MB) avail memory =3D 773869568 (738 MB) kbd1 at kbdmux0 kqemu version 0x00010300 kqemu: KQEMU installed, max_locked_mem=3D386684kB. ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413= ) acpi0: on motherboard acpi0: [ITHREAD] acpi0: reservation of 0, 9fc00 (3) failed acpi0: reservation of 100000, 2fef0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 p4tcc0: on cpu0 acpi_acad0: on acpi0 battery0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci_link1: BIOS IRQ 11 for 0.31.INTB is invalid pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xc000-0xc0ff mem 0xe8000000-0xefffffff,0 xfcff0000-0xfcffffff irq 11 at device 0.0 on pci1 drm0: on vgapci0 info: [drm] AGP at 0xe0000000 128MB info: [drm] Initialized radeon 1.25.0 20060524 uhci0: port 0xbf80-0xbf9f irq 11 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xbf40-0xbf5f irq 11 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xbf20-0xbf3f irq 11 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xf4fffc00-0xf4ffffff i rq 11 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered pcib2: at device 30.0 on pci0 pci_link1: BIOS IRQ 11 for 2.1.INTA is invalid pci2: on pcib2 bfe0: mem 0xfaffe000-0xfaffffff irq 9 at device 1.0 on pci2 miibus0: on bfe0 bmtphy0: PHY 1 on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bfe0: Ethernet address: 00:0d:56:b4:f1:50 bfe0: [ITHREAD] ath0: mem 0xfafe0000-0xfafeffff irq 11 at device 2.0 on pc= i2 ath0: [ITHREAD] ath0: using obsoleted if_watchdog interface ath0: Ethernet address: 00:0e:9b:53:31:9d ath0: mac 5.9 phy 4.3 radio 3.6 cbb0: at device 4.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [ITHREAD] fwohci0: <1394 Open Host Controller Interface> mem 0xfaffd800-0xfaffdfff,0xfaff8 000-0xfaffbfff irq 11 at device 4.1 on pci2 fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=3D0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 39:4f:c0:00:03:57:18:81 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 3a:4f:c0:57:18:81 fwe0: Ethernet address: 3a:4f:c0:57:18:81 fwip0: on firewire0 fwip0: Firewire address: 39:4f:c0:00:03:57:18:81 @ 0xfffe00000000, S400, maxrec 2048 sbp0: on firewire0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x2f0c0000 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=3D0xc000ffc0, gen=3D1, CYCLEMASTER mode isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x37 6,0xbfa0-0xbfaf at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pcm0: port 0xb800-0xb8ff,0xbc40-0xbc7f mem 0xf4fff800-0xf 4fff9ff,0xf4fff400-0xf4fff4ff irq 9 at device 31.5 on pci0 pcm0: [ITHREAD] pcm0: pci0: at device 31.6 (no driver attached) acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64,0x62,0x66 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: flags 0x1000 irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcefff,0xcf000-0xcf7ff,0xcf800-0xcffff pnpid ORM0000 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0= Timecounter "TSC" frequency 2657822372 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, nat loadable, rule-based forwarding disabled, default to deny, logging limited to 7 packets/entry by default firewire0: 1 nodes, maxhop <=3D 0, cable IRM =3D 0 (me) firewire0: bus manager 0 (me) acd0: CDRW at ata0-master UDMA33 ad2: 114473MB at ata1-master UDMA100 Trying to mount root from ufs:/dev/ad2s4a info: [drm] Setting GART location based on new memory map info: [drm] writeback test succeeded in 1 usecs drm0: [ITHREAD] --------------enigD640A6B8C8645A2F86167EFE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhiXpEACgkQngSDRM3IXUoqZwCgvlvx9nJSkhaFcrxg64JzIZ/u JdAAn2S5A4ECei/ut+8ksrD8cZpjkLSu =6dyW -----END PGP SIGNATURE----- --------------enigD640A6B8C8645A2F86167EFE--