LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   dmesg buffer filled with cdrom: open failed (https://www.linuxquestions.org/questions/linux-newbie-8/dmesg-buffer-filled-with-cdrom-open-failed-625243/)

sjaisme 03-02-2008 07:10 PM

dmesg buffer filled with cdrom: open failed
 
Running RHAS 4.6 on both VM platforms and ProLiant DL58x Gx
I have an annoying msg reoccuring in /var/log/messages and it fills the dmesg buffer with:

cdrom: open failed

1. I've read that the file /etc/hal/hald.conf should be modified to disable the storage media check... and I've did this.

<storage_media_check_enabled>false</storage_media_check_enabled>

2. I've read that the service autofs should be off

# service autofs stop -- I did this and made sure it didn't start up with chkconfig --list

3. I cleared the dmesg buffer

# dmesg -c

but still the message occurs.

4. I've determined that on both platforms I can manually reproduce the problem by:

# fdisk -l /dev/hda
# dmesg
cdrom: open failed.
cdrom: open failed.

I moved the block file /dev/hda to /dev/hda.old
and then tried the fdisk -l /dev/hda and no message was written to /var/log/messages or dmesg.

But the cdrom couldn't be mounted again until the /dev/hda file was moved back.

How can diable this message without disabling my cdrom?

thanks in advance,

sjaisme
This is also occurs on earlier versions of Redhat AS 3.x

anupamsr 03-02-2008 07:54 PM

Have you tried "lsof" command? May be... you will be able to see something.


All times are GMT -5. The time now is 11:12 PM.