usb flash drive not working

Asked by dumpa

Hi, I have ubuntu gutsy and a usb flash drive 1Gb s3+ that doesn't work.
Sometimes it isn't detected at all, and sometimes it is automatically mounted but I don't have permission to write or read.

Please help, I have followed lots of forums treads without any success.

I'm a beginner with linux so I don't really know what more to tell you about this problem.

thanxs

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1
Revision history for this message
dumpa (dumpita) said :
#2

Hi again,
I installed and opened the NTFS-config, there was just one option

"Enable write support from external device" which was uncheked and I cheked it.

Nothing happens still. no usb detected.

Revision history for this message
dumpa (dumpita) said :
#3

Some additional info,

when I look at my computer and connect the usb drive for an instant I'm able to see the flash drive, If I right click on it and try to mount it it says "unable to mount drive, there is probably no media on the drive"

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

Are your external hard-disk with NTFS partition...?
Are your external hard-disk password protected...?

Unplug and plug your external flash-drive then please open a terminal and type:

sudo lsusb

and

sudo fdisk -l

copy and paste the result here.

Thank you.

Revision history for this message
dumpa (dumpita) said :
#5

sudo lsusb

Bus 005 Device 007: ID 19b6:1024
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

sudo fdisk -l

Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb30ab30a

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 4660 37431418+ 83 Linux
/dev/sda2 4661 4865 1646662+ 5 Extended
/dev/sda5 4661 4865 1646631 82 Linux swap / Solaris

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

What is the brand and model of your device...?
It seem not recognized by the system...

Unplug your device redo the:

sudo lsusb

command

then type:

tail -F /var/log/messages

plug in your device check system messages

then redo the

sudo lsusb

check for changed data

Thank you

Revision history for this message
dumpa (dumpita) said :
#7

I unpluged it then,

sudo lsusb

Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

tail -F /var/log/messages

Nov 2 15:55:21 ju-cald1 kernel: [ 1576.590379] end_request: I/O error, dev sdb, sector 63
Nov 2 15:55:21 ju-cald1 kernel: [ 1576.599310] end_request: I/O error, dev sdb, sector 63
Nov 2 15:55:22 ju-cald1 kernel: [ 1577.647965] end_request: I/O error, dev sdb, sector 63
Nov 2 15:55:22 ju-cald1 kernel: [ 1577.649217] end_request: I/O error, dev sdb, sector 63
Nov 2 15:55:23 ju-cald1 kernel: [ 1578.653283] end_request: I/O error, dev sdb, sector 63
Nov 2 15:55:23 ju-cald1 kernel: [ 1578.654486] end_request: I/O error, dev sdb, sector 63
Nov 2 15:55:24 ju-cald1 kernel: [ 1579.660885] end_request: I/O error, dev sdb, sector 63
Nov 2 15:55:24 ju-cald1 kernel: [ 1579.660893] printk: 24 messages suppressed.
Nov 2 15:55:24 ju-cald1 kernel: [ 1579.662383] end_request: I/O error, dev sdb, sector 63
Nov 2 16:01:20 ju-cald1 kernel: [ 1934.551700] usb 5-6: USB disconnect, address 8

I Then plug it in

Nov 2 16:04:33 ju-cald1 kernel: [ 2127.557076] usb 5-6: new high speed USB device using ehci_hcd and address 11
Nov 2 16:04:33 ju-cald1 kernel: [ 2127.689970] usb 5-6: configuration #1 chosen from 1 choice
Nov 2 16:04:33 ju-cald1 kernel: [ 2127.690208] scsi13 : SCSI emulation for USB Mass Storage devices
Nov 2 16:04:38 ju-cald1 kernel: [ 2132.679688] scsi 13:0:0:0: Direct-Access S3+ 0.00 PQ: 0 ANSI: 2
Nov 2 16:04:38 ju-cald1 kernel: [ 2132.681788] sd 13:0:0:0: [sdb] 2048000 512-byte hardware sectors (1049 MB)
Nov 2 16:04:38 ju-cald1 kernel: [ 2132.682412] sd 13:0:0:0: [sdb] Write Protect is off
Nov 2 16:04:38 ju-cald1 kernel: [ 2132.685530] sd 13:0:0:0: [sdb] 2048000 512-byte hardware sectors (1049 MB)
Nov 2 16:04:38 ju-cald1 kernel: [ 2132.686152] sd 13:0:0:0: [sdb] Write Protect is off
Nov 2 16:04:38 ju-cald1 kernel: [ 2132.686164] sdb: sdb1
Nov 2 16:04:38 ju-cald1 kernel: [ 2132.761501] sd 13:0:0:0: [sdb] Attached SCSI removable disk
Nov 2 16:04:38 ju-cald1 kernel: [ 2132.761555] sd 13:0:0:0: Attached scsi generic sg2 type 0
Nov 2 16:04:39 ju-cald1 kernel: [ 2133.159604] end_request: I/O error, dev sdb, sector 2047872
Nov 2 16:04:39 ju-cald1 kernel: [ 2133.159611] printk: 9 messages suppressed.
Nov 2 16:04:39 ju-cald1 kernel: [ 2133.161344] end_request: I/O error, dev sdb, sector 2047872
Nov 2 16:04:39 ju-cald1 kernel: [ 2133.162968] end_request: I/O error, dev sdb, sector 2047984
Nov 2 16:04:39 ju-cald1 kernel: [ 2133.164337] end_request: I/O error, dev sdb, sector 2047984
Nov 2 16:04:39 ju-cald1 kernel: [ 2133.166133] end_request: I/O error, dev sdb, sector 0
Nov 2 16:04:39 ju-cald1 kernel: [ 2133.167835] end_request: I/O error, dev sdb, sector 0
Nov 2 16:04:39 ju-cald1 kernel: [ 2133.169201] end_request: I/O error, dev sdb, sector 0

Nov 2 16:06:45 ju-cald1 kernel: [ 2259.256661] end_request: I/O error, dev sdb, sector 63
Nov 2 16:06:46 ju-cald1 kernel: [ 2260.262313] end_request: I/O error, dev sdb, sector 63
Nov 2 16:06:46 ju-cald1 kernel: [ 2260.263553] end_request: I/O error, dev sdb, sector 63
Nov 2 16:06:47 ju-cald1 kernel: [ 2261.266830] end_request: I/O error, dev sdb, sector 63
Nov 2 16:06:47 ju-cald1 kernel: [ 2261.268393] end_request: I/O error, dev sdb, sector 63
Nov 2 16:06:48 ju-cald1 kernel: [ 2262.271604] end_request: I/O error, dev sdb, sector 63
Nov 2 16:06:48 ju-cald1 kernel: [ 2262.271612] printk: 24 messages suppressed.
Nov 2 16:06:48 ju-cald1 kernel: [ 2262.273009] end_request: I/O error, dev sdb, sector 63
Nov 2 16:06:49 ju-cald1 kernel: [ 2263.278499] end_request: I/O error, dev sdb, sector 63
Nov 2 16:06:49 ju-cald1 kernel: [ 2263.279741] end_request: I/O error, dev sdb, sector 63
Nov 2 16:06:50 ju-cald1 kernel: [ 2264.283018] end_request: I/O error, dev sdb, sector 63
Nov 2 16:06:50 ju-cald1 kernel: [ 2264.284267] end_request: I/O error, dev sdb, sector 63
Nov 2 16:06:51 ju-cald1 kernel: [ 2265.288040] end_request: I/O error, dev sdb, sector 63
Nov 2 16:06:51 ju-cald1 kernel: [ 2265.289289] end_request: I/O error, dev sdb, sector 63
Nov 2 16:06:52 ju-cald1 kernel: [ 2266.292938] end_request: I/O error, dev sdb, sector 63
Nov 2 16:06:52 ju-cald1 kernel: [ 2266.294491] end_request: I/O error, dev sdb, sector 63

sudo lsusb

Bus 005 Device 012: ID 19b6:1024
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

The model is http://www.s3plus.com/2006/pag-eng/prod/usb-winner.htm

Revision history for this message
dumpa (dumpita) said :
#8

Are your external hard-disk with NTFS partition...?

I don't know what this means.

Are your external hard-disk password protected...?

I don't think so.

Revision history for this message
dumpa (dumpita) said :
#9

I'm trying to format my usb drive to see if this helps.

I'm using

sudo gparted

when I do that I see that /dev/sdb (996.22 Mb) is unallocated, it seems to have no partitions (I'm I right)

When I try to create a new partition I get a

"Error while setting new disklabel"

and in the terminal I see

======================
libparted : 1.7.1
======================
Unable to open /dev/sdb - unrecognised disk label.
Unable to open /dev/sdb - unrecognised disk label.
Input/output error during read on /dev/sdb
Input/output error during write on /dev/sdb
Unable to open /dev/sdb - unrecognised disk label.
Segmentation fault (core dumped)

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#10

I think you usb device filesystem is in error state and can't be mounted...
Do a check disk on it from Windows, this is the simpler way to correct it.

HTH

Revision history for this message
Duncan Lithgow (duncan-lithgow) said :
#11

did your problem get solved dumpa?

Revision history for this message
dumpa (dumpita) said :
#12

No I haven't solve it. I still have the USB drive in one of my drawers.

Revision history for this message
Duncan Lithgow (duncan-lithgow) said :
#13

For this problem to get closer to a solution dumpa will need some help and instructions on how to do a disc check from Windows on a USB device. I don't have that knowledge.

Revision history for this message
Wim (launchpad-xs4all) said :
#14

Checking an USB-device on windows can be done this way:
when PC is running, first start Explorer (key-combination <Wndws>-<E> ) and look carefully to the drives on the left side pane.
Now connect the USB-device and wait for a moment.
You will see a new drive on the left side pane in explorer; point to that drive-icon and click with your right-mouse-button.
Now you can choose properties and check the drive there.
Hope this works for you!

Revision history for this message
COKEDUDE (cokedude) said :
#15

I also have this problem :(.

Can you help with this problem?

Provide an answer of your own, or ask dumpa for more information if necessary.

To post a message you must log in.