Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 May 1998 20:37:11 +0930
From:      Matthew Thyer <thyerm@camtech.net.au>
To:        John Birrell <jb@cimlogic.com.au>
Cc:        current@FreeBSD.ORG
Subject:   Re: 'fatal trap 12' on boot (smp and up)
Message-ID:  <354DA15F.434475A0@camtech.net.au>
References:  <199805040454.OAA16671@cimlogic.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

Yep, I have USER_LDT and DDB in my current kernel.
I have removed options VM86 so I can now run fbsdboot.exe from
DOS7 (Win95 osr 2 / Win95 B / Win97 ---- whatever people call it).

I'm not sure what you mean by "is it trapping an invalid segment
register" but I think not.

What I was getting is the problem reported by Andreas Braukmann
below.

This goes away when I remove options VM86, and I get no other
traps (i.e the kernel boots and I can run normally - which means
netscape crashes regularly due to the current VM instability).

Andreas Braukmann wrote:
> The trap: (from the uni-proc. kernel, cited from hand-written notes)
> Fatal trap 12: page fault while in vm86 mode
> fault virtual address:  0x26e0
> fault code: user read, page not present
> ip = 0x24a:0x240
> sp = 0x0:0xff8
> fp = 0x0:0x0
> cs = base 0xf0000008, limit 0xd14c8, type 0xf
>      DPL 0, pres 1, def 32 0, gran 0
> proc eflags = trace trap, int enabled, resume, vm86, IOPL=0
> cur proc = idle
> int mask = net tty bio cam

John Birrell wrote:
> 
> Matthew Thyer wrote:
> > Is anyone working on this problem ?
> >
> > I like to be able to boot FreeBSD from Win95 with the icon I have
> > (which runs fbsdboot.exe in DOS mode).
> >
> > However I can't do this if I have options VM86 in the kernel.
> 
> Have you got the DDB option in too? If so, is it trapping an invalid
> segment register? I am seeing this with USER_LDT and a process forking
> ang exec'ing gcc. The user LDT is supposedly being cleared (at least
> that's how the code reads). I don't know what the answer is. Still
> looking.. With VM86, YMMV though.
> 
> --
> John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/
> CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137

-- 
/=====================================================================\
|Work: Matthew.Thyer@dsto.defence.gov.au | Home: thyerm@camtech.net.au|
\=====================================================================/
"If it is true that our Universe has a zero net value for all conserved
quantities, then it may simply be a fluctuation of the vacuum of some
larger space in which our Universe is imbedded. In answer to the
question of why it happened, I offer the modest proposal that our
Universe is simply one of those things which happen from time to time."
 E. P. Tryon   from "Nature" Vol.246 Dec.14, 1973

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?354DA15F.434475A0>