From: John Bradford <john@grabjohn.com>
To: hpa@zytor.com (H. Peter Anvin)
Cc: linux-kernel@vger.kernel.org
Subject: Re: Killing off the boot sector (was: [STATUS 2.5] January 8, 2002)
Date: Wed, 8 Jan 2003 21:23:33 +0000 (GMT) [thread overview]
Message-ID: <200301082123.h08LNXSY003383@darkstar.example.net> (raw)
In-Reply-To: <avi06f$89g$1@cesium.transmeta.com> from "H. Peter Anvin" at Jan 08, 2003 12:03:27 PM
> Can we *please* kill off the stupid in-kernel boot sector?
>
> Here is a patch that guts it to print an error message. It's even
> tested.
> -# This procedure turns off the floppy drive motor, so
> -# that we enter the kernel in a known state, and
> -# don't have to worry about it later.
> -# NOTE: Doesn't save %ax or %dx; do it yourself if you need to.
> -
> -kill_motor:
> -#if 1
> - xorw %ax, %ax # reset FDC
> - xorb %dl, %dl
> - int $0x13
> -#else
> - movw $0x3f2, %dx
> - xorb %al, %al
> - outb %al, %dx
> -#endif
> - ret
Shouldn't that part stay, incase somebody boots a machine from a
floppy, and leaves it running for hours?
> + .ascii "Direct booting from floppy is no longer supported.\r\n"
> + .ascii "Please use a boot loader program instead.\r\n"
> + .ascii "\n"
> + .ascii "Remove disk and press any key to reboot . . .\r\n"
Couldn't you put an ASCII penguin in there? :-)
John.
next prev parent reply other threads:[~2003-01-08 21:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-08 18:05 [STATUS 2.5] January 8, 2002 Guillaume Boissiere
2003-01-08 20:03 ` Killing off the boot sector (was: [STATUS 2.5] January 8, 2002) H. Peter Anvin
2003-01-08 20:35 ` DervishD
2003-01-08 21:23 ` John Bradford [this message]
2003-01-09 0:06 ` H. Peter Anvin
-- strict thread matches above, loose matches on Subject: below --
2003-01-11 16:03 Mikael Pettersson
2003-01-22 7:24 ` H. Peter Anvin
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=200301082123.h08LNXSY003383@darkstar.example.net \
--to=john@grabjohn.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
/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