From owner-freebsd-current Mon May 4 04:08:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA05022 for freebsd-current-outgoing; Mon, 4 May 1998 04:08:46 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from goliath.camtech.net.au (goliath.camtech.net.au [203.5.73.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA04975 for ; Mon, 4 May 1998 04:08:42 -0700 (PDT) (envelope-from thyerm@camtech.net.au) Received: from camtech.net.au (dialup-ad-1-02.camtech.net.au [203.28.0.34]) by goliath.camtech.net.au (8.8.5/8.8.2) with ESMTP id UAA02994; Mon, 4 May 1998 20:35:43 +0930 (CST) Message-ID: <354DA15F.434475A0@camtech.net.au> Date: Mon, 04 May 1998 20:37:11 +0930 From: Matthew Thyer X-Mailer: Mozilla 4.05 [en] (X11; U; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: John Birrell CC: current@FreeBSD.ORG Subject: Re: 'fatal trap 12' on boot (smp and up) References: <199805040454.OAA16671@cimlogic.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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