skalman93,
Your drive controller chip is
Code:
00:16.0 IDE interface: ALi Corporation M5229 IDE (rev c7)
00:16.1 IDE interface: ALi Corporation ULi M5288 SATA
with that information we can check your kernel settings.
The steps are
Code:
cd /usr/src/linux
make menuconfig
to see and change options. Under
Code:
Device Drivers --->
look for
Code:
< > ATA/ATAPI/MFM/RLL support --->
that setting must be off.
If you have any /dev/hd... device names in /etc/fstab or in grub.conf they will need to be changed. I'll cover that later.
In the
Code:
SCSI device support --->
menu, set
Code:
│ < > RAID Transport Class │ │
│ │ -*- SCSI device support │ │
│ │ < > SCSI target support │ │
│ │[*] legacy /proc/scsi/ support │ │
│ │ *** SCSI support type (disk, tape, CD-ROM) *** │ │
│ │ <*> SCSI disk support │ │
│ │ < > SCSI tape support │ │
│ │ < > SCSI OnStream SC-x0 tape support │ │
│ │ <*> SCSI CDROM support │ │
│ │ [ ] Enable vendor-specific extensions (for SCSI CDROM) │ │
│ │ <*> SCSI generic support │ │
│ │ < > SCSI media changer support │ │
│ │ *** Some SCSI devices (e.g. CD jukebox) support multiple LUNs │ │
│ │[*] Probe all LUNs on each SCSI device
all other options on that menu should be off as you don't need them.
If they are not off, you will build options you don't need but it otherwise harmless. The key things here are
Code:
<*> SCSI disk support
<*> SCSI CDROM support
all your devices will appear with SCSI /dev/sd.. names, even if they are actually PATA devices.
Go back up a menu level and find
Code:
<*> Serial ATA (prod) and Parallel ATA (experimental) drivers --->
Turn it on if its off and go into the menu. In that menu, choose only
Code:
[*] ATA ACPI Support
<*> AHCI SATA support[*] ATA SFF support
<*> ALi PATA support
Save the changes and rebuild and reinstall your kernel in the normal way. If your are a genkenrel user, yuo need to make the changes after genkernel has started, by add int the
option to its command line.
These changes will give all your storage devices SCSI names, which will affect booting if your hard drive is currently named like /dev/hdX. In /etc/fstab *and* in /boot/grub/grub.conf you need to change all instances of /dev/hdX to /dev/sdX (the h to an s)
When you boot into your new kernel you will have a /dev/sr0 which will be your CDROM. udev should have made the /dev/cdrom symlink so everything 'just works'.
If you currently use hdparm to set up /dev/hd.. parameters, you may see some boot errors as the SCSI standard demands that some features that are optional on PATA are fixed in SCSI. e.g. DMA. It can no longer be off.