2002-04-25 19:40:44

by Michael De Nil

[permalink] [raw]
Subject: USB Mass Storage -> Asus Stick

Heyz

I have an Asus USB Mass Storage Stick here, but when connecting it to my
laptop running GNU/Linux 2.4.17, my system freezes... (It takes a couple
of seconds between connection & freez)

I don't get any oops or something like that, ...

I can find in the syslog:

Apr 25 21:28:51 tina kernel: hub.c: USB new device connect on bus1/2,
assigned device number 3
Apr 25 21:28:51 tina kernel: usb-storage: act_altsettting is 0
Apr 25 21:28:51 tina kernel: usb-storage: id_index calculated to be: 81
Apr 25 21:28:51 tina kernel: usb-storage: Array length appears to be: 83
Apr 25 21:28:51 tina kernel: usb-storage: USB Mass Storage device detected
Apr 25 21:28:51 tina kernel: usb-storage: Endpoints: In: 0xca1ad820 Out:
0xca1ad834 Int: 0xca1ad848 (Period 1)
Apr 25 21:28:51 tina kernel: usb-storage: New GUID
0d7d01000000171a0b0d01a7
Apr 25 21:28:51 tina kernel: usb-storage: GetMaxLUN command result is 1,
data is 0
Apr 25 21:28:51 tina kernel: usb-storage: Transport: Bulk
Apr 25 21:28:51 tina kernel: usb-storage: Protocol: Transparent SCSI
Apr 25 21:28:51 tina kernel: usb-storage: *** thread sleeping.
Apr 25 21:28:51 tina kernel: scsi1 : SCSI emulation for USB Mass Storage
devices
Apr 25 21:28:51 tina kernel: usb-storage: queuecommand() called
Apr 25 21:28:51 tina kernel: usb-storage: *** thread awakened.
Apr 25 21:28:51 tina kernel: usb-storage: Command INQUIRY (6 bytes)
Apr 25 21:28:51 tina kernel: usb-storage: 12 00 00 00 ff 00 00 00 95 c6 1e
c0
Apr 25 21:28:51 tina kernel: usb-storage: Bulk command S 0x43425355 T 0x3
Trg 0 LUN 0 L 255 F 128 CL 6
Apr 25 21:28:51 tina kernel: usb-storage: Bulk command transfer result=0
Apr 25 21:28:51 tina kernel: usb-storage: usb_stor_transfer_partial():
xfer 255 bytes
Apr 25 21:28:51 tina kernel: usb-storage: usb_stor_bulk_msg() returned 0
xferred 36/255
Apr 25 21:28:51 tina kernel: usb-storage: Bulk data transfer result 0x1
Apr 25 21:28:51 tina kernel: usb-storage: Attempting to get CSW...


grtz
michael

-----------------------------------------------------------------------
Michael De Nil -- [email protected]
Linux LiSa 2.4.18 #4 SMP ma apr 1 11:11:48 CEST 2002 i686
21:35:01 up 2 days, 1:58, 7 users, load average: 0.35, 0.13, 0.06
-----------------------------------------------------------------------


2002-04-26 08:19:32

by Peter Wächtler

[permalink] [raw]
Subject: Re: USB Mass Storage -> Asus Stick

Michael De Nil wrote:
> Heyz
>
> I have an Asus USB Mass Storage Stick here, but when connecting it to my
> laptop running GNU/Linux 2.4.17, my system freezes... (It takes a couple
> of seconds between connection & freez)
>
> I don't get any oops or something like that, ...
>

It seems there are deadlock situations in usb-storage and the filesystem.
I get lockups on SMP boxes, hanging insmod usb-storage on UP with
Datafab (special transport) but also lockups with Transcend/ScanLogic.

Until now, I don't have a clue