Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209491 - ATAPI CDROM not detected (ata_piix)
Summary: ATAPI CDROM not detected (ata_piix)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: InstallCD (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
: 216324 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-10 03:28 UTC by Walter
Modified: 2008-07-12 17:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Walter 2008-02-10 03:28:44 UTC
I have a single SATA drive plugged in to the secondary port on the motherboard, and a single IDE / ATAPI CDROM.

While booting the minimal 2007.0-r1 install CD, the CDROM fails to be detected.  If I drop to the minimal ash shell, I can access the SATA disk fine, but not the CDROM, which is totally missing from dmesg.

Reproducible: Always

Steps to Reproduce:
1. Boot with minimal x86 install CD (2007.0-r1)
2. Boot fails with 'no medium found'
3. Must start in reduced 'ash' shell.

Actual Results:  
Boot fails

Expected Results:  
Boot functions

some relevant dmesg output...

ata_piix 0000:00:1f.2: version 2.00ac6
ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0x2438 ctl 0x2456 bmdma 0x2410 irq 19
ata2: SATA max UDMA/133 cmd 0x2430 ctl 0x2452 bmdma 0x2418 irq 19
scsi0 : ata_piix
ATA: abnormal status 0x7F on port 0x243F
scsi1 : ata_piix
ata200: ATA-6, max UDMA/133, 156301488 sectors: LBA48 NCQ (depth 0/32)
ata2.00: ata2:dev 0 multi count 16
ata2.00: configured for UDMA/133

After this only the SATA disk is detected, I can mount it fine, but the minimal install CD cant find the CDROM medium to boot off (limiting me to a broken 'ash' shell). I have also tried booting from USB after modifying the minimal install CD to run on that, but can't get that to boot either (just says 'boot error').

I think its the kernel driver's fault. Obviously the hardware is working OK as using BIOS to boot and read from the CD works perfectly.

My BIOS has a few disk-related options (legacy, SATA->AHCI, etc.) .. I have tried all of them, and none effect the boot-time detection of the ATAPI CDROM.

Relevant 'lspci' output...
00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 FAmily) 2 port SATA IDE Controller (rev 02)
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2008-02-10 03:48:48 UTC
Does knoppix or some other bootable linux CD detect it properly?
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-08 21:41:12 UTC
Can you test the 2008.0 Beta 1 media and see if this is resolved for you?
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-08 21:49:53 UTC
*** Bug 216324 has been marked as a duplicate of this bug. ***
Comment 4 Paul Melis 2008-04-09 07:03:59 UTC
The solution suggested in
http://forums.gentoo.org/viewtopic-t-577952.html
specifically for a Dell Inspiron 530 works for me: in the BIOS change the SATA mode to RAID (instead of IDE). After this the 2008.0 beta1 LiveCD boots fine. 
Comment 5 Martin Mokrejš 2008-04-29 15:33:58 UTC
I have a similar issue on ICH9R chipset, because it lacks IDE ports nad has only 4 SATA ports. So, the IDE interface (and two additional SATA ports) is implemented through Marvel 88SE6111 chip which is badly supported at the moment. You have to add ide-all-generic=1 to the grub command line. I do have the ICH9R chipset set to RAID mode. The Marvel chip can only be enabled or disabled, so I think in the forums it is a bit noise when people claim somebody has to set the chip into AHCI mode.

http://forums.gentoo.org/viewtopic-t-583943-highlight-.html
http://ubuntuforums.org/archive/index.php/t-490874.html

Happens with LiveCD 2008.beta1 and MSI P35 Neo2 (x86_64). I believe this will be a hot topic for all users having recent chipsets.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-29 22:02:16 UTC
Umm, this is about the Intel chipsets and doesn't have anything to do with Marvell, which is covered it bug #215756

Thanks
Comment 8 Andrew Gaffney (RETIRED) gentoo-dev 2008-07-12 17:00:42 UTC
This should be fixed in 2008.0 final. Please reopen if it's not.