I bought a new and possibly unsupported device, "mpathy 3310", a
CompactFlash-based mp3 player with USB connection. I was told that it's
a USB storage device, "like all other such players and jukeboxes". But I
couldn't make my linux kernel 2.4.18 (stable Debian 3.0) work with it. I
have all scsi, usbcore, usb-uhci, usb-storage modules loaded (I
recompiled the kernel with *all* usb devices supported). usbmgr is
running, I added information about the new device (i.e. its
vendor/product numbers and the module name 'usb-storage') to
/etc/usbmgr/config file as appropriate. I get messages about
hot-plugging a new storage device, but then there are various failure
messages in kern.log and daemon.log, and the scsi subsystem hangs when I
try sg3utils such as sg_scan -i or sginfo -l or even 'cat /dev/sg0'. All
of this just hangs. fdisk /dev/sda or other devices says "no device".
The USB system and/or the scsi system seems unstable after I plug and
unplug the device a few times. I am unable to 'rmmod usb-storage'
(command hangs).


How do I diagnoze this problem further? I can provide lots of log 
messages of the kind "scsi command failed", "auto-sense failure", etc. 
coming from usb-storage into kern.log.

cat /proc/bus/usb/devices gives:

 T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
 P: Vendor=0000 ProdID=0000 Rev= 0.00
 S: Product=USB UHCI Root Hub
 S: SerialNumber=8400
 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
 I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
 E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
 T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
 P: Vendor=090a ProdID=1100 Rev= 1.00
 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 60mA
 I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=01 Prot=01 Driver=(none)
 E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
 E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
 E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=255ms

cat /proc/scsi/scsi gives:

 Attached devices:
 Host: scsi1 Channel: 00 Id: 00 Lun: 00
 Vendor: Model: Rev:
 Type: <NULL> ANSI SCSI revision: ffffffff

however, /proc/scsi contains files /proc/scsi/usb-storage-0/0 and 
/proc/scsi/usb-storage-1/1,

cat usb-storage-0/0 file gives

 Host scsi0: usb-storage
 Vendor: Unknown
 Product: Unknown
 Serial Number: None
 Protocol: Reduced Block Commands (RBC)
 Transport: Control/Bulk
 GUID: 090a11000000000000000000
 Attached: Yes

but /proc/scsi/usb-storage-1/1 is empty.

this is the problem: it tries to attach a scsi host but fails, then it
tries to attach a second scsi host and also kind of fails.
/proc/scsi/scsi gives only one host (scsi1) and not scsi0. Note that I
have no other scsi hosts or cards.

I'd appreciate any help.


-- 
        Serge



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to