Bug 6310 - IDE DVD drive not detected.
Summary: IDE DVD drive not detected.
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: 2
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-03 22:08 CEST by Lee Forest
Modified: 2012-07-10 14:40 CEST (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Lee Forest 2012-06-03 22:08:59 CEST
Description of problem:
x86_64 DVD Installer did not detect IDE DVD drive despite running from it to install. Had to do http installation to continue. No output from running "lsmod |grep ide". No useful messages in dmesg. Simply a non-existent DVD drive that works correctly outside of Mageia itself. Installer mentions not finding cdrom drive but only shows drivers available instead of devices supported. This method was unsuitable for locating software needed.

Version-Release number of selected component (if applicable):
2

How reproducible:
Happens every time I run Mageia 2 or the installation DVD.

Steps to Reproduce:
1.Load Mageia 2 x86_64 DVD or currently installed version.

Comments: Overall Mageia 2 is a nice distro. Very polished. But I'm unable to continue using it without my DVD drive.
Comment 1 Dave Hodgins 2012-06-03 23:18:30 CEST
There are several bug reports related to this problem.  It's caused
by kernel modules being loaded in the wrong order.

The effect of the problem is that ide hard drives show up as /dev/hd?
instead of as /dev/sd?, and cd/dvd drives show up as /dev/hd? instead
of as /dev/sr?.  It's been fixed for most cases, but not all apparently.

The workaround is to run (under Mageia 1), "lspcidrake|grep IDE", and
note which kernel module is needed (the first part of the output).

Then, when booting Mageia 2 (whether the live cd, the install dvd,
the dual cd, or an already installed system), is to add the kernel
option "rdloaddriver=$kernelmodule", replacing $kernelmodule with
the name shown by the lspcidrake command, above.

It will likely be one of rdloaddriver=pata_via, rdloaddriver=pata_amd,
rdloaddriver=pata_jmicron, or rdloaddriver=ata_piix.

If you no longer have Mageia 1 available, you could try adding all
four kernel options, and then after starting Mageia 2, check with
lspcidrake|grep IDE, to see which one works with that system.

Once you know which module it needs, add that option to the grub
entries in /boot/grub/menu.lst.

An annoying workaround, but it should work until the bug is completely
fixed.

CC: (none) => davidwhodgins

Comment 2 Dave Hodgins 2012-06-03 23:39:06 CEST
I've added the above to the errata at
https://wiki.mageia.org/en/Mageia_2_Errata#IDE_controllers_and_kernel_module_load_order.
Comment 3 verg 2012-06-08 22:55:08 CEST
Info:
The bug is not reproduced on the intel IDE
Mageia 2 i586 DVD
Full IDE set
i845 chipset

All hard drives show up as /dev/sdX and cd drives as /dev/srX

CC: (none) => vergyz

Comment 4 verg 2012-06-08 23:03:07 CEST
[verg@localhost ~]$ lspcidrake|grep IDE
ata_piix        : Intel Corporation|82801DB (ICH4) IDE Controller [STORAGE_IDE] (rev: 01)
Comment 5 Lee Forest 2012-07-10 13:24:43 CEST
I further experimented with this problem on other distributions. The problem remains. So its not just Mageia. The solution to try the kernel parameters had no effect on the problem. Drive still works after bios loads it, but does not exist after Linux loads it. Bug still unsolved, but not Mageia specific.
Comment 6 Lee Forest 2012-07-10 13:26:04 CEST
Correction, 'doesn't exist after Linux loads'
Comment 7 Lee Forest 2012-07-10 14:40:57 CEST
I decided to browse my /var/log/kern.log file again for further insight. I found the following error right after my hard drive was detected and configured. 
ata1: SRST failed (errno=-16)

And come to think of it my boot got ridiculously slow. Looking into it I found this topic:
http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/454214-solved-ata1-srst-failed-errno-16-boot-extremely-slow-bios-disappears.html

which described the same issue I was having except with a hard drive. I pulled out my dvd drive and changed the jumper setting from 'master' to 'cable select' (ma to cs). Fired up the computer and the boot was crazy fast, and the drive appears to be working fine. This bug is resolved....Fixed or Invalid or whatever.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.