Bug 135509

Summary: CD ROM not recognized after booting from CD
Product: [openSUSE] SUSE Linux 10.1 Reporter: Viniosity Williamson-son <viniosity>
Component: KernelAssignee: Jens Axboe <axboe>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: behlert, hare, LinuxUser, snwint
Version: Alpha 3   
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Viniosity Williamson-son 2005-11-25 03:44:16 UTC
I booted the Alpha 3 CD disk 1 on my Thinkpad X41 but could not install.  After a few dialogs it tells you that it cannot find a CD ROM device.  I tried loading all the kernel modules I thought might be missing but it still would not proceed.  I could not even verify the media b/c according to the installer there was no CD ROM device.

I am using a Thinkpad X41 w/ 60 GB drive and X4 ultradock w/ CDRW/DVD Drive.

FWIW Opensuse 10.0 installed fine with the same setup using the boot CD.
Comment 1 Steffen Winterfeldt 2005-11-28 09:48:41 UTC
Please describe exactly what happened.

Where does it tell you about the missing CD?
Comment 2 Viniosity Williamson-son 2005-11-29 04:40:58 UTC
Here are the steps to reproduce:

1. Boot from CD (bypass boot from hard disk option)

System shows Error: Could not find the SUSE Linux Installation CD Activating manual setup program.  

Note that top of screen shows: >>> Linuxrc v2.0.0 (Kernel 2.6.14.2-2default) <<<

2,3. Select Language (English, then English US)

4. Main menu -- I selected Verify Installation CD-ROM/DVD
 
I was prompted to: insert CD-ROM or DVD.

since CD was already in drive (I booted from it!) I just hit enter.  I then received this error:

error: No CD-ROM or DVD found.

I tried loading generic PCI IDE, piix, ide-generic, etc but it did not fix the issue.

Like I said I used the boot CD for 10.0 so cannot tell you for certain this is new in 10.1a3
Comment 3 Steffen Winterfeldt 2005-11-29 10:13:40 UTC
Ok, what ide module did linuxrc load automatically (it's shown on console 3)?
You can also look at the ide/scsi module dialog. Autodetected modules are
marked with an '*'.
Comment 4 Viniosity Williamson-son 2005-11-30 02:13:24 UTC
console3 output is:

insmod /modules/cdrom.ko
insmod /modules/scsi_mod.ko
insmod /modules/sd_mod.ko
insmod /modules/sr_mod.ko
insmod /modules/sg.ko
insmod /modules/ide-core.ko
insmod /modules/ide-cd.ko
insmod /modules/ide-disk.ko
Beginning hardware probing...
insmod /modules/usbcore.ko
insmod /modules/ehci-hcd.ko
insmod /modules/usbhid.ko
insmod /modules/uhci-hcd.ko
insmod /modules/usb-storage.ko
insmod /modules/pcmcia_core.ko
insmod /modules/rsrc_nonstatic.ko
insmod /modules/yenta_socket.ko
insmod /modules/firmware_class.ko
insmod /modules/psmcia.ko
insmod /modules/processor.ko
insmod /modules/thermal.ko
insmod /modules/fan.ko
Hardware probing finished
There seems to be no floppy disk.
got info from cmdline
insmod /modules/libata.ko
insmod /modules/ahci.ko
insmod /modules/ata_piix.ko
Ok, that seems to have worked. :-)
Looking for a SUSE Linux CD...
Ok, that didn't work; see if we can activate another storage device...
No further storage devices found; giving up
Automatic setup not possible.
setfont linuxrc2-16.psfu
setfont linuxrc2-16.psfu
Setting up localhost...done


In the Load IDE/RAID/SCSI Modules dialog the only module shown loaded with a '*' is ata_piix

I believe the thinkpad x41 has a sata drive and is pci-express.  Also I noticed that a vanilla install of debian doesn't work with the default 2.6 kernel.  And, after compiling a vanila 2.6.14 kernel I get a kernel syncing error.  That started after 2.6.12.  Hope this helps.
Comment 5 Ladislav Slezák 2005-11-30 07:56:26 UTC
It seems that it's a kernel issue.
Comment 6 Steffen Winterfeldt 2005-11-30 08:33:59 UTC
Yes, looks like the driver doesn't see the drive. The kernel
log from /var/log/boot.msg might be interesting.
Comment 7 Olaf Kirch 2005-12-05 09:28:50 UTC
Jens, any ideas?
Comment 8 Olaf Kirch 2005-12-05 09:29:57 UTC
Could you please provide /var/log/boot.msg to help us
diagnose the issue? Thanks!
Comment 9 Viniosity Williamson-son 2005-12-06 04:29:07 UTC
Sorry, I have no idea how to get that information.  If you can step me through it maybe I can be helpful, but booting from the CD in no way can get me to a command line where I can see anything in /var/log/  Console 4 has the following info:

usbcore: registered new driver usb-storage
USB Mass Storage support registered.
ACPI: PCI Interrupt 0000:04:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
Yenta: CardBus bridge found at 0000:04:00.0 [1014.0555]
Yenta: ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000006
pcmcia: parent PCI bridge I/O windows: 0x3000 - 0x6fff
cs: IO port probe 0x3000-0x6fff: clean.
pcmcia: parent PCI bridge Memory window: 0xa0200000 - 0xafffffff
pcmcia: parent PCI bridge Memory window: 0xd0000000 - 0xd7ffffff
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
ACPI: Processor [CPU] (supports 8 throttling states)
ACPI: Thermal Zone [THM0] (50 C)
ahci: probe of 0000:00:1f.2 failed with error -12
ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0x1810 irq 14
ata1: dev 0 ATA, max UMDA/100, 117210240 sectors:
ata1(0): applying bridge limits
ata1: dev 0 configured for UDMA/100
scsi0 : ata_piix
  Vendor: ATA        Model: HTC426050G9AT00  Rev: 00P3
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: Attached scsi disk sda
sd 0:0:0:0: Attached scsi genereic sg0 type 0
ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0x1818 irq 15
ata2: dev 0 ATAPI, max UDMA/33
ata2(0): applying bridge limits
ata2: PIO error, drv_stat 0x0
ata2: dev 1 not supported, ignoring
ata2: dev 0 not configured for UDMA/33
scsi1 : ata_piix
bootsplash: status on console - changed to on



If this does not provide the info you need please tell me where to look for /var/log/boot.msg.  First time SuSE user..
Comment 10 Hannes Reinecke 2005-12-06 07:27:30 UTC
Whee. Driver failure.

> ata2: dev 0 ATAPI, max UDMA/33

means that ata_piix has detected an ATAPI (ie SATA CD-ROM) device.

> ata2: PIO error, drv_stat 0x0

means that somehow the PIO communication with that device failed. And with PIO being the most basic form of communication, there is nothing else we can do.

Jens, one for you ...

Stefan, do we have such a laptop here?
Comment 11 Jeff M 2006-02-18 23:16:20 UTC
I'm having the same problems with 10.1b4. I was running 10.1b3 no problems but while playing, lost the use of my Laptop (Dell XPS Gen2) DVD burner.  I 'believe' it was right after I upgraded to the kernel used in 10.1b4. (2.6.16-rc3-git3-2-default)

When trying to install 10.1b4, I get "Cannot find the SUSE Linux Installation CD.  Activating manual setup program."

It just doesn't see my CD/DVD after that.

Comment 12 Jeff M 2006-02-18 23:23:17 UTC
Looking at the kernel log I get:

ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xBFA8 irq 15
ata2: SATA port has no device

It does recognize my SATA HD though.
Comment 13 Jens Axboe 2006-02-19 12:22:26 UTC
It's a known issue, the sata acpi suspend/resume patches sadly broke CDROM detection... The next beta should work for you, as do the current KOTD kernels (but those wont help you install beta4, sadly).