[CentOS] Can't mount USB drives

Thu Feb 15 19:42:29 UTC 2007
David A. Woyciesjes <david.woyciesjes at yale.edu>

	Fresh install of CentOS 4.4. uname -a, lspci, & lsusb output at bottom. 
I insert my 256MB USB key, light goes on, then off. Never mounts. Here's 
the end of dmesg:

usb 1-1: new full speed USB device using address 11
scsi7 : SCSI emulation for USB Mass Storage devices
   Vendor: Generic   Model: STORAGE DEVICE    Rev: 1.02
   Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
sda: Write Protect is off
sda: Mode Sense: 02 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
sda: Write Protect is off
sda: Mode Sense: 02 00 00 00
sda: assuming drive cache: write through
  sda: sda1
Attached scsi removable disk sda at scsi7, channel 0, id 0, lun 0
USB Mass Storage device found at 11
[root /]#

But there is a /dev/sda1. Then after a few minutes, I get:
scsi: Device offlined - not ready after error recovery: host 7 channel 0 
id 0 lun 0
  7:0:0:0: Illegal state transition deleted->offline
Badness in scsi_device_set_state at drivers/scsi/scsi_lib.c:1702
  [<f88246d9>] scsi_device_set_state+0xd2/0xdd [scsi_mod]
  [<f8822903>] scsi_eh_offline_sdevs+0x49/0x5e [scsi_mod]
  [<f8822de9>] scsi_unjam_host+0x15a/0x16b [scsi_mod]
  [<f8822f0c>] scsi_error_handler+0x112/0x15a [scsi_mod]
  [<f8822dfa>] scsi_error_handler+0x0/0x15a [scsi_mod]
  [<c01041f5>] kernel_thread_helper+0x5/0xb
SCSI error : <7 0 0 0> return code = 0x10000
end_request: I/O error, dev sda, sector 511776
Buffer I/O error on device sda1, logical block 63968
scsi7 (0:0): rejecting I/O to dead device
Buffer I/O error on device sda1, logical block 63969
Buffer I/O error on device sda1, logical block 63970
Buffer I/O error on device sda1, logical block 63971
Buffer I/O error on device sda1, logical block 63972
Buffer I/O error on device sda1, logical block 63973
Buffer I/O error on device sda1, logical block 63974
Buffer I/O error on device sda1, logical block 63975
Buffer I/O error on device sda1, logical block 63976
Buffer I/O error on device sda1, logical block 63977
Buffer I/O error on device sda1, logical block 63978
Buffer I/O error on device sda1, logical block 63979
Buffer I/O error on device sda1, logical block 63980
Buffer I/O error on device sda1, logical block 63981
Buffer I/O error on device sda1, logical block 63982
Buffer I/O error on device sda1, logical block 63983
scsi7 (0:0): rejecting I/O to dead device
Buffer I/O error on device sda1, logical block 63968
scsi7 (0:0): rejecting I/O to dead device
Buffer I/O error on device sda1, logical block 0
scsi7 (0:0): rejecting I/O to dead device
Buffer I/O error on device sda1, logical block 64
Buffer I/O error on device sda1, logical block 65
Buffer I/O error on device sda1, logical block 66
Buffer I/O error on device sda1, logical block 67
scsi7 (0:0): rejecting I/O to dead device
Buffer I/O error on device sda1, logical block 64
usb 1-1: new full speed USB device using address 12
scsi8 : SCSI emulation for USB Mass Storage devices
   Vendor:           Model:                   Rev:
   Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
sda: assuming drive cache: write through
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
sda: assuming drive cache: write through
  sda: sda1
Attached scsi disk sda at scsi8, channel 0, id 0, lun 0
USB Mass Storage device found at 12
usb 1-1: reset full speed USB device using address 12

Where do I start?

[root /]# uname -a
Linux 2.6.9-42.0.8.ELsmp #1 SMP Tue Jan 30 12:33:47 EST 2007 i686 i686 
i386 GNU/Linux
[root /]# /sbin/lspci
00:00.0 Host bridge: Intel Corporation 82860 860 (Wombat) Chipset Host 
Bridge (MCH) (rev 04)
00:01.0 PCI bridge: Intel Corporation 82850 850 (Tehama) Chipset AGP 
Bridge (rev 04)
00:02.0 PCI bridge: Intel Corporation 82860 860 (Wombat) Chipset AGP 
Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 04)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 (rev 04)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #1) (rev 04)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus (rev 04)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #2) (rev 04)
00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 
Audio (rev 04)
01:00.0 VGA compatible controller: nVidia Corporation NV15GL [Quadro2 
Pro] (rev a4)
02:1f.0 PCI bridge: Intel Corporation 82806AA PCI64 Hub PCI Bridge (rev 03)
03:00.0 PIC: Intel Corporation 82806AA PCI64 Hub Advanced Programmable 
Interrupt Controller (rev 01)
03:0e.0 SCSI storage controller: Adaptec AIC-7892P U160/m (rev 02)
04:0b.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] 
(rev 78)
04:0c.0 FireWire (IEEE 1394): Texas Instruments TSB12LV26 IEEE-1394 
Controller (Link)
04:0d.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
04:0d.1 Input device controller: Creative Labs SB Live! Game Port (rev 08)
04:0e.0 VGA compatible controller: Matrox Graphics, Inc. MGA 2164W 
[Millennium II]
[root /]# /sbin/lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 046d:c508 Logitech, Inc.
Bus 001 Device 001: ID 0000:0000
[root /]#



-- 
--- David Woyciesjes