Distribution: Gentoo GNU/Linux Hardware: Dell Latitude D610 laptop Problem Description: Removing combo cdrw drive results in abnormal status messages in dmesg: -- SNIP -- ATA: abnormal status 0x7F on port 0x177 ATA: abnormal status 0x7F on port 0x177 ATA: abnormal status 0x7F on port 0x177 ata2: command 0xa0 timeout, stat 0x7f host_stat 0x0 ATA: abnormal status 0x7F on port 0x177 ATA: abnormal status 0x7F on port 0x177 ATA: abnormal status 0x7F on port 0x177 ATA: abnormal status 0x7F on port 0x177 ATA: abnormal status 0x7F on port 0x177 ATA: abnormal status 0x7F on port 0x177 ATA: abnormal status 0x7F on port 0x177 ATA: abnormal status 0x7F on port 0x177 ata2: command 0xa0 timeout, stat 0x7f host_stat 0x0 ATA: abnormal status 0x7F on port 0x177 ATA: abnormal status 0x7F on port 0x177 ATA: abnormal status 0x7F on port 0x177 ATA: abnormal status 0x7F on port 0x177 ATA: abnormal status 0x7F on port 0x177 sr0: CDROM (ioctl) error, command: <6>cdb[0]=0x0 00 00 00 00 00 00 sr: Current: sense key=0x7 ASC=0x0 ASCQ=0x0 ATA: abnormal status 0x7F on port 0x177 ATA: abnormal status 0x7F on port 0x177 ATA: abnormal status 0x7F on port 0x177 ata2: command 0xa0 timeout, stat 0x7f host_stat 0x0 ATA: abnormal status 0x7F on port 0x177 ATA: abnormal status 0x7F on port 0x177 ATA: abnormal status 0x7F on port 0x177 ATA: abnormal status 0x7F on port 0x177 ATA: abnormal status 0x7F on port 0x177 sr 1:0:0:0: ioctl_internal_command return code = 8000002 : Current: sense key=0x7 ASC=0x0 ASCQ=0x0 ATA: abnormal status 0x7F on port 0x177 -- SNIP -- It does keep adding these messages until I put the drive back in: dmesg: --- sr 1:0:0:0: ioctl_internal_command return code = 8000002 : Current [descriptor]: sense key=0x0 ASC=0x0 ASCQ=0x0 --- After all these steps (removing drive, putting it back) I was able to mount a CD using the same drive.
sata hotplug isn't actually implemented yet. With luck we'll have it in 2.6.18, so your testing of the 2.6.18-rcN series would be appreciated.
Only warm plug is supported by this hardware the behaviour is expected. You should now (2.6.20) be able to tell the kernel to remove the drive, pull it and then replace it, and tell the kernel to rescan (as with scsi devices). You may need ACPI scripts to run the right ACPI method for unplugging/dock support for this too