LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 09-03-2014, 07:35 AM   #1
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Rep: Reputation: 3
/var/log/messages full of "CDROM not ready." messages


I am using CentOS 6.5. I noticed a file called messages in the /var/log drive so I did

Code:
cat /var/log/messages
It was full of the following message.

Code:
[time stamp] WebServer kernel: sr1: CDROM not ready.  Make sure there is a disc in the drive.
The only times I used a CD, since installing the system, have been when I have used a Clonezilla CD to backup the HD. The last time I did that was a month ago. I am certainly not trying to use a CD now but this message keeps getting generated every 2 seconds. How do I get rid of it?
 
Old 09-03-2014, 01:27 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Unload cdrom module?
 
1 members found this post helpful.
Old 09-03-2014, 04:03 PM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
maybe the cdrom is in /etc/fstab? comment it out?
 
1 members found this post helpful.
Old 09-05-2014, 09:16 PM   #4
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by unSpawn View Post
Unload cdrom module?
Thank you for your reply. Would that not disable my CD-ROM drive? I was hoping to just disable the messaging when I'm not using the CD-ROM.

Thanks,
OH
 
Old 09-05-2014, 09:18 PM   #5
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by ondoho View Post
maybe the cdrom is in /etc/fstab? comment it out?
I looked at /etc/fstab. Unfortunately,I was unable to find the string "CD" or "cd" anywhere in the file.

Thanks,
OH
 
Old 09-06-2014, 03:16 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by OtagoHarbour View Post
Would that not disable my CD-ROM drive? I was hoping to just disable the messaging when I'm not using the CD-ROM.
No, it would only unload the cdrom kernel module. Come to think of it this may be part of the HAL daemon probing for storage? As in the "hald-probe-storage" process or something like that you could disable?
 
1 members found this post helpful.
Old 09-06-2014, 08:47 AM   #7
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by unSpawn View Post
No, it would only unload the cdrom kernel module. Come to think of it this may be part of the HAL daemon probing for storage? As in the "hald-probe-storage" process or something like that you could disable?
I entered

Code:
sudo /etc/init.d/haldaemon stop
and it executed successfully.

Code:
$ sudo /etc/init.d/haldaemon stop
Stopping HAL daemon:                                       [  OK  ]
Unfortunately, I am still getting
Code:
WebServer kernel: sr1: CDROM not ready.  Make sure there is a disc in the drive.
every two seconds in /var/log/messages.

Thanks,
OH
 
Old 09-06-2014, 09:40 AM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Hmm. I don't think you should stop hald but check if probing (hald-probe-storage) can be disabled for the CDROM device specifically.
 
1 members found this post helpful.
Old 09-06-2014, 06:39 PM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
WebServer kernel
what exactly does that mean?
 
Old 09-06-2014, 07:38 PM   #10
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by unSpawn View Post
Hmm. I don't think you should stop hald but check if probing (hald-probe-storage) can be disabled for the CDROM device specifically.
I did a search of /etc/dbus-1/system.d/hal.conf (the only hal.conf on my system) for the string "CD" and for the string "cd". Unfortunately, I found neither.

Thanks,
OH
 
Old 09-06-2014, 07:39 PM   #11
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by ondoho View Post
[WebServer kernel] what exactly does that mean?
Sorry. "WebServer" is the name of my computer.
 
Old 09-06-2014, 08:04 PM   #12
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Is that the only line printed or are ther more error messages before or after this one?
 
Old 09-06-2014, 08:58 PM   #13
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by EDDY1 View Post
Is that the only line printed or are ther more error messages before or after this one?
It's the only line printed.

Thanks,
OH
 
Old 09-08-2014, 12:18 PM   #14
travisdh1
Member
 
Registered: Sep 2008
Distribution: Fedora
Posts: 129

Rep: Reputation: 22
Maybe check your /etc/yum.repos.d/*.repo files for an entry referencing sr1?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/var/log/messages: "Use a HIGHMEM enabled kernel" AtomicAmish Debian 12 05-04-2007 09:06 PM
Multiple "device not ready" messages in System Log quasy Linux - Hardware 0 04-27-2004 05:58 AM
/var/log/messages full of these messages. Should I be concerned? mdavis Linux - Security 5 04-16-2004 10:08 AM
Boot messages not the same as "dmesg" or "/var/log/messages"? massai Linux - General 5 03-10-2004 12:18 AM
/var/log/messages contains "localhost" instead of the real hostname allel Linux - Networking 0 07-15-2002 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 08:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration