kern/74230: periodic Fatal trap 12: page fault while in kernel mode

Maxim Kudryavtzev kms at tavria.net
Mon Nov 22 09:30:24 GMT 2004


>Number:         74230
>Category:       kern
>Synopsis:       periodic Fatal trap 12: page fault while in kernel mode
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 22 09:30:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Maxim Kudryavtzev
>Release:        FreeBSD 4.10-RELEASE-p3
>Organization:
at home
>Environment:
FreeBSD master.tavria.net 4.10-RELEASE-p3 FreeBSD 4.10-RELEASE-p3 #3: Sat Oct 16 08:54:15 EEST 2004     root at master.tavria.net:/usr/local/src/sys/compile/KERNEL01DBG  i386

>Description:
IdlePTD at physical address 0x003da000
initial pcb at physical address 0x0032b5e0
panicstr: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xd4
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0240b8c
stack pointer           = 0x10:0xea81dc40
frame pointer           = 0x10:0xea81dc48
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         = 30295 (perl)
interrupt mask          = net tty bio cam
panic: from debugger


Fatal trap 3: breakpoint instruction fault while in kernel mode
instruction pointer     = 0x8:0xc02830d1
stack pointer           = 0x10:0xea81da54
frame pointer           = 0x10:0xea81da5c
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, IOPL = 0
current process         = 30295 (perl)
interrupt mask          = net tty bio cam


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xd4
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0240b8c
stack pointer           = 0x10:0xea81dc40
frame pointer           = 0x10:0xea81dc48
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         = 30295 (perl)
interrupt mask          = net tty bio cam
panic: from debugger
Uptime: 25d1h57m40s
twe0: Cannot delete unit. error = 16

dumping to dev #twed/0x20001, offset 1050240

---
#0  dumpsys () at ../../kern/kern_shutdown.c:487
487             if (dumping++) {
(kgdb) where
#0  dumpsys () at ../../kern/kern_shutdown.c:487
#1  0xc0170540 in boot (howto=260) at ../../kern/kern_shutdown.c:316
#2  0xc017098d in panic (fmt=0xc02ac1a4 "from debugger") at ../../kern/kern_shutdown.c:595
#3  0xc0126a99 in db_panic (addr=-1071379572, have_addr=0, count=-1, modif=0xea81dad0 "") at ../../ddb/db_command.c:435
#4  0xc0126a37 in db_command (last_cmdp=0xc02f4e14, cmd_table=0xc02f4c54, aux_cmd_tablep=0xc03265d8)
    at ../../ddb/db_command.c:333
#5  0xc0126afe in db_command_loop () at ../../ddb/db_command.c:457
#6  0xc0128ccf in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71
#7  0xc0282e70 in kdb_trap (type=12, code=0, regs=0xea81dc00) at ../../i386/i386/db_interface.c:158
#8  0xc0290350 in trap_fatal (frame=0xea81dc00, eva=212) at ../../i386/i386/trap.c:969
#9  0xc028fd32 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = -367678316, tf_esi = 608, tf_ebp = -360588216,
      tf_isp = -360588244, tf_ebx = -367678316, tf_edx = 192, tf_ecx = 2126151553, tf_eax = 262137, tf_trapno = 12,
      tf_err = 0, tf_eip = -1071379572, tf_cs = 8, tf_eflags = 66054, tf_esp = -1064287844, tf_ss = -364745304})
    at ../../i386/i386/trap.c:636
#10 0xc0240b8c in vm_page_lookup (object=0xea15ac94, pindex=608) at ../../vm/vm_page.c:515
#11 0xc023faea in vm_object_collapse (object=0xea15ac94) at ../../vm/vm_object.c:1262
#12 0xc023ed80 in vm_object_deallocate (object=0xea426da8) at ../../vm/vm_object.c:368
#13 0xc023c00d in vm_map_entry_delete (map=0xe9dd5ec0, entry=0xe9c24330) at ../../vm/vm_map.c:2064
#14 0xc023c1be in vm_map_delete (map=0xe9dd5ec0, start=0, end=3217031168) at ../../vm/vm_map.c:2184
#15 0xc023c24d in vm_map_remove (map=0xe9dd5ec0, start=0, end=3217031168) at ../../vm/vm_map.c:2209
#16 0xc0168b1c in exec_new_vmspace (imgp=0xea81de2c) at ../../kern/kern_exec.c:538
#17 0xc015e6d7 in exec_elf_imgact (imgp=0xea81de2c) at ../../kern/imgact_elf.c:507
#18 0xc0168328 in execve (p=0xea088820, uap=0xea81df80) at ../../kern/kern_exec.c:208
#19 0xc029058a in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077937548, tf_esi = -1077937608,
      tf_ebp = -1077937568, tf_isp = -360587308, tf_ebx = 673378316, tf_edx = -1077937540, tf_ecx = 3, tf_eax = 59,
      tf_trapno = 12, tf_err = 2, tf_eip = 673045076, tf_cs = 31, tf_eflags = 659, tf_esp = -1077937628, tf_ss = 47})
    at ../../i386/i386/trap.c:1175
#20 0xc0283d75 in Xint0x80_syscall ()
Cannot access memory at address 0xbfbffa60.
(kgdb)

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-RELEASE-p3 #3: Sat Oct 16 08:54:15 EEST 2004
    root at master.tavria.net:/usr/local/src/sys/compile/KERNEL01DBG
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2394.01-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)
avail memory = 516788224 (504676K bytes)
Preloaded elf kernel "kernel" at 0xc03bb000.
Warning: Pentium 4 CPU: PSE disabled
netsmb_dev: loaded
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 12 entries at 0xc00f3d40
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82875P host to AGP bridge> mem 0xff400000-0xff7fffff at device 0.0 on pci0
pcib1: <PCI to PCI bridge (vendor=8086 device=2579)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xcc00-0xcc1f irq 5 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
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xd000-0xd01f irq 9 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 0xd400-0xd41f 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 0xd800-0xd81f irq 5 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 9
pcib2: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
twe0: <3ware Storage Controller driver ver. 1.40.01.002> port 0xbc00-0xbc0f mem 0xfe000000-0xfe7fffff,0xfeafec00-0xfeafec0f irq 10 at device 0.0 on pci2
twe0: 2 ports, Firmware FE7X 1.05.00.063, BIOS BE7X 1.08.00.048
xl0: <3Com 3c450-TX HomeConnect> port 0xb400-0xb47f mem 0xfeafe800-0xfeafe87f irq 11 at device 1.0 on pci2
xl0: Ethernet address: 00:01:02:eb:51:0d
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: <3Com 3c450-TX HomeConnect> port 0xb000-0xb07f mem 0xfeafe400-0xfeafe47f irq 11 at device 2.0 on pci2
xl1: Ethernet address: 00:01:02:eb:45:dd
miibus1: <MII bus> on xl1
xlphy1: <3Com internal media interface> on miibus1
xlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci2: <ATI Mach64-GR graphics accelerator> at 6.0 irq 11
fxp0: <Intel 82801BA (D865) Pro/100 VE Ethernet> port 0xac00-0xac3f mem 0xfeafd000-0xfeafdfff irq 11 at device 8.0 on pci2
fxp0: Ethernet address 00:07:e9:42:4d:5e
inphy0: <i82562ET 10/100 media interface> on miibus2
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 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 0xffa0-0xffaf,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
atapci1: <Intel ICH5 SATA150 controller> port 0xdc00-0xdc0f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07 irq 10 at device 31.2 on pci0
ata2: at 0xec00 on atapci1
ata3: at 0xe400 on atapci1
pci0: <unknown card> (vendor=0x8086, dev=0x24d3) at 31.3 irq 11
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff on isa0
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
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: configured irq 4 not in bitmap of probed irqs 0
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 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
DUMMYNET initialized (011031)
acd0: CDROM <GCR-8523B> at ata0-slave PIO4
twed0: <Unit 0, TwinStor, Normal> on twe0
twed0: 38165MB (78163312 sectors)
Mounting root from ufs:/dev/twed0s1a
WARNING: / was not properly dismounted

>How-To-Repeat:

>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list