Hi Michael,

Michael Gilbert wrote:
the fix for the load cycling error gets applied to optical drives as well as hard disks. this leads to somewhat scary kernel log errors such as

  Dec 21 21:56:48 kernel: hdb: drive_cmd: status=0x51 { DriveReady
  SeekComplete Error }
  Dec 21 21:56:48 kernel: hdb: drive_cmd: error=0x04 { AbortedCommand }
  Dec 21 21:56:48 kernel: ide: failed opcode was: 0xef

this is because the optical drives are not differentiated from hard disks
in ac.d/90-hdparm.sh.  i've written a patch for the issue (see attached)
using hdparm and keying in on "Removeable" to differentiate hard disks from optical disks. this works for my system, but i'm not sure if it is a general enough approach to the problem.

Probably not. :-) There's a pretty large chunk of code in laptop-mode-tools to detect the media type of a hard drive, I'll see if I can port that over. Thanks for reporting!

Cheers,
Bart



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to