LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-12-2015, 01:23 AM   #1
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Rep: Reputation: 3
Some kind of error on SD card


I have a laptop on which I run Xubuntu. I was downloading some music on the sd card which I use on my Zen mp3 player. Afterward when I turned on the mp3 player there was a box that read, "Errors were detected. Media might not be safely removed during copy. Proceed?" and an option of "yes" or "no."
When I click "yes," everything appears to work just fine. How can I get rid of this glitch so that the mp3 player will run smoothly? Thank you!
 
Old 07-12-2015, 01:32 AM   #2
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on freest; has been KDE, CLI, Novena but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,546
Blog Entries: 2

Rep: Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487
I don't know about the player but how old is the SD and hopefully you keep backups?
Quote:
SD cards have a limited number of read and write cycles.
...
100,000 write cycles before errors begin to appear
...
 
Old 07-12-2015, 01:45 AM   #3
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3
The SD card is roughly three years old. But I don't have anywhere NEAR that number of write cycles! Basically, it still plays--it's just that something is on there that shouldn't be. So far as I can tell, there aren't any "errors"--only the box claiming there are! There must be a way to clean up an SD card without eliminating everything. Any suggestions?
 
Old 07-12-2015, 02:48 AM   #4
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
Look at the SD card in a distro that has a Partition editor available (any good front end for Parted). Without "mounting"... run a check on the device and see if you can't correct the errors...
 
1 members found this post helpful.
Old 07-12-2015, 05:09 AM   #5
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on freest; has been KDE, CLI, Novena but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,546
Blog Entries: 2

Rep: Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487
Can you just reformat?
Code:
cat /proc/partitions
Code:
sudo apt-get install gddrescue
or just
Code:
cp
for the mp3's...
 
Old 07-12-2015, 07:26 AM   #6
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3
I don't know if I understand what's being suggested here. My distro is Xubuntu and I'm not familiar with the Partition editor, if it has one. (Would it be under "accessories"?) How would I check the disk without mounting it? That's the only way the computer can "talk" to the mp3 player, right?

On reformatting, I would have to wipe all the music off the sd card to do that, correct? Not a problem, but isn't there a chance whatever glitch is on the sd card is also in the back up? Are the three codes you listed below independent of each other or are these all part of the same reformatting instruction? The second one appears to be installing a new application. What does "cp" do? What does "cat /proc/partitions" do?

Your suggestions are much appreciated! There's no way I can fix this without wiping clean and starting over?
 
Old 07-12-2015, 10:54 AM   #7
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3
What about fsck? How do you run that?
 
Old 07-12-2015, 12:25 PM   #8
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on freest; has been KDE, CLI, Novena but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,546
Blog Entries: 2

Rep: Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487
Should always keep backups tho, the second link in my signature has more info on that in it's first link(1), #8 is good too.

Under "accessories" and\or "systems tools" you will find a "terminal" or "console" program for a command line then try the man command like so:
Code:
man cp
you should be able to just copy the mp3's to your hard-drive\USB\DVD\etc... format the card and put mp3's back on it.
For "fsck" try "man" again. I always had trouble finding the SD to mount\un if not by GUI so "cat" reading that systems file should help. I probably should have left out the "sudo apt-get install gddrescue" until you find out if the files are corrupt (more than likely only one or none hopefully?) Transferring a corrupt mp3 to a newly formatted card won't cause the same problem just playing that file. Only a suggestion.

Last edited by jamison20000e; 07-12-2015 at 12:39 PM.
 
Old 07-12-2015, 02:24 PM   #9
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3
Thank you for this information. I don't get it, though...what does "cp" do and how do I apply it to the sd card on the mp3? The only way I can get the mp3 sd card to interface with the computer is by mounting it. Apparently I'm not supposed to do that when running this program. I don't know how to get my computer to recognize the sd card "unmounted." Is "cp" the same kind of program as fsck? Appreciate your feedback.
 
Old 07-12-2015, 05:23 PM   #10
Yuhan
Member
 
Registered: Oct 2010
Posts: 374

Original Poster
Rep: Reputation: 3
Something I should ask here: Do I need to do these procedures through a sd card reader or can they be done directly through the mp3 player itself? I don't have a card reader so my only option is to go through the mp3 player. If I need a card reader can anyone recommend one that is adequate for this purpose? Thanks!
 
Old 07-12-2015, 06:44 PM   #11
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on freest; has been KDE, CLI, Novena but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,546
Blog Entries: 2

Rep: Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487
The player should do the same as a card reader? I would also recommend using a player like Clementine, it will mount (right click to "safely remove" ) the player and can add plus organize music to the device.
 
Old 07-12-2015, 07:18 PM   #12
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbangified Debian 8 (Jessie)
Posts: 747
Blog Entries: 1

Rep: Reputation: 172Reputation: 172
Quote:
Originally Posted by Yuhan View Post
Thank you for this information. I don't get it, though...what does "cp" do and how do I apply it to the sd card on the mp3? The only way I can get the mp3 sd card to interface with the computer is by mounting it. Apparently I'm not supposed to do that when running this program. I don't know how to get my computer to recognize the sd card "unmounted." Is "cp" the same kind of program as fsck? Appreciate your feedback.
cp is the command line copy program. You can copy/backup your files using the GUI file manager if you prefer. (I think it's Thunar in Xubuntu)

The problems you're having are common with embedded devices like phones and mp3 players. They use an abridged implementation of the FAT16 (sometimes FAT32) file system that does no file system checks. This inevitably results in file system corruption over time.

Keeping a backup of your files and occasionally reformatting the SD card is the best way resolve this.
format as FAT16 for cards 2GiB or less and FAT32 for cards greater than 2GiB.
(note that some phones and mp3 players may be unable to read FAT32 formatted cards.)
 
1 members found this post helpful.
Old 07-13-2015, 01:28 PM   #13
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on freest; has been KDE, CLI, Novena but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,546
Blog Entries: 2

Rep: Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487Reputation: 1487
http://support.creative.com/kb/ShowA....aspx?sid=4779
 
  


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
How to know what kind of PC Card my computer supports? General General 4 03-13-2015 01:18 PM
how do I find out what kind of graphics card I have? freethemushrooms Linux - Newbie 7 02-09-2015 06:25 AM
What kind of video expansion card should I get? adamlcarter Linux - Newbie 5 11-06-2014 08:51 PM
Some problems with sound card, be kind, help me genarator Linux - Hardware 2 11-01-2006 12:55 AM
PCMCIA, What kind of card? Config. tutorial? pfak Linux - Hardware 2 01-09-2005 02:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:28 AM.

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