Re: SATA ICH6M problems on Sharp M4000

From: Sergey Vlasov
Date: Tue Dec 06 2005 - 05:30:57 EST


On Mon, Dec 05, 2005 at 01:20:28PM -0500, Jeff Garzik wrote:
> Sergei Organov wrote:
> >Sergey Vlasov <vsu@xxxxxxxxxxx> writes:
> >>See http://lkml.org/lkml/2005/10/18/167 and the reply to it :-\
> >
> >Well, Jef's answer was:
> >
> > This is a reasonable point, but the rare person who runs modular IDE on
> > these PATA/SATA combined mode beasts can certainly tell the IDE driver
> > to not probe certain ports.
> >
> >I can say that the kernel I have problem with is from Debian "testing"
> >distribution so those "rare person" going to become quite a few in the
> >near future. Besides, Debian loads ata_piix first, then IDE, so telling
> >the IDE to ignore certain ports won't help.

mkinitrd in ALT Linux has some hacks to detect driver type (IDE or SCSI
subsystem) and load all IDE drivers before SCSI - exactly for this reason.

> >Though one can argue that that's yet another distribution problem, I
> >fail to see a way for a distribution to overcome the problem provided it
> >doesn't know the exact hardware it will run on. No hope for modularized
> >kernel to run out of the box on given hardware?
> >
> >Jeff, is there any hope it will be fixed in the kernel.org sources, or
> >should I report the problem to Debian instead so that they consider
> >maintaining their own patch?
>
> Debian doesn't need to maintain a patch, they should load modules in the
> proper order.

This will not help - without my patch the combined mode support code is
not compiled if IDE is modular.

Attachment: pgp00000.pgp
Description: PGP signature