Other Help Topics :: USB mass storage support



You have an inconsistent partition table as shown from the "fdisk -l".
That is why you have io errors and other anomalies.

This has happened also to newly formatted devices.
Hmmm. I wonder if it's because of the old Linux kernel DSL uses?
Xubuntu can regonize all my USB mass storage devices without problems...

Quote (Zucca @ Feb. 20 2007,11:31)
Hmmm. I wonder if it's because of the old Linux kernel DSL uses?

Kernel 2.4.27 isn't "old" and you can read the changelogs at kernel.org to see how many 2.6 improvements and features have been backported to the 2.4 kernels. Hotplug has always been included in the 2.4 kernel and was also backported to the later 2.2 kernels. I don't think there are any significant differences between 2.4 and 2.6 with respect to hotplug detection, but there are differences in how events are handled (e.g., udev/d and hal/d).

http://wiki.linuxquestions.org/wiki/Hotplug
http://linux-hotplug.sourceforge.net/

A little timewarp...
Quote
Quote

sde : block size assumed to be 512 bytes, disk size 1GB.  
sde: test WP failed, assume Write Enabled
sde: I/O error: dev 08:40, sector 0
I/O error: dev 08:40, sector 0
unable to read partition table

It assumes that my memcard has size of one G byte.
I need to change that somehow...


Your device is being detected by the "old" kernel; the fdisk output suggested, and so does this dmesg output, that your problems are related to the partitioning of your device. So does your suggestion that it's misread the size of the device. That's not a kernel problem (afaik; I'm open to being shown otherwise). How is the device partitioned -- number of partitions (when it was listed as sdd, the fdisk listed four partitions), filesystem type, size of partitions, total size (and type) of storage device? Did you install something that may have screwed up the MBR on that device?

Quote
Xubuntu can regonize all my USB mass storage devices without problems...

DSL does recognize your device. You just can't mount it for some reason. Are you running testing the same device concurrently on different boxes or did it once work under Xubuntu and now it doesn't under DSL? If the "problem" isn't being detected concurrently, my guess would be something on your device changed from the time you mounted it in Xubuntu and now.

Again, DSL recognizes all my properly-partitioned USB mass storage devices without problems and I can mount them all, too. It always has regardless of how "new" my devices are compared to the age of kernel 2.4.27. Dittos for boxes I have running 2.2 kernels with hotplug. I don't think the age of the kernel is an issue.

I don't think anyone else (?) has reported these errors, so it has to be something specific to your setup.

How old are these usb devices, and what exactly are they? You mentioned an mp3 player.  Camera flash cards or similar?  The manufacturers generally say not to reformat these from your pc but instead to use their tools.

Regardless of whether or not these same devices are mounting in Kubuntu, I'd consider backing up all data contained therein immediately. They could easily be dying. If you can't mount them then use dd or a program (Norton Ghost?) that can make a device image from raw data.

Can dd even read from one of these devices in dsl?

ie does dd if=/dev/sde of=/home/dsl/diskout bs=512 run ok?

If dd can't read the raw data then it's nothing to do with mount or partition tables, I'd say your device is stuffed.

Next Page...
original here.