LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   USB stick not reading (https://www.linuxquestions.org/questions/debian-26/usb-stick-not-reading-553823/)

thyrf 05-14-2007 01:33 PM

USB stick not reading
 
Hey

Whenever I plug in my USB stick nothing happens. No light on the drive, no auto-mount, nothing. When I attempted a manual mount it seemed to lock up, but when I removed it I believe the full directory/file listing was shown in the file manager.

When plugged in, lsusb shows:
Code:

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

My Creative Zen Micro seems to be just fine and is listed in lsusb as:
Code:

Bus 003 Device 004: ID 041e:411e Creative Techonology, Ltd Zen Micro
dmesg shows:
Code:

usb 1-2: new full speed USB device using uhci_hcd and address 4
usb 1-2: configuration #1 chosen from 1 choice
usb 1-2 USB disconnect, address 4
usb 1-2: new full speed USB device using uhci_hcd and address 5
usb 1-2: configuration #1 chosen from 1 choice
scsi2: SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
scsi 2:0:0:0: Direct-Access Generic Flash Disk 7.78 PQ: 0 ANSI: 2
SCSI device sda 256000 512-byte hdwr sectors (131 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
SCSI device sda 256000 512-byte hdwr sectors (131 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
 sda: sda1
 sda:p1 exceeds device capacity
sd 2:0:0:0: Attched scsi removable disk sda
usb-storage: device scan complete
attempt to access beyond end of device
sda: rw=0, want256808, limit256000
Buffer I/O error on device sda1, logical block 32096
attempt to access beyond end of device
sda: rw=0, want256808, limit256000
Buffer I/O error on device sda1, logical block 32096
attempt to access beyond end of device
sda: rw=0, want257040, limit256000
Buffer I/O error on device sda1, logical block 32125
attempt to access beyond end of device
sda: rw=0, want257040, limit256000
Buffer I/O error on device sda1, logical block 32125

.. etc

When I tryed a manual mount I also got:
Code:

FAT Directory bread(block 504) failed
scsi 1:0:0:0: rejecting I/O to dead device
FAT Directory bread(block 505) failed
scsi 1:0:0:0: rejecting I/O to dead device

...

FAT Directory bread(block 534) failed
scsi 1:0:0:0: rejecting I/O to dead device
FAT Directory bread(block 535) failed
scsi 1:0:0:0: rejecting I/O to dead device


First impressions say that the drive is buggered, but it works fine on my XP machine and I've never had any problems with it until today. Running Debian Etch Stable with XFCE 4 and 2.6.21.1 kernel on a Samsung GT9000 Series laptop.

Thanks in advance.

Daws 05-14-2007 01:46 PM

Quote:

Buffer I/O error on device sda1, logical block 32096
attempt to access beyond end of device
sda: rw=0, want256808, limit256000
Buffer I/O error on device sda1, logical block 32096
attempt to access beyond end of device
sda: rw=0, want257040, limit256000
Buffer I/O error on device sda1, logical block 32125
attempt to access beyond end of device
sda: rw=0, want257040, limit256000
Buffer I/O error on device sda1, logical block 32125
Ok so the stick thinks it is bigger than it really is (hehehe).
What does the partition table look like for the USB stick? If it was formatted in Windows it's is possible the table has been shoddily written.

You could try reformatting the disk but creating the table with cfdisk. (131 MB isnt massive so backing any data on Windows shouldn't be too much hassle).

thyrf 05-14-2007 02:09 PM

Yup, the disk is in fact shagged and windows didn't tell me. Thanks :)


All times are GMT -5. The time now is 08:41 AM.