linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua>
To: "H.Rosmanith (Kernel Mailing List)"
	<kernel@wildsau.idv.uni.linz.at>,
	kasperd@daimi.au.dk (Kasper Dupont)
Cc: kernel@wildsau.idv.uni.linz.at, root@chaos.analogic.com,
	linux-kernel@vger.kernel.org, herp@wildsau.idv.uni.linz.at
Subject: Re: emm386 hangs when booting from linux
Date: Thu, 6 Mar 2003 12:25:47 +0200	[thread overview]
Message-ID: <200303061028.h26ASKu02263@Port.imtp.ilyichevsk.odessa.ua> (raw)
In-Reply-To: <200303021026.h22AQALn001315@wildsau.idv.uni.linz.at>

On 2 March 2003 12:26, H.Rosmanith (Kernel Mailing List) wrote:
> hello again,
>
> I've still not found a solution, but at least I know what's happening
> when emm386 or similar crash the system. e.g., when starting
> "loadlin" (with no parameters!) the system will hang too. Reason is
> that loadlin will generate an int 0x13, which is the general

int 0x0d (13 decimal) is a protections fault.

In DOS, int 0x13 is a BIOS interrupt for low-level disk io.

> protection fault. I wonder *why*. Well, the int 0x13 handler I wrote
> just writes "int13" on top of the screen and does an iret, so the
> system will not crash anymore, but of course, the programs wont work.
> Another confusing thing I observed that even simply commands such as
> "copy <file1> <file2>" cause an int13!? and that DOS will become
> unusable quite soon (directories disappear and so on).

It is to be expected when you kill int 0x13 ;)

BTW, you may try linld:

http://port.imtp.ilyichevsk.odessa.ua/linux/vda/linld/

instead of loadlin. Its source is way smaller ;)
--
vda

      parent reply	other threads:[~2003-03-06 10:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-28  3:18 emm386 hangs when booting from linux H.Rosmanith (Kernel Mailing List)
2003-02-28  3:30 ` H.Rosmanith (Kernel Mailing List)
2003-02-28 22:54 ` Richard B. Johnson
2003-02-28 23:26   ` H.Rosmanith (Kernel Mailing List)
2003-02-28 23:26   ` Kasper Dupont
2003-02-28 23:43     ` H.Rosmanith (Kernel Mailing List)
2003-02-28 23:59       ` Kasper Dupont
2003-03-01  0:05         ` hr
2003-03-02 10:26         ` H.Rosmanith (Kernel Mailing List)
2003-03-02 10:29           ` H.Rosmanith (Kernel Mailing List)
2003-03-06 10:25           ` Denis Vlasenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200303061028.h26ASKu02263@Port.imtp.ilyichevsk.odessa.ua \
    --to=vda@port.imtp.ilyichevsk.odessa.ua \
    --cc=herp@wildsau.idv.uni.linz.at \
    --cc=kasperd@daimi.au.dk \
    --cc=kernel@wildsau.idv.uni.linz.at \
    --cc=linux-kernel@vger.kernel.org \
    --cc=root@chaos.analogic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).