Bug 69219

Summary: usb-storage broke in 2.4.18-5 (ok in 2.4.18-4)
Product: [Retired] Red Hat Linux Reporter: Pete Zaitcev <zaitcev>
Component: kernelAssignee: Pete Zaitcev <zaitcev>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-06-04 03:59:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The boot-up dmesg none

Description Pete Zaitcev 2002-07-19 04:26:21 UTC
Self-filing on behalf of Lau Wee Lip Jonathan <lauweelip.sg>.

USB disk stopped working after an upgrade to 2.4.18-5.

usb.c: USB disconnect on device 2
printer.c: usblp0: removed
hub.c: USB new device connect on bus1/1, assigned device number 4
usb.c: USB device 4 (vend/prod 0xdbf/0x300) is not claimed by any active
driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi2 : SCSI emulation for USB Mass Storage devices
usb-uhci.c: interrupt, status 3, frame# 1156
  Vendor: ST313620  Model: A                 Rev: 3.07
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi disk sdb at scsi2, channel 0, id 0, lun 0
SCSI device sdb: 26692776 512-byte hdwr sectors (13667 MB)
 sdb: sdb1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 4
USB Mass Storage support registered.
Device not ready.  Make sure there is a disc in the drive.
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Current sd00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : block size assumed to be 512 bytes, disk size 1GB.
 sda: I/O error: dev 08:00, sector 0
 I/O error: dev 08:00, sector 0
 unable to read partition table

Observe that the media is not actually removable.
The sense may be faked by usb-storage.

Comment 1 Pete Zaitcev 2002-07-19 04:30:41 UTC
Created attachment 65887 [details]
The boot-up dmesg

Comment 2 Pete Zaitcev 2003-06-04 03:59:57 UTC
Thought I fixed it for bug 84814? Closing.


Comment 3 Pawel Salek 2003-08-05 22:36:33 UTC
I see this with kernel-2.4.21-20.1.2024.2.1.nptl of Severn when I use usb-key.
The workaround is to do "rmmod usb-storage" after umount and before physical
disconnection of the device.