[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A4878AC.3050208@turknet.net.tr>
Date: Mon, 29 Jun 2009 11:17:48 +0300
From: Tarkan Erimer <tarkan.erimer@...knet.net.tr>
To: "Martin K. Petersen" <martin.petersen@...cle.com>
CC: linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
Matthew Wilcox <matthew@....cx>
Subject: Re: [BUG] Linux-2.6.31-rc1 Fails To Recognize Some USB Disks
On 06/29/2009 06:21 AM, Martin K. Petersen wrote:
> Can you please mail us the output of...
>
> # sg_inq /dev/sdb
> # sg_readcap /dev/sdb
> # sg_readcap -l /dev/sdb
>
> ... for that WD drive?
>
> You may have to install the sg3_utils package.
>
>
Here are the outputs of sg_* commands. But, I faced a strange behavior
when I was trying these sg_* commands. Initially, it didn't recognize my
usb WD disk as I mentioned in my BUG report. Then, after 8 mins, it
recognized (you can see it on attached "usb.log" file.) it! so, I was
able to get the outputs of sg_* commands ( Because; when it didn't
recognize it, there was no "sdb" file under /dev ) and now it works fine!
root@...kane:~# sg_inq /dev/sdb
standard INQUIRY:
PQual=0 Device_type=0 RMB=0 version=0x00 [no conformance claimed]
[AERC=0] [TrmTsk=0] NormACA=0 HiSUP=0 Resp_data_format=0
SCCS=0 ACC=0 TGPS=0 3PC=0 Protect=0 BQue=0
EncServ=0 MultiP=0 [MChngr=0] [ACKREQQ=0] Addr16=0
[RelAdr=0] WBus16=0 Sync=0 Linked=0 [TranDis=0] CmdQue=0
[SPI: Clocking=0x0 QAS=0 IUS=0]
length=74 (0x4a) Peripheral device type: disk
Vendor identification: WD
Product identification: 2500JB External
Product revision level: 0108
root@...kane:~# sg_readcap /dev/sdb
Read Capacity results:
Last logical block address=488397167 (0x1d1c596f), Number of
blocks=488397168
Logical block length=512 bytes
Hence:
Device size: 250059350016 bytes, 238475.2 MiB, 250.06 GB
root@...kane:~# sg_readcap -l /dev/sdb
READ CAPACITY (16) failed [res=-1], try with '-v'
Tarkan
View attachment "usb.log" of type "text/plain" (3936 bytes)
Powered by blists - more mailing lists