Linux-PowerEdge Digest, Vol 33, Issue 45

Frank Warnke frank at newspapersystems.com
Wed Jun 20 10:14:45 CDT 2007


On Mon, 2007-06-18 at 13:08 -0700, John Oliver wrote:

> 
> PE 1850 running RHEL4u4 2.6.9-42.0.8.ELsmp
> 
> Jun 18 07:38:58 nlwwwp01 kernel: drivers/usb/input/hid-core.c: not
> resubmitting,
>  input1
> Jun 18 07:38:58 nlwwwp01 kernel: usb 2-1: USB disconnect, address 3
> Jun 18 07:38:58 nlwwwp01 kernel: hdf: status error: status=0x7f {
> DriveReady Dev
> iceFault SeekComplete DataRequest CorrectedError Index Error }
> Jun 18 07:38:58 nlwwwp01 kernel: hdf: status error:
> error=0x7fIllegalLengthIndic
> ation EndOfMedia Aborted Command MediaChangeRequested LastFailedSense
> 0x07
> Jun 18 07:38:58 nlwwwp01 kernel: hdf: drive not ready for command
> Jun 18 07:38:59 nlwwwp01 kernel: hdf: ATAPI reset complete
> Jun 18 07:38:59 nlwwwp01 kernel: hdf: status error: status=0x7f {
> DriveReady Dev
> iceFault SeekComplete DataRequest CorrectedError Index Error }
> Jun 18 07:38:59 nlwwwp01 kernel: hdf: status error:
> error=0x7fIllegalLengthIndic
> ation EndOfMedia Aborted Command MediaChangeRequested LastFailedSense
> 0x07
> Jun 18 07:38:59 nlwwwp01 kernel: hdf: drive not ready for command
> Jun 18 07:38:59 nlwwwp01 kernel: hdf: ATAPI reset complete
> 
> I got dozens and dozens of those per second until 
> 
> Jun 18 07:39:12 nlwwwp01 kernel: hdf: drive not ready for command
> Jun 18 07:39:12 nlwwwp01 kernel: hdf: status timeout: status=0x80
> { Busy
> }
> Jun 18 07:39:12 nlwwwp01 kernel: hdf: status timeout:
> error=0x81IllegalLengthInd
> ication LastFailedSense 0x08
> 
> And that nonsense went on and on until the machine was rebooted.
> 
> hdf is a "virtual CD-ROM".  I'm not clear on what that is, or what
> good
> it does me, or why it would all of a sudden have massive problems that
> would bring the machine down.
> 

This might help.  I installed RHEL v4 u3 on a pair of PE1850's over a
year ago.  At the time I compared the installation I did with what Dell
sent from the factory.

My install had this;

         dmesg | grep VIRT

         hde: VIRTUALFLOPPY DRIVE Floppy, ATAPI FLOPPY drive
         hdf: VIRTUALCDROM DRIVE, ATAP CD/DVD-ROM drive

Dell's install had this;

         dmesg | grep VIRT

         hda: VIRTUALFLOPPY DRIVE Floppy, ATAPI FLOPPY drive
         hdb: VIRTUALCDROM DRIVE, ATAP CD/DVD-ROM drive

Dell had this added to the kernel line in /boot/grub/grub.conf;

         ide2=0x1f0 quiet hdb=ide-scsi

I added the above line to grub.conf and rebooted.  I then had the same
order as the Dell factory install.

You might get away with just adding "hdf=ide-scsi".

I also noticed a lot of these dmesg messages;

   Device not ready.  Make sure there is a disc in the drive.

I found help on the "Device not ready" messages from an e-mail from;

   Date: Fri, 11 Nov 2005 04:38:20 -0800
   From: Sean Plaice
   Subject: DRAC/RHEL4 Annoyance solved - "Device not ready. Make sure
         there is a disc in the drive." repeated in dmesg
   To: linux-poweredge at dell.com


You should be able to search Dell's archives if you want to find the above e-mail.

Basically, I edited /etc/hal/hald.conf and changed this line;

<storage_media_check_enabled>true</storage_media_check_enabled>

to this;

<storage_media_check_enabled>false</storage_media_check_enabled>

and restarted haldaemon with;

   service haldaemon restart

Here is a link that I did save that covers the ide-scsi issue;

http://lists.us.dell.com/pipermail/linux-poweredge/2005-November/023585.html


Frank



More information about the Linux-PowerEdge mailing list