Changes in SATA, IDE and ATAPI configuration



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



Relevant Pages

  • Re: Re: module load sequence
    ... The ata_piix SATA driver grabs ownership over the IDE ports when it is loaded, but does not support PATA ATAPI devices such as the Ultrabay optical drives. ... Compile IDE into the kernel. ... I took the dvd rom out from the bay. ...
    (Debian-User)
  • Re: Dell XPS gen 3 trouble
    ... > Dell XPS gen 3 at work, I finally got Debian booted and installed, ... I'm not a Dell expert, but I am using a SATA drive with my ... sata drives, in my understanding. ... I also didn't see what kernel version ...
    (Debian-User)
  • Re: SMART on SATA drives
    ... the SATA drives were running ... >in IDE emulation mode in the Bios, ... If you use the new libata drivers, ...
    (Fedora)
  • Re: SATA DVD not recognized
    ... Should SATA have been tackled earlier? ... > somehow this makes the install program not see the IDE CD drive it is ... And hopefully, the Linux kernel ...
    (Debian-User)
  • Re: Linux 2.6.0-test9
    ... And I am booting the kernel with these parameters to not let the IDE ... And here is the SATA on the Promise chipset: ... ATA: abnormal status 0x7F on port 0xD807 ...
    (Linux-Kernel)