F7 Problem with automount and cdrom drive [Resolved]

Antonio Olivares olivares14031 at yahoo.com
Thu Jul 12 17:24:13 UTC 2007



----- Original Message ----
From: Nigel Henry <cave.dnb at tiscali.fr>
To: fedora-list at redhat.com
Sent: Thursday, July 12, 2007 11:06:51 AM
Subject: Re: F7 Problem with automount and cdrom drive [Resolved]

On Thursday 12 July 2007 16:25, Antonio Olivares wrote:
> ----- Original Message ----
> From: Nigel Henry <cave.dnb at tiscali.fr>
> To: fedora-list at redhat.com
> Sent: Thursday, July 12, 2007 8:32:54 AM
> Subject: F7 Problem with automount and cdrom drive
>
> I've fixed most of the little problems on this fresh install of Fedora 7,
> but am left with 2 that I'm having problems with.
>
> I'm getting lots of output from running tailf /var/log/messages as root, as
> below.
>
> # tailf /var/log/messages
> Jul 12 14:54:18 localhost kernel: sr0: CDROM not ready.  Make sure there is
> a disc in the drive.
> Jul 12 14:54:53 localhost last message repeated 31 times
> Jul 12 14:55:54 localhost last message repeated 61 times

> The question is:
>
> Why does "sr0" appear to be tied in with the CDROM drive, resulting in all
> thes messages (one per second)?

> Any observations, suggestions would be very welcome.
>
> Nigel.

> ----- End of Original Message ----
>
> Doing a dmesg returns
>
> scsi 1:0:0:0: CD-ROM            _NEC     DVD_RW ND-3520A  1.04 PQ: 0 ANSI:
> 5 device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
> dm-devel at redhat.com
>
> and a line
>
>
> sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
>
> Uniform CD-ROM driver Revision: 3.20
>
>
> follows.  They are alternate names for the first SCSI CD-ROM.  I believe it
> relates the CDRW part of /dev/scd0
>
> [root at localhost ~]# ls /dev/sr0 -l
> ls: cannot access /dev/sr0: No such file or directory
>
> Hope someone sheds more list on this issue.
>
>
> Regards,
>
> Antonio

Thanks Antonio, that's cleared up the bit about "sr0". I poked about a bit 
more, and tried commenting out the "cd" line in /etc/auto.misc, rebooted, but 
the problem was still there.

Often fixes are very simple things, and I decided to look at KDE's KsCD. By 
default it puts an icon in the taskbar. Simply right clicking on the icon, 
and quitting KsCD has stopped the messages, as you can see below.

Jul 12 17:16:15 localhost last message repeated 60 times
Jul 12 17:17:16 localhost last message repeated 61 times
Jul 12 17:18:17 localhost last message repeated 61 times
Jul 12 17:19:11 localhost last message repeated 54 times (messages stop)
Jul 12 17:24:12 localhost ntpd[1966]: synchronized to 192.168.0.230, stratum 2
Jul 12 17:25:26 localhost ntpd[1966]: time reset +7.968671 s
Jul 12 17:27:15 localhost kernel: sr0: CDROM not ready.  Make sure there is a 
disc in the drive.
Jul 12 17:27:46 localhost last message repeated 34 times (messages start)
Jul 12 17:28:47 localhost last message repeated 61 times
Jul 12 17:29:48 localhost last message repeated 61 times
Jul 12 17:29:53 localhost last message repeated 5 times (messages stop)
Jul 12 17:37:39 localhost ntpd[1966]: synchronized to 192.168.0.230, stratum 2
Jul 12 17:37:39 localhost ntpd[1966]: synchronized to 192.168.0.230, stratum 2

As you can see above, the messages stop after the entry at 17:19:11 after 
removing the taskbar icon for KsCD. I then open KsCD to change the default 
preferences, so that an icon for KsCD is not put on the taskbar, and the 
messages start again at 17:27:46. After editing the preferences I close KsCD, 
and the messages stop at 17:29:53.

I'm posting this from FC2, and KsCD has an icon in the taskbar there, but no 
odd messages. I will also fire up FC5, and FC6 to see if there any odd 
messages which appear to be associated KsCD's icon being in the taskbar.

It does seem odd though, that on Fedora 7's KDE, KsCD's icon in the taskbar is 
posting messages every second, complaining that there is no CDROM in the 
drive.

Thanks for your interest, and reply.

Nigel.

One problem fixed, one to go.

-- 


Speaking of /dev/sr0, I saw something similar to your situation on Fedora 7

--------------------- Kernel Begin ------------------------ 

 WARNING:  Kernel Errors Present
        Additional sense: Unrecovered read error ...:  13 Time(s)
    Buffer I/O error on device sr0, l ...:  53 Time(s)
    end_request: I/O error, dev sr0, sector ...:  47 Time(s)
    sr 1:0:0:0: SCSI error: return code = 0 ...:  18 Time(s)
    sr0: Current: sense key: Medium Error ...:  18 Time(s)
 
 ---------------------- Kernel End ------------------------- 

I was playing a DVD movie and on occasions xine would freeze because the dvd was scratched a bit and I had to reload it and skip those parts of the movie in order to complete it.

Some have mentioned doing
# ln -s /dev/sr0 /dev/scd0

on some forums that doing this takes care of the problem, but I have not done it yet.  Maybe I will try later.  Also there was a problem with gnome-baker on Fedora 7 because it kept refering to /dev/sr0 

There was a problem before reported using gnome-baker

http://www.spinics.net/lists/fedora-testing/msg57717.html

but I do not know if it has been resolved.

Regards,

Antonio 






       
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/




More information about the fedora-list mailing list