[linux-usb-devel] Problem with USB2.0 and USB-Storage writing to DVD+-R

[linux-usb-devel] Problem with USB2.0 and USB-Storage writing to DVD+-R

Post by Sergio Ver » Wed, 05 May 2004 02:10:12


----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi
I have just testet with 2.6.6rc3 without preemt but same problem

I have inserted also the dmesg output that i got that time, the last time this
message dissapeared to fast so now here the output

Cu Sergio

sandokan:/# cat /proc/bus/usb/devices

T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6
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.06
S: Manufacturer=Linux 2.6.6-rc3 ehci_hcd
S: Product=Intel Corp. 82801DB USB2
S: SerialNumber=0000:00:1d.7
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=03 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.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.6-rc3 uhci_hcd
S: Product=Intel Corp. 82801DB USB (Hub #3)
S: SerialNumber=0000:00:1d.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=255ms

T: Bus=02 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.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.6-rc3 uhci_hcd
S: Product=Intel Corp. 82801DB USB (Hub #2)
S: SerialNumber=0000:00:1d.1
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=255ms

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.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.6-rc3 uhci_hcd
S: Product=Intel Corp. 82801DB USB (Hub #1)
S: SerialNumber=0000:00:1d.0
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=255ms


dmesg_output ->
usb 4-3: new high speed USB device using address 2
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: HL-DT-ST Model: DVDRAM GSA-4081B Rev: A100
Type: CD-ROM ANSI SCSI revision: 02
USB Mass Storage device found at 2
sr0: scsi3-mmc drive: 32x/32x writer dvd-ram cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Hangcheck: hangcheck value past margin!
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 5
scsi: Device offlined - not ready after error recovery: host 0 channel 0 id 0
lun 0
usb 4-3: USB disconnect, address 2
sr 0:0:0:0: Illegal state transition offline->cancel
Badness in scsi_device_set_state at drivers/scsi/scsi_lib.c:1640
Call Trace:
[<e1a887e0>] scsi_device_set_state+0xc0/0x110 [scsi_mod]
[<e1a83d18>] scsi_device_cancel+0x28/0xfb [scsi_mod]
[<e1a83e30>] scsi_device_cancel_cb+0x0/0x20 [scsi_mod]
[<c020973d>] device_for_each_child+0x3d/0x70
[<e1a83e82>] scsi_host_cancel+0x32/0xa0 [scsi_mod]
[<e1a83e30>] scsi_device_cancel_cb+0x0/0x20 [scsi_mod]
[<e1936412>] usb_buffer_free+0x52/0x60 [usbcore]
[<e1a83f09>]
 
 
 

1. [linux-usb-devel] [2.6.10-rc2-mm3] Broken usb2 mass-storage?

2. [linux-usb-devel] spontaneous disconnect with "usb-storage: implement autosuspend"


I believe the offending commit needs to be reverted.
It just breaks too much stuff, including my Sandisk USB sticks.


Ditto for several other devices that are being slowly special-cased,
and many that have yet to be tested. This commit is (unfortunately)
a disaster with many regressions.

Andrew, Linus?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/

3. [linux-usb-devel] spontaneous disconnect with "usb-storage: implement autosuspend"

4. [linux-usb-devel] Patch for usb-storage in 2.4

5. [linux-usb-devel] [usb-storage] schedule_timeout: wrong timeout value c1a95554

6. [linux-usb-devel] [2.6-test] Bug in usb-storage or scsi?

7. [linux-usb-devel] System stalls using usb-storage

8. [linux-usb-devel] [usb-storage] schedule_timeout: wrong timeout value c1a95554

9. [linux-usb-devel] 2.6.16-rc: saa7134 + usb-storage = freeze

10. [linux-usb-devel] usb-storage: WIN_SECURITY_UNLOCK

11. [linux-usb-devel] spontaneous disconnect with "usb-storage: implement autosuspend"

12. [linux-usb-devel] [Fwd: [Linux-usb-users] Fwd: 2.6.17-rc6-mm2 - USB issues]

13. [linux-usb-devel] BUG: 2.6.14/2.6.15: USB storage/ext2fs uninterruptable sleep

14. [linux-usb-devel] 2.6.10-rc1-mm4: USB storage not working on AMD64

15. [linux-usb-devel] [Fwd: [Linux-usb-users] Fwd: 2.6.17-rc6-mm2 - USB issues]