misc/90148: pf_enable="YES" -> Fatal trap 12: page fault while in kernel mode

Tom Müller-Kortkamp tmueko at kommunity.net
Fri Dec 9 08:10:07 PST 2005


>Number:         90148
>Category:       misc
>Synopsis:       pf_enable="YES" -> Fatal trap 12: page fault while in kernel mode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 09 16:10:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Tom Müller-Kortkamp
>Release:        FreeBSD 6.0-RELEASE #0
>Organization:
komm://unity
>Environment:
FreeBSD durandal.kommunity.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005     root at x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
When I enable "pf_enable="YES"" in /etc/rc.conf (no matter if pf Module is loaded in Kernel or not)

I get a 
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xf
fault code              = supervisor write, page not present
instruction pointer     = 0x20:0xc0526699
stack pointer           = 0x28:0xcbf72c90
frame pointer           = 0x28:0xcbf72ca4
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         = 21 (irq10: fxp2 fxp7)
trap number             = 12
panic: page fault
Uptime: 7s


from /etc/rc.conf
[...]
ifconfig_fxp7="inet 195.20.112.2 up name ifB"
ifconfig_fxp5="name ifA"
ifconfig_fxp6="name ifC"
cloned_interfaces="bridge0"
ifconfig_ifB="inet 195.20.112.2 up"
ifconfig_bridge0="addm ifA addm ifB addm ifC"
[...]
pf_enable="YES"

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 #0: Thu Nov  3 09:36:13 UTC 2005
    root at x64.samsco.home:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (996.31-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 267386880 (255 MB)
avail memory = 252297216 (240 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: <Intel 82815 (i815 GMCH) Host To Hub bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 10 Entries> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82815 (i815 GMCH) SVGA controller> mem 0xe0000000-0xe3ffffff,0xe8000000-0xe807ffff at device 2.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 30.0 on pci0
pci1: <PCI bus> on pcib1
fxp0: <Intel 82801BA/CAM (ICH2/3) Pro/100 Ethernet> port 0xa000-0xa03f mem 0xe7061000-0xe7061fff irq 5 at device 8.0 on pci1
miibus0: <MII bus> on fxp0
inphy0: <i82562EM 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:10:f3:06:0e:b6
pcib2: <PCI-PCI bridge> at device 9.0 on pci1
pci2: <PCI bus> on pcib2
$PIR: ROUTE_INTERRUPT failed.
fxp1: <Intel 82559ER Embedded 10/100 Ethernet> port 0x9000-0x903f mem 0xe5083000-0xe5083fff,0xe5000000-0xe501ffff irq 12 at device 9.0 on pci2
miibus1: <MII bus> on fxp1
inphy1: <i82555 10/100 media interface> on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Ethernet address: 00:10:f3:06:0e:ba
fxp2: <Intel 82559ER Embedded 10/100 Ethernet> port 0x9400-0x943f mem 0xe5081000-0xe5081fff,0xe5020000-0xe503ffff irq 10 at device 10.0 on pci2
miibus2: <MII bus> on fxp2
inphy2: <i82555 10/100 media interface> on miibus2
inphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp2: Ethernet address: 00:10:f3:06:0e:bb
fxp3: <Intel 82559ER Embedded 10/100 Ethernet> port 0x9800-0x983f mem 0xe5080000-0xe5080fff,0xe5040000-0xe505ffff irq 11 at device 11.0 on pci2
miibus3: <MII bus> on fxp3
inphy3: <i82555 10/100 media interface> on miibus3
inphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp3: Ethernet address: 00:10:f3:06:0e:bc
fxp4: <Intel 82559ER Embedded 10/100 Ethernet> port 0x9c00-0x9c3f mem 0xe5082000-0xe5082fff,0xe5060000-0xe507ffff irq 9 at device 12.0 on pci2
miibus4: <MII bus> on fxp4
inphy4: <i82555 10/100 media interface> on miibus4
inphy4:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp4: Ethernet address: 00:10:f3:06:0e:bd
fxp5: <Intel 82559ER Embedded 10/100 Ethernet> port 0xa400-0xa43f mem 0xe7063000-0xe7063fff,0xe7000000-0xe701ffff irq 9 at device 13.0 on pci1
miibus5: <MII bus> on fxp5
inphy5: <i82555 10/100 media interface> on miibus5
inphy5:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp5: Ethernet address: 00:10:f3:06:0e:b7
fxp6: <Intel 82559ER Embedded 10/100 Ethernet> port 0xa800-0xa83f mem 0xe7060000-0xe7060fff,0xe7020000-0xe703ffff irq 11 at device 14.0 on pci1
miibus6: <MII bus> on fxp6
inphy6: <i82555 10/100 media interface> on miibus6
inphy6:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp6: Ethernet address: 00:10:f3:06:0e:b8
fxp7: <Intel 82559ER Embedded 10/100 Ethernet> port 0xac00-0xac3f mem 0xe7062000-0xe7062fff,0xe7040000-0xe705ffff irq 10 at device 15.0 on pci1
miibus7: <MII bus> on fxp7
inphy7: <i82555 10/100 media interface> on miibus7
inphy7:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp7: Ethernet address: 00:10:f3:06:0e:b9
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xb000-0xb01f irq 9 at device 31.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801BA/BAM (ICH2) 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
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff 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]
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
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: <PNP0501> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
Timecounter "TSC" frequency 996311125 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 977MB <SanDisk SDCFB-1024 HDX 2.15> at ata0-master PIO4
Trying to mount root from ufs:/dev/ad0s1a
bridge0: Ethernet address: ac:de:48:cf:40:e8

>How-To-Repeat:

>Fix:
Use ipfw/dummynet instead of pf?
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list