Re: libata: CD and dvd devices not recognized

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Yarema,

Thanks for the detailed log.
It looks like the bad INQUIRY command
  "CDB (4:0,1,0) 12 01 00 00 fe 00 00 00 00" (INQUIRY, length=254, EVPD=1)
is coming from the user space, not the SCSI mid-layer.

I guess two problems together caused this bug:
1. Ubuntu Linux issues an incorrect INQUIRY command to the drive.
   (Other distros seem to have the INQUIRY correct.)
2. The incorrect INQUIRY happens to cause the AOpen drive frozen.
   (The HP drive is immune from the incorrect INQUIRY command.
    "check condition" is returned for the bad INQUIRY.)

We have two possible solutions here:
a. Patch Ubuntu, such that the incorrect INQUIRY is fixed.
b. Patch kernel, such that the AOpen drives are blacklisted.
   Each INQUIRY is inspected for the blacklisted drives.
   If the INQUIRY looks wrong, the INQUIRY is rejected.

I guess a. is the preferred solution...

--
albert

-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux