All of lore.kernel.org
 help / color / mirror / Atom feed
* usb 3.0 hard drive doesn't work
@ 2012-10-07  8:48 王思源
  2012-10-07 21:31 ` Daniel Mack
  0 siblings, 1 reply; 4+ messages in thread
From: 王思源 @ 2012-10-07  8:48 UTC (permalink / raw)
  To: linux-kernel

hi,
i have a usb 3.0 hard drive and a laptop with usb 3.0 port.
when the hard drive is connected to the usb 3.0 port, the drive could
not be found.
the dmesg output is listed below.
additinal info:
1) the usb 3.0 hard drive can be found when connected to usb 2.0 port.
2) the usb 2.0 hard drive can be found when connected to usb 3.0 port.
3) mouse works when connected to the usb 3.0 port.
4) it is archlinux and kernel version is 3.5.5-1-ARCH
it seems that it is not the linux driver's problem, because the mouse
could work and the hard drive is found due to the dmesg.
is this a bug?
would someone help me?
thank you!

dmesg out put when usb 3.0 hard drive is conneted to usb 3.0 port:
[  646.077385] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd
[  646.171319] usbcore: registered new interface driver uas
[  646.175313] Initializing USB Mass Storage driver...
[  646.175501] scsi4 : usb-storage 2-2:1.0
[  646.175665] usbcore: registered new interface driver usb-storage
[  646.175667] USB Mass Storage support registered.
[  657.149403] scsi 4:0:0:0: Direct-Access     WD       My Passport
0730 1016 PQ: 0 ANSI: 6
[  657.149974] sd 4:0:0:0: [sdb] 976707584 512-byte logical blocks:
(500 GB/465 GiB)
[  657.150223] sd 4:0:0:0: [sdb] Write Protect is off
[  657.150232] sd 4:0:0:0: [sdb] Mode Sense: 47 00 10 08
[  657.150456] sd 4:0:0:0: [sdb] No Caching mode page present
[  657.150462] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[  657.151436] sd 4:0:0:0: [sdb] No Caching mode page present
[  657.151440] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[  657.159907]  sdb: sdb1
[  657.160852] sd 4:0:0:0: [sdb] No Caching mode page present
[  657.160858] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[  657.160861] sd 4:0:0:0: [sdb] Attached SCSI disk
[  657.268875] usb 2-2: Device not responding to set address.
[  657.471456] usb 2-2: Device not responding to set address.
[  657.674211] usb 2-2: device not accepting address 2, error -71
[  657.780745] usb 2-2: Device not responding to set address.
[  657.983519] usb 2-2: Device not responding to set address.
[  658.186214] usb 2-2: device not accepting address 2, error -71
[  658.292717] usb 2-2: Device not responding to set address.
[  658.495537] usb 2-2: Device not responding to set address.
[  658.698277] usb 2-2: device not accepting address 2, error -71
[  658.804774] usb 2-2: Device not responding to set address.
[  659.007557] usb 2-2: Device not responding to set address.
[  659.210298] usb 2-2: device not accepting address 2, error -71
[  659.210366] usb 2-2: USB disconnect, device number 2
[  659.213797] sd 4:0:0:0: [sdb] Unhandled error code
[  659.213804] sd 4:0:0:0: [sdb]
[  659.213808] Result: hostbyte=0x01 driverbyte=0x00
[  659.213812] sd 4:0:0:0: [sdb] CDB:
[  659.213814] cdb[0]=0x28: 28 00 00 00 00 00 00 00 08 00
[  659.213826] end_request: I/O error, dev sdb, sector 0
[  659.213830] Buffer I/O error on device sdb, logical block 0
[  659.214647] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep ffff8800b375fe40
[  659.214656] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called
with disabled ep ffff8800b375fe00
[  659.320085] usb 2-2: Device not responding to set address.
[  659.522884] usb 2-2: Device not responding to set address.
[  659.725646] usb 2-2: device not accepting address 3, error -71
[  659.832077] usb 2-2: Device not responding to set address.
[  660.034905] usb 2-2: Device not responding to set address.
[  660.237663] usb 2-2: device not accepting address 4, error -71
[  660.344135] usb 2-2: Device not responding to set address.
[  660.546938] usb 2-2: Device not responding to set address.
[  660.749642] usb 2-2: device not accepting address 5, error -71
[  660.856129] usb 2-2: Device not responding to set address.
[  661.058946] usb 2-2: Device not responding to set address.
[  661.261701] usb 2-2: device not accepting address 6, error -71
[  661.261722] hub 2-0:1.0: unable to enumerate USB device on port 2

-- 
王思源

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: usb 3.0 hard drive doesn't work
  2012-10-07  8:48 usb 3.0 hard drive doesn't work 王思源
@ 2012-10-07 21:31 ` Daniel Mack
  2012-10-09  1:51   ` WANG Siyuan
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Mack @ 2012-10-07 21:31 UTC (permalink / raw)
  To: 王思源; +Cc: linux-kernel, linux-usb

(cc linux-usb)

On 07.10.2012 10:48, 王思源 wrote:
> hi,
> i have a usb 3.0 hard drive and a laptop with usb 3.0 port.
> when the hard drive is connected to the usb 3.0 port, the drive could
> not be found.
> the dmesg output is listed below.
> additinal info:
> 1) the usb 3.0 hard drive can be found when connected to usb 2.0 port.
> 2) the usb 2.0 hard drive can be found when connected to usb 3.0 port.
> 3) mouse works when connected to the usb 3.0 port.
> 4) it is archlinux and kernel version is 3.5.5-1-ARCH
> it seems that it is not the linux driver's problem, because the mouse
> could work and the hard drive is found due to the dmesg.
> is this a bug?
> would someone help me?
> thank you!
> 
> dmesg out put when usb 3.0 hard drive is conneted to usb 3.0 port:
> [  646.077385] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd
> [  646.171319] usbcore: registered new interface driver uas
> [  646.175313] Initializing USB Mass Storage driver...
> [  646.175501] scsi4 : usb-storage 2-2:1.0
> [  646.175665] usbcore: registered new interface driver usb-storage
> [  646.175667] USB Mass Storage support registered.
> [  657.149403] scsi 4:0:0:0: Direct-Access     WD       My Passport
> 0730 1016 PQ: 0 ANSI: 6
> [  657.149974] sd 4:0:0:0: [sdb] 976707584 512-byte logical blocks:
> (500 GB/465 GiB)
> [  657.150223] sd 4:0:0:0: [sdb] Write Protect is off
> [  657.150232] sd 4:0:0:0: [sdb] Mode Sense: 47 00 10 08
> [  657.150456] sd 4:0:0:0: [sdb] No Caching mode page present
> [  657.150462] sd 4:0:0:0: [sdb] Assuming drive cache: write through
> [  657.151436] sd 4:0:0:0: [sdb] No Caching mode page present
> [  657.151440] sd 4:0:0:0: [sdb] Assuming drive cache: write through
> [  657.159907]  sdb: sdb1
> [  657.160852] sd 4:0:0:0: [sdb] No Caching mode page present
> [  657.160858] sd 4:0:0:0: [sdb] Assuming drive cache: write through
> [  657.160861] sd 4:0:0:0: [sdb] Attached SCSI disk
> [  657.268875] usb 2-2: Device not responding to set address.
> [  657.471456] usb 2-2: Device not responding to set address.
> [  657.674211] usb 2-2: device not accepting address 2, error -71
> [  657.780745] usb 2-2: Device not responding to set address.
> [  657.983519] usb 2-2: Device not responding to set address.
> [  658.186214] usb 2-2: device not accepting address 2, error -71
> [  658.292717] usb 2-2: Device not responding to set address.
> [  658.495537] usb 2-2: Device not responding to set address.

>From the logs, this smells like a power supply problem. Can you connect
an external supply or do you have a powered USB3 hub? It's possible that
it draws less power in USB2.0 mode, so that would explain what you describe.

But I could be wrong alltogether :)


Daniel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: usb 3.0 hard drive doesn't work
  2012-10-07 21:31 ` Daniel Mack
@ 2012-10-09  1:51   ` WANG Siyuan
  2012-10-09 19:35     ` Sarah Sharp
  0 siblings, 1 reply; 4+ messages in thread
From: WANG Siyuan @ 2012-10-09  1:51 UTC (permalink / raw)
  To: Daniel Mack; +Cc: linux-kernel, linux-usb

hi, Daniel
my usb 3.0 hard drive doesn't have external power. this is a "western
digital" usb hard drive: WDBACY5000AWT
here is a Product Specifications:
http://www.wdc.com/wdproducts/library/AAG/ENG/4178-705131.pdf

i start my laptop with ubuntu, the usb3.0 port could use the usb3.0
hard drive. but the write speed is only 50MB/s (test with dd)
but archlinux cannot recognize the hard drive.

thank you for replaying.

On Mon, Oct 8, 2012 at 5:31 AM, Daniel Mack <zonque@gmail.com> wrote:
> (cc linux-usb)
>
> On 07.10.2012 10:48, 王思源 wrote:
>> hi,
>> i have a usb 3.0 hard drive and a laptop with usb 3.0 port.
>> when the hard drive is connected to the usb 3.0 port, the drive could
>> not be found.
>> the dmesg output is listed below.
>> additinal info:
>> 1) the usb 3.0 hard drive can be found when connected to usb 2.0 port.
>> 2) the usb 2.0 hard drive can be found when connected to usb 3.0 port.
>> 3) mouse works when connected to the usb 3.0 port.
>> 4) it is archlinux and kernel version is 3.5.5-1-ARCH
>> it seems that it is not the linux driver's problem, because the mouse
>> could work and the hard drive is found due to the dmesg.
>> is this a bug?
>> would someone help me?
>> thank you!
>>
>> dmesg out put when usb 3.0 hard drive is conneted to usb 3.0 port:
>> [  646.077385] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd
>> [  646.171319] usbcore: registered new interface driver uas
>> [  646.175313] Initializing USB Mass Storage driver...
>> [  646.175501] scsi4 : usb-storage 2-2:1.0
>> [  646.175665] usbcore: registered new interface driver usb-storage
>> [  646.175667] USB Mass Storage support registered.
>> [  657.149403] scsi 4:0:0:0: Direct-Access     WD       My Passport
>> 0730 1016 PQ: 0 ANSI: 6
>> [  657.149974] sd 4:0:0:0: [sdb] 976707584 512-byte logical blocks:
>> (500 GB/465 GiB)
>> [  657.150223] sd 4:0:0:0: [sdb] Write Protect is off
>> [  657.150232] sd 4:0:0:0: [sdb] Mode Sense: 47 00 10 08
>> [  657.150456] sd 4:0:0:0: [sdb] No Caching mode page present
>> [  657.150462] sd 4:0:0:0: [sdb] Assuming drive cache: write through
>> [  657.151436] sd 4:0:0:0: [sdb] No Caching mode page present
>> [  657.151440] sd 4:0:0:0: [sdb] Assuming drive cache: write through
>> [  657.159907]  sdb: sdb1
>> [  657.160852] sd 4:0:0:0: [sdb] No Caching mode page present
>> [  657.160858] sd 4:0:0:0: [sdb] Assuming drive cache: write through
>> [  657.160861] sd 4:0:0:0: [sdb] Attached SCSI disk
>> [  657.268875] usb 2-2: Device not responding to set address.
>> [  657.471456] usb 2-2: Device not responding to set address.
>> [  657.674211] usb 2-2: device not accepting address 2, error -71
>> [  657.780745] usb 2-2: Device not responding to set address.
>> [  657.983519] usb 2-2: Device not responding to set address.
>> [  658.186214] usb 2-2: device not accepting address 2, error -71
>> [  658.292717] usb 2-2: Device not responding to set address.
>> [  658.495537] usb 2-2: Device not responding to set address.
>
> From the logs, this smells like a power supply problem. Can you connect
> an external supply or do you have a powered USB3 hub? It's possible that
> it draws less power in USB2.0 mode, so that would explain what you describe.
>
> But I could be wrong alltogether :)
>
>
> Daniel
>



-- 
王思源

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: usb 3.0 hard drive doesn't work
  2012-10-09  1:51   ` WANG Siyuan
@ 2012-10-09 19:35     ` Sarah Sharp
  0 siblings, 0 replies; 4+ messages in thread
From: Sarah Sharp @ 2012-10-09 19:35 UTC (permalink / raw)
  To: WANG Siyuan; +Cc: Daniel Mack, linux-kernel, linux-usb

This is probably a known issue.  Other Western Digital hard drives had
issues with the Link PM feature that went into 3.5.  Can you please test
with this branch:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/sarah/xhci.git -b for-usb-linus-pending

In particular, I think this patch will help you, if you want to just try
that:

http://git.kernel.org/?p=linux/kernel/git/sarah/xhci.git;a=commit;h=ae8963adb4ad8c5f2a89ca1d99fb7bb721e7599f

Sarah Sharp

On Tue, Oct 09, 2012 at 09:51:55AM +0800, WANG Siyuan wrote:
> hi, Daniel
> my usb 3.0 hard drive doesn't have external power. this is a "western
> digital" usb hard drive: WDBACY5000AWT
> here is a Product Specifications:
> http://www.wdc.com/wdproducts/library/AAG/ENG/4178-705131.pdf
> 
> i start my laptop with ubuntu, the usb3.0 port could use the usb3.0
> hard drive. but the write speed is only 50MB/s (test with dd)
> but archlinux cannot recognize the hard drive.
> 
> thank you for replaying.
> 
> On Mon, Oct 8, 2012 at 5:31 AM, Daniel Mack <zonque@gmail.com> wrote:
> > (cc linux-usb)
> >
> > On 07.10.2012 10:48, 王思源 wrote:
> >> hi,
> >> i have a usb 3.0 hard drive and a laptop with usb 3.0 port.
> >> when the hard drive is connected to the usb 3.0 port, the drive could
> >> not be found.
> >> the dmesg output is listed below.
> >> additinal info:
> >> 1) the usb 3.0 hard drive can be found when connected to usb 2.0 port.
> >> 2) the usb 2.0 hard drive can be found when connected to usb 3.0 port.
> >> 3) mouse works when connected to the usb 3.0 port.
> >> 4) it is archlinux and kernel version is 3.5.5-1-ARCH
> >> it seems that it is not the linux driver's problem, because the mouse
> >> could work and the hard drive is found due to the dmesg.
> >> is this a bug?
> >> would someone help me?
> >> thank you!
> >>
> >> dmesg out put when usb 3.0 hard drive is conneted to usb 3.0 port:
> >> [  646.077385] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd
> >> [  646.171319] usbcore: registered new interface driver uas
> >> [  646.175313] Initializing USB Mass Storage driver...
> >> [  646.175501] scsi4 : usb-storage 2-2:1.0
> >> [  646.175665] usbcore: registered new interface driver usb-storage
> >> [  646.175667] USB Mass Storage support registered.
> >> [  657.149403] scsi 4:0:0:0: Direct-Access     WD       My Passport
> >> 0730 1016 PQ: 0 ANSI: 6
> >> [  657.149974] sd 4:0:0:0: [sdb] 976707584 512-byte logical blocks:
> >> (500 GB/465 GiB)
> >> [  657.150223] sd 4:0:0:0: [sdb] Write Protect is off
> >> [  657.150232] sd 4:0:0:0: [sdb] Mode Sense: 47 00 10 08
> >> [  657.150456] sd 4:0:0:0: [sdb] No Caching mode page present
> >> [  657.150462] sd 4:0:0:0: [sdb] Assuming drive cache: write through
> >> [  657.151436] sd 4:0:0:0: [sdb] No Caching mode page present
> >> [  657.151440] sd 4:0:0:0: [sdb] Assuming drive cache: write through
> >> [  657.159907]  sdb: sdb1
> >> [  657.160852] sd 4:0:0:0: [sdb] No Caching mode page present
> >> [  657.160858] sd 4:0:0:0: [sdb] Assuming drive cache: write through
> >> [  657.160861] sd 4:0:0:0: [sdb] Attached SCSI disk
> >> [  657.268875] usb 2-2: Device not responding to set address.
> >> [  657.471456] usb 2-2: Device not responding to set address.
> >> [  657.674211] usb 2-2: device not accepting address 2, error -71
> >> [  657.780745] usb 2-2: Device not responding to set address.
> >> [  657.983519] usb 2-2: Device not responding to set address.
> >> [  658.186214] usb 2-2: device not accepting address 2, error -71
> >> [  658.292717] usb 2-2: Device not responding to set address.
> >> [  658.495537] usb 2-2: Device not responding to set address.
> >
> > From the logs, this smells like a power supply problem. Can you connect
> > an external supply or do you have a powered USB3 hub? It's possible that
> > it draws less power in USB2.0 mode, so that would explain what you describe.
> >
> > But I could be wrong alltogether :)
> >
> >
> > Daniel
> >
> 
> 
> 
> -- 
> 王思源
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-09 19:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-07  8:48 usb 3.0 hard drive doesn't work 王思源
2012-10-07 21:31 ` Daniel Mack
2012-10-09  1:51   ` WANG Siyuan
2012-10-09 19:35     ` Sarah Sharp

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.