[lkml]   [2003]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject: Re: emm386 hangs when booting from linux
Date: Thu, 6 Mar 2003 23:54:27 +0100 (MET)
From: "Herbert Rosmanith" <>
Cc: ("H.Rosmanith (Kernel Mailing List)"), (Kasper Dupont),,
In-Reply-To: <> from "Denis Vlasenko" at Mar 06, 2003 12:25:47 PM
X-Mailer: ELM [version 2.5 PL6]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

> BTW, you may try linld:
> instead of loadlin. Its source is way smaller ;)

interesting! it works! however, I noticed some surprising effects.

I boot Linux via BIOS, then boot DOS via LINUX
when I boot linux again via LINLD, the "Uncompressing Linux ..."
takes a lot longer as compared to doing a LINLD from a DOS which
was booted by BIOS. I think this has something to do with switching....
oh! I know .... machine_real_start() from linux turns off the cache,
so this could be the reason. Ok, so I'll check this out by chaning CR0.

anyway, where loadlin hangs when loading the kernel from a Linux-booted
DOS, linld will go. The only hang I experience is cycling the boot-sequence

1) BIOS ->boots ... Linux
2) Linux boots DOS by switching to RM16, loading MBR and jmp 0:7c00
3) DOS boots Linux again via linld
4) Linux restores the realmode IDT by restoring a previously made copy of 0-3fff
5) Linux boots DOS by switching to RM16, loading MBR and jmp 0:7c00

after the C:\> DOS prompt appears, I dont have a keyboard anymore. Anyway,
that's not much of a worry right now. Now I have to figure out *how*
linld works!

thanks for your hint!

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.019 / U:4.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site