From: Marco Gerards <mgerards@xs4all.nl>
To: The development of GRUB <grub-devel@gnu.org>
Subject: Status of ATA support
Date: Sat, 10 Nov 2007 19:03:26 +0100 [thread overview]
Message-ID: <87d4uic70x.fsf@xs4all.nl> (raw)
Hi,
A while ago I added support for ATA support. It wasn't complete yet,
but I rather have this in CVS than rotting on my harddisk. Besides
that, it isn't *that* bad. I will describe the outstanding issues
below.
First of all, this is mainly for i386-linuxbios. On i386-pc we have
to disable biosdisk support because ata.mod and biosdisk.mod do not
like eachother :-). Perhaps disk access via the BIOS will not be
possible/safe anymore after loading ata.mod.
PCI devices are not supported *yet*. Same for controllers 3 and 4. I
will work on this.
The code to detect the type of controller (PATA, SATA, PATAPI, SATAPI)
really sucks. I will have a look at this.
There is no code to detect the amount of sectors for a CDROM. I will
write this eventually. Patches are more than welcome!
The biggest problem is that grub_get_rtc is used to measure how long
we have to wait for the hardware to settle. This function return the
amount of ticks (1/18th of a second), this resolution is not
acceptable. It will result in large delays in ata.mod because it will
wait at least 1/18th of a second on i386-pc.
For i386-linuxbios we still need grub_get_rtc.
More about this on my blog:
http://www.mgerards.net/blog/?p=34
--
Marco
next reply other threads:[~2007-11-10 18:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-10 18:03 Marco Gerards [this message]
2007-11-10 19:21 ` Status of ATA support Vesa Jääskeläinen
2007-11-10 20:44 ` Robert Millan
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=87d4uic70x.fsf@xs4all.nl \
--to=mgerards@xs4all.nl \
--cc=grub-devel@gnu.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.