View previous topic :: View next topic |
Author |
Message |
Evinyatar n00b
Joined: 15 Feb 2003 Posts: 70
|
Posted: Wed Jan 14, 2004 11:19 pm Post subject: 2.6.1 and USB storage |
|
|
I've got a SimpleTech FlashLink compactflash card reader which used to work great under 2.4.22. Under 2.6.1 however, I get an Oops from the usb_storage module: Code: | hub 2-0:1.0: new USB device on port 1, assigned address 2
bus usb: add device 2-1
bound device '2-1' to driver 'usb'
bus usb: add device 2-1:1.0
Initializing USB Mass Storage driver...
bus usb: add driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Datafab Model: MDCFE-B USB CF R Rev: 0015
Type: Direct-Access ANSI SCSI revision: 02
bus scsi: add device 0:0:0:0
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
bound device '2-1:1.0' to driver 'usb-storage'
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
bus scsi: add driver sd
sda : READ CAPACITY failed.
sda : status=0, message=00, host=7, driver=00
sda : sense not available.
sda: assuming Write Enabled
sda: assuming drive cache: write through
usb 2-1: USB disconnect, address 2
bus usb: remove device 2-1:1.0
scsi0 (0:0): rejecting I/O to dead device
scsi0 (0:0): rejecting I/O to dead device
scsi0 (0:0): rejecting I/O to dead device
sda : READ CAPACITY failed.
sda : status=0, message=00, host=5, driver=00
sda : sense not available.
sda: assuming Write Enabled
sda: assuming drive cache: write through
scsi0 (0:0): rejecting I/O to dead device
scsi0 (0:0): rejecting I/O to dead device
scsi0 (0:0): rejecting I/O to dead device
sda : sector size 0 reported, assuming 512.
SCSI device sda: 1 512-byte hdwr sectors (0 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
/dev/scsi/host0/bus0/target0/lun0:<3>scsi0 (0:0): rejecting I/O to dead device
Buffer I/O error on device sda, logical block 0
scsi0 (0:0): rejecting I/O to dead device
Buffer I/O error on device sda, logical block 0
unable to read partition table
/dev/scsi/host0/bus0/target0/lun0:<3>scsi0 (0:0): rejecting I/O to dead device
Buffer I/O error on device sda, logical block 0
unable to read partition table
scsi0 (0:0): rejecting I/O to dead device
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
bound device '0:0:0:0' to driver 'sd'
bus scsi: remove device 0:0:0:0
kernel BUG in usb_stor_release_resources at drivers/usb/storage/usb.c:848!
Oops: Exception in kernel mode, sig: 5 [#1]
NIP: F278F98C LR: F278FA34 SP: EFDADE40 REGS: efdadd90 TRAP: 0700 Not tainted
MSR: 00029032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c0d85bc0[5] 'khubd' Last syscall: -1
GPR00: 00000003 EFDADE40 C0D85BC0 EF2671BC C037D360 00000001 EBE2C018 00100100
GPR08: 0000000E 00000001 C037D370 00000002 DFFFFFFF 00000000 00000000 00000000
GPR16: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
GPR24: 00000000 C0017B54 EFCC0EE0 00000001 EEB34E24 EEB34000 F27985D4 EEB34000
Call trace:
[f278fc20] storage_disconnect+0x4c/0x60 [usb_storage]
[c01754cc] usb_unbind_interface+0x88/0x8c
[c0129374] device_release_driver+0x84/0x88
[c0129548] bus_remove_device+0x90/0xec
[c0127edc] device_del+0xac/0xfc
[c017c4f0] usb_disable_device+0x9c/0xd8
[c01760bc] usb_disconnect+0x9c/0x134
[c0178cfc] hub_port_connect_change+0x2e8/0x2ec
[c0178ff0] hub_events+0x2f0/0x358
[c0179094] hub_thread+0x3c/0xe0
[c000b090] kernel_thread+0x44/0x60
Oops: kernel access of bad area, sig: 11 [#2]
NIP: 00000000 LR: F278EF94 SP: EBE15FA0 REGS: ebe15ef0 TRAP: 0401 Not tainted
MSR: 10001032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = ebe3b0e0[3806] 'usb-storage' Last syscall: -1
GPR00: 00050000 EBE15FA0 EBE3B0E0 EBE2C060 C000B308 00E00000 00000000 00049032
GPR08: 00000000 00070000 22000028 00000000 82002822
Call trace:
[c000b090] kernel_thread+0x44/0x60
| And the device is useless now. Anyone else get this? |
|
Back to top |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Wed Jan 14, 2004 11:24 pm Post subject: |
|
|
I managed to get USB storage working with 2.6.1 - I initially forgot to include SCSI support (in 2.4 it forced you, but in 2.6 it's optional) but once I'd done that, /dev/sda1 appeared and the device was all good. 15 megs/sec transfer too - not bad. Sorry I can't really help more.
You could try debugging the OOPS - there's info around on how to do that. |
|
Back to top |
|
|
symbiote Tux's lil' helper
Joined: 06 Oct 2002 Posts: 87 Location: The 3rd World
|
Posted: Thu Jan 15, 2004 12:58 am Post subject: |
|
|
Upgrading/recompiling hotplug solved ALL my USB woes. From the Canon i450 printer to my Digital Ixus v3. _________________ symbiote: interstellar mohican-general of the stealthdildo buddhist-warrior ninjas
[*] symbiote@stealthdildo.net
[*] gpg: 1024D/3FC84E5B
[*] http://stealthdildo.net/pgp-key |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|