Dear scsi-developers,
while trying out devfs-93 (kernel 2.2.2) I got lots of annoying errors (READ
CAPACITTY failed) from my MO drive.
I am used to that error, it always ocours when there is no medium in drive.
But I always wondered if it's right to do a "READ CAPACITTY" when no
medium is present. Today I looked at the specs for SCSI-2. I found, that
"the inititator may check whether a volume is mounted by issuning TEST UNIT
READY command ... A device using removeable media is usually not ready
until a volume is mounted. Such a device normally returns CHECK CONDITION
status and sets the sense key to NOT READY."
[from: SMALL COMPUTER SYSTEM INTERFACE - 2, March 9, 1990]
I think, that the current behaviour in sd.c didn't get this right. What is
the opinion of the scsi-gurus on that issue ?
best regards
Michael
P.S. I have a (ugly) patch to fix this.
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]