Re: [BISECTED] Re: [BUG] Linux-2.6.31-rc1 Fails To Recognize SomeUSB Disks

From: Tarkan Erimer
Date: Mon Jul 27 2009 - 03:31:44 EST


On 07/27/2009 04:28 AM, Martin K. Petersen wrote:
"Tarkan" == Tarkan Erimer<tarkan.erimer@xxxxxxxxxxxxxx> writes:
Tarkan> root@tarkane:~# sg_inq -e /dev/sdb
Tarkan> VPD INQUIRY: extended INQUIRY data page
Tarkan> inquiry: transport: Host_status=0x05 [DID_ABORT]
Tarkan> Driver_status=0x00 [DRIVER_OK, SUGGEST_OK]
Tarkan> inquiry: failed, res=-1

*sigh*


sd: Avoid sending extended inquiry to legacy/broken devices

Our existing check for VPD page validity does not handle devices that
refuse to respond to INQUIRY with the EVPD bit set.

Restrict extended inquiry to devices reporting SBC2/SPC3 or higher.

Signed-off-by: Martin K. Petersen<martin.petersen@xxxxxxxxxx>


Martin,

Happily, I confirm that your patch worked flawlessly with -rc4! Thanks a lot for your help :-)

Cheers!

Tarkan

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