LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-17-2005, 11:36 PM   #1
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
usb mp3 player: which file system?


I just bought a cheapo usb 1gb mp3 player that won't work ok. I have to figure this out so I can return it to the vendor in time, if its the case.

I plug it in, mount it with this fstab line:

/dev/sda /mnt/usb auto defaults,sync,umask=0000

and I can access the medium. But the problems are:

- I never could be able to save 1GB in it, or even close to it. The best try was ~200MB.
- It kinda looses the filesystem info, so that after a few plug/unplugs debian eventually will tell me that there's no filesystem in the medium.
- when I format it with mkdosfs and save some mp3 files, it can play those files. But if I try to save some more, it will fail with 'disk full' and other messages.

I started to play with the mkdosfs switches and finally I had some clearing message on my dmesg:
FAT: Filesystem panic (dev sda)
fat_get_cluster: invalid cluster chain (i_pos 0)
FAT: Filesystem panic (dev sda)
fat_get_cluster: invalid cluster chain (i_pos 0)
FAT: Filesystem panic (dev sda)
fat_get_cluster: invalid cluster chain (i_pos 0)
FAT: Filesystem panic (dev sda)

(lots of lines...)

So, it seems like a software issue, rather than a malfunctioning player. But I'd like to be positive about this.

Could you usb gurus give me any help on this?

System is Debian Sarge, mkdosfs 2.11.
 
Old 08-18-2005, 01:44 AM   #2
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
I have formatted all my usb sticks and mp3 players as fat32 with parted (qtparted) which makes it work just fine with usbmount (app to auto mount and umount the sticks) and works with any win pc aswell.
I've never used mkdosfs so I don't know if that might have anything to do with your problems.
You have to make sure though that before you unplug the device that there is NO activity going on between the device and debian. That could very well be the cause of loosing the filesystem and data.

http://usbmount.alioth.debian.org/
 
Old 08-18-2005, 08:36 AM   #3
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Original Poster
Rep: Reputation: 46
Thanks!
well, I unmounted the player before unplugging. This is enough for no activity, right?
 
Old 08-18-2005, 04:01 PM   #4
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Original Poster
Rep: Reputation: 46
It turned out the player was flawed. I swapped for another which works ok.
thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
usb mp3 player trawler Linux - Hardware 7 10-14-2005 05:56 PM
USB MP3 player recognition sketchy9 Linux - Newbie 7 10-01-2004 02:20 PM
Connecting mp3 player thru usb Superdude Linux - Hardware 1 08-16-2004 12:37 AM
usb-mp3 player godders48 Mandriva 3 10-01-2003 09:24 PM
USB Mp3 Player jmc_z28 Linux - Hardware 2 08-19-2003 09:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration