mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Changes in SATA, IDE and ATAPI configuration
@ 2006-01-07 16:34 andyliebman
  2006-01-07 19:14 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: andyliebman @ 2006-01-07 16:34 UTC (permalink / raw)
  To: linux-kernel

At the risk of getting flamed for asking a basic question here, could I 
suggest that a kernel and/or driver developer provide a brief "how-to 
acticle" somehere (like on the kernel.org site, or in the kernel 
documentation) that explains the way things have changed from the early 
2.6.x days to more recent kernels like 2.6.14 or 2.6.15 with respect to 
configuring fundamental devices like IDE drives, SATA drives, and ATAPI 
drives.

Personally, I have been struggling for about two weeks to move an image 
of an IDE OS Drive that's running a 2.6.14 kernel over to a SATA drive. 
Clearly, SATA + ATAPI is not the same as IDE + ATAPI. Apparently, 
several factors MIGHT be causing my ATAPI CDROM not to show up when I 
boot from the SATA drive:

-- BIOS settings for the ICH5 SATA controller on my Xeon motherboard 
(Auto, SATA, PATA?)
-- Whether the CD is connected to the Primary or Secondary IDE channel
-- Use (or NOT) of "options libata atapi_enabled=1" in modprobe.conf
-- Order of loading modules
-- Use (or NOT) of the AHCI module. When making fresh installs onto 
SATA drives, some distributions seem to load the AHCI module and some 
don't, on exactly the same hardware with the same kernel.

Whatever it is, I haven't found the magic formula for making the 
transfer from IDE to SATA work. And various "support personnel" 
associated with my two favorite Linux distributions have similarly 
failed to provide a solution. I am not the only one struggling with 
these issues. Just seach on the Forum of ANY distribution and you will 
find people having similar issues.

Things used to be so simple. But now, with improvements like SATA, UDEV 
and libata, for some users who are upgrading things have gotten more 
confusing than ever. A little basic info -- if you use A, you have to 
use B. X has to load before Y -- etc. might go a long way to making 
some happier Linux users. I feel as if I have made a valient effort to 
find the answers myself. Linux shouldn't be THIS difficult.

Regards,
Andy Liebman

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Changes in SATA, IDE and ATAPI configuration
  2006-01-07 16:34 Changes in SATA, IDE and ATAPI configuration andyliebman
@ 2006-01-07 19:14 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2006-01-07 19:14 UTC (permalink / raw)
  To: andyliebman; +Cc: linux-kernel

On Sad, 2006-01-07 at 11:34 -0500, andyliebman@aol.com wrote:
> -- BIOS settings for the ICH5 SATA controller on my Xeon motherboard 
> (Auto, SATA, PATA?)
> -- Whether the CD is connected to the Primary or Secondary IDE channel

Secondary slave is broken in 2.6.15 and all earlier SATA releases I've
seen for ICH5. ATAPI prefetch handling is incorrect on PIIX/ICH5. If the
CD is anywhere but the secondary slave it should be fine.

> -- Use (or NOT) of "options libata atapi_enabled=1" in modprobe.conf

If its modular. Otherwise it needs to be a boot time option for libata

> -- Order of loading modules

Shouldn't be

> -- Use (or NOT) of the AHCI module. When making fresh installs onto 
> SATA drives, some distributions seem to load the AHCI module and some 
> don't, on exactly the same hardware with the same kernel.

AHCI mode is an option for the ICH5-R and later controllers and BIOS
side.

Basically ICH5 supports

'Pretend we are one device' (Combined mode) which will see the PATA
ATAPI ports appear as non DMA IDE ports (old style) and in its full
functional mode where PATA and SATA ports are properly seperated out.

> Whatever it is, I haven't found the magic formula for making the 
> transfer from IDE to SATA work. 

Insert CD, install, sync over data. Actually for Fedora and anything
using initrd root device labels you should only need to make the right
initrd and set the options.

Alan


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-07 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-07 16:34 Changes in SATA, IDE and ATAPI configuration andyliebman
2006-01-07 19:14 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®