Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (6) </ 1 2 [3] 4 5 6 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: USB mass storage support, Help needed!< Next Oldest | Next Newest >
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Feb. 17 2007,16:17 QUOTE

You have an inconsistent partition table as shown from the "fdisk -l".
That is why you have io errors and other anomalies.
Back to top
Profile PM WEB 
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: Feb. 18 2007,20:14 QUOTE

This has happened also to newly formatted devices.

--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: Feb. 20 2007,16:31 QUOTE

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...


--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Feb. 21 2007,16:02 QUOTE

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.


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: Feb. 21 2007,22:51 QUOTE

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.
Back to top
Profile PM 
27 replies since Feb. 16 2007,17:38 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (6) </ 1 2 [3] 4 5 6 >/
reply to topic new topic new poll
Quick Reply: USB mass storage support

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code