> > dmesg shows lines like this (alot) after trying to read:
> > I/O error: dev 0b:00, sector 9372632
> > I/O error: dev 0b:00, sector 9372640
> > I/O error: dev 0b:00, sector 9372640
> > I/O error: dev 0b:00, sector 9372648
> > I/O error: dev 0b:00, sector 9372648
> > I/O error: dev 0b:00, sector 9372656
> > I/O error: dev 0b:00, sector 9372656
> >
> > What could be wrong?  The DVD laser works, as when I plug this into a
> > windows (i know, i know, but it works..) PC, i can play the DVD..
>
> What might be wrong is that the communication between the enclosure and
> the drive is highly sensitive to some timing details (which we don't
> understand), and that Linux tries to drive the device a little too fast.
>
Great, thanks for the info..

> Of course that's just a guess, based on similar experiences other people
> have had -- you really didn't provide much information to go on besides
> "this isn't working... why not?".  Would you care to post the contents
> of /proc/bus/usb/devices with your drive plugged in?  You can also try
> turning on the usb-storage debugging option in your kernel's configuration
> and posting the system log.
>
OK, now i know where to look.. sorry, but my searches were coming up blank..
It's alwsy easier to ask a question that you kow something about than when
you dont..

Here is /proc/hub/usb/devices:
 T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 5
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.04
S:  Manufacturer=Linux 2.4.24 ehci_hcd
S:  Product=NEC Corporation USB 2.0
S:  SerialNumber=00:09.2
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=   2 Ivl=256ms
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=04b4 ProdID=6830 Rev= 0.01
S:  Manufacturer=Cypress Semiconductor
S:  Product=USB2.0 Storage Device
S:  SerialNumber=100000029614
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

I've removed usb-ohci for now (rmmod) as it doens't semto make a diference..
>From what i've read ehci is meant to pass the device on to ohci/uhci when
its not usb2..

Here is some system log of me trying to mount the device (which works by the
way, with a DVD disk in..)
UDF-fs DEBUG super.c:753:udf_load_pvoldesc: recording time 927138189/0,
1999/05/19 18:23 (1801)
UDF-fs DEBUG super.c:763:udf_load_pvoldesc: volIdent[] = 'GOODWILL'
UDF-fs DEBUG super.c:770:udf_load_pvoldesc: volSetIdent[] =
'26B392E400000000GOODWILL'
UDF-fs DEBUG super.c:962:udf_load_logicalvol: Partition (0:0) type 1 on
volume 1
UDF-fs DEBUG super.c:972:udf_load_logicalvol: FileSet found in
LogicalVolDesc at block=0, partition=0
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command READ_10 (10 bytes)
usb-storage: 28 00 00 00 00 40 00 00 01 00 00 00
usb-storage: Bulk command S 0x43425355 T 0x2a Trg 0 LUN 0 L 2048 F 128 CL 10
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 2048 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 2048/2048
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x2a R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command READ_10 (10 bytes)
usb-storage: 28 00 00 00 00 41 00 00 01 00 00 00
usb-storage: Bulk command S 0x43425355 T 0x2b Trg 0 LUN 0 L 2048 F 128 CL 10
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 2048 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 2048/2048
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x2b R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
UDF-fs DEBUG super.c:800:udf_load_partdesc: Searching map: (0 == 0)
UDF-fs DEBUG super.c:882:udf_load_partdesc: Partition (0:0 type 1511) starts
at physical 261, block length 2254665
UDF-fs DEBUG super.c:1215:udf_load_partition: Using anchor in block 256
UDF-fs DEBUG super.c:1448:udf_read_super: Lastblock=0
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command READ_10 (10 bytes)
usb-storage: 28 00 00 00 01 05 00 00 01 00 00 00
usb-storage: Bulk command S 0x43425355 T 0x2c Trg 0 LUN 0 L 2048 F 128 CL 10
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 2048 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 2048/2048
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x2c R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
UDF-fs DEBUG super.c:725:udf_find_fileset: Fileset at block=0, partition=0
UDF-fs DEBUG super.c:786:udf_load_fileset: Rootdir at block=2, partition=0
UDF-fs INFO UDF 0.9.6-rw (2002/03/11) Mounting volume 'GOODWILL', timestamp
1999/05/20 02:23 (11e0)
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command READ_10 (10 bytes)
usb-storage: 28 00 00 00 01 07 00 00 01 00 00 00
usb-storage: Bulk command S 0x43425355 T 0x2d Trg 0 LUN 0 L 2048 F 128 CL 10
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 2048 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 2048/2048
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x2d R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.

And here is some log of me trying to read a file from the disk.. (which
doesn't work..)

usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command READ_10 (10 bytes)
usb-storage: 28 00 00 00 08 1f 00 00 08 00 00 00
usb-storage: Bulk command S 0x43425355 T 0x32 Trg 0 LUN 0 L 16384 F 128 CL
10
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 4096 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 0/4096
usb-storage: Bulk data transfer result 0x1
usb-storage: Attempting to get CSW...
usb-storage: clearing endpoint halt for pipe 0xc0040280
usb-storage: usb_stor_clear_halt: result=0
usb-storage: Attempting to get CSW (2nd try)...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x32 R 16384 Stat 0x1
usb-storage: -- transport indicates command failure
usb-storage: -- unexpectedly short transfer
usb-storage: Issuing auto-REQUEST_SENSE
usb-storage: Bulk command S 0x43425355 T 0x33 Trg 0 LUN 0 L 18 F 128 CL 6
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 18 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x33 R 0 Stat 0x0
usb-storage: -- Result from auto-sense is 0
usb-storage: -- code: 0xf0, key: 0x5, ASC: 0x6f, ASCQ: 0x3
usb-storage: Illegal Request: (unknown ASC/ASCQ)
usb-storage: scsi cmd done, result=0x2
usb-storage: *** thread sleeping.
 I/O error: dev 0b:00, sector 8316

Mick



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to