On Sun, 15 Apr 2012, gene heskett wrote: > On Sunday, April 15, 2012 02:44:25 PM Alan Stern did opine: > > > On Sat, 14 Apr 2012, gene heskett wrote: > > > Plugging in a DSO I just bought from fleabay, I get this in dmesg: > > ... > > > > > scsi 13:0:0:0: Direct-Access e-Design DSO Flash Disk 1.0 PQ: 0 > > > ANSI: 2 > > > sd 13:0:0:0: Attached scsi generic sg6 type 0 > > > sd 13:0:0:0: [sdf] Unsupported sector size 1. > > > sd 13:0:0:0: [sdf] 0 512-byte logical blocks: (0 B/0 B) > > > sd 13:0:0:0: [sdf] 1-byte physical blocks > > > > ... > > > > > A one byte per sector disk? Boggles my mind. > Thanks for looking at it Alan. In case this drags on, what file would I > patch to put that conditional in? In drivers/scsi/sd.c:read_capacity_10(), you'd have to change the values for sector_size and lba. Obviously sector_size should be 512. Goodness knows what lba should be -- it's supposed to be the total number of sectors minus 1, but do you know how many sectors the thing really has? And who knows if the flash device will work even after you make this change... Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html