Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 2 down vote accepted

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.

share|improve this answer
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. – clime Jan 29 '12 at 7:13

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
share|improve this answer
You are right ls -l /dev/cdrom shows /dev/cdrom -> hdc. But could you tell me what the problem actually is with it? – clime Jan 29 '12 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. – smujushi Jan 29 '12 at 19:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.