[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-hotplug
Subject:    Re: udev 124, scsi_id on generics not working.
From:       John Huttley <John () mib-infotech ! co ! nz>
Date:       2008-07-07 9:41:08
Message-ID: 4871E4B4.9090508 () mib-infotech ! co ! nz
[Download RAW message or body]

That seems to have fixed it, thanks!

--john


Kay Sievers wrote:
> On Mon, Jul 7, 2008 at 02:25, John Huttley <John@mib-infotech.co.nz> wrote:
>> scsi_id doesn't seem to like sg's any more.
>>
>> scsi_id is working, as shown..
>>
>> scsi_id --whitelisted --export --page=0x80 --device=/dev/sda
>> ID_VENDOR=ATA
>> ID_MODEL=WDC_WD1600BB-22G
>> ID_REVISION=08.0
>> ID_SERIAL=SATA_WDC_WD1600BB-22_WD-WCAL98082576
>> ID_SERIAL_SHORT=WD-WCAL98082576
>> ID_TYPE=disk
>>
>> but try that on a generic..
>>
>> gatekeeper / # scsi_id --whitelisted --export --page=0x80 --device=/dev/sg1
>> gatekeeper / # scsi_id --whitelisted --export --page=0x80 --device=/dev/sg2
>> gatekeeper / # scsi_id --whitelisted --export --page=0x80 --device=/dev/sg3
>>
>>
>> nothing.
> 
> Yep, that's a bug. The fallback to sgv3 is broken for sg devices, they
> return ENOSYS, instead of EINVAL like sd is doing. I pushed a fix out.
> 
> In the meantime, adding:
>    --sg-version=3
> should work.
> 
> Thanks for letting us know,
> Kay
> --
> To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic