Re: Problem with ata layer in 2.6.24

From: Richard Heck
Date: Mon Jan 28 2008 - 15:01:19 EST


Andrey Borzenkov wrote:
Richard Heck wrote:

Daniel Barkalow wrote:
Can you switch back to old IDE to get your work done (and to make sure
it's not a hardware issue that's developed recently)?
I think it'd be really, REALLY helpful to a lot of people if you, or
someone, could explain in moderate detail how this might be done. I
tried doing it myself, but I'm not sufficiently expert at configuring
kernels that I was ever able to figure out how to do it.


well, here on Mandriva I

1) compile both IDE and libata as modules
2) create initrd that contains either IDE or libata modules
3) use labels for file system mounts, swaps and resume device.


Now 1) should be pretty straightforward (I could send you config if you
like, it is stripped down to bare minimum on my system, you will have to
check drivers for your hardware). 2 and 3 are obviously distribution
dependent. I can explain how to do it on Mandriva that ATM has near to
perfect support for addressing devices via label/UUID; also ide/scsi/ata
switch is trivial using Mandriva mkinitrd.

Thanks for this. Compiling the IDE stuff as a module is indeed the easy part, though I suppose I need to make sure I get the right drivers for my chipset, too. Loading e.g. the Fedora 6 LiveCD and then lsmod'ing should do it, though. Labels are used by default in Fedora now, so that's fine, too. Getting mkinitrd to work right shouldn't be too bad, either. So I'll have a go at this when I get some time and report on it. What might be REALLY helpful to people would be if we Fedora types could produce a modified kernel rpm that would handle this....though, I should say, I've also seen a lot of complaints along these same lines on Ubuntu.

Richard

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