Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Nov 2002 13:54:30 +0900 (JST)
From:      Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
To:        gallatin@cs.duke.edu
Cc:        petry@NetMasters.Com, julian@elischer.org, sidcarter@symonds.net, current@FreeBSD.ORG
Subject:   Re: Kernel not booting....Immediate crash 
Message-ID:  <20021108.135430.68032362.iwasaki@jp.FreeBSD.org>
In-Reply-To: <15818.50698.91676.542116@grasshopper.cs.duke.edu>
References:  <Pine.BSF.4.21.0211071023530.5860-100000@InterJet.elischer.org> <200211071859.gA7IxbEV075350@netwolf.NetMasters.Com> <15818.50698.91676.542116@grasshopper.cs.duke.edu>

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

> Try backing out 1.544 of src/sys/i386/i386/machdep.c You'll need to do
> it as a reversed patch or by hand, as there are some unrelated signal
> handling things in 1.545 which you'll really need.

Hmmm, I didn't notice that there is a BIOS which requires
memory area below 640K even when calling INT 15H/E820.

We cannot trust that today's BOISes have INT 12H, so it's
difficult to determine base memory size w/o INT 15H/E820.

OK, some questions:
 - What is the size of your base memory (reported by boot loader)?
 - Does attached patches solve your problem?
 - Is this problem specific to IBM Netvista?

Thanks

Index: locore.s
===================================================================
RCS file: /home/ncvs/src/sys/i386/i386/locore.s,v
retrieving revision 1.160
diff -u -r1.160 locore.s
--- locore.s	25 Oct 2002 19:10:56 -0000	1.160
+++ locore.s	8 Nov 2002 04:48:32 -0000
@@ -851,6 +851,11 @@
 	movl	$(KSTACK_PAGES), %ecx
 	fillkptphys($PG_RW)
 
+/* Map base memory */
+	movl	$0, %eax
+	movl	$0xa0000>>PAGE_SHIFT, %ecx
+	fillkptphys($PG_RW|PG_U)
+
 /* Map ISA hole */
 	movl	$ISA_HOLE_START, %eax
 	movl	$ISA_HOLE_LENGTH>>PAGE_SHIFT, %ecx

> 
> 
> 
> Drew
> 
> 
> Michael G. Petry writes:
>  > 
>  > I'm noticing the same behavior on a PPro system I have and am following
>  > the thread "SMP broken on PPro".  It looks like the problem is not SMP
>  > specific, but it does seem PPro centric.
>  > 
>  > > Are the modules also new?
>  > > 
>  > > 
>  > > On Thu, 7 Nov 2002, Sidcarter wrote:
>  > > 
>  > > > Hi Folks,
>  > > > 
>  > > > I just did a cvsup and installed a kernel. I have been trying this from the
>  >  past
>  > > > few days with the same error. I am copying this by hand, since it crashes
>  > > > immediately after loading the modules.
>  > > > The error message is here
>  > > > 
>  > > > ----------------------------------------------------
>  > > > Booting [/boot/kernel/kernel]...
>  > > > /boot/kernel/acpi.ko text=0x30dbc data=0x1a58+0xb48 syms=[0x4+0x5770+0x4+0x
>  > 73b9/]\
>  > > > 
>  > > > Fatal trap 12: page fault while in vm86 mode
>  > > > fault virtual address	= 0x9fdc8
>  > > > fault code		= user read, page not present
>  > > > instruction pointer	= 0xf000:0x145e
>  > > > stack pointer		= 0x0:0xfb4
>  > > > frame pointer		= 0x0:0xfca
>  > > > code segment		= base 0x0, limit 0x0, type 0x0
>  > > > 			  DPL 0, pres 0, def32, gran 0
>  > > > processsor eflags	= interrupt enabled, resume, vm86, IOPL=0
>  > > > current process		= 0 ()
>  > > > kernel: type 12 trap, code=0
>  > > > Stopped at	0x145e: addb	%al,0(%eax)
>  > > > db> t
>  > > > (null)(eee06c0,1,e820,fee06c0,9775a707) at 0x145e
>  > > > db>
>  > > > ----------------------------------------------------
>  > > > 
>  > > > uname -a
>  > > > --------
>  > > > FreeBSD calvin 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Oct 24 15:46:54 IST 
>  > 2002     root@calvin:/usr/obj/usr/src/sys/HOGWARTS  i386
>  > > > 
>  > > > Any idea what could be wrong ? 
>  > > > 
>  > > > Becoz of this problem, I am also unable to do an install world as
>  > > > the it is looking for sigaction in the kernel.
>  > > > 
>  > > > TIA
>  > > > Regards
>  > > > 	Sid
>  > > > 
>  > > > To Unsubscribe: send mail to majordomo@FreeBSD.org
>  > > > with "unsubscribe freebsd-current" in the body of the message
>  > > > 
>  > > 
>  > > 
>  > > To Unsubscribe: send mail to majordomo@FreeBSD.org
>  > > with "unsubscribe freebsd-current" in the body of the message
>  > > 
>  > 
>  > Michael Petry
>  > 
>  > 
>  > 
>  > To Unsubscribe: send mail to majordomo@FreeBSD.org
>  > with "unsubscribe freebsd-current" in the body of the message
>  > 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 

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?20021108.135430.68032362.iwasaki>