Page Fault 6.2-PRERELEASE

Christopher Harper (05056409) 05056409 at students.lincoln.ac.uk
Sat Dec 30 14:20:35 PST 2006


The system freezes randomly and no longer accepts any input and after a minute of being 'frozen' reboots.
Initiaily thought it was related to firefox as this can usualyl crash it 'randomly' , Seems to be an issue with the now un-supported ural0 driver.

I'm fairly new to kernel debugging so am not sure what details people need, hope this helps.

Any questions/requests for more info are no problem.


Kgdb output: 

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:
ural0: could not transmit buffer: SHORT_XFER


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0x4
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc05a87d9
stack pointer           = 0x28:0xe6dc6bec
frame pointer           = 0x28:0xe6dc6bf8
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         = 23 (irq10: vr0 ehci0+)
trap number             = 12
panic: page fault
cpuid = 1
Uptime: 26m35s
Dumping 2046 MB (2 chunks)
  chunk 0: 1MB (158 pages) ... ok
  chunk 1: 2046MB (523760 pages) 2030 2014 1998 1982 1966 1950 1934 1918 1902 1886 1870 1854 1838 1822 1806 1790 1774 1758 1742 1726 1710 1694 1678 1662 1646 1630 1614 1598 1582 1566 1550 1534 1518 1502 1486 1470 1454 1438 1422 1406 1390 1374 1358 1342 1326 1310 1294 1278 1262 1246 1230 1214 1198 1182 1166 1150 1134 1118 1102 1086 1070 1054 1038 1022 1006 990 974 958 942 926 910 894 878 862 846 830 814 798 782 766 750 734 718 702 686 670 654 638 622 606 590 574 558 542 526 510 494 478 462 446 430 414 398 382 366 350 334 318 302 286 270 254 238 222 206 190 174 158 142 126 110 94 78 62 46 30 14

#0  doadump () at pcpu.h:165
165             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) list *0xc05a87d9
0xc05a87d9 is in ieee80211_free_node (/usr/src/sys/net80211/ieee80211_node.c:1606).
1601    ieee80211_free_node_debug(struct ieee80211_node *ni, const char *func, int line)
1602    #else
1603    ieee80211_free_node(struct ieee80211_node *ni)
1604    #endif
1605    {
1606            struct ieee80211_node_table *nt = ni->ni_table;
1607
1608    #ifdef IEEE80211_DEBUG_REFCNT
1609            IEEE80211_DPRINTF(ni->ni_ic, IEEE80211_MSG_NODE,
1610                    "%s (%s:%u) %p<%s> refcnt %d\n", __func__, func, line, ni,
(kgdb) backtrace
#0  doadump () at pcpu.h:165
#1  0xc051a6ca in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc051a9f1 in panic (fmt=0xc06d94cf "%s") at /usr/src/sys/kern/kern_shutdown.c:565
#3  0xc06a795c in trap_fatal (frame=0xe6dc6bac, eva=4) at /usr/src/sys/i386/i386/trap.c:837
#4  0xc06a769b in trap_pfault (frame=0xe6dc6bac, usermode=0, eva=4) at /usr/src/sys/i386/i386/trap.c:745
#5  0xc06a72d5 in trap (frame=
      {tf_fs = 8, tf_es = -963641304, tf_ds = -961019864, tf_edi = -963964928, tf_esi = 0, tf_ebp = -421762056, tf_isp = -421762088, tf_ebx = -963961644, tf_edx = -421655072, tf_ecx = -964085760, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1067808807, tf_cs = 32, tf_eflags = 66118, tf_esp = -963961644, tf_ss = -963615744})
    at /usr/src/sys/i386/i386/trap.c:435
#6  0xc069342a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc05a87d9 in ieee80211_free_node (ni=0x0) at /usr/src/sys/net80211/ieee80211_node.c:1605
#8  0xc04b1923 in ural_txeof (xfer=0xc6b82d00, priv=0xc68b1cd4, status=USBD_NORMAL_COMPLETION) at /usr/src/sys/dev/usb/if_ural.c:888
#9  0xc04c9b1a in usb_transfer_complete (xfer=0xc6b82d00) at /usr/src/sys/dev/usb/usbdi.c:863
#10 0xc04acbae in ehci_idone (ex=0xc6b82d00) at /usr/src/sys/dev/usb/ehci.c:852
#11 0xc04acaeb in ehci_check_intr (sc=0xc6893800, ex=0xc6b82d00) at /usr/src/sys/dev/usb/ehci.c:759
#12 0xc04aca25 in ehci_softintr (v=0xc6893800) at /usr/src/sys/dev/usb/ehci.c:693
#13 0xc04c6e55 in usb_schedsoftintr (bus=0x0) at /usr/src/sys/dev/usb/usb.c:871
#14 0xc04ac806 in ehci_intr1 (sc=0xc6893800) at /usr/src/sys/dev/usb/ehci.c:593
#15 0xc04ac746 in ehci_intr (v=0xc6893800) at /usr/src/sys/dev/usb/ehci.c:552
#16 0xc0505059 in ithread_execute_handlers (p=0xc68ff648, ie=0xc67e3b00) at /usr/src/sys/kern/kern_intr.c:682
#17 0xc0505169 in ithread_loop (arg=0xc68b7480) at /usr/src/sys/kern/kern_intr.c:765
#18 0xc0503e0d in fork_exit (callout=0xc0505114 <ithread_loop>, arg=0xc68b7480, frame=0xe6dc6d38) at /usr/src/sys/kern/kern_fork.c:821
#19 0xc069348c in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:208

Dmesg Output : 

Copyright (c) 1992-2006 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 6.2-PRERELEASE #13: Sat Dec 30 21:10:31 GMT 2006
    root@:/usr/obj/usr/src/sys/SMP
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (3001.62-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
  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=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,<b9>,CX16,<b14>,<b15>>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  Cores per package: 2
real memory  = 2146369536 (2046 MB)
avail memory = 2091098112 (1994 MB)
MPTable: <OEM00000 PROD00000000>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 4
ioapic0: Assuming intbase of 0
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
cpu0 on motherboard
cpu1 on motherboard
pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <memory, RAM> at device 0.3 (no driver attached)
pci0: <memory, RAM> at device 0.4 (no driver attached)
pci0: <memory, RAM> at device 0.5 (no driver attached)
pci0: <memory, RAM> at device 0.6 (no driver attached)
pci0: <memory, RAM> at device 0.7 (no driver attached)
pci0: <memory, RAM> at device 1.0 (no driver attached)
pci0: <memory, RAM> at device 1.1 (no driver attached)
pci0: <memory, RAM> at device 1.2 (no driver attached)
pci0: <memory, RAM> at device 1.3 (no driver attached)
pci0: <memory, RAM> at device 1.4 (no driver attached)
pci0: <memory, RAM> at device 1.5 (no driver attached)
pci0: <memory, RAM> at device 1.6 (no driver attached)
pci0: <memory, RAM> at device 2.0 (no driver attached)
pci0: <memory, RAM> at device 2.1 (no driver attached)
pci0: <memory, RAM> at device 2.2 (no driver attached)
pcib1: <MPTable PCI-PCI bridge> at device 3.0 on pci0
pci1: <PCI bus> on pcib1
nvidia0: <GeForce 7900 GTX> port 0x9c00-0x9c7f mem 0xcc000000-0xccffffff,0xb0000000-0xbfffffff,0xcd000000-0xcdffffff irq 11 at device 0.0 on pci1
nvidia0: [GIANT-LOCKED]
pci0: <memory, RAM> at device 9.0 (no driver attached)
isab0: <PCI-ISA bridge> port 0xfc00-0xfc7f at device 10.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 10.1 (no driver attached)
pci0: <memory, RAM> at device 10.2 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xcffff000-0xcfffffff irq 11 at device 11.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xcfffe000-0xcfffe0ff irq 10 at device 11.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 10 ports each: usb0
usb1: <EHCI (generic) USB 2.0 controller> on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
ural0: Belkin Belkin 54g USB Network Adapter, rev 2.00/0.01, addr 2
ural0: MAC/BBP RT2570 (rev 0x03), RF RT2526
ural0: Ethernet address: 00:11:50:77:38:21
ural0: if_start running deferred for Giant
atapci0: <nVidia nForce MCP55 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xec00-0xec0f at device 13.0 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
atapci1: <nVidia nForce MCP55 SATA300 controller> port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd800-0xd80f mem 0xcfffd000-0xcfffdfff irq 10 at device 14.0 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
atapci2: <nVidia nForce MCP55 SATA300 controller> port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xc400-0xc40f mem 0xcfffc000-0xcfffcfff irq 11 at device 14.1 on pci0
ata4: <ATA channel 0> on atapci2
ata5: <ATA channel 1> on atapci2
atapci3: <nVidia nForce MCP55 SATA300 controller> port 0xc000-0xc007,0xbc00-0xbc03,0xb800-0xb807,0xb400-0xb403,0xb000-0xb00f mem 0xcfffb000-0xcfffbfff irq 11 at device 14.2 on pci0
ata6: <ATA channel 0> on atapci3
ata7: <ATA channel 1> on atapci3
pcib2: <MPTable PCI-PCI bridge> at device 15.0 on pci0
pci2: <PCI bus> on pcib2
fwohci0: <Texas Instruments TSB43AB22/A> mem 0xcfdff000-0xcfdff7ff,0xcfdf8000-0xcfdfbfff irq 11 at device 7.0 on pci2
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 80:80:80:05:00:00:04:4b
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
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 82:80:80:00:04:4b
fwe0: Ethernet address: 82:80:80:00:04:4b
fwe0: if_start running deferred for Giant
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)
vr0: <VIA VT6105 Rhine III 10/100BaseTX> port 0x8c00-0x8cff mem 0xcfdfe000-0xcfdfe0ff irq 10 at device 10.0 on pci2
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:40:f4:a6:ff:74
pci0: <multimedia> at device 15.1 (no driver attached)
pci0: <bridge> at device 17.0 (no driver attached)
pci0: <bridge> at device 18.0 (no driver attached)
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcdfff,0xd0000-0xd3fff,0xd4000-0xd57ff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: parallel port not found.
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: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
ums0: Microsoft Microsoft IntelliMouse\M-. Explorer, rev 2.00/4.24, addr 2, iclass 3/1
ums0: 5 buttons and Z dir and a TILT dir.
Timecounters tick every 1.000 msec
acd0: DVDROM <LITE-ON DVD SHD-16P1S/GS02> at ata0-master UDMA33
ad6: 238475MB <WDC WD2500KS-00MJB0 02.01C03> at ata3-master SATA300
SMP: AP CPU #1 Launched!

uname -a output:

FreeBSD FreeBSD 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #13: Sat Dec 30 21:10:31 GMT 2006     root@:/usr/obj/usr/src/sys/SMP  i386

System specs :
Intel E6600 ( 2 x 2.4GHz )
Cellshcok PC6400 DDR2 2GB 
eVga 680i motherboard
eVga 7900GTX
Sata 2 maxtor 250GB


Thanks again,

Chris


More information about the freebsd-stable mailing list