2008/4/29 William L. Maltby <<a href="mailto:CentOS4Bill@triad.rr.com" target="_blank">CentOS4Bill@triad.rr.com</a>>:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>On Tue, 2008-04-29 at 19:24 +0100, Alan Bartlett wrote:<br>
> 2008/4/29 Lanny Marcus <<a href="mailto:lannyma@gmail.com" target="_blank">lannyma@gmail.com</a>>:<br>
>         [root@dell1602 ~]# grep ^hdc /var/log/dmesg hdc: DV-516D,<br>
>         ATAPI<br>
>          CD/DVD-ROM drive hdc: ATAPI 50X DVD-ROM drive, 256kB Cache,<br>
>         UDMA(100)<br>
>         [root@dell1602 ~]#<br>
><br>
> Good(-ish). The optical device is there but it's an old combo<br>
> CD/DVD-ROM drive.<br>
><br>
><br>
><br>
>         >Then looked at the symbolic links? ls -l /dev/ | grep hdc<br>
><br>
><br>
>         [root@dell1602 ~]# ls -l /dev/ | grep hdc<br>
>         lrwxrwxrwx 1 root  root           3 Apr 29 12:30 cdrom-hdc -><br>
>         hdc<br>
>         lrwxrwxrwx 1 root  root           3 Apr 29 12:30 dvd -> hdc<br>
>         lrwxrwxrwx 1 root  root           3 Apr 29 12:30 dvd-hdc -><br>
>         hdc<br>
>         brw------- 1 lanny disk    22,    0 Apr 29 12:30 hdc<br>
>         [root@dell1602 ~]#<br>
<br>
</div>When I do that, I get nothing. But, this is promising (BTW, my prev<br>
ide-cd thingy was left over from another CentOS box. It's not effective<br>
on this one.).<br>
<br>
]# ls -l /dev|grep -i "dvd\|cd"<br>
lrwxrwxrwx 1 root      root           3 Apr 26 17:52 cdrom -> hda<br>
lrwxrwxrwx 1 root      root           3 Apr 26 17:52 cdrom-hda -> hda<br>
lrwxrwxrwx 1 root      root           3 Apr 26 17:52 cdrw -> hda<br>
lrwxrwxrwx 1 root      root           3 Apr 26 17:52 cdrw-hda -> hda<br>
lrwxrwxrwx 1 root      root           3 Apr 26 17:52 cdwriter -> hda<br>
lrwxrwxrwx 1 root      root           3 Apr 26 17:52 cdwriter-hda -> hda<br>
lrwxrwxrwx 1 root      root           3 Apr 26 17:52 dvd -> hda<br>
lrwxrwxrwx 1 root      root           3 Apr 26 17:52 dvd-hda -> hda<br>
lrwxrwxrwx 1 root      root           3 Apr 26 17:52 dvdrw -> hda<br>
lrwxrwxrwx 1 root      root           3 Apr 26 17:52 dvdrw-hda -> hda<br>
lrwxrwxrwx 1 root      root           3 Apr 26 17:52 dvdwriter -> hda<br>
lrwxrwxrwx 1 root      root           3 Apr 26 17:52 dvdwriter-hda -><br>
hda<br>
<br>
And<br>
<br>
# ls -Ll /dev|grep -i "dvd\|cd"<br>
brw------- 1 wild-bill disk     3,    0 Apr 26 17:52 cdrom<br>
brw------- 1 wild-bill disk     3,    0 Apr 26 17:52 cdrom-hda<br>
brw------- 1 wild-bill disk     3,    0 Apr 26 17:52 cdrw<br>
brw------- 1 wild-bill disk     3,    0 Apr 26 17:52 cdrw-hda<br>
brw------- 1 wild-bill disk     3,    0 Apr 26 17:52 cdwriter<br>
brw------- 1 wild-bill disk     3,    0 Apr 26 17:52 cdwriter-hda<br>
brw------- 1 wild-bill disk     3,    0 Apr 26 17:52 dvd<br>
brw------- 1 wild-bill disk     3,    0 Apr 26 17:52 dvd-hda<br>
brw------- 1 wild-bill disk     3,    0 Apr 26 17:52 dvdrw<br>
brw------- 1 wild-bill disk     3,    0 Apr 26 17:52 dvdrw-hda<br>
brw------- 1 wild-bill disk     3,    0 Apr 26 17:52 dvdwriter<br>
brw------- 1 wild-bill disk     3,    0 Apr 26 17:52 dvdwriter-hda<br>
<br>
I popped a CentOS DVD in, got one image on the desktop and one mount<br>
listed from the mount command and one nautilus box popped up..<br>
<br>
I removed that and inserted a Mark Knopfler DVD and totem automatically<br>
popped up to do it's usual bitch about plugins.<br>
<br>
Mount showed one on /media/SHANGRILA and desktop had one ICON for it.</blockquote><div><br>So what does grep ^hda /var/log/dmesg tell you about your optical drive Bill? <br></div><div> </div>Being a Unix user of 25 years, I'm always a little suspicious of these new-fangled things like desktops. ;-)<br>

However, if you're using Gnome then please have a look at System --> Preferences --> Removable Drives and Media<br>I know that there is a difference in the automount of a data CD/DVD when the user is root (basically it doesn't, you would have to right-click on the icon and select mount manually) and when the user is a normal user (automount err automounts).<br>

</div><br>Lanny or Bill - Sorry I'm loosing track. One of you has three boxes; in boxes #1 & #2 the drives behaves as you want, in box #3 the drive misbehaves. Have you tried the test of swapping the drives in - say - boxes #2 & #3 and seeing if the problem moves with the optical drive or stays with box, #3?<br>

<br>The hd{a|b|c|d}=ide-cd kludge certainly isn't required with the CentOS 5 2.6.18-series kernels. I last came across it with a 2.4.8-* IIRC.<br><br>Just a few more of my thoughts, for now.<br><br>Alan.<br><br><br>