Date: Sat, 19 Jun 2004 08:36:49 GMT From: chifung <chifung@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/68103: kernel panic on ASUS P4P8X mb (builtin 3Com Gigabit LOM 3C940) Message-ID: <200406190836.i5J8anPE061033@www.freebsd.org> Resent-Message-ID: <200406190840.i5J8eMT5044071@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 68103 >Category: kern >Synopsis: kernel panic on ASUS P4P8X mb (builtin 3Com Gigabit LOM 3C940) >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 19 08:40:21 GMT 2004 >Closed-Date: >Last-Modified: >Originator: chifung >Release: 4.10 >Organization: na >Environment: FreeBSD xxx 4.10-STABLE FreeBSD 4.10-STABLE #0: Sun Jun 6 17:38:11 HKT 2004 xxx:/usr/obj/usr/src/sys/KOYO_DEBUG i386 >Description: I'm getting kernel panics from a 4.10-stable box. This kernel panic happens about once a week, and the coredump always shows the same backtrace (shown below). I couldn't find how to reproduce this panic yet. cat /etc/make.conf #CPUTYPE=i686 CPUTYPE=p4 CFLAGS= -O -pipe NOPROFILE= true (kgdb) bt #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 #1 0xc024a2cc in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316 #2 0xc024a74d in panic (fmt=0xc04d73f9 "%s") at /usr/src/sys/kern/kern_shutdown.c:595 #3 0xc042f706 in trap_fatal (frame=0xffc11710, eva=48) at /usr/src/sys/i386/i386/trap.c:974 #4 0xc042f359 in trap_pfault (frame=0xffc11710, usermode=0, eva=48) at /usr/src/sys/i386/i386/trap.c:867 #5 0xc042ee9f in trap (frame={tf_fs = 266862616, tf_es = 16, tf_ds = 374145040, tf_edi = -1021967232, tf_esi = -4122668, tf_ebp = -4122792, tf_isp = -4122820, tf_ebx = -1068377316, tf_edx = 1744880740, tf_ecx = 18, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1070063767, tf_cs = 8, tf_eflags = 78338, tf_esp = -1021967232, tf_ss = -4122668}) at /usr/src/sys/i386/i386/trap.c:466 #6 0xc0381f69 in acquire_lock (lk=0xc051db1c) at machine/globals.h:116 #7 0xc03852ea in initiate_write_filepage (pagedep=0xc3160480, bp=0xcc6fe0cc) at /usr/src/sys/ufs/ffs/ffs_softdep.c:3039 #8 0xc03851af in softdep_disk_io_initiation (bp=0xcc6fe0cc) at /usr/src/sys/ufs/ffs/ffs_softdep.c:2961 #9 0xc0285a77 in spec_strategy (ap=0xffc117d4) at /usr/src/sys/miscfs/specfs/spec_vnops.c:453 #10 0xc02854e5 in spec_vnoperate (ap=0xffc117d4) at /usr/src/sys/miscfs/specfs/spec_vnops.c:119 #11 0xc0391d0d in ufs_vnoperatespec (ap=0xffc117d4) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2394 #12 0xc0391575 in ufs_strategy (ap=0xffc11818) at vnode_if.h:944 #13 0xc0391cd5 in ufs_vnoperate (ap=0xffc11818) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376 #14 0xc02716ac in bwrite (bp=0xcc6fe0cc) at vnode_if.h:944 #15 0xc0277333 in vop_stdbwrite (ap=0xffc11854) at /usr/src/sys/kern/vfs_default.c:344 #16 0xc0277131 in vop_defaultop (ap=0xffc11854) at /usr/src/sys/kern/vfs_default.c:152 #17 0xc0391cd5 in ufs_vnoperate (ap=0xffc11854) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376 #18 0xc0271a16 in bawrite (bp=0xcc6fe0cc) at vnode_if.h:1193 #19 0xc038ada6 in ffs_fsync (ap=0xffc118cc) at /usr/src/sys/ufs/ffs/ffs_vnops.c:198 #20 0xc0389702 in ffs_sync (mp=0xc2287e00, waitfor=2, cred=0xc12b7700, p=0xc057e160) at vnode_if.h:558 #21 0xc027cab3 in sync (p=0xc057e160, uap=0x0) at /usr/src/sys/kern/vfs_syscalls.c:583 #22 0xc024a087 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:235 #23 0xc024a74d in panic (fmt=0xc04d73f9 "%s") at /usr/src/sys/kern/kern_shutdown.c:595 #24 0xc042f706 in trap_fatal (frame=0xffc119ec, eva=3894675017) at /usr/src/sys/i386/i386/trap.c:974 #25 0xc042f359 in trap_pfault (frame=0xffc119ec, usermode=0, eva=3894675017) at /usr/src/sys/i386/i386/trap.c:867 #26 0xc042ee9f in trap (frame={tf_fs = -1636171752, tf_es = -389677040, tf_ds = -624951280, tf_edi = 0, tf_esi = 0, tf_ebp = -4121976, tf_isp = -4122088, tf_ebx = -1022976460, tf_edx = -4121932, tf_ecx = 9, tf_eax = -400292288, tf_trapno = 12, tf_err = 0, tf_eip = -1036322574, tf_cs = 8, tf_eflags = 78467, tf_esp = -1026109696, tf_ss = -4121932}) at /usr/src/sys/i386/i386/trap.c:466 #27 0xc23af8f2 in ?? () ---Type <return> to continue, or q <return> to quit--- #28 0xc23af49d in ?? () #29 0xc2397349 in ?? () #30 0xc23a7db0 in ?? () #31 0xc2397349 in ?? () #32 0xc23b3893 in ?? () #33 0xc2397349 in ?? () #34 0xc23a80db in ?? () #35 0xc23a7d9a in ?? () #36 0xc2397349 in ?? () #37 0xc23f4f71 in ?? () #38 0xc2397349 in ?? () #39 0xc23a80db in ?? () #40 0xc23a7af4 in ?? () #41 0xc2397349 in ?? () #42 0xc23ebacc in ?? () #43 0xc23eb251 in ?? () #44 0xc2397349 in ?? () #45 0xc23f1104 in ?? () #46 0xc026c2f2 in sowakeup (so=0xd9d75240, sb=0xd9d75288) at /usr/src/sys/kern/uipc_socket2.c:316 #47 0xc02b146c in rip_input (m=0xc12c8c00, off=20, proto=47) at /usr/src/sys/netinet/raw_ip.c:231 #48 0xc02a8d8b in encap4_input (m=0xc12c8c00, off=20, proto=47) at /usr/src/sys/netinet/ip_encap.c:213 #49 0xc02adc74 in ip_input (m=0xc12c8c00) at /usr/src/sys/netinet/ip_input.c:934 #50 0xc02adcd3 in ipintr () at /usr/src/sys/netinet/ip_input.c:955 #51 0xc041dc01 in swi_net_next () dmesg netsmb_dev: loaded Fatal trap 12: page fault while in kernel mode mp_lock = 01000002; cpuid = 1; lapic.id = 01000000 fault virtual address = 0xe8240649 fault code = supervisor read, page not present instruction pointer = 0x8:0xc23af8f2 stack pointer = 0x10:0xffc11a2c frame pointer = 0x10:0xffc11a88 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 3 current process = Idle interrupt mask = <- SMP: XXX trap number = 12 panic: page fault mp_lock = 01000002; cpuid = 1; lapic.id = 01000000 boot() called on cpu#1 syncing disks... Fatal trap 12: page fault while in kernel mode mp_lock = 01000003; cpuid = 1; lapic.id = 01000000 fault virtual address = 0x30 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0381f69 stack pointer = 0x10:0xffc11750 frame pointer = 0x10:0xffc11758 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 3 current process = Idle interrupt mask = bio <- SMP: XXX trap number = 12 panic: page fault mp_lock = 01000003; cpuid = 1; lapic.id = 01000000 boot() called on cpu#1 Uptime: 7d18h17m52s dumping to dev #ad/0x20001, offset 4195968 dump ata0: resetting devices .. done 511 510 509 508 507 506 505 504 503 502 501 500 499 498 497 496 495 494 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 47b:6aff:fef3:f4a5%sk0 prefixlen 64 tentative scopeid 0x1 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.10-STABLE #0: Sun Jun 6 17:38:11 HKT 2004 chifung@koyo.rice.net:/usr/obj/usr/src/sys/KOYO_DEBUG Timecounter "i8254" frequency 1193182 Hz CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (2605.92-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> Hyperthreading: 2 logical CPUs real memory = 536018944 (523456K bytes) config> di bt0 config> di aic0 config> di aha0 config> di adv0 config> q avail memory = 515088384 (503016K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00050014, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00178020, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc0642000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc064209c. Warning: Pentium 4 CPU: PSE disabled Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 14 entries at 0xc00f5230 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard IOAPIC #0 intpin 16 -> irq 2 IOAPIC #0 intpin 19 -> irq 5 IOAPIC #0 intpin 18 -> irq 10 IOAPIC #0 intpin 23 -> irq 11 IOAPIC #0 intpin 17 -> irq 16 pci0: <PCI bus> on pcib0 agp0: <Intel 82865 host to AGP bridge> mem 0xf8000000-0xfbffffff at device 0.0 on pci0 pcib1: <PCI to PCI bridge (vendor=8086 device=2571)> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <NVidia Riva Ultra Vanta TNT2 graphics accelerator> at 0.0 irq 2 uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xef00-0xef1f irq 2 at device 29.0 on pci0 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 uhid0: American Power Conversion Back-UPS RS 500 FW:30.j4.I USB FW:j4, rev 1.10/0.06, addr 2, iclass 3/0 uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xef20-0xef3f irq 5 at device 29.1 on pci0 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 0xef40-0xef5f irq 10 at device 29.2 on pci0 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 0xef80-0xef9f irq 2 at device 29.3 on pci0 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 pci0: <USB controller> at 29.7 irq 11 pcib2: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0 IOAPIC #0 intpin 22 -> irq 17 pci2: <PCI bus> on pcib2 skc0: <3Com 3C940 Gigabit Ethernet> port 0xd800-0xd8ff mem 0xfeafc000-0xfeafffff irq 17 at device 5.0 on pci2 skc0: 3Com Gigabit LOM (3C940) sk0: <Marvell Semiconductor, Inc. Yukon> on skc0 sk0: Ethernet address: 00:0b:6a:f3:f4:a5 miibus0: <MII bus> on sk0 e1000phy0: <Marvell Semiconductor 88E1000* gigabit PHY> on miibus0 e1000phy0: 1000baseTX-FDX, 100baseTX-FDX, 100baseTX, 10baseTX-FDX, 10baseTX, auto isab0: <PCI to ISA bridge (vendor=8086 device=24d0)> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH5 ATA100 controller> port 0xfc00-0xfc0f,0-0x3,0-0x7,0-0x3,0-0x7 irq 10 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: <unknown card> (vendor=0x8086, dev=0x24d3) at 31.3 irq 16 pcm0: <Intel ICH5 (82801EB)> port 0xee80-0xeebf,0xe800-0xe8ff mem 0xfebff400-0xfebff4ff,0xfebff800-0xfebff9ff irq 16 at device 31.5 on pci0 pcm0: <Analog Devices AD1985 AC97 Codec> orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0 pmtimer0 on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: failed to get data. psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default IPsec: Initialized Security Association Processing. ncp_load: [210-213] SMP: AP CPU #1 Launched! ad0: 76319MB <ST380011A> [155061/16/63] at ata0-master UDMA100 acd0: CD-RW <SAMSUNG CD-R/RW SW-252B> at ata1-master PIO4 Mounting root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted >How-To-Repeat: don't know yet >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406190836.i5J8anPE061033>