I have a camera+mp3 player that isn't well supported by "gphoto2", so I picked up a fairly standard USB CompactFlash reader, made by Verbatim. But when I tried to use it under my Redhat 8.0 system, I get these error messages:
>> root# dmesg >> hub.c: USB new device connect on bus1/1, assigned device number 2 >> usb.c: USB device 2 (vend/prod 0x55aa/0xb000) is not claimed by any active driver. >> Initializing USB Mass Storage driver... >> usb.c: registered new driver usb-storage >> scsi0 : SCSI emulation for USB Mass Storage devices >> usb-uhci.c: interrupt, status 2, frame# 1914 >> Vendor: Model: Rev: >> Type: Direct-Access ANSI SCSI revision: 02 >> WARNING: USB Mass Storage data integrity not assured >> USB Mass Storage device found at 2 >> USB Mass Storage support registered. >> >> root# mount -t msdos /dev/sda1 /mnt/flash >> mount: /dev/sda1 is not a valid block device >> >> root# dmesg >> Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 >> SCSI device sda: 251905 512-byte hdwr sectors (129 MB) >> usb-uhci.c: interrupt, status 3, frame# 514 >> sda: Write Protect is off >> sda: sda1 >> SCSI error: host 0 id 0 lun 0 return code = 8000002 >> Sense class 7, sense error 0, extended sense 0 >> SCSI device sda: 251905 512-byte hdwr sectors (129 MB) >> sda: Write Protect is off >> sda: I/O error: dev 08:00, sector 0 >> I/O error: dev 08:00, sector 0 >> unable to read partition table My system is a Compaq Presario something-or-other with built-in USB ports. They work perfectly fine with my Handspring Visor. And I've got all the most recent kernel rpm's installed. Eventually I found a way to read and write data to the drive, but it is a hell of a kludge, and is really rather awkward. I can read data from the drive like this: <plug in drive's usb cable> root# dd if=/dev/sda1 of=temp.file <wait for command prompt again> <remove drive's usb cable> root# mount -t msdos -o loop,rw temp.file /mnt/loop And I can write data back to the drive like this: root# umount /mnt/loop <plug in drive's usb cable> root# dd if=temp.file of=/dev/sda1 <wait for command prompt again> <remove drive's usb cable> What is especially odd here is that I can only read or write to the drive ONCE. After reading, or writing, I HAVE to unplug the drive's usb cable or else I only get a timeout error on the next attempt. The most annoying bit is that I've got to write the whole disk image in one go, I can't just make incremental changes such as just adding a single file, or changing the order of the files in the directory. (The mp3 playback plays files only in directory order.) I suppose I COULD write something that keeps track of "before" and "after" images, and seeks past the 512-byte blocks that had no changes. But that's too much work for something that might not even end up working, not to mention that I'd have to waste 256MB of drive space. Before posting this message, I did check google for people with this same problem. I found more than one person with the same problem, but no working solutions posted. I have tried rebooting my computer with the reader and flash card in the drive at boot time, to no effect. Does anybody have any suggestions on how to get this going properly? -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list