On Fri, 21 Oct 2005, Rik Bobbaers wrote:

> i've got an usb stick over here... (128MB , lsusb says:
> Bus 001 Device 017: ID 090c:1000 Feiya Technology Corp.)
> dmesg output:
> usb-storage: device found at 16
> usb-storage: waiting for device to settle before scanning
>   Vendor: USB       Model: DISK Pro          Rev: 3000
>   Type:   CD-ROM                             ANSI SCSI revision: 02
> sr0: scsi3-mmc drive: 2x/4x writer caddy
> A ttached scsi CD-ROM sr0 at scsi10, channel 0, id 0, lun 0
> usb-storage: device scan complete
> 
> ssh agent says the following:
> Oct 19 09:42:38 lois scsi.agent[15451]: cdrom at
>  /devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/host12/target12:0:0/12:0:0
> :0
> 
> fstab-sync:
> Oct 19 09:42:38 lois fstab-sync[15496]: added mount point /media/cdrecorder1
>  for /dev/scd0
> 
> it adds a scsi cdrom entry to fstab (some script)

...

> so, i think the usb stick thinks it's a cdrom device. i don't know enough
> about usb.handmap or so to make the stick available again, or to get the data
> off...
> 
> what happened to the stick???
> it worked fine at first. it was always connected to a usb hub (together with
>  a cd writer). they unplugged the cd writer, and now this is what happened to
>  the usb stick... (it's not mine, but a collegue's, so i don't know the
>  specific details)
> 
> off course i tested it without the hub, on my own computer...
> 
> do you have any ideas??? (in windows, it recognises the usb stick's original
> stuff... some stupid flash animation thing), but the files are all gone
> there.
> 
> is there a way to solve/explain this? can i try something else??? can i dump
> it's contents???

Clearly the stick is broken.  It does think it is a CD drive.

You might be able to dump its contents by using dd:

        dd if=/dev/scd0 bs=1M count=128 of=/some_file...

If that works, you could attach the file to the loop driver and mount the 
data.  However the stick itself probably isn't usable any more.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to