SCSI error: return code = 0x10070000 (2.6.15.5 on a flash memory card reader)

Submitted by roqz
on March 6, 2006 - 8:29am

After building a new file server this weekend I found that the internal flash media reader I addedd to it isn't working at all.

This is the dmesg output after scanning the device:

Vendor: Mitsumi Model: VT6205-DevB Rev: 2.67
Type: Direct-Access ANSI SCSI revision: 02
sd 0:0:0:0: Attached scsi removable disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
Vendor: Mitsumi Model: VT6205-DevM Rev: 2.67
Type: Direct-Access ANSI SCSI revision: 02
sd 0:0:0:1: Attached scsi removable disk sdb
sd 0:0:0:1: Attached scsi generic sg1 type 0

And this is what I get when I try to mount or read (cat, fdisk, etc) a SD card.

SCSI device sdb: 120832 512-byte hdwr sectors (62 MB)
sdb: Write Protect is off
sdb: Mode Sense: 0b 00 00 08
sdb: assuming drive cache: write through
SCSI device sdb: 120832 512-byte hdwr sectors (62 MB)
sdb: Write Protect is off
sdb: Mode Sense: 0b 00 00 08
sdb: assuming drive cache: write through
sdb:<6>sd 0:0:0:1: SCSI error: return code = 0x10070000
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
sd 0:0:0:1: SCSI error: return code = 0x10070000
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
unable to read partition table
sd 0:0:0:1: SCSI error: return code = 0x10070000
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
sd 0:0:0:1: SCSI error: return code = 0x10070000
end_request: I/O error, dev sdb, sector 8
Buffer I/O error on device sdb, logical block 1
sd 0:0:0:1: SCSI error: return code = 0x10070000
end_request: I/O error, dev sdb, sector 16
.....

And it goes on and on... It is clearly seen that the device is recognized and that it reads the basic information of the drive (ie. memory size, write protection) I read about this bug: http://bugme.osdl.org/show_bug.cgi?id=3223

But it is already closed, and for a very old kernel version, however it mentions something on adding this kind of device to unusual_devs.h... Is there something I must do?

Any other USB Mass Storage device and everything else works fine... Any recommendations would be very useful. :)

Fixed

on
March 25, 2006 - 4:28pm

As a side note, if somebody has this problem, I submitted a little patch/report of unusual_devs.h that fixes the problem. Thanks to Alan Stern and Greg Kroah-Hartman for reviewing it. :)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.