Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] writing to USB storage device (was 'Disk on a keyfob')



On Mon, 4 Feb 2002 19:09:44 +0900, Frank Bennett
<bennett@example.com> wrote to tlug@example.com:

> I picked up an "Easy Disk" keyfob to see what I could do with it.  It
> looks like an interesting gadget.  When I threw the usb-storage and sd_mod
> drivers into a 2.4.16 kernel, the device turned up, but was unwritable
> with lotsa SCSI errors.  I found a success report and a patch to work
> around the readonly limitation at:
> 
>   http://www.stray.ch/articles/dok.html

Sorry to join in so late, but I'm interested in a similar problem.

I also use a USB storage device: a SanDisk Compact Flash card reader. The
device shows up OK as /dev/sda and I can mount and read from /dev/sda1 fine.
Writing is a bigger problem with random crashes. Since it crashes the
kernel, all I can do is hit the reset button - Ctrl-Alt-Del is inoperative.

This can be a problem If I use a card for something else than the digital
camera, since the camera requires what seems to me a wierd DOS partition.
I can grab an image of the card inserted with dd, but I can't write it back
in order to restore the card's partition table and partitions. I can't even
write back just sufficient data to restore the partition table, FAT and
(empty) root directory.

FWIW I'm using RH 7.1 with a 2.4.10 kernel - hoping it doesn't mean a kernel
upgrade because this is the last one to be able to power my ATX box off!
(I've already tried all subsequent ones up to 2.4.17 - even the 2.5.1
development kernel)

-- 
 ____________________________________________
| G. Stewart   --   gstewart@example.com |
| Port de Pontille, FR-37500 CHINON, FRANCE. |
 ____________________________________________


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links