From: Adam Kropelin <akropel1@rochester.rr.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Does kernel require IDE enabled in BIOS to access HD, FS errors?
Date: Sun, 8 Jul 2001 10:41:49 -0400 [thread overview]
Message-ID: <01070810414900.10858@devbox> (raw)
Jim Roland said:
>I expect someone will rebut my comments about the kernel (which is fine, I'm
>not a Kernel hacker
Okay, I'll take the bait, but I'm not a kernel hacker, either, so someone
should feel free to rebut *my* comments as well.
>but it is my understanding that the kernel uses your system BIOS for actual
>reads/writes at the hardware level,
No. There are many reasons this isn't done, but a big one is:
BIOS = real mode
Kernel = protected mode
The kernel makes use of some BIOS *tables* (which are coped to known
locations before the Big Switch), but actual BIOS interrupt routines are used
only during the early stages of boot. Aside from the RM/PM issue, the BIOS
isn't used because it is 16-bit, slow, and generally buggy.
See Alan Cox's paper on kernel BIOS usage posted back on 6/22/01 for a nice
discussion of what use the kernel has for the BIOS.
>When you turn BIOS to <NONE> the OS does what it can, but
>the BIOS in your system *SHOULD* refuse to process the call, instead it's
>doing the read/writes, but not the same way as if IDE was turned on.
An interesting theory, but off the mark.
That said, I don't know what the Right Answer for Martin is, but here are a
few ideas:
* I notice the boot log shows a CMD646 IDE controller. Make sure the CMD640
bug-fix support is enabled in your kernel (assuming this applies to 64x
chips). If you're using a vendor's kernel it almost certainly is already, but
if you built your own, make sure.
* It is possible that when a drive is assigned in the BIOS, the BIOS will do
some configuration of the controller or the drive itself which the kernel is
not doing on its own. I don't know what the state of kernel support for that
646 chipset is.
* That's a pretty old drive, so I wouldn't rule out hardware problems.
Strange that it only fails when not configured in the BIOS, though.
Regards,
Adam
next reply other threads:[~2001-07-08 14:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-08 14:41 Adam Kropelin [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-07-09 3:21 Does kernel require IDE enabled in BIOS to access HD, FS errors? andre
2001-07-09 12:30 ` M.H.VanLeeuwen
2001-07-10 3:41 ` M.H.VanLeeuwen
2001-07-10 6:37 ` Andre Hedrick
2001-07-07 5:25 M.H.VanLeeuwen
2001-07-07 13:18 ` Jim Roland
2001-07-07 13:47 ` M.H.VanLeeuwen
2001-07-07 20:42 ` Jim Roland
2001-07-07 20:50 ` Rik van Riel
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=01070810414900.10858@devbox \
--to=akropel1@rochester.rr.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.