Re: Booting off of IDE while using different libata drives on same southbridge

From: Bartlomiej Zolnierkiewicz
Date: Mon May 03 2004 - 20:21:56 EST


On Tuesday 04 of May 2004 02:56, you wrote:
> Bartlomiej Zolnierkiewicz wrote:
> >On Monday 03 of May 2004 23:19, J. Ryan Earl wrote:
> >>I am having a similar problem to what Markus Kossmann wrote about, but
> >>with the VIA Southbridge (Asus K8V). My situation is similar, but a
> >>little different. I would like to boot off a PATA drive attached to the
> >>Southbridge, but use libata for a couple SATA drives attached to the
> >>same Southbridge.
> >>
> >>Is this still not possible? I also tried hde/hdg=noprobe options, but
> >>they didn't help the situation. It appears the only way to get the
> >>drives on sata_via is to boot off of them. Am I correct in thinking
> >>this is the only way to go about this?
> >
> >Did you actually tried it (booting off of them)?
> >[ I can't see how this can help. ]
>
> With libata linked into the kernel, and ide as a module, I can boot off
> of libata.

Therefore you changed order in which these drivers are initialized,
it has nothing to do with booting off of SATA drives.

> >Just don't compile-in generic IDE PCI driver which controls your SATA
> > drives (or don't load this module if you're using initrd).
>
> As I said, I want to boot off of the PATA drives attached to the
> southbridge. To boot of them, I have to have the IDE driver compiled
> into the kernel; if I do this I can't use libata on that southbridge,
> the IDE driver take precedence for the serial ata channels.

Just don't compile generic IDE PCI driver!!
CONFIG_BLK_DEV_GENERIC=n

VIA PATA controller uses via82cxxx driver not generic IDE PCI one.

> -ryan

-
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/