LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 08-12-2006, 01:22 AM   #1
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Rep: Reputation: 30
USB thumb drive corrupts whenever plugged into Linux, but not windows.


This is actualy an old problem ( about 6 months more or less ), I have a thumb drive that my friend who owns it, gave to me to fix. It is called "Patriot Memory", I have barely any recollection of a company called patriot, but anyways, when he bought it, he asked me to send some files over to him through this memory stick (module, whatever you want to call it). When I popped it in, dmesg found the hardware, but gave out some error that I cannot remember, (probably the same as what is shown below) but I can safely say it did have an error gaining write access. As soon as I pulled it out and put it back into my friends laptop (which ran XP), it could not find the device. I could not figure why it did not work, but I didn't ask any questions online, for my friend just said he'll exchange it for another one at CompUSA. He recieved another new one and did the same thing over again and recieved the same error and the same after effect. He left it with me, good thing he didn't absolutely have to use it, and I said I'll see what I can do. Both of us forgot about it, until today (the day of this post). I plugged it into my gentoo-laptop and got the following error in dmesg followed by an error when I tried to fdisk the drive:

Code:
usb 1-3: new high speed USB device using ehci_hcd and address 22
usb 1-3: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 22
usb-storage: waiting for device to settle before scanning
  Vendor:           Model: USB DISK Pro      Rev: PMAP
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdb: 3980288 512-byte hdwr sectors (2038 MB)
sdb: Write Protect is on
sdb: Mode Sense: 23 00 80 00
sdb: assuming drive cache: write through
SCSI device sdb: 3980288 512-byte hdwr sectors (2038 MB)
sdb: Write Protect is on
sdb: Mode Sense: 23 00 80 00
sdb: assuming drive cache: write through
 sdb:<6>sd 1:0:0:0: SCSI error: return code = 0x8000002
sdb: Current: sense key=0x3
    ASC=0x11 ASCQ=0x0
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
sd 1:0:0:0: SCSI error: return code = 0x8000002
sdb: Current: sense key=0x3
    ASC=0x11 ASCQ=0x0
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
 unable to read partition table
sd 1:0:0:0: Attached scsi removable disk sdb
usb-storage: device scan complete
sd 1:0:0:0: Device not ready: <6>: Current: sense key=0x2
    ASC=0x3a ASCQ=0x0
end_request: I/O error, dev sdb, sector 3980160
Buffer I/O error on device sdb, logical block 497520
sd 1:0:0:0: Device not ready: <6>: Current: sense key=0x2
    ASC=0x3a ASCQ=0x0
end_request: I/O error, dev sdb, sector 3980160
Buffer I/O error on device sdb, logical block 497520
sd 1:0:0:0: Device not ready: <6>: Current: sense key=0x2
    ASC=0x3a ASCQ=0x0
end_request: I/O error, dev sdb, sector 0
Code:
Buffer I/O error on device sdb, logical block 0
Buffer I/O error on device sdb, logical block 1
Buffer I/O error on device sdb, logical block 2
Buffer I/O error on device sdb, logical block 3
Buffer I/O error on device sdb, logical block 4
Buffer I/O error on device sdb, logical block 5
Buffer I/O error on device sdb, logical block 6
Buffer I/O error on device sdb, logical block 7
sd 1:0:0:0: Device not ready: <6>: Current: sense key=0x2
    ASC=0x3a ASCQ=0x0
end_request: I/O error, dev sdb, sector 0
What could be the problem. And could linux really be the culprit? Windows handle it just fine until I plugged it into a Lin-box. I tried this module on one other computer besides the two before, and it still outputs errors. Any ideas?

Last edited by RHLinuxGUY; 08-12-2006 at 01:26 AM.
 
Old 08-12-2006, 08:00 PM   #2
ScottReed
Member
 
Registered: Dec 2005
Location: Montana
Distribution: Debian "squeeze"
Posts: 157

Rep: Reputation: 30
I'm just going to say that I had a Crucial Gizmo flash drive that had a FAT32 partition and anytime I copied data to it from my Linux box, the damn flash drive would hang up (constant red light) and I couldn't gracefully eject it or unmount it.

My solution to the problem was to plug it into the Windows machine, re-create the FAT32 partition and format and then I started plugging the damn thing into a USB 2.0 port on my Linux box and never had a problem again.

I don't remember the output of my dmesg when I was having the trouble, but I remember that after an unsuccessful data transfer if I tried to plug it back in I would receive strange messages in the output.

Anyway, my solution was the difference between USB 1 and 2 ports on my Linux box.

My 2 cents...

Scott
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a usb thumb drive or flash drive as a swap partition. stevenjoseph Linux - Hardware 8 01-16-2012 12:09 PM
making usb thumb/pen drive to boot linux rohdimp_24 Linux - Software 2 07-11-2005 01:21 PM
Losing mind over Linux on my USB thumb drive! Javahulk Linux - Laptop and Netbook 3 03-16-2005 02:53 PM
USB drive using different partitions (usb key thumb drive) Arodef Linux - Hardware 0 08-04-2004 06:36 PM
Booting Linux From a USB Thumb Drive Ehuwiko Linux - General 3 01-09-2004 09:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration