Bugzilla – Bug 149968
IDE DVD drive no longer detected after installation
Last modified: 2006-03-02 15:31:06 UTC
I've installed SUSE LINUX 10.1 Beta3 (x86_64) via SLP (Mini ISO on CD). During installation the DVD drive was still detected: # hwinfo --cdrom 27: IDE 00.0: 10602 CD-ROM (DVD) [Created at block.192] UDI: /org/freedesktop/Hal/devices/storage_model_COMPAQ_DVD_ROM_GD_8000 Unique ID: Fffu.UBr+KVAexgE Parent ID: 3p2J.u4+ANWKJBY9 SysFS ID: /block/hda SysFS BusID: 0.0 SysFS Device Link: /devices/pci0000:00/0000:00:1f.1/ide0/0.0 Hardware Class: cdrom Model: "COMPAQ DVD-ROM GD-8000" Vendor: "COMPAQ" Device: "DVD-ROM GD-8000" Revision: "0008" Serial ID: "" Driver: "PIIX_IDE", "ide-cdrom", "ide-cdrom" Device File: /dev/hda Device Files: /dev/hda, /dev/disk/by-path/pci-0000:00:1f.1-ide-0:0 Device Number: block 3:0 Features: DVD Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #17 (IDE interface) Drive Speed: 17 Volume ID: "SU10042B.001" Application: "SUSE-Linux-CD-OSS-x86_64-10.0.42#Beta3" Publisher: "Novell, Inc." Preparer: "CD-Team, http://bugs.opensuse.org" Creation date: "2006020115362400" El Torito info: platform 0, bootable Boot Catalog: at sector 0x0036 Id String: "Novell, Inc." Media: none starting at sector 0x002f Load: 2048 bytes After installation it's gone. :-( # hwinfo --cdrom #
The install is done, why would you still need the cdrom? Sounds like the module isn't loaded, could you please lsmod.
> The install is done, why would you still need the cdrom? :-))) # lsmod Module Size Used by joydev 27648 0 st 55716 0 sr_mod 33316 0 ide_cd 57248 0 cdrom 52520 2 sr_mod,ide_cd nfs 233944 0 lockd 88432 1 nfs nfs_acl 20352 1 nfs sunrpc 173640 3 nfs,lockd,nfs_acl xt_pkttype 18432 1 ipt_LOG 23168 10 xt_limit 19328 10 autofs4 38280 3 cpufreq_ondemand 25480 0 cpufreq_userspace 69376 2 cpufreq_powersave 18432 0 speedstep_centrino 24640 1 freq_table 22400 1 speedstep_centrino snd_pcm_oss 66048 0 snd_mixer_oss 34560 1 snd_pcm_oss snd_seq 75936 0 snd_seq_device 25616 1 snd_seq radeon 124064 0 drm 102952 1 radeon af_packet 56076 2 edd 26760 0 button 24608 0 battery 27784 0 ac 22536 0 ip6t_REJECT 22016 3 xt_tcpudp 19968 9 ipt_REJECT 22272 3 xt_state 18688 12 iptable_mangle 19584 0 iptable_nat 25220 0 ip_nat 35884 1 iptable_nat iptable_filter 19712 1 ip6table_mangle 19072 0 ip_conntrack 75164 3 xt_state,iptable_nat,ip_nat nfnetlink 23624 2 ip_nat,ip_conntrack ip_tables 30792 3 iptable_mangle,iptable_nat,iptable_filter ip6table_filter 19584 1 ip6_tables 32328 2 ip6table_mangle,ip6table_filter x_tables 31496 10 xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,xt_tcpudp,ipt_REJECT,xt_state,iptable_nat,ip_tables,ip6_tables ipv6 333088 19 ip6t_REJECT apparmor 72864 0 aamatch_pcre 30720 1 apparmor loop 32784 0 dm_mod 77504 0 usbhid 61984 0 floppy 84040 0 i2c_i801 26004 0 i2c_core 40192 1 i2c_i801 e1000 130488 0 tulip 69280 0 intel_agp 40896 1 ehci_hcd 48136 0 snd_hda_intel 36636 1 snd_hda_codec 163712 1 snd_hda_intel snd_pcm 118152 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec snd_timer 43144 2 snd_seq,snd_pcm snd 83880 10 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer soundcore 27424 1 snd snd_page_alloc 27408 2 snd_hda_intel,snd_pcm uhci_hcd 48928 0 shpchp 62208 0 usbcore 152232 4 usbhid,ehci_hcd,uhci_hcd pci_hotplug 45360 1 shpchp parport_pc 57064 1 lp 30280 0 parport 57356 2 parport_pc,lp reiserfs 242688 2 fan 21896 0 thermal 32656 0 processor 51048 2 speedstep_centrino,thermal generic 22020 0 [permanent] sg 52648 0 ata_piix 28036 3 libata 77200 1 ata_piix piix 27652 0 [permanent] sd_mod 34304 4 scsi_mod 163536 5 st,sr_mod,sg,libata,sd_mod ide_disk 33152 0 ide_core 165124 4 ide_cd,generic,piix,ide_disk
It's a bit strange. When I boot from Mini ISO Image again up to the point where you can execute "hwinfo --cdrom" in a shell and then softboot into the installed system, the DVD drive can also be deteteced in the installed system. But when I hardboot (power off --> power on) into the installed sytem it can *not* be deteteted. I'll attach the output of lsmod for the working and non_working case.
Created attachment 67652 [details] lsmod.non_working
Created attachment 67653 [details] lsmod.working
The machine is d120.suse.de. Currently the DVD driver is working. Let me know, when I should boot into the non-working case.
I think it's chipset-specific driver (piix, working) vs. generic (not working). Wasn't there a recent kernel change to add modalias entries for the generic ide driver?
Hmm. The only difference I can see in output of lsmod is: --- lsmod.non_working 2006-02-10 17:30:49.964237683 +0100 +++ lsmod.working 2006-02-10 17:30:58.166806970 +0100 @@ -41 +41 @@ -ipv6 333088 19 ip6t_REJECT +ipv6 333088 21 ip6t_REJECT @@ -44 +43,0 @@ -lockd 88432 1 nfs @@ -48,3 +47 @@ -nfs 233944 0 -nfs_acl 20352 1 nfs -parport 57356 2 lp,parport_pc +parport 57356 2 parport_pc,lp @@ -61 +58 @@ -snd 83880 10 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer +snd 83880 8 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer @@ -63 +60 @@ -snd_hda_intel 36636 1 +snd_hda_intel 36636 0 @@ -75 +71,0 @@ -sunrpc 173640 3 nfs,lockd,nfs_acl And this is not related to IDE drivers at all ...
Hm, then maybe UP vs. SMP kernel?
Don't think so. Both times SMP kernel is running. Or do you think it get's initialized only on UP kernels and then still runs later on SMP kernels after softboot?
Created attachment 67676 [details] dmesg.out.non_working
Created attachment 67679 [details] dmesg.out.working
--- dmesg.out.non_working +++ dmesg.out.working [...] @@ -282,7 +282,8 @@ ICH7: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x40b0-0x40b7, BIOS settings: hda:DMA, hdb:pio Probing IDE interface ide0... -ide0: Wait for ready failed before probe ! +hda: COMPAQ DVD-ROM GD-8000, ATAPI CD/DVD-ROM drive +ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 libata version 1.20 loaded. ata_piix 0000:00:1f.2: version 1.05 ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 193 [...] -pci_hotplug: PCI Hot Plug PCI Core version: 0.5 -shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 -hw_random: RNG not detected +hda: ATAPI 40X DVD-ROM drive, 512kB Cache, UDMA(33) +Uniform CD-ROM driver Revision: 3.20
This is definitely the type of thing I would blame on Jens.
I've updated to 2.6.16-rc2-git7-20060210143823-smp (latest from kerneltest), but this didn't help. :-(
I'm a bit unlucky that IDE DVD support on SATA boards seems to be a non-issue. Is it really that an exotic scenario?
Stefan, please try the latest KOTD again. The -rc2-git7-foo is known not to work.
Thanks! I'll give it a try.
I've installed kernel-smp-2.6.16_rc3-20060213190720.x86_64.rpm. I didn't find anything newer in /mounts/dist/kerneltest/x86_64/HEAD. :-( # hwinfo --cdrom # :-(((
dmesg please.
I think it's easier to login to d120, right?
Certainly, missed that.
Stefan, can you try to make sure piix is loaded before ata_piix?
I'll try this one: # ata_piix can't handle ICH6 in AHCI mode install ata_piix /sbin/modprobe ahci piix; /sbin/modprobe --ignore-install ata_piix I need to reboot now.
Hopefully this did work as intended. At least piix is in lsmod output now. Unfortunately it didn't help. hwinfo --cdrom still doesn't detect any CDROM drive.
I wonder what makes the install detect it - what kind of boot parameters are we adding there? Any chance you can try some of the acpi boot parameters?
Boot parameters during installation are: # cat /proc/cmdline BOOT_IMAGE=linux initrd=initrd,12801024.spl splash=silent vga=0x31a install=slp In a running system: # cat /proc/cmdline root=/dev/sda9 vga=0x317 selinux=0 resume=/dev/sda1 splash=silent What kind of acpi boot parameters do you mean exactly?
BTW, feel free to edit anything on d120 and reboot. Be aware that rebooting takes some minutes on this machine.
Using "acpi=off noapic" doesn't help. :-(
Even switching to kernel-default and boot command parameters ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0 didn't help.
For whatever reasons (probably by accident) this problem has been fixed for Beta6. Linux g112 2.6.16-rc5-git2-2-smp #1 SMP Tue Feb 28 09:16:17 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux