Re: Off-by-one in both LIBATA and IDE drivers

From: Robert Hancock
Date: Fri Mar 13 2009 - 10:45:27 EST


Norman Diamond wrote:
> LIBATA with the patch to ata.h now handles all sectors on
> hard drives that it recognizes.
>
> An example of a hard drive that it recognizes is one that
> is attached to an Intel ICH7M chipset when hda=noprobe
> hdc=noprobe have been specified in the boot command.
>
> An example of a hard drive that it doesn't recognize is
> one that is attached to an Intel PIIX4 chipset when
> hda=noprobe hdc=noprobe have been specified in the boot
> command.
>
> In either case, the boot parameters persuade the old IDE
> drivers not to grab the controllers.
>
> With ICH7M, LIBATA takes over and runs both the hard drive
> and DVD at full speed.
>
> With PIIX4, LIBATA initializes. End of story. Slax can't
> find its own CD. If I only use hda=noprobe then the old
> IDE controller assigns hdc to the CD and Slax finds it,
> but the hard drive is still undetected. Behaviour is the
> same under VMware as in a genuine old PC.
>
> LIBATA's PIIX drivers are built in along with everything
> else. They just seem not to get executed.
>
> What am I missing?

I assume that ATA_PIIX is set in the configuration.. The lspci -vn and
dmesg output from when it fails to detect would be useful.

>
> --------------------------------------
> Power up the Internet with Yahoo! Toolbar.
> http://pr.mail.yahoo.co.jp/toolbar/

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/