I have installed kernel-2.6.20 in Debian latest via custom apt repo.afterwards udev is creating all these device files and expecting my ide dvd writer and cd writer drives as scsi devices!
here is the udev file:
I dont know how the kernel detects ide drives as scsi things!
here is part of dmesg:
Although it works perfectly in default kernel-2.6.18-4 and the correct device block files are created; /dev/hda for dvd drive and /dev/hdb for cd drive.
here is the udev file:
Code:
# CD-RW_CRX210E1 (pci-0000:00:0f.1-scsi-0:0:1:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.1-scsi-0:0:1:0", SYMLINK+="cd
rom", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.1-scsi-0:0:1:0", SYMLINK+="cd
rw", ENV{GENERATED}="1"
# CDDVDW_SH-S182F (pci-0000:00:0f.1-scsi-0:0:0:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.1-scsi-0:0:0:0", SYMLINK+="cd
rom1", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.1-scsi-0:0:0:0", SYMLINK+="cd
rw1", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.1-scsi-0:0:0:0", SYMLINK+="dv
d1", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:0f.1-scsi-0:0:0:0", SYMLINK+="dv
drw1", ENV{GENERATED}="1"
here is part of dmesg:
and /var/log/messages shows:
I tried removing modules like sr_mod etc but to no avail.Geeks here can u help?
Although it works perfectly in default kernel-2.6.18-4 and the correct device block files are created; /dev/hda for dvd drive and /dev/hdb for cd drive.