[CBLX] deux devices et un gros problème sous Lenny qui n'en utilise qu'un seul

[ Thread Index | Date Index | More lists.tuxfamily.org/carrefourblinux Archives ]


Hello,

sous ma Lenny je n'arrive pas à comprendre pourquoi elle "rejette" mon cdrom
Plextor alors que tous les liens dans /dev/cdr* et /dev/dvd* vont vers hdd
cad vers mon graveur cd/dvd (Pioneer). Voici mes sorties de tests ainsi que
mes fichiers de rules udev, pour qu'on comprenne ce quil a lieu de faire:

Test:

jupiter:~# ls -l /dev/cdr*
lrwxrwxrwx 1 root root 3 nov 26  2009 /dev/cdrom -> hdd
lrwxrwxrwx 1 root root 3 nov 26  2009 /dev/cdrw -> hdd
(ça c'est déjà erroné)

jupiter:~# ls -l /dev/dvd*
lrwxrwxrwx 1 root root 3 nov 26  2009 /dev/dvd -> hdd
lrwxrwxrwx 1 root root 3 nov 26  2009 /dev/dvdrw -> hdd
(ça c'est supposé être au départ ce que ça doit être)

jupiter:~# grep cdr /etc/fstab
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/hdd        /media/cdrom1   udf,iso9660 user,noauto     0       0
(ah, surprise!)

jupiter:~# dmesg |grep CD
[    4.162080] hdc: PLEXTOR CD-R PX-W4012A, ATAPI CD/DVD-ROM drive
[    4.972445] hdd: PIONEER DVD-RW DVR-107D, ATAPI CD/DVD-ROM drive
[    5.289880] hdc: ATAPI 40X CD-ROM CD-R/RW drive, 4096kB Cache
[    5.289880] Uniform CD-ROM driver Revision: 3.20
[    5.293020] hdd: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache
(re-surprise, car apparement dmesg montre bien deux devices ainsi que
l'fstab)

jupiter:~# lsmod |grep cdr
cdrom                  30176  1 ide_cd_mod

ou:
jupiter:~# lsmod |grep cd 
ide_cd_mod             27684  0 
cdrom                  30176  1 ide_cd_mod
ide_core               96168  4 ide_cd_mod,ide_disk,piix,ide_pci_generic
ehci_hcd               28428  0 
uhci_hcd               18672  0 
usbcore               118192  6 hci_usb,usbhid,usb_storage,ehci_hcd,uhci_hcd
(je sais pas si ça c'est bon)

Ma distro est ne Lenny,
dont le kernel est la v. 2.6.26-2-686

Cf. également les deux pj...

Aldo. 
# These rules generate rules for the /dev/{cdrom,dvd,...} symlinks and
# write them to /etc/udev/rules.d/70-persistent-cd.rules.

ACTION=="add", SUBSYSTEM=="block", ENV{GENERATED}!="?*", ENV{ID_CDROM}=="?*", \
	SUBSYSTEMS!="usb|ieee1394", \
	PROGRAM="write_cd_rules", SYMLINK+="$result"

ACTION=="add", SUBSYSTEM=="block", ENV{GENERATED}!="?*", ENV{ID_CDROM}=="?*", \
	SUBSYSTEMS=="usb|ieee1394", \
	PROGRAM="write_cd_rules by-id", SYMLINK+="$result"

# This file was automatically generated by the /lib/udev/write_cd_rules
# program, probably run by the cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line
# and set the $GENERATED variable.

# PLEXTOR_CD-R_PX-W4012A (pci-0000:00:1f.1-ide-1:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-ide-1:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-ide-1:0", SYMLINK+="cdrw", ENV{GENERATED}="1"
# PIONEER_DVD-RW_DVR-107D (pci-0000:00:1f.1-ide-1:1)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-ide-1:1", SYMLINK+="cdrom", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-ide-1:1", SYMLINK+="cdrw", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-ide-1:1", SYMLINK+="dvd", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-ide-1:1", SYMLINK+="dvdrw", ENV{GENERATED}="1"


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/