Fedora Linux Support Community & Resources Center
  #1  
Old 6th March 2004, 07:29 PM
Ug's Avatar
Ug Offline
Retired Community Manager
 
Join Date: Feb 2004
Posts: 2,999
USB Pen Drive Crisis

My USB Pen drive, has given up the ghost or so it appears. I get the following error when i try to mount it:
Code:
mount: /dev/sda1 is not a valid block device
It appears that a block on the device has become corrupted and this is preventing me from mounting it.

Does anyone know anyway, in which I can rescue this device? By finding the bad blocks on it and repairing them?
__________________
gareth@fedoraforum.org
Registered Linux User # 301555
garethrussell.net


Please adhere to the FedoraForum Guidelines.
Reply With Quote
  #2  
Old 6th March 2004, 08:35 PM
djf_jeff's Avatar
djf_jeff Offline
Registered User
 
Join Date: Mar 2004
Location: Quebec
Posts: 78
I have see some usb device that have no partition (so it's directly on sda and not sda1). Another case is that you have something mount as sda and you pen drive become sdb1...

Check the /var/log/message to see where your pen drive is link
__________________
Jeff Saucier (djf_jeff)
Fedora profile
GPG : 0xA9E6E953
Reply With Quote
  #3  
Old 7th March 2004, 02:39 AM
mhelios Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Queensland, AU
Posts: 736
Have you checked it with:
Code:
fsck /dev/sda1
Also run:
Code:
fdisk -l /dev/sda
to check that it's being detected.
__________________
mhelios@fedoraforum.org
Registered Linux User # 348963
GnuPG KeyID: 0xCE9F8922
Reply With Quote
  #4  
Old 7th March 2004, 09:01 AM
Ug's Avatar
Ug Offline
Retired Community Manager
 
Join Date: Feb 2004
Posts: 2,999
When I fsck it I get:
Code:
[root@localhost gareth]# /sbin/fsck /dev/sda1
fsck 1.34 (25-Jul-2003)
e2fsck 1.34 (25-Jul-2003)
fsck.ext2: No such device or address while trying to open /dev/sda1
Possibly non-existent or swap device?
And i get nothing when i Fdisk it.
__________________
gareth@fedoraforum.org
Registered Linux User # 301555
garethrussell.net


Please adhere to the FedoraForum Guidelines.
Reply With Quote
  #5  
Old 14th March 2004, 07:20 AM
Avatraxiom Offline
Registered User
 
Join Date: Mar 2004
Location: San Jose, CA
Posts: 323
Are you certain it's mounting at sda? If you have any SCSI (or, I think, any ide-scsi...), you might want to try /dev/sdb.

Was it working on sda before?

-M
__________________
The Unofficial Fedora FAQ
Everything Solved, Inc:: Excellent, Friendly Bugzilla, Perl, and Linux Services!
Reply With Quote
  #6  
Old 14th March 2004, 09:04 AM
Ug's Avatar
Ug Offline
Retired Community Manager
 
Join Date: Feb 2004
Posts: 2,999
Definately working on SDA before. I'd never had a problem with it.
__________________
gareth@fedoraforum.org
Registered Linux User # 301555
garethrussell.net


Please adhere to the FedoraForum Guidelines.
Reply With Quote
  #7  
Old 14th March 2004, 09:51 PM
Avatraxiom Offline
Registered User
 
Join Date: Mar 2004
Location: San Jose, CA
Posts: 323
Quote:
Originally posted by Ug
Definately working on SDA before. I'd never had a problem with it.
Then it's probably given up the ghost. At work, I usually test these things by plugging them into different O/Ses in the test lab (where I have five computers that each run six different O/Ses on different partitions) and see if they start magically working. If they don't, they're usually dead meat.

If you don't have that capability, it's probably not too risky to toss it in the garbage. You do have to watch out for it exploding suddenly into flames when it touches the trash-can liner, though. ;-)

I think that new pen drives aren't too 'spensive nowadays. Of course, when one is a student, McDonald's can be expensive. (I almost said "Taco Bell," since they're even cheaper, but I'm not sure you have them over there...)

-M
__________________
The Unofficial Fedora FAQ
Everything Solved, Inc:: Excellent, Friendly Bugzilla, Perl, and Linux Services!
Reply With Quote
  #8  
Old 15th March 2004, 07:38 AM
Ug's Avatar
Ug Offline
Retired Community Manager
 
Join Date: Feb 2004
Posts: 2,999
I've never seen a Taco Bell except on an American TV program.

But yea i've tried it on Windows too, and it was fooked then too.
__________________
gareth@fedoraforum.org
Registered Linux User # 301555
garethrussell.net


Please adhere to the FedoraForum Guidelines.
Reply With Quote
  #9  
Old 15th March 2004, 07:46 AM
Avatraxiom Offline
Registered User
 
Join Date: Mar 2004
Location: San Jose, CA
Posts: 323
Sounds like the fookage is complete, then.
__________________
The Unofficial Fedora FAQ
Everything Solved, Inc:: Excellent, Friendly Bugzilla, Perl, and Linux Services!
Reply With Quote
  #10  
Old 15th March 2004, 07:58 AM
Ug's Avatar
Ug Offline
Retired Community Manager
 
Join Date: Feb 2004
Posts: 2,999
Damn.
__________________
gareth@fedoraforum.org
Registered Linux User # 301555
garethrussell.net


Please adhere to the FedoraForum Guidelines.
Reply With Quote
  #11  
Old 25th March 2004, 03:11 PM
sigusr Offline
Registered User
 
Join Date: Mar 2004
Location: east tennessee, usa
Posts: 8
Have yoy tried "fdisk -l" without other options? If the device has been bumped up the scsi chain this will locate it.

I also have a pendrive problem. Hope you can help. I am a linux newby. I can only write to my pendrive from the root account. Automount works in other accounts with read only access. "chmod" will not work from root account console. I hope the following info helps.

fdisk -l

Disk /dev/sda: 31 MB, 31981568 bytes
4 heads, 32 sectors/track, 488 cylinders
Units = cylinders of 128 * 512 = 65536 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 487 31152 4 FAT16 <32M




contents of fstab

/dev/sda1 /mnt/usbdrive auto auto,user,rw 0 0



# ls -l
total 24
drwxr-xr-x 5 root root 16384 Mar 24 11:44 usbdrive



[ root]# chmod 777 /mnt/usbdrive
chmod: changing permissions of `/mnt/usbdrive' (requested: 0777, actual: 0755): Operation not permitted
[ root]#

I hope this helps you and thanks in advance for your help.

Last edited by sigusr; 25th March 2004 at 03:58 PM.
Reply With Quote
  #12  
Old 25th March 2004, 07:28 PM
Ug's Avatar
Ug Offline
Retired Community Manager
 
Join Date: Feb 2004
Posts: 2,999
No the problem with mine, is a bad block.
__________________
gareth@fedoraforum.org
Registered Linux User # 301555
garethrussell.net


Please adhere to the FedoraForum Guidelines.
Reply With Quote
  #13  
Old 30th March 2004, 06:25 AM
Darkmage Offline
Registered User
 
Join Date: Mar 2004
Posts: 462
Re: USB Pen Drive Crisis

Quote:
Originally posted by Ug
My USB Pen drive, has given up the ghost or so it appears. I get the following error when i try to mount it:
Code:
mount: /dev/sda1 is not a valid block device
It appears that a block on the device has become corrupted and this is preventing me from mounting it.

Does anyone know anyway, in which I can rescue this device? By finding the bad blocks on it and repairing them?
Here is a solution /dev/sda1

You need two modules in the kernel
scsi disk support and usb mass storage support
Reply With Quote
  #14  
Old 30th March 2004, 06:41 AM
Ug's Avatar
Ug Offline
Retired Community Manager
 
Join Date: Feb 2004
Posts: 2,999
It used to work, so thats not the solution i'm afraid. The problem is it used to work, but now it's corrupted and dosen't.
__________________
gareth@fedoraforum.org
Registered Linux User # 301555
garethrussell.net


Please adhere to the FedoraForum Guidelines.
Reply With Quote
  #15  
Old 30th March 2004, 07:43 PM
Darkmage Offline
Registered User
 
Join Date: Mar 2004
Posts: 462
I had the same problem till I enabled scsi disk support in the kernel modules and it worked fine afterwards.
Are you running a custom kernel?
Reply With Quote
Reply

Tags
crisis, drive, pen, usb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
After The Crisis is over... creeping death Wibble 10 27th January 2009 11:48 PM
Hard Drive Crisis Dumbledore Hardware & Laptops 13 5th May 2006 11:01 PM


Current GMT-time: 05:36 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat