Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2000 01:57:08 +0000
From:      Anne <annes449@hal-pc.org>
To:        rlglende@alink.net
Cc:        questions@FreeBSD.ORG
Subject:   Re: Linux emulation -> "Fatal trap 12 -- page fault while in kernel mode"
Message-ID:  <3929E574.17D8C073@hal-pc.org>
References:  <00a801bfc120$ebbe8870$0100a8c0@landg01>

next in thread | previous in thread | raw e-mail | index | archive | help
Lew Glendenning wrote:
> 
> With the following kernel configuration for BSD4.0-stable AND rc.conf
> "linux_enable="YES":
> 
> Booting system checks file systems, starts daemons, initial rc.i386 linux,
> then
> 
> Fatal trap 12 page fault while in kernel mode
> Fault virtual address   = 0x18
>         fault code              = supervisor read, page not present
>         instruction ptr = 0x8: 0xc12000dbb
>         stack ptr               = 0x10: 0xcf883f10
>         frame ptr               = 0x10: 0xcf883f2c
>         code seg                = base 0x0, limit 0xfffff, type 0x1b, =DPL 0, Pres1, def32 1,
> gran 1
>         procesor eflags = interrupt enabled, resume, IOPL=0
>         Interrupt mask = none
>         trap number = 12
>         panic: page fault

/home/annes annes % uname -a
FreeBSD Think.ans.hm 4.0-STABLE FreeBSD 4.0-STABLE #0: Sun May 21
12:03:00 CDT 2
000     annes@Think.ans.hm:/usr/src/sys/compile/Think  i386

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x2d
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc097de33
stack pointer           = 0x10:0xc761bf20
frame pointer           = 0x10:0xc761bf3c
code seg                = base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
procesor eflags 	= interrupt enabled, resume, IOPL=0
interrupt mask 		= none
trap number 		= 12
panic: page fault

/var/log/messages

May 22 19:56:11 Think /kernel: Copyright (c) 1992-2000 The FreeBSD
Project.
May 22 19:56:12 Think /kernel: Copyright (c) 1982, 1986, 1989, 1991,
1993
May 22 19:56:12 Think /kernel: The Regents of the University of
California. All rights reserved.
May 22 19:56:12 Think /kernel: FreeBSD 4.0-STABLE #0: Sun May 21
12:03:00 CDT 2000
May 22 19:56:12 Think /kernel:
annes@Think.ans.hm:/usr/src/sys/compile/Think
May 22 19:56:12 Think /kernel: Timecounter "i8254"  frequency 1193182 Hz
May 22 19:56:12 Think /kernel: Timecounter "TSC"  frequency 365807942 Hz
May 22 19:56:12 Think /kernel: CPU: Pentium II/Pentium II Xeon/Celeron
(365.81-MHz 686-class CPU)
May 22 19:56:12 Think /kernel: Origin = "GenuineIntel"  Id = 0x66a 
Stepping = 10
May 22 19:56:12 Think /kernel:
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,M
MX,FXSR>
May 22 19:56:12 Think /kernel: real memory  = 100597760 (98240K bytes)
May 22 19:56:12 Think /kernel: avail memory = 94740480 (92520K bytes)
May 22 19:56:12 Think /kernel: Preloaded elf kernel "kernel" at
0xc02ff000.
May 22 19:56:12 Think /kernel: Preloaded userconfig_script
"/boot/kernel.conf" at 0xc02ff09c.
May 22 19:56:12 Think /kernel: Pentium Pro MTRR support enabled
May 22 19:56:12 Think /kernel: md0: Malloc disk
May 22 19:56:12 Think /kernel: npx0: <math processor> on motherboard
May 22 19:56:12 Think /kernel: npx0: INT 16 interface
May 22 19:56:12 Think /kernel: pcib0: <Host to PCI bridge> on
motherboard
May 22 19:56:12 Think /kernel: pci0: <PCI bus> on pcib0
May 22 19:56:12 Think /kernel: pcib1: <AcerLabs M5247 PCI-PCI(AGP
Supported) bridge> at device 1.0 on pci0
May 22 19:56:12 Think /kernel: pci1: <PCI bus> on pcib1
May 22 19:56:12 Think /kernel: pci1: <NeoMagic MagicMedia 256AV SVGA
controller> at 0.0 irq 9
May 22 19:56:12 Think /kernel: pci0: <unknown card> (vendor=0x11c1,
dev=0x0449) at 6.0 irq 9
May 22 19:56:12 Think /kernel: isab0: <AcerLabs M1533 portable PCI-ISA
bridge> at device 7.0 on pci0
May 22 19:56:12 Think /kernel: isa0: <ISA bus> on isab0
May 22 19:56:12 Think /kernel: pci0: <unknown card> (vendor=0x125d,
dev=0x1969) at 8.0 irq 5
May 22 19:56:12 Think /kernel: atapci0: <AcerLabs Aladdin ATA33
controller> port 0x78c0-0x78cf irq 15 at device 15.0 o
n pci0
May 22 19:56:12 Think /kernel: ata0: at 0x1f0 irq 14 on atapci0
May 22 19:56:12 Think /kernel: ata1: at 0x170 irq 15 on atapci0
May 22 19:56:12 Think /kernel: chip1: <AcerLabs M15x3 Power Management
Unit> at device 17.0 on pci0
May 22 19:56:12 Think /kernel: chip2: <PCI to CardBus bridge
(vendor=1217 device=6832)> irq 9 at device 19.0 on pci0
May 22 19:56:12 Think /kernel: chip3: <PCI to CardBus bridge
(vendor=1217 device=6832)> irq 9 at device 19.1 on pci0
May 22 19:56:12 Think /kernel: pci0: <AcerLabs M5237 (Aladdin-V) USB
controller> at 20.0
May 22 19:56:12 Think /kernel: fdc0: <NEC 72065B or clone> at port
0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
May 22 19:56:12 Think /kernel: fdc0: FIFO enabled, 8 bytes threshold
May 22 19:56:12 Think /kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
May 22 19:56:12 Think /kernel: atkbdc0: <Keyboard controller (i8042)> at
port 0x60,0x64 on isa0
May 22 19:56:12 Think /kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
May 22 19:56:12 Think /kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
May 22 19:56:12 Think /kernel: psm0: model Generic PS/2 mouse, device ID
0
May 22 19:56:12 Think /kernel: vga0: <Generic ISA VGA> at port
0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
May 22 19:56:12 Think /kernel: sc0: <System console> on isa0
May 22 19:56:12 Think /kernel: sc0: VGA <16 virtual consoles,
flags=0x200>
May 22 19:56:12 Think /kernel: pcic0: <Intel i82365> at port 0x3e0-0x3e1
on isa0
May 22 19:56:12 Think /kernel: pcic0: Polling mode
May 22 19:56:12 Think /kernel: pccard0: <PC Card bus -- kludge version>
on pcic0
May 22 19:56:12 Think /kernel: pccard1: <PC Card bus -- kludge version>
on pcic0
May 22 19:56:12 Think /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10
on isa0
May 22 19:56:12 Think /kernel: sio0: type 16550A
May 22 19:56:12 Think /kernel: ppc0: cannot reserve I/O port range
May 22 19:56:12 Think /kernel: ad0: 4645MB <IBM-DBCA-204860>
[10068/15/63] at ata0-master using UDMA33
May 22 19:56:12 Think /kernel: acd0: CDROM <CRN-8241B> at ata1-master
using WDMA2
May 22 19:56:12 Think /kernel: Mounting root from ufs:/dev/wd0s2a
May 22 19:56:12 Think /kernel: pccard: card inserted, slot 0

buildworld.  No problem. 
installworld.  No Problem.  
Ran mergemaster.  
When I went to build a new kernel it told me my kernel was up to date. 
Ok.  
Did MAKEDEV all.  No problem.  
Rebooted.  Fatal trap 12: page fault while in kernel mode
automatic reboot... 
When I comment out linux_enable="YES" in rc.conf then the computer will
boot.

Did you get your Linux Emulation back?  How?

Thanks,
-- 
Anne Sipes 
--
I was born because it was a habit in those days, people didn't know
anything else ... I was not a Child Prodigy, because a Child Prodigy is
a child who knows as much when it is a child as it does when it grows
up.
		-- Will Rogers


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3929E574.17D8C073>