cdrom/dvd symlinks strange after udev upgrade.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > cdrom/dvd symlinks strange after udev upgrade.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    cdrom/dvd symlinks strange after udev upgrade.  
Neil Woods


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-24-06 06:12 PM

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/lu
n0/cd
lrwxrwxrwx 1 root root 30 May 24 10:27 /dev/hdd -> ide/host0/bus1/target1/lu
n0/cd

(the first (hdc) is a cd-rewriter, the second (hdd) a dvd-rewriter).

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?

--
What part of "Phnglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn!"
dont you understand?





[ Post a follow-up to this message ]



    Re: cdrom/dvd symlinks strange after udev upgrade.  
Neil Woods


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Re: cdrom/dvd symlinks strange after udev upgrade.  
Bill Marcum


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-29-06 10:03 PM

["Followup-To:" header set to alt.os.linux.debian.]
On Sat, 27 May 2006 04:03:06 +0100, Neil Woods
<cnw+usenet-0605@pobox.com> wrote:
> Neil Woods <cnw+usenet-0605@pobox.com> writes:
> 
>
> If anyone can shed any light on this I would really appreciate it.
>
> Why is udev assigning virtual console capture devices to these symlinks?
>
Perhaps something is wrong with the udev configuration.  Try
reinstalling udev.

> $ 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.
> 
devices?[vbcol=seagreen]
>
> 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?
>
Perhaps you can remove the ide-scsi references from lilo.conf.


--
A diplomat is a person who can tell you to go to hell in such a way that you
actually look forward to the trip.
-- Caskie Stinnett, "Out of the Red"





[ Post a follow-up to this message ]



    Re: cdrom/dvd symlinks strange after udev upgrade.  
Neil Woods


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-29-06 10:03 PM

Bill Marcum <bmarcum@iglou.com> writes:

> ["Followup-To:" header set to alt.os.linux.debian.]
> On Sat, 27 May 2006 04:03:06 +0100, Neil Woods
>   <cnw+usenet-0605@pobox.com> wrote: 
> Perhaps something is wrong with the udev configuration.  Try
> reinstalling udev.

I've tried this. No difference. :-(
 
> devices? 
> Perhaps you can remove the ide-scsi references from lilo.conf.

I removed them after installation of udev (and re-ran lilo, of course).

The relevant lines of /etc/lilo.conf now are:

default=Linux
image=/boot/vmlinuz
label=Linux
initrd=/boot/initrd.img
read-only

I read somewhere that in order to inform the kernel that say /dev/hdc
is an ATAPI CD-ROM device, one should add an "append" line.
Unfortunately, I cannot now find this reference.

--
Neil.
Steal my cash, car and TV - but leave the computer!
-- Soenke Lange <soenke@escher.north.de>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:37 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register