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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
05-10-2006, 03:36 PM
|
#1
|
LQ Newbie
Registered: Mar 2006
Distribution: Debian, Ubuntu, Kanotix
Posts: 21
Rep:
|
Usb disk corrupt, won't mount
I have a sigmatel usb flash drive (1 gig) that was orignally corrupted when it was not unmounted smoothly (My own fault long ago). I reformatted it after having a little diffuculty mounting it (Ended up having to use Windows, as linux refused). When it reformatted, it only showed the disk as 993 MB. I used it perfectly as such, until the other day, when I used it in Windows @ work, windows crashed and fragged the disk again. Reformating again (in Windows) now shows the drive as 980 mb. So I brought the drive back to my debian gnome box for "repair", and it won't mount in Linux, or in windows anymore. Here's the output from dmesg.
Code:
[4333042.452000] ohci_hcd 0000:00:02.1: wakeup
[4333042.731000] usb 2-3: new full speed USB device using ohci_hcd and address 8
[4333044.132000] scsi7 : SCSI emulation for USB Mass Storage devices
[4333044.132000] usb-storage: device found at 8
[4333044.132000] usb-storage: waiting for device to settle before scanning
I know your first thought is -it's corrupt and a brick. But, it works as an mp3 player. I can still play the files that are already on it. After previous crashes, trying to boot the mp3 player resulted in an error (obviously). This time however I can still use it, but am unable to mount it. I'd like some help in properly manually formatting with something like parted to recover the lost space. Of course I'd be happy to just be able to mount it again. As a note, there doesn't appear to be a way to "reset" the mp3 player. I've since deleted all the files in an attempt to repair, but it still won't mount. Thanks for any help you can give.
|
|
|
05-10-2006, 04:22 PM
|
#2
|
Member
Registered: Jul 2004
Location: The Netherlands
Distribution: Mandrake, Knoppix, Coyote Linux, RedHat
Posts: 354
Rep:
|
Well this might not be of much help, but in case you have warranty i'd try returning it. If there is no warranty left, i'd open it up (carefully ofcourse) to see if there's some vague way of forcing a hardware reset, because being an MP3 player it's still a small computer and that tiny board in there must have a few exposed, unused contacts that could possibly hide a reset function, but never had a button wired to it.
But you know, those flash chips really aren't all that robust all of the time.. depends on the manufacturer of the chips. I personally already lost one 512MB flash drive (Data corrupts after reading it), and a guy I work with managed to torch his 256MB flash drive by yanking it out of his pc without properly unmounting it from Windows 2000 when it refused to unmount (Can't hold partition information anymore).
Last edited by Xolo; 05-10-2006 at 04:23 PM.
|
|
|
05-11-2006, 02:11 AM
|
#3
|
Member
Registered: Dec 2005
Distribution: Slackware
Posts: 250
Rep:
|
Maybe just the partition table is broken, so you might be able to fix the drive by deleting all partitions, create new ones and then format it again. Often did the trick for me when trying to make an usbstick bootable.
If fdisk or cfdisk from linux don't work, try booting from win98 bootdisk, I found the old dos f-disk does the best job on broken or mixed up partition tables.
Anyway your kernel messages just say to wait a little longer, I always see those lines and finally my drive appears as some sdx-device.
Good luck,
Isis
|
|
|
05-11-2006, 02:22 AM
|
#4
|
LQ Newbie
Registered: Mar 2006
Distribution: Debian, Ubuntu, Kanotix
Posts: 21
Original Poster
Rep:
|
Thanks for your help.. Yes, the kernel tells me to wait longer.. and longer lol. It's never goes anywhere (weird). I booted a knoppix live cd, and managed to mount it, but the partition tables are still messed up. I'll try the old win floppy idea, but I've got no floppy drive hooked up to this (it's in the pc, but disconnected.. lazy me). Here's the new result from dmesg, this time using ubuntu dapper flight 7
Code:
[4295163.324000] ohci_hcd 0000:00:02.1: wakeup
[4295163.601000] usb 2-3: new full speed USB device using ohci_hcd and address 2[4295165.001000] scsi1 : SCSI emulation for USB Mass Storage devices
[4295165.001000] usb-storage: device found at 2
[4295165.001000] usb-storage: waiting for device to settle before scanning
[4295170.010000] Vendor: SigmaTel Model: MSCN Rev: 0100
[4295170.010000] Type: Direct-Access ANSI SCSI revision: 04
[4295170.021000] SCSI device sde: 2034176 512-byte hdwr sectors (1041 MB)
[4295170.028000] sde: Write Protect is off
[4295170.028000] sde: Mode Sense: 38 00 00 00
[4295170.028000] sde: assuming drive cache: write through
[4295170.054000] SCSI device sde: 2034176 512-byte hdwr sectors (1041 MB)
[4295170.061000] sde: Write Protect is off
[4295170.061000] sde: Mode Sense: 38 00 00 00
[4295170.061000] sde: assuming drive cache: write through
[4295170.061000] sde: sde1
[4295170.072000] sd 1:0:0:0: Attached scsi removable disk sde
[4295170.072000] sd 1:0:0:0: Attached scsi generic sg4 type 0
[4295170.074000] usb-storage: device scan complete
[4295171.436000] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[4295171.745000] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
As you can see it created two entries, and shows as two flash drives automounted in gnome. I guess this confirms the bad tables..
|
|
|
05-11-2006, 03:39 AM
|
#5
|
LQ Newbie
Registered: Mar 2006
Distribution: Debian, Ubuntu, Kanotix
Posts: 21
Original Poster
Rep:
|
I was finally able to repair the disk using kanotix (love that distro) and cfdisk. Thanks all
|
|
|
All times are GMT -5. The time now is 03:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|