Failure accessing 2GB SD card using Neodio 7-in-1 card reader
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Feisty reads my 2 GB SD card fine through my camera, but not through my Neodio Technologies Corp. 7-in-1 Card Reader. Note: I have tried with the card formatted both by gparted in Feisty with the card mounted through the camera, and by Windows, with the same result.
1. Syslog when mounting through the Neodio 7-in-1:
[163538.908000] SCSI device sdf: 1960448 512-byte hdwr sectors (1004 MB)
[163538.908000] sdf: Write Protect is off
[163538.908000] sdf: Mode Sense: 03 00 00 00
[163538.908000] sdf: assuming drive cache: write through
[163538.912000] SCSI device sdf: 1960448 512-byte hdwr sectors (1004 MB)
[163538.912000] sdf: Write Protect is off
[163538.912000] sdf: Mode Sense: 03 00 00 00
[163538.912000] sdf: assuming drive cache: write through
[163538.912000] sdf: sdf1
[163538.916000] sdf: p1 exceeds device capacity
[163538.932000] attempt to access beyond end of device
[163538.932000] sdf: rw=0, want=3920768, limit=1960448
[163538.932000] printk: 114 messages suppressed.
[163538.932000] Buffer I/O error on device sdf1, logical block 3920512
[163538.936000] attempt to access beyond end of device
[163538.936000] sdf: rw=0, want=3920769, limit=1960448
and fdisk -l shows:
Disk /dev/sdf: 1003 MB, 1003749376 bytes
29 heads, 28 sectors/track, 2414 cylinders
Units = cylinders of 812 * 512 = 415744 bytes
Device Boot Start End Blocks Id System
/dev/sdf1 * 1 4829 1960320+ b W95 FAT32
The number of cylinders and size are wrong (should be 4828 and 2007 MB), but the other details are correct.
Nautilus will read and write to the card, but some files get truncated *without* any warning that this happened.
2. Mounting through the camera works fine:
syslog:
[164487.828000] scsi 15:0:0:0: Direct-Access PENTAX DIGITAL_CAMERA 1.00 PQ: 0 ANSI: 0 CCS
[164487.832000] SCSI device sdh: 3920896 512-byte hdwr sectors (2007 MB)
[164487.832000] sdh: Write Protect is off
[164487.832000] sdh: Mode Sense: 00 06 00 00
[164487.832000] sdh: assuming drive cache: write through
[164487.836000] SCSI device sdh: 3920896 512-byte hdwr sectors (2007 MB)
[164487.840000] sdh: Write Protect is off
[164487.840000] sdh: Mode Sense: 00 06 00 00
[164487.840000] sdh: assuming drive cache: write through
[164487.840000] sdh: sdh1
[164487.844000] sd 15:0:0:0: Attached scsi removable disk sdh
[164487.844000] sd 15:0:0:0: Attached scsi generic sg8 type 0
fdisk -l:
Disk /dev/sdh: 2007 MB, 2007498752 bytes
29 heads, 28 sectors/track, 4828 cylinders
Units = cylinders of 812 * 512 = 415744 bytes
Device Boot Start End Blocks Id System
/dev/sdh1 * 1 4829 1960320+ b W95 FAT32
3. A 4GB CF flash card mounted via the Neodio works fine. fdisk -l shows:
Disk /dev/sdc: 4110 MB, 4110188544 bytes
255 heads, 63 sectors/track, 499 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 500 4013824+ 6 W95 FAT32
This looks like a duplicate of 89138, but that bug is flagged as invalid and I'm not sure what that means.
This bug occurs also in Gutsy tribe 5 and in Edgy.