On 29 April 2008, Alan Bartlett ajb.stxsl at googlemail.com wrote: Tue Apr 29 16:39:45 UTC 2008 <snip>
Having heard my name being mentioned, I'll just say "make the mount point, then". I.e. mkdir /mnt/media Have you checked that /dev/hdc is the optical drive? grep ^hdc /var/log/dmesg
[root@dell1602 ~]# grep ^hdc /var/log/dmesg hdc: DV-516D, ATAPI CD/DVD-ROM drive hdc: ATAPI 50X DVD-ROM drive, 256kB Cache, UDMA(100) [root@dell1602 ~]#
Then looked at the symbolic links? ls -l /dev/ | grep hdc
[root@dell1602 ~]# ls -l /dev/ | grep hdc lrwxrwxrwx 1 root root 3 Apr 29 12:30 cdrom-hdc -> hdc lrwxrwxrwx 1 root root 3 Apr 29 12:30 dvd -> hdc lrwxrwxrwx 1 root root 3 Apr 29 12:30 dvd-hdc -> hdc brw------- 1 lanny disk 22, 0 Apr 29 12:30 hdc [root@dell1602 ~]#
If the HAL daemon is present and active on the system, inserting a disk into the drive *should* mount it on an autocreated mount point appropriate for the type of medium inserted into the drive or the label - if any - that the disk has been given.
I just updated the hal rpm on the box with the problem and I did a restart of the box after that.
hald (pid 2069) is running...
I don't know if this will be any use - http://wiki.centos.org/TipsAndTricks/HAL
Alan: I will check that out! Thanks much! Lanny
2008/4/29 Lanny Marcus lannyma@gmail.com:
[root@dell1602 ~]# grep ^hdc /var/log/dmesg hdc: DV-516D, ATAPI CD/DVD-ROM drive hdc: ATAPI 50X DVD-ROM drive, 256kB Cache, UDMA(100) [root@dell1602 ~]#
Good(-ish). The optical device is there but it's an old combo CD/DVD-ROM drive.
Then looked at the symbolic links? ls -l /dev/ | grep hdc
[root@dell1602 ~]# ls -l /dev/ | grep hdc lrwxrwxrwx 1 root root 3 Apr 29 12:30 cdrom-hdc -> hdc lrwxrwxrwx 1 root root 3 Apr 29 12:30 dvd -> hdc lrwxrwxrwx 1 root root 3 Apr 29 12:30 dvd-hdc -> hdc brw------- 1 lanny disk 22, 0 Apr 29 12:30 hdc [root@dell1602 ~]#
Good. That's o.k. also.
I just updated the hal rpm on the box with the problem and I did a restart of the box after that.
hald (pid 2069) is running...
Good, again.
I don't know if this will be any use - http://wiki.centos.org/TipsAndTricks/HAL
Alan: I will check that out! Thanks much! Lanny
Did I see that you are still running a very out of date kernel? Of the 2.6.18-8.m.n series? Any particular reason?
Alan.
On Tue, 2008-04-29 at 19:24 +0100, Alan Bartlett wrote:
2008/4/29 Lanny Marcus lannyma@gmail.com: [root@dell1602 ~]# grep ^hdc /var/log/dmesg hdc: DV-516D, ATAPI CD/DVD-ROM drive hdc: ATAPI 50X DVD-ROM drive, 256kB Cache, UDMA(100) [root@dell1602 ~]#
Good(-ish). The optical device is there but it's an old combo CD/DVD-ROM drive.
>Then looked at the symbolic links? ls -l /dev/ | grep hdc [root@dell1602 ~]# ls -l /dev/ | grep hdc lrwxrwxrwx 1 root root 3 Apr 29 12:30 cdrom-hdc -> hdc lrwxrwxrwx 1 root root 3 Apr 29 12:30 dvd -> hdc lrwxrwxrwx 1 root root 3 Apr 29 12:30 dvd-hdc -> hdc brw------- 1 lanny disk 22, 0 Apr 29 12:30 hdc [root@dell1602 ~]#
When I do that, I get nothing. But, this is promising (BTW, my prev ide-cd thingy was left over from another CentOS box. It's not effective on this one.).
]# ls -l /dev|grep -i "dvd|cd" lrwxrwxrwx 1 root root 3 Apr 26 17:52 cdrom -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 cdrom-hda -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 cdrw -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 cdrw-hda -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 cdwriter -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 cdwriter-hda -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 dvd -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 dvd-hda -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 dvdrw -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 dvdrw-hda -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 dvdwriter -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 dvdwriter-hda -> hda
And
# ls -Ll /dev|grep -i "dvd|cd" brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 cdrom brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 cdrom-hda brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 cdrw brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 cdrw-hda brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 cdwriter brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 cdwriter-hda brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 dvd brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 dvd-hda brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 dvdrw brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 dvdrw-hda brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 dvdwriter brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 dvdwriter-hda
I popped a CentOS DVD in, got one image on the desktop and one mount listed from the mount command and one nautilus box popped up..
I removed that and inserted a Mark Knopfler DVD and totem automatically popped up to do it's usual bitch about plugins.
Mount showed one on /media/SHANGRILA and desktop had one ICON for it.
<snip>
My best guess (admittedly, in blissful ignorance) is there is some configuration problem on that unit.
HTH
2008/4/29 William L. Maltby CentOS4Bill@triad.rr.com:
On Tue, 2008-04-29 at 19:24 +0100, Alan Bartlett wrote:
2008/4/29 Lanny Marcus lannyma@gmail.com: [root@dell1602 ~]# grep ^hdc /var/log/dmesg hdc: DV-516D, ATAPI CD/DVD-ROM drive hdc: ATAPI 50X DVD-ROM drive, 256kB Cache, UDMA(100) [root@dell1602 ~]#
Good(-ish). The optical device is there but it's an old combo CD/DVD-ROM drive.
>Then looked at the symbolic links? ls -l /dev/ | grep hdc [root@dell1602 ~]# ls -l /dev/ | grep hdc lrwxrwxrwx 1 root root 3 Apr 29 12:30 cdrom-hdc -> hdc lrwxrwxrwx 1 root root 3 Apr 29 12:30 dvd -> hdc lrwxrwxrwx 1 root root 3 Apr 29 12:30 dvd-hdc -> hdc brw------- 1 lanny disk 22, 0 Apr 29 12:30 hdc [root@dell1602 ~]#
When I do that, I get nothing. But, this is promising (BTW, my prev ide-cd thingy was left over from another CentOS box. It's not effective on this one.).
]# ls -l /dev|grep -i "dvd|cd" lrwxrwxrwx 1 root root 3 Apr 26 17:52 cdrom -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 cdrom-hda -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 cdrw -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 cdrw-hda -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 cdwriter -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 cdwriter-hda -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 dvd -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 dvd-hda -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 dvdrw -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 dvdrw-hda -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 dvdwriter -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 dvdwriter-hda -> hda
And
# ls -Ll /dev|grep -i "dvd|cd" brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 cdrom brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 cdrom-hda brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 cdrw brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 cdrw-hda brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 cdwriter brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 cdwriter-hda brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 dvd brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 dvd-hda brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 dvdrw brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 dvdrw-hda brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 dvdwriter brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 dvdwriter-hda
I popped a CentOS DVD in, got one image on the desktop and one mount listed from the mount command and one nautilus box popped up..
I removed that and inserted a Mark Knopfler DVD and totem automatically popped up to do it's usual bitch about plugins.
Mount showed one on /media/SHANGRILA and desktop had one ICON for it.
So what does grep ^hda /var/log/dmesg tell you about your optical drive Bill?
Being a Unix user of 25 years, I'm always a little suspicious of these new-fangled things like desktops. ;-) However, if you're using Gnome then please have a look at System --> Preferences --> Removable Drives and Media 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).
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?
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.
Just a few more of my thoughts, for now.
Alan.
On Tue, 2008-04-29 at 22:18 +0100, Alan Bartlett wrote:
2008/4/29 William L. Maltby CentOS4Bill@triad.rr.com: On Tue, 2008-04-29 at 19:24 +0100, Alan Bartlett wrote: > 2008/4/29 Lanny Marcus lannyma@gmail.com: > [root@dell1602 ~]# grep ^hdc /var/log/dmesg hdc: DV-516D, > ATAPI > CD/DVD-ROM drive hdc: ATAPI 50X DVD-ROM drive, 256kB Cache, > UDMA(100) > [root@dell1602 ~]# > > Good(-ish). The optical device is there but it's an old combo > CD/DVD-ROM drive. > > > > >Then looked at the symbolic links? ls -l /dev/ | grep hdc > > > [root@dell1602 ~]# ls -l /dev/ | grep hdc > lrwxrwxrwx 1 root root 3 Apr 29 12:30 cdrom-hdc -> > hdc > lrwxrwxrwx 1 root root 3 Apr 29 12:30 dvd -> hdc > lrwxrwxrwx 1 root root 3 Apr 29 12:30 dvd-hdc -> > hdc > brw------- 1 lanny disk 22, 0 Apr 29 12:30 hdc > [root@dell1602 ~]#
When I do that, I get nothing. But, this is promising (BTW, my prev ide-cd thingy was left over from another CentOS box. It's not effective on this one.). ]# ls -l /dev|grep -i "dvd\|cd" lrwxrwxrwx 1 root root 3 Apr 26 17:52 cdrom -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 cdrom-hda -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 cdrw -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 cdrw-hda -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 cdwriter -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 cdwriter-hda -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 dvd -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 dvd-hda -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 dvdrw -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 dvdrw-hda -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 dvdwriter -> hda lrwxrwxrwx 1 root root 3 Apr 26 17:52 dvdwriter-hda -> hda And # ls -Ll /dev|grep -i "dvd\|cd" brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 cdrom brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 cdrom-hda brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 cdrw brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 cdrw-hda brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 cdwriter brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 cdwriter-hda brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 dvd brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 dvd-hda brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 dvdrw brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 dvdrw-hda brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 dvdwriter brw------- 1 wild-bill disk 3, 0 Apr 26 17:52 dvdwriter-hda I popped a CentOS DVD in, got one image on the desktop and one mount listed from the mount command and one nautilus box popped up.. I removed that and inserted a Mark Knopfler DVD and totem automatically popped up to do it's usual bitch about plugins. Mount showed one on /media/SHANGRILA and desktop had one ICON for it.
So what does grep ^hda /var/log/dmesg tell you about your optical drive Bill?
]# grep hda /var/log/dmesg ide0: BM-DMA at 0xe600-0xe607, BIOS settings: hda:DMA, hdb:pio hda: LITE-ON DVDRW SHM-165P6S, ATAPI CD/DVD-ROM drive hda: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(66)
Being a Unix user of 25 years, I'm always a little suspicious of these new-fangled things like desktops. ;-)
Ditto. I started in '78. Only in the last few years have I decided that I could see *some* justification for a GUI. Combined with a CLI, used appropriately, one can be more efficient.
However, if you're using Gnome then please have a look at System --> Preferences --> Removable Drives and Media
I just did that for another thread, as it happens.
The first three are checked (mount when hot-plugged, mount when inserted, browse when inserted).
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).
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?
That was MHR (Mark) that that has the problem. Mine all work as expected.
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.
That was me that posted that. As I mentioned in another thread, that was a leftover from another box (probably my 2.4 kernel LFS box and/or CentOS 4.x box - I don't know if it's needed there anymore).
Last time I 'sperimented w/cdrtools, IIRC, I needed it to not have to use the sg stuff.
Works good, not broken (yet), won't fix it! 8-)
Just a few more of my thoughts, for now.
Alan.
<snip sig stuff>