Bug 357 - CDRom not working because device node isnât created
Summary: CDRom not working because device node isnât created
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2011-03-13 10:07 CET by Rémy CLOUARD (shikamaru)
Modified: 2011-09-25 20:29 CEST (History)
5 users (show)

See Also:
Source RPM: module-init-tools
CVE:
Status comment:


Attachments
dmesg output (35.69 KB, text/plain)
2011-03-13 10:17 CET, Rémy CLOUARD (shikamaru)
Details
output of lspcidrake -v (4.49 KB, text/plain)
2011-03-13 10:19 CET, Rémy CLOUARD (shikamaru)
Details
syslog after inserting a cd with debug messages (51.67 KB, text/plain)
2011-03-27 22:38 CEST, Rémy CLOUARD (shikamaru)
Details
modprobe.conf (124 bytes, text/plain)
2011-04-24 10:08 CEST, Rémy CLOUARD (shikamaru)
Details

Description Rémy CLOUARD (shikamaru) 2011-03-13 10:07:22 CET
Description of problem:
Iâm unable to use my dvdrom driver (PHILIPS PBDV1640P) because the device does not seem to be detected and thus does not get /dev/sr0 created.

Here is the output of lshw with debian:
        *-ide:0
             description: IDE interface
             product: MCP51 IDE
             vendor: nVidia Corporation
             physical id: d
             bus info: pci@0000:00:0d.0
             logical name: scsi2
             version: a1
             width: 32 bits
             clock: 66MHz
             capabilities: ide pm bus_master cap_list emulated
             configuration: driver=pata_amd latency=0 maxlatency=1 mingnt=3
             resources: irq:0 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:f000(size=16)
           *-cdrom
                description: DVD writer
                product: PBDV1640P
                vendor: PHILIPS
                physical id: 0.0.0
                bus info: scsi@2:0.0.0
                logical name: /dev/cdrom
                logical name: /dev/cdrw
                logical name: /dev/dvd
                logical name: /dev/dvdrw
                logical name: /dev/scd0
                logical name: /dev/sr0
                version: B3.4
                capabilities: removable audio cd-r cd-rw dvd dvd-r
                configuration: ansiversion=5 status=ready
              *-medium
                   physical id: 0
                   logical name: /dev/cdrom


Version-Release number of selected component (if applicable):
2.6.37-desktop-3.mga1

How reproducible:
Always

Steps to Reproduce:
1. boot mageia1
2. launch k3b
3. see it tell there is no cdrom found


Reproducible: 

Steps to Reproduce:
Comment 1 Rémy CLOUARD (shikamaru) 2011-03-13 10:15:19 CET
modprobe pata_amd solves the problem here, but the question is why does not it get automatically loaded ?
Comment 2 Rémy CLOUARD (shikamaru) 2011-03-13 10:17:01 CET
Created attachment 106 [details]
dmesg output

line 726 is when I modprobed pata_amd
Comment 3 Rémy CLOUARD (shikamaru) 2011-03-13 10:19:18 CET
Created attachment 107 [details]
output of lspcidrake -v
Thierry Vignaud 2011-03-13 14:27:03 CET

CC: (none) => thierry.vignaud
Source RPM: kernel-2.6.37-3.mga1.src.rpm => udev

Thierry Vignaud 2011-03-15 09:52:43 CET

Assignee: bugsquad => dmorganec

Rémy CLOUARD (shikamaru) 2011-03-15 19:15:23 CET

Status: NEW => ASSIGNED

D Morgan 2011-03-15 19:38:25 CET

Status: ASSIGNED => NEW

Comment 4 D Morgan 2011-03-15 23:21:06 CET
can you test with new udev ? ( 166 )
Comment 5 D Morgan 2011-03-17 00:32:33 CET
as root can you do : 

udevadm control --log-priority=debug


and then attach the logs from /var/log/syslog   from udev when inserting a CD


thanks.
Comment 6 Rémy CLOUARD (shikamaru) 2011-03-27 22:38:30 CEST
Created attachment 167 [details]
syslog after inserting a cd with debug messages

You will find here the logs

Hereâs what I did

- issue the requested command
- try inserting a cd (nothing showed up)
- eject
- modprobe pata_amd
- inserting the cd again
Comment 7 Ahmad Samir 2011-04-13 19:29:25 CEST
Please attach /etc/modprobe.conf .

Keywords: (none) => NEEDINFO
Assignee: dmorganec => bugsquad
Source RPM: udev => module-init-tools

Comment 8 Ahmad Samir 2011-04-13 19:33:22 CEST
I think the RPM Package should be whatever creates /etc/modprobe.conf at install time (unfortunately I don't know which drakx* tool does that).
Comment 9 Rémy CLOUARD (shikamaru) 2011-04-24 10:08:14 CEST
Created attachment 286 [details]
modprobe.conf

you will find here the requested /etc/modprobe.conf
Comment 10 Ahmad Samir 2011-04-25 04:51:31 CEST
Add:
install scsi_hostadapter /sbin/modprobe pata_amd; /bin/true

to /etc/modprobe.conf then rebuild the intrid. (c.f. http://forum.mandriva.com/en/viewtopic.php?f=10&t=126675)

CC: (none) => anssi.hannula, pterjan

Comment 11 Ahmad Samir 2011-04-25 04:56:40 CEST
Or easier, stick pata_amd in /etc/modprobe.preload c.f. https://bugs.mageia.org/show_bug.cgi?id=885#c8

CC: (none) => tmb

Thomas Backlund 2011-04-25 09:33:28 CEST

Attachment 167 mime type: application/octet-stream => text/plain

Comment 12 Marja Van Waes 2011-09-25 20:29:01 CEST
No reaction after comment 10 and 11, so closing

Status: NEW => RESOLVED
CC: (none) => m.van.waes
Resolution: (none) => OLD


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