Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I bought a cheap usb mp3 player a few weeks ago, which works perfectly under winxp. Under linux, however, I cannot get the thing to work. I re-compiled my custom build kernel, with USB MASS storage, and SCSI support and SCSI drive support (even SCSI general support as module).
Mounting goes just great, I mount with:
mount -t vfat /dev/sda /mnt/mp3
I can read it (after I put some mp3's on it via winxp). When i put a small file on it (a textfile for example), I can unmount it. When i put bigger files on it it (MP3's), it goes wrong. I get outputs like:
Mar 8 23:42:55 multi kernel: lost page write due to I/O error on sda
Mar 8 23:42:55 multi kernel: SCSI error : <0 0 0 0> return code = 0x10070000
Mar 8 23:42:55 multi kernel: end_request: I/O error, dev sda, sector 537
Mar 8 23:42:55 multi kernel: lost page write due to I/O error on sda
Mar 8 23:42:55 multi kernel: SCSI error : <0 0 0 0> return code = 0x10070000
Mar 8 23:42:55 multi kernel: end_request: I/O error, dev sda, sector 538
Mar 8 23:42:55 multi kernel: lost page write due to I/O error on sda
Mar 8 23:42:55 multi kernel: SCSI error : <0 0 0 0> return code = 0x10070000
Mar 8 23:42:55 multi kernel: end_request: I/O error, dev sda, sector 539
Mar 8 23:42:55 multi kernel: lost page write due to I/O error on sda
This is what lsusb says:
Bus 002 Device 002: ID 0dda:0301 Integrated Circuit Solution, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Disk /dev/sda: 262 MB, 262144000 bytes
9 heads, 56 sectors/track, 1015 cylinders
Units = cylinders of 504 * 512 = 258048 bytes
Device Boot Start End Blocks Id System
It looks like this is also an "hardware" issue also (not supported yet?). I cannot find the problem. When i unplug the device, it sometimes contains a mp3-file, but it has a fixed size of 4kb (or something)
I hope it's a think-fault of myself. Hope you guys can do anything with this information.
Originally posted by Emerson /dev/sda is the whole device, use /dev/sda1 for first partition.
Thanks Emerson.
But on my stick, /dev/sda1 is not a valid partition. I found on some other
forum that some USB sticks use the whole device as partition.
Originally posted by Emerson 'man mount' and 'man fstab' have plenty of information, but you better look at these yourself.
Yeah i'm that smart
I tried some parameters... but none of these help. I think I should be in the SCSI-emulation section somewhere... unless this
is all managed by the modules... Can anyone tell?
I would recommend to find a file system utility capable of analysing fat32 and run it on your player. This is the easiest way to get your parameters right.
Originally posted by Emerson I would recommend to find a file system utility capable of analysing fat32 and run it on your player. This is the easiest way to get your parameters right.
That's a good way to continue indeed... will try that!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.