05-29-06 10:03 PM
Neil Woods <cnw+usenet-0605@pobox.com> writes:
> I've just upgraded my kernel from 2.6.12. to 2.6.15 (Debian releases).
> In doing so, I now find udev managing my /dev. Previously I used devfs.
>
> Upon rebooting into the new kernel, the symlinks for /dev/cdrom,
> /dev/cdrw, /dev/dvd and /dev/dvdrw all point to /dev/vcc/a7
>
> # l /dev/dvd* /dev/cdrom /dev/cdrw
> lrwxrwxrwx 1 root root 6 May 24 10:28 /dev/cdrom -> vcc/a7
> lrwxrwxrwx 1 root root 6 May 24 10:28 /dev/cdrw -> vcc/a7
> lrwxrwxrwx 1 root root 6 May 24 10:28 /dev/dvd -> vcc/a7
> lrwxrwxrwx 1 root root 6 May 24 10:28 /dev/dvdrw -> vcc/a7
>
> The drives in question are both ATAPI drives, and appear to have correct
> /dev/hd[cd] symlinks:
>
> # l /dev/hdc /dev/hdd
> lrwxrwxrwx 1 root root 30 May 24 10:27 /dev/hdc -> ide/host0/bus1/target0/
lun0/cd
> lrwxrwxrwx 1 root root 30 May 24 10:27 /dev/hdd -> ide/host0/bus1/target1/
lun0/cd
>
> (the first (hdc) is a cd-rewriter, the second (hdd) a dvd-rewriter).
If anyone can shed any light on this I would really appreciate it.
Why is udev assigning virtual console capture devices to these symlinks?
$ l /dev/vcc/a7
crw-rw---- 1 root root 7, 135 May 26 11:32 /dev/vcc/a7
I've searched Google but cannot find anything relevant.
> Some background:
>
> Previously, I used SCSI emulation for the two drives, by using
>
> image=/boot/vmlinuz
> label=Linux
> initrd=/boot/initrd.img
> append="hdc=ide-scsi hdd=ide-scsi devfs=mount"
> read-only
>
> in /etc/lilo.conf. Prior to upgrading my kernel, I removed the "append"
> line, as I understand now that using SCSI emulation is not supported
> anymore (or at least deprecated); I also made sure to re-run lilo.
>
> Could anyone help explain what's going on here? How can I fix things so
> that my /dev/cd* and /dev/dvd* symlinks point to the correct devices?
Do I need to add a new "append" line to /etc/lilo.conf to tell the
kernel that I'm now using the ATAPI ide-cd drivers instead of SCSI
emulation?
If so, what should I use?
Thanks in advance.
--
Neil.
Doubt isn't the opposite of faith; it is an element of faith.
-- Paul Tillich, German theologian.
[ Post a follow-up to this message ]
|