Fresh install of Mageia 2 beta 3 64bit of a pen drive via mandriva seed. After installation the dvd drives are not working. Drives are on the primary IDE channel they shown as on /dev/hda and /dev/hdb. I believe it is related to this bug here:- https://bugs.mageia.org/show_bug.cgi?id=4997 Here's the output of the various commands of my setup. [root@localhost ~]# lspcidrake -v | grep STORAGE pata_jmicron : JMicron Technology Corp.|JMB362/JMB363 Serial ATA Controller [STORAGE_IDE] (vendor:197b device:2363 subv:1458 subd:b000) (rev: 02) ahci : JMicron Technology Corp.|JMB362/JMB363 Serial ATA Controller [STORAGE_SATA] (vendor:197b device:2363 subv:1458 subd:b000) (rev: 02) ahci : ATI Technologies Inc|SB7x0/SB8x0/SB9x0 SATA Controller [RAID5 mode] [STORAGE_RAID] (vendor:1002 device:4393 subv:1458 subd:b002) (rev: 40) [root@localhost ~]# lsmod | grep ata pata_amd 14118 0 pata_jmicron 12747 0 pata_acpi 13027 0 ata_generic 12899 0 libata 212549 5 ata_generic,pata_acpi,libahci,ahci,pata_jmicron scsi_mod 218408 2 libata,sd_mod [root@localhost ~]# lsmod | grep ide ide_cd_mod 35451 2 ide_pci_generic 12866 0 ide_core 117252 3 ide_pci_generic,jmicron,ide_cd_mod [root@localhost ~]# ls -l /dev/*cd* total 0 crw-rw---- 1 root cdrom 10, 62 Apr 21 15:56 control [root@localhost ~]# getfacl /dev/*cd* getfacl: Removing leading '/' from absolute path names # file: dev/pktcdvd # owner: root # group: root user::rwx group::r-x other::r-x [root@localhost ~]# getfacl /dev/hda getfacl: Removing leading '/' from absolute path names # file: dev/hda # owner: root # group: disk user::rw- group::rw- other::--- [root@localhost ~]# getfacl /dev/hdb getfacl: Removing leading '/' from absolute path names # file: dev/hdb # owner: root # group: disk user::rw- group::rw- other::--- [root@localhost ~]# cat /etc/modprobe.conf install scsi_hostadapter /sbin/modprobe mpt2sas; /sbin/modprobe ahci; /sbin/modprobe ata_piix; /sbin/modprobe pata_jmicron; /bin/true install usb-interface /sbin/modprobe ehci_hcd; /sbin/modprobe ohci_hcd; /sbin/modprobe uhci_hcd; /sbin/modprobe xhci_hcd; /bin/true alias sound-slot-1 snd_hda_intel alias eth0 r8169 alias sound-slot-0 snd_hda_intel Now I think its the fact it is placing the drives in group disk instead of cdrom. Have tried rdloaddriver=pata_amd with no luck. Steps to Reproduce. 1 Install then reboot.
Created attachment 2060 [details] Dmesg out put
CC: (none) => mageia, thierry.vignaud, tmb
What about rdloaddriver=pata_jmicron seeing as that's what driver seems to be used for your device. Check that this driver IS actually in your initrd first by doing: lsinitrd | grep jmicron
In my opinion this is duplicate of bug 4997. Did you try workaround from bug 4997, comment 11? *** This bug has been marked as a duplicate of bug 4997 ***
Status: NEW => RESOLVEDCC: (none) => filip.komarResolution: (none) => DUPLICATE
In reply to comment #2) > What about rdloaddriver=pata_jmicron seeing as that's what driver seems to be > used for your device. > > Check that this driver IS actually in your initrd first by doing: > lsinitrd | grep jmicron That did it, never tried that as was loaded in modprobe.conf. Guess it needs it at initial boot time as to sort out the drive arrangement.
Incidentally, how was it done in modprobe.conf? Was it via ide-controller? Can you paste the text that should do it?
Also, out of curiosity, if it is via the ide-controller thing in modprobe, does adding rdloadmodule=ide-controller work?
Sorry, I mean rdloaddriver
Actually, never mind about the rdloadmodule=ide-controller test, but I'd still be interested in your modprobe.conf line that should do this for you.
My modprobe.conf output. install scsi_hostadapter /sbin/modprobe mpt2sas; /sbin/modprobe ahci; /sbin/modprobe ata_piix; /sbin/modprobe pata_jmicron; /bin/true install usb-interface /sbin/modprobe ehci_hcd; /sbin/modprobe ohci_hcd; /sbin/modprobe uhci_hcd; /sbin/modprobe xhci_hcd; /bin/true alias sound-slot-1 snd_hda_intel alias eth0 r8169 alias sound-slot-0 snd_hda_intel It does state pata_jmicron. but it only worked when I added it at boot time. Also if I do lsmod | grep ata it states pata_jmicron isnt been used. as shown on the initial report. but what is missing now out of lsmod is ide_cd_mod, ide_pci_generic, ide_core. Could it have been a conflict between modules?
For got to add the out put of lsinitrd | grep jmicron lsinitrd | grep jmicron -rw-r--r-- 1 root root 1624 Apr 20 20:01 lib/modules/3.3.1-desktop-2.mga2/kernel/drivers/ide/jmicron.ko.xz -rw-r--r-- 1 root root 1960 Apr 20 20:01 lib/modules/3.3.1-desktop-2.mga2/kernel/drivers/ata/pata_jmicron.ko.xz
(In reply to comment #9) > but what is missing now out of lsmod is ide_cd_mod, ide_pci_generic, ide_core. Well I believe that when done this way (via the pata_jmicron module) that the ide specific module are no longer needed as everything is going through the ATA layer. Assuming that everything does indeed work, then I wouldn't worry too much about those modules being missing. We just need to find a way to actually load the module by default....