Your message dated Sun, 24 Jul 2011 12:52:00 +0200
with message-id <[email protected]>
and subject line Re: Bug#635107: udev doesn't detect ide cdrom drive
has caused the Debian Bug report #635107,
regarding udev doesn't detect ide cdrom drive
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
635107: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635107
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cdrom
Severity: important
for some strange reason udev assumes all cdrom devices are scsi so as a
consequence my ide cdrom drive is being ignored. i modified 60-cdrom_id.rules
to check for ide drives as well and now the cdrom/dvd links are being created
once again. this is my modified cd rulse file:
ACTION=="remove", GOTO="cdrom_end"
SUBSYSTEM!="block", GOTO="cdrom_end"
KERNEL!="sr[0-9]*|xvd*|hd*", GOTO="cdrom_end"
ENV{DEVTYPE}!="disk", GOTO="cdrom_end"
# this is only a button press event
ENV{DISK_EJECT_REQUEST}=="?*", GOTO="cdrom_end"
KERNEL=="sr[0-9]*", ENV{ID_CDROM}="1"
IMPORT{program}="cdrom_id $tempnode"
KERNEL=="hd[a-z]*", ENV{ID_CDROM}="1"
IMPORT{program}="cdrom_id $tempnode"
LABEL="cdrom_end"
not sure if this is the best solution but i got tired of having to create
the links by hand.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
--- End Message ---
--- Begin Message ---
On Jul 24, Alex Romosan <[email protected]> wrote:
> it probably works in this case. i finally switched from ide to the
> ata_piix and now udev recognizes the cdrom/dvd (without making any
> changes to the scripts) and sets up the appropriate links. i don't think
Indeed, the old ide driver is not supported anymore by udev.
> though udev would recognize the cd drive if one just had an old ide
> controller (i.e. if the cdrom device was /dev/hda for example. the
> logic is not there).
I do no believe that there are any occurences of hd* with modern
kernels as long as you use the right drivers.
--
ciao,
Marco
signature.asc
Description: Digital signature
--- End Message ---