lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 26 Jun 2009 10:03:59 +0300
From:	Tarkan Erimer <tarkan.erimer@...knet.net.tr>
To:	linux-kernel@...r.kernel.org
Subject: [BUG] Linux-2.6.31-rc1 Fails To Recognize Some USB Disks

Hi,

I just tried to plug a "Western Digital, My Book Series" USB disk on 
2.6.31-rc1. But, it failed to recognize it by saying "READ CAPACITY 
failed". The same disk works fine with =< 2.6.30. Interestingly, I tried 
another USB Disk (which is noname, just USB Box with disk) and it worked 
fine. Here are the logs when WD-My Book has plugged in :

With 2.6.31-rc1

Jun 26 09:31:56 tarkane kernel: [  459.016642] Initializing USB Mass 
Storage driver...
Jun 26 09:31:56 tarkane kernel: [  459.016779] scsi4 : SCSI emulation 
for USB Mass Storage devices
Jun 26 09:31:56 tarkane kernel: [  459.016895] usbcore: registered new 
interface driver usb-storage
Jun 26 09:31:56 tarkane kernel: [  459.016899] USB Mass Storage support 
registered.
Jun 26 09:32:01 tarkane kernel: [  464.051692] scsi 4:0:0:0: 
Direct-Access     WD       2500JB External  0108 PQ: 0 ANSI: 0
Jun 26 09:32:01 tarkane kernel: [  464.052354] sd 4:0:0:0: Attached scsi 
generic sg2 type 0
Jun 26 09:32:01 tarkane kernel: [  464.054141] sd 4:0:0:0: [sdb] 
488397168 512-byte logical blocks: (250 GB/232 GiB)
Jun 26 09:32:32 tarkane kernel: [  494.805017] usb 5-8: reset high speed 
USB device using ehci_hcd and address 4
Jun 26 09:32:36 tarkane kernel: [  498.707778] usb 5-8: USB disconnect, 
address 4
Jun 26 09:32:36 tarkane kernel: [  498.709294] sd 4:0:0:0: [sdb] Write 
Protect is off
Jun 26 09:32:36 tarkane kernel: [  498.709445] sd 4:0:0:0: [sdb] READ 
CAPACITY failed
Jun 26 09:32:36 tarkane kernel: [  498.709448] sd 4:0:0:0: [sdb] Result: 
hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Jun 26 09:32:36 tarkane kernel: [  498.709454] sd 4:0:0:0: [sdb] Sense 
not available.
Jun 26 09:32:36 tarkane kernel: [  498.709502] sdb: detected capacity 
change from 250059350016 to 0
Jun 26 09:32:36 tarkane kernel: [  498.709653] sd 4:0:0:0: [sdb] READ 
CAPACITY failed


With 2.6.30

Jun 26 09:38:57 tarkane kernel: [  315.453136] usb 5-8: new high speed 
USB device using ehci_hcd and address 4
Jun 26 09:38:57 tarkane kernel: [  315.575147] usb 5-8: configuration #1 
chosen from 1 choice
Jun 26 09:38:58 tarkane kernel: [  315.618461] Initializing USB Mass 
Storage driver...
Jun 26 09:38:58 tarkane kernel: [  315.618653] scsi4 : SCSI emulation 
for USB Mass Storage devices
Jun 26 09:38:58 tarkane kernel: [  315.618775] usbcore: registered new 
interface driver usb-storage
Jun 26 09:38:58 tarkane kernel: [  315.618779] USB Mass Storage support 
registered.
Jun 26 09:39:03 tarkane kernel: [  320.653653] scsi 4:0:0:0: 
Direct-Access     WD       2500JB External  0108 PQ: 0 ANSI: 0
Jun 26 09:39:03 tarkane kernel: [  320.655270] sd 4:0:0:0: Attached scsi 
generic sg2 type 0
Jun 26 09:39:03 tarkane kernel: [  320.661485] sd 4:0:0:0: [sdb] 
488397168 512-byte hardware sectors: (250 GB/232 GiB)
Jun 26 09:39:03 tarkane kernel: [  320.664200] sd 4:0:0:0: [sdb] Write 
Protect is off
Jun 26 09:39:03 tarkane kernel: [  320.666169]  sdb: sdb1
Jun 26 09:39:03 tarkane kernel: [  320.675070] sd 4:0:0:0: [sdb] 
Attached SCSI disk


Also, my .config is attached.

Tarkan


View attachment ".config" of type "text/plain" (86605 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ