LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-06-2006, 06:17 AM   #1
lpwevers
Member
 
Registered: Apr 2005
Location: The Netherlands
Distribution: SuSE, CentOS
Posts: 181

Rep: Reputation: 21
USB Memorystick cylinder size / no of cylinders misreported


Hi,

I'm experiencing some mayor issues with a USB memorystick. Something strange happend to it while plugged into a SuSE 10.0 box. In some way the originally 2.0 Gb stick is now reported as 1 Tb. It's not that I mind the extra capacity, if the result of this was not that I now can no longer use the disk at all.

I have a feeling that it's caused by the fact that the cylinder size of the stick is now reported as 7.84 Mb (which can be too big) or the fact that the number of cylinders is now set to 133673 (which seems a bit too many).

Does anybody have a suggestion on how to fix this?

Many thanks in advance.
 
Old 06-07-2006, 06:10 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
This usually happens when the flash memory is uncleanly removed (not unmounted). These devices use FAT/VFAT filesystems, and they are trivially easy to damage. Remember how often you had to run chkdisk with FAT on DOS/Windows?

The solution is usually the same. Plug in the device, but don't mount it. Run:

dosfsck -a -w /dev/sdxy

(where /dev/sdxy is the device name)

Alternatively, plug it into a Windows machine and run chkdisk on it.
 
Old 06-11-2006, 03:15 AM   #3
lpwevers
Member
 
Registered: Apr 2005
Location: The Netherlands
Distribution: SuSE, CentOS
Posts: 181

Original Poster
Rep: Reputation: 21
Thanks. However, in the mean time I managed to destroy the USB stick even furthter. (Don't know how I did that but I guess it has something to do with my attempt to change the number of cylinders on the device using fdisk).

As a result it's now completely useless (doesn't see any media anymore at all, I even plugged it in a Windows machine, which asks me to insert media into the drive).

Anyway, the vendor has kindly agreed to send me a new USB stick, so I guess that takes care of the problem.
 
  


Reply



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
HDD size (and partitions) misreported by various fdisk programs ticthak Linux - Hardware 4 04-24-2006 07:48 PM
Debian refresh rate misreported geraldkelly Linux - Hardware 3 09-19-2005 04:29 PM
Seti@home cpu time credit misreported mhearne Mandriva 4 02-08-2005 07:46 PM
sony memorystick and cr-rw CRX175 Fascistchicken Linux - Hardware 1 11-07-2003 12:17 PM
suse8/sony memorystick mace Linux - Hardware 8 10-12-2002 01:26 PM

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

All times are GMT -5. The time now is 06:51 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