2

My /var/log/messages contain lots of messages like this:

Jan 22 05:45:05 vm kernel: hdc: drive_cmd: status=0x41 { DriveReady Error } Jan 22 05:45:05 vm kernel: hdc: drive_cmd: error=0x04 { AbortedCommand } Jan 22 05:45:05 vm kernel: ide: failed opcode was: 0xec 

I do not even have hdc on my system. What can be the cause of them?

My system is 2.6.18-194.32.1.el5.centos.plus.

2 Answers 2

3

It's your IDE based CD-ROM.

Check out what your CD-ROM points to:

ls -l /dev/cdrom 

Check what IDE devices you have attached to your computer:

ls -al /dev/hd? 

If your machine has freshly or recently booted you can check dmesg:

dmesg | grep -i hdc 
2
  • You are right ls -l /dev/cdrom shows /dev/cdrom -> hdc. But could you tell me what the problem actually is with it? Commented Jan 29, 2012 at 6:08
  • For some reason something called or checked your CD-ROM. If there wasn't a disc in the drive then it reported a failure to sense that there was a disk in there. Commented Jan 29, 2012 at 19:14
2

Your drive is likely reacting to being probed by smartd. If so, then there is no real problem. Check smartd.conf and see if the /dev/hdc is mentioned there in a line that's not commented out.

1
  • Well, there is DEVICESCAN -H -m root which probably scans all devices. I have read the thread you linked and I still do not know what the error means. But thanks to you I know what causes it. Commented Jan 29, 2012 at 7:13

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.