 |
 |
 |
 |
| Hardware & Laptops Help with your hardware, including laptop issues |

6th March 2004, 07:29 PM
|
 |
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?
|

6th March 2004, 08:35 PM
|
 |
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
|

7th March 2004, 02:39 AM
|
|
Retired Community Manager
|
|
Join Date: Feb 2004
Location: Queensland, AU
Posts: 736

|
|
Have you checked it with:
Also run:
to check that it's being detected.
__________________
mhelios@fedoraforum.org
Registered Linux User # 348963
GnuPG KeyID: 0xCE9F8922
|

7th March 2004, 09:01 AM
|
 |
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.
|

14th March 2004, 07:20 AM
|
|
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
|

14th March 2004, 09:04 AM
|
 |
Retired Community Manager
|
|
Join Date: Feb 2004
Posts: 2,999

|
|
|
Definately working on SDA before. I'd never had a problem with it.
|

14th March 2004, 09:51 PM
|
|
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
|

15th March 2004, 07:38 AM
|
 |
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.
|

15th March 2004, 07:46 AM
|
|
Registered User
|
|
Join Date: Mar 2004
Location: San Jose, CA
Posts: 323

|
|
|
Sounds like the fookage is complete, then.
|

15th March 2004, 07:58 AM
|
 |
Retired Community Manager
|
|
Join Date: Feb 2004
Posts: 2,999

|
|
|
Damn.
|

25th March 2004, 03:11 PM
|
|
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.
|

25th March 2004, 07:28 PM
|
 |
Retired Community Manager
|
|
Join Date: Feb 2004
Posts: 2,999

|
|
No the problem with mine, is a bad block.
|

30th March 2004, 06:25 AM
|
|
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
|

30th March 2004, 06:41 AM
|
 |
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.
|

30th March 2004, 07:43 PM
|
|
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?
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 05:36 (Thursday, 20-06-2013)
|
|
 |
 |
 |
 |
|
|