Date: Fri, 16 Dec 2005 18:16:55 -0500 From: "Peter D. Quilty" <pdquilty@adelphia.net> To: freebsd-stable@freebsd.org Subject: Need help with crash analysis Message-ID: <1134775015.2892.28.camel@pdq-9100>
next in thread | raw e-mail | index | archive | help
--=-ahjj6+H3lie1zWviRRqY Content-Type: text/plain Content-Transfer-Encoding: 7bit I have a Dell Inspiron 9100 laptop that has been crashing lately. It seems to happen when there is a moderate disk load and the network load is > 6 Mbits/sec. I can usually replicate it by running "portsdb -fUu" while downloading or copying large files across the network. I have tried the following in an attempt to isolate the problem, but nothing has worked. * disabling ACPI * disabling hyperthreading * disabling SMP * switching back to the 4BSD scheduler from ULE I ran kgdb against kernel.debug and the crash dump, but don't quite know how to interpret it or where to go from here. I've attached my kernel config file, dmesg.boot, and the outputs from kldstat and kgdb. I recently upgraded my router/access point at home from 802.11b to 802.11g to take advantage of the faster network cards in my laptops and I am wondering if that could be exposing a bug or race condition. I tried putting my network card back in 11b mode (instead of 11g) and I don't see the problem nearly as often. Does anyone have any suggestions as to how to troubleshoot this further? I have saved the relevant kernel files and crash dumps, in case I need to reference them again. -- Peter D. Quilty pdquilty@adelphia.net 703-906-5633 GnuPG Key: http://users.adelphia.net/~pdquilty/gpg-pubkey.asc GnuPG Key Fingerprint: A46A 0E56 D13E 5617 4696 2B04 0D0C E34D CB6D D107 --=-ahjj6+H3lie1zWviRRqY Content-Disposition: attachment; filename=PDQ.9100 Content-Type: text/plain; name=PDQ.9100; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit makeoptions DEBUG=-g machine i386 cpu I686_CPU ident "PDQ.9100" options INCLUDE_CONFIG_FILE options ROOTDEVNAME=\"ufs:ad0s1a\" options SMP options SCHED_ULE options PREEMPTION options MPTABLE_FORCE_HTT options IPI_PREEMPTION options INET options FFS options SOFTUPDATES options UFS_DIRHASH options MSDOSFS options SMBFS options CD9660 options PROCFS options PSEUDOFS options COMPAT_LINUX options LINPROCFS options COMPAT_43 options KTRACE options SYSVSHM options SYSVMSG options SYSVSEM options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV options ADAPTIVE_GIANT options NETSMB options NETSMBCRYPTO options LIBMCHAIN options LIBICONV device apic device isa device pci device ata device atadisk device atapicd device atapicam options ATA_STATIC_ID device scbus device da device cd device pass device atkbdc device atkbd device psm device vga device splash device sc device npx device pmtimer device cbb device pccard device cardbus device sio device miibus device bfe device wlan device wlan_wep device ath_hal device ath_rate_sample device ath device loop device mem device io device random device ether device pty device snp device bpf device uhci device ehci device usb device umass device ums device firewire device sbp device sound device snd_ich --=-ahjj6+H3lie1zWviRRqY Content-Disposition: attachment; filename=dmesg.boot Content-Type: text/plain; name=dmesg.boot; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Copyright (c) 1992-2005 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 6.0-RELEASE #16: Wed Dec 14 14:34:52 EST 2005 root@pdq-9100:/usr/obj/usr/src/sys/PDQ.9100 ACPI APIC Table: <DELL CPi R > Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.51-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x4400<CNTX-ID,<b14>> Hyperthreading: 2 logical CPUs real memory = 1073389568 (1023 MB) avail memory = 1041309696 (993 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 <Version 2.0> irqs 0-23 on motherboard netsmb_dev: loaded kqemu version 0x00010200 kqemu: KQEMU installed, max_instances=4 max_locked_mem=129932kB. ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413) npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <DELL CPi R > on motherboard pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0 pci_link1: <ACPI PCI Link LNKB> irq 11 on acpi0 pci_link2: <ACPI PCI Link LNKC> irq 11 on acpi0 pci_link3: <ACPI PCI Link LNKD> irq 11 on acpi0 pci_link4: <ACPI PCI Link LNKE> on acpi0 pci_link5: <ACPI PCI Link LNKH> irq 11 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 cpu1: <ACPI CPU> on acpi0 acpi_throttle1: <ACPI CPU Throttling> on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 acpi_acad0: <AC Adapter> on acpi0 battery0: <ACPI Control Method Battery> on acpi0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_button0: <Power Button> on acpi0 acpi_button1: <Sleep Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 agp0: <Intel 82865 host to AGP bridge> mem 0xe8000000-0xefffffff at device 0.0 on pci0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 drm0: <ATI Radeon RV300 Mobility 9600 M10> port 0xc000-0xc0ff mem 0xf0000000-0xf7ffffff,0xfcff0000-0xfcffffff irq 16 at device 0.0 on pci1 info: [drm] AGP at 0xe8000000 128MB info: [drm] Initialized radeon 1.16.0 20050311 on minor 0 uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xbf80-0xbf9f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xbf60-0xbf7f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xbf40-0xbf5f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xbf20-0xbf3f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: <EHCI (generic) USB 2.0 controller> mem 0xf8fffc00-0xf8ffffff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: <EHCI (generic) USB 2.0 controller> on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci2: <ACPI PCI bus> on pcib2 bfe0: <Broadcom BCM4401 Fast Ethernet> mem 0xfaffe000-0xfaffffff irq 18 at device 0.0 on pci2 miibus0: <MII bus> on bfe0 bmtphy0: <BCM4401 10/100baseTX PHY> on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bfe0: Ethernet address: 00:0f:1f:29:30:18 cbb0: <TI4510 PCI-CardBus Bridge> at device 1.0 on pci2 cardbus0: <CardBus bus> on cbb0 pccard0: <16-bit PCCard bus> on cbb0 fwohci0: <1394 Open Host Controller Interface> mem 0xfaffd800-0xfaffdfff,0xfaff8000-0xfaffbfff irq 19 at device 1.1 on pci2 fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 44:4f:c0:00:24:8a:54:81 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: <IEEE1394(FireWire) bus> on fwohci0 sbp0: <SBP-2/SCSI over FireWire> on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) ath0: <Atheros 5212> mem 0xfafe0000-0xfafeffff irq 17 at device 3.0 on pci2 ath0: Ethernet address: 00:0b:6b:35:bd:5d ath0: mac 5.9 phy 4.3 radio 3.6 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH5 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xbfa0-0xbfaf at device 31.1 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 pcm0: <Intel ICH5 (82801EB)> port 0xd800-0xd8ff,0xdc40-0xdc7f mem 0xf8fff800-0xf8fff9ff,0xf8fff400-0xf8fff4ff irq 17 at device 31.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: <SigmaTel STAC9750/51 AC97 Codec> pci0: <simple comms, generic modem> at device 31.6 (no driver attached) acpi_tz0: <Thermal Zone> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model GlidePoint, device ID 0 sio0 port 0x3f8-0x3ff,0x270-0x277 irq 4 drq 3 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: <ISA Option ROM> at iomem 0xc0000-0xcffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: vendor 0x0430 product 0x0100, rev 1.10/1.05, addr 2, iclass 3/1 ums0: 3 buttons. Timecounters tick every 1.000 msec acpi_acad0: acline initialization start acpi_acad0: On Line acpi_acad0: acline initialization done, tried 1 times battery0: battery initialization start ad0: 57231MB <HTS726060M9AT00 MH4OA68A> at ata0-master UDMA100 battery0: battery initialization done, tried 1 times acd0: CDRW <HL-DT-STCD-RW/DVD-ROM GCC-4241N/A101> at ata1-master UDMA33 SMP: AP CPU #1 Launched! cd0 at ata1 bus 0 target 0 lun 0 cd0: <HL-DT-ST RW/DVD GCC-4241N A101> Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted --=-ahjj6+H3lie1zWviRRqY Content-Disposition: attachment; filename=kgdb Content-Type: text/plain; name=kgdb; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x10 fault code = supervisor read, page not present instruction pointer = 0x20:0xc066d174 stack pointer = 0x28:0xe36198bc frame pointer = 0x28:0x0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 38 (swi1: net) trap number = 12 panic: page fault cpuid = 0 Uptime: 1h0m21s Dumping 1023 MB (2 chunks) chunk 0: 1MB (158 pages) Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x1c fault code = supervisor write, page not present instruction pointer = 0x20:0xc054a3a8 stack pointer = 0x28:0xe5084c8c frame pointer = 0x28:0xe5084ccc code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 36 (swi4: clock sio) trap number = 12 ... ok chunk 1: 1023MB (261802 pages) 1007 (CTRL-C to abort) 991 (CTRL-C to abort) (CTRL-C to abort) (CTRL-C to abort) (CTRL-C to abort) (CTRL-C to abort) (CTRL-C to abort) 975 959 943 (CTRL-C to abort) (CTRL-C to abort) (CTRL-C to abort) 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 #0 doadump () at pcpu.h:165 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) quit --=-ahjj6+H3lie1zWviRRqY Content-Disposition: attachment; filename=kldstat Content-Type: text/plain; name=kldstat; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Id Refs Address Size Name 1 34 0xc0400000 400f38 kernel 2 1 0xc0801000 4184 if_tap.ko 3 1 0xc0806000 5f4c ugen.ko 4 10 0xc080c000 1459c agp.ko 5 2 0xc0821000 11178 drm.ko 6 1 0xc0833000 1e944 radeon.ko 7 1 0xc0852000 bde0 kqemu.ko 8 3 0xc085e000 3548 ucom.ko 9 1 0xc0862000 2e0c uvisor.ko 10 1 0xc0865000 434c uplcom.ko 11 1 0xc086a000 6be0 wlan_ccmp.ko 12 1 0xc0871000 4050 wlan_tkip.ko 13 16 0xc0876000 5fbfc acpi.ko 14 1 0xc28d1000 5000 g_md.ko 15 1 0xc2acf000 2d000 pf.ko 16 1 0xc2bf9000 2000 green_saver.ko --=-ahjj6+H3lie1zWviRRqY--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1134775015.2892.28.camel>