Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Feb 2002 11:47:03 -0600
From:      Erich Zigler <erichz@superhero.org>
To:        freebsd-stable@freebsd.org
Subject:   Fatal trap 12: page fault while in kernel mode
Message-ID:  <20020216174714.13B3D37B400@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The last couple make buildworld's I've done have completed successfully and 
appeared to build and install fine. That is until I rebooted.

I reboot and I got this error after it tried to load syslogd.

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x79147914
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc0253346
stack pointer           = 0x10:0xd7eecdc8
frame pointer           = 0x10:0xd7eecdf0
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         = 96 (lpd)
interrupt mask          = 
trap number             = 12
panic: page fault

I booted into single user and set it not to start lpd. It then did the 
exact same thing with the next daemon. sshd.

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x79147914
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc0253346
stack pointer           = 0x10:0xd7ee7dc8
frame pointer           = 0x10:0xd7ee7df0
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         = 89 (sshd)
interrupt mask          = 
trap number             = 12
panic: page fault

I then booted the old kernel, and everything started up without incident. I 
have tested my hardware and everything checks out as per what people have 
said previously on this list.

Attached is my complete dmesg output

Nonworking kernel
---
. Copyright (c) 1992-2002 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 4.5-STABLE #0: Sat Feb 16 04:43:30 CST 2002
    root@cerebro.superhero.org:/usr/obj/usr/src/sys/CEREBRO
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 1460460400 Hz
CPU: AMD Athlon(tm) XP 1700+ (1460.46-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
  
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0480000<<b19>,AMIE,DSP,3DNow!>
real memory  = 536870912 (524288K bytes)
avail memory = 518946816 (506784K bytes)
Preloaded elf kernel "kernel" at 0xc0361000.
netsmb_dev: loaded
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 8 entries at 0xc00f7780
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <PCI to PCI bridge (vendor=1039 device=0001)> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <NVidia Riva Ultra Vanta TNT2 graphics accelerator> at 0.0 irq 11
isab0: <SiS 85c503 PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
pci0: <OHCI USB controller> at 2.2 irq 10
pci0: <OHCI USB controller> at 2.3 irq 10
atapci0: <SiS 5591 ATA100 controller> port 0xff00-0xff0f at device 2.5 on 
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <S3 ViRGE DX/GX graphics accelerator> at 9.0 irq 11
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xdc00-0xdcff mem 
0xcbfef000-0xcbfeffff irq 5 at device 11.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/255 SCBs
pcm0: <Creative CT5880-C> port 0xd800-0xd83f irq 10 at device 13.0 on pci0
rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xd400-0xd4ff mem 
0xcbfecf00-0xcbfecfff irq 10 at device 15.0 on pci0
rl0: Ethernet address: 00:e0:29:5c:89:75
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bktr0: <BrookTree 878> mem 0xc5dfe000-0xc5dfefff irq 5 at device 17.0 on 
pci0
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
smbus0: <System Management Bus> on bti2c0
bktr0: Hauppauge Model 44371 B123
bktr0: Detected a MSP3435G-B6 at 0x80
bktr0: Hauppauge WinCast/TV, Philips FR1236 NTSC FM tuner, msp3400c stereo, 
remote control.
pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 17.1 irq 5
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcc7ff 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: <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 not found.
DUMMYNET initialized (011031)
IP packet filtering initialized, divert enabled, rule-based forwarding 
disabled, default to deny, logging disabled
ad0: 28629MB <ST330621A> [58168/16/63] at ata0-master UDMA100
acd0: CDROM <CD-ROM Drive/F5E> at ata1-master using PIO4
acd1: CD-RW <CD-W512EB> at ata1-slave using PIO4
Waiting 2 seconds for SCSI devices to settle
pass1 at ahc0 bus 0 target 3 lun 0
pass1: <HP C1130A 3614> Fixed Processor SCSI-2 device 
pass1: 3.300MB/s transfers
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST39173W 5958> Fixed Direct Access SCSI-2 device 
da0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing 
Enabled
da0: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C)
Mounting root from ufs:/dev/da0s1a


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x79147914
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc0253346
stack pointer           = 0x10:0xd7ee7dc8
frame pointer           = 0x10:0xd7ee7df0
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         = 89 (sshd)
interrupt mask          = 
trap number             = 12
panic: page fault

Working Kernel
---
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.5-STABLE #2: Mon Feb  4 11:42:59 CST 2002
    root@cerebro.superhero.org:/usr/src/sys/compile/CEREBRO
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 1460460320 Hz
CPU: AMD Athlon(tm) XP 1700+ (1460.46-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
  
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0480000<<b19>,AMIE,DSP,3DNow!>
real memory  = 536870912 (524288K bytes)
avail memory = 518946816 (506784K bytes)
Preloaded elf kernel "kernel.working" at 0xc0361000.
netsmb_dev: loaded
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 8 entries at 0xc00f7780
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <PCI to PCI bridge (vendor=1039 device=0001)> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <NVidia Riva Ultra Vanta TNT2 graphics accelerator> at 0.0 irq 11
isab0: <SiS 85c503 PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
pci0: <OHCI USB controller> at 2.2 irq 10
pci0: <OHCI USB controller> at 2.3 irq 10
atapci0: <SiS 5591 ATA100 controller> port 0xff00-0xff0f at device 2.5 on 
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <S3 ViRGE DX/GX graphics accelerator> at 9.0 irq 11
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xdc00-0xdcff mem 
0xcbfef000-0xcbfeffff irq 5 at device 11.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/255 SCBs
pcm0: <Creative CT5880-C> port 0xd800-0xd83f irq 10 at device 13.0 on pci0
rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xd400-0xd4ff mem 
0xcbfecf00-0xcbfecfff irq 10 at device 15.0 on pci0
rl0: Ethernet address: 00:e0:29:5c:89:75
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bktr0: <BrookTree 878> mem 0xc5dfe000-0xc5dfefff irq 5 at device 17.0 on 
pci0
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
smbus0: <System Management Bus> on bti2c0
bktr0: Hauppauge Model 44371 B123
bktr0: Detected a MSP3435G-B6 at 0x80
bktr0: Hauppauge WinCast/TV, Philips FR1236 NTSC FM tuner, msp3400c stereo, 
remote control.
pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 17.1 irq 5
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcc7ff 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: <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 not found.
DUMMYNET initialized (011031)
IP packet filtering initialized, divert enabled, rule-based forwarding 
disabled, default to deny, logging disabled
ad0: 28629MB <ST330621A> [58168/16/63] at ata0-master UDMA100
acd0: CDROM <CD-ROM Drive/F5E> at ata1-master using PIO4
acd1: CD-RW <CD-W512EB> at ata1-slave using PIO4
Waiting 2 seconds for SCSI devices to settle
pass1 at ahc0 bus 0 target 3 lun 0
pass1: <HP C1130A 3614> Fixed Processor SCSI-2 device 
pass1: 3.300MB/s transfers
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST39173W 5958> Fixed Direct Access SCSI-2 device 
da0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing 
Enabled
da0: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C)
Mounting root from ufs:/dev/da0s1a


-- 
In the simplest terms, you do not carry the familiar stench of
not-particularly-well-repressed anger, cynicism and angst that the BOsFH
recognize each other by. You have the chirpy piping voice of someone who
is not quite smart enough yet. -- Steve VanDevender 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020216174714.13B3D37B400>