[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sr1: CDROM not ready ???



On Tue, 2004-01-27 at 15:06, Michael D Schleif wrote:
> OK, it can be nice to have devices _know_ when they are ready to be used
> ;>
> 
> However, enough is enough:
> 
>    Jan 27 10:02:09 bragi kernel: sr1: CDROM not ready.  Make sure there is a disc in the drive.
>    Jan 27 10:02:40 bragi last message repeated 31 times
>    Jan 27 10:03:41 bragi last message repeated 61 times
>    Jan 27 10:04:42 bragi last message repeated 61 times
> 
> I know what /dev/sr1 is, and I often play audio CD's in that drive.
> Sometimes, that drive is empty, and that is the way it should be.
> 
> How can I figure out what process is pummeling syslog with this useless
> information?
> 
> What do you think?

Install the lsof package if you don't have it.

Try:  lsof /dev/sr1 

Tt should give you a clue as to what is opening the device, you may have
to run it as lsof -r /dev/sr1 over a minute or more if the process only
opens /dev/sr1 every now and then.  It looks to be something checking
once a minute (61 log messages over 61 minutes)  Are you running
something like nautilus?

--mike



Reply to: