Bugzilla – Bug 457941
USB hard disk not recognized
Last modified: 2009-01-31 03:40:51 UTC
I get the "sense key/no sense" messages when I plug in a USB hard disk on openSUSE 11.1 RC 1. The same USB hard disk works perfectly on openSUSE 11.0 Dec 9 18:39:37 linux-6yz1 kernel: usb 1-2: new high speed USB device using ehci_hcd and address 3 Dec 9 18:39:37 linux-6yz1 kernel: usb 1-2: configuration #1 chosen from 1 choice Dec 9 18:39:37 linux-6yz1 kernel: scsi3 : SCSI emulation for USB Mass Storage devices Dec 9 18:39:37 linux-6yz1 kernel: usb 1-2: New USB device found, idVendor=059b, idProduct=0178 Dec 9 18:39:37 linux-6yz1 kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Dec 9 18:39:37 linux-6yz1 kernel: usb 1-2: Product: Desktop Hard Drive Dec 9 18:39:37 linux-6yz1 kernel: usb 1-2: Manufacturer: IOMEGA Dec 9 18:39:37 linux-6yz1 kernel: usb 1-2: SerialNumber: 7800000000040D6F Dec 9 18:39:37 linux-6yz1 kernel: usb-storage: device found at 3 Dec 9 18:39:37 linux-6yz1 kernel: usb-storage: waiting for device to settle before scanning Dec 9 18:39:38 linux-6yz1 kernel: scsi 3:0:0:0: Direct-Access ST340014 A 3.04 PQ: 0 ANSI: 0 Dec 9 18:39:38 linux-6yz1 kernel: sd 3:0:0:0: [sdb] 78165361 512-byte hardware sectors: (40.0GB/37.2GiB) Dec 9 18:39:38 linux-6yz1 kernel: sd 3:0:0:0: [sdb] Write Protect is off Dec 9 18:39:38 linux-6yz1 kernel: sd 3:0:0:0: [sdb] Mode Sense: 03 00 00 00 Dec 9 18:39:38 linux-6yz1 kernel: sd 3:0:0:0: [sdb] Assuming drive cache: write through Dec 9 18:39:38 linux-6yz1 kernel: sd 3:0:0:0: [sdb] 78165361 512-byte hardware sectors: (40.0GB/37.2GiB) Dec 9 18:39:38 linux-6yz1 kernel: sd 3:0:0:0: [sdb] Write Protect is off Dec 9 18:39:38 linux-6yz1 kernel: sd 3:0:0:0: [sdb] Mode Sense: 03 00 00 00 Dec 9 18:39:38 linux-6yz1 kernel: sd 3:0:0:0: [sdb] Assuming drive cache: write through Dec 9 18:39:38 linux-6yz1 kernel: sdb: sdb1 Dec 9 18:39:38 linux-6yz1 kernel: sd 3:0:0:0: [sdb] Attached SCSI disk Dec 9 18:39:38 linux-6yz1 kernel: sd 3:0:0:0: Attached scsi generic sg2 type 0 Dec 9 18:39:38 linux-6yz1 kernel: usb-storage: device scan complete Dec 9 18:39:39 linux-6yz1 kernel: sd 3:0:0:0: [sdb] Sense Key : No Sense [current] Dec 9 18:39:39 linux-6yz1 kernel: sd 3:0:0:0: [sdb] Add. Sense: No additional sense information Dec 9 18:39:39 linux-6yz1 kernel: sd 3:0:0:0: [sdb] Sense Key : No Sense [current] The last two lines are repeated forever. When I unplug the USB hard disk I get: Dec 9 18:39:42 linux-6yz1 kernel: usb 1-2: USB disconnect, address 3 Dec 9 18:39:42 linux-6yz1 kernel: scsi 3:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK Dec 9 18:39:42 linux-6yz1 kernel: end_request: I/O error, dev sdb, sector 78165360 Dec 9 18:39:42 linux-6yz1 kernel: __ratelimit: 181 callbacks suppressed Dec 9 18:39:42 linux-6yz1 kernel: Buffer I/O error on device sdb, logical block 78165360 Dec 9 18:39:42 linux-6yz1 kernel: scsi 3:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK Dec 9 18:39:42 linux-6yz1 kernel: end_request: I/O error, dev sdb, sector 32 Dec 9 18:39:42 linux-6yz1 kernel: Buffer I/O error on device sdb, logical block 32 Dec 9 18:39:42 linux-6yz1 kernel: Buffer I/O error on device sdb, logical block 33 then same thing with block 34, 35, etc.
Created attachment 259137 [details] lsusb -v
Please test the kernel found at http://beta.suse.com/private/oneukum/457941
Could you please provide rpms for my 32-bit system. I couldn't try building the rpms myself because there was no src.rpm.
Please test the new 32 bit kernel at the old place.
Now it works! Thanks a lot :)
Could you attach dmesg? Would you also test an alternative patch?
Created attachment 260349 [details] dmesg
Sure, just tell me the location of that alternative patch and I'll test it.
Bug 462557 says the same bug is still there in 11.1 final. Will the patch be made available for users?
*** Bug 462557 has been marked as a duplicate of this bug. ***
*** Bug 456526 has been marked as a duplicate of this bug. ***
Priority copied from duplicate.
(In reply to comment #15 from B Schad) > Priority copied from duplicate. > No, severity copied from duplicate.
Tvrtko, could you test the kernel to be found at: http://beta.suse.com/private/oneukum/457941/
I've just tested you patch http://beta.suse.com/private/oneukum/457941/ And it works for me :) (Nokia 6300)
Backport from mainline tested and found working
I think it is super that the problem is resovled ... but i can't install the rpm. it opens in yast and then closes nothing happens ... so i must be doing something wrong. but what. how to do it? /rasmus
try: $ wget http://beta.suse.com/private/oneukum/457941/kernel-default-2.6.27.8-9.1.x86_64.rpm && wget http://beta.suse.com/private/oneukum/457941/kernel-default-base-2.6.27.8-9.1.x86_64.rpm && wget http://beta.suse.com/private/oneukum/457941/kernel-default-extra-2.6.27.8-9.1.x86_64.rpm $ sudo rpm -i kernel-default-* more info: $ man rpm
but isent that for 64 bit? i have a 32 bit.
i see oliver is refers to a old place for a 32 bit .... but no link
ups... ;P ask Oliver for 32-bit version :) You can always experiment with stuff like: http://download.opensuse.org/repositories/Kernel:/HEAD/openSUSE_Factory/i586/ or some other cutting edge kernel from http://software.opensuse.org/search?baseproject=openSUSE:11.1 but ONLY if you know what you are doing, some of them are definitely unstable. Good Luck.
(In reply to comment #17) > Tvrtko, > > could you test the kernel to be found at: > > http://beta.suse.com/private/oneukum/457941/ Unfortunately I decommissioned that enclosure. Actually I don't have a 2.5" HDD to put into it any more so I am unable to test this now, sorry. Is this a different fix than the one I tested from http://beta.suse.com/private/oneukum/456526?
hello not to 'bitch' but i had made a bug report Bug 462557 and it was marked as duplicate, and the resolved ... but it is not resolved. i still need the fix for 32 bit and not the 64 bit as this thread is ... Oliver i see u talking about a 'old' place for a 32 bit kernel in #6, but how can i find that on if that is the fix for me.? Im not that 'hardcore' so i can mess around with stuff mentioned at #24 my point is if my original thread is marked as resolved then where is the fix? :D /Rasmus
Hello Oliver, can you please provide us the link for the 32-bit kernel?
Due to popular demand build kernel kalman-oneukum-55
@Tvrtko Yes, it is different
A 32 bit kernel has been put into the same source mentioned in comment #25 The fix has been incorporated in the SuSE kernel. The next kernel update will include it.
will this update also come as a -pae ???
The fix will be released in all flavors.
and hope you include a kernel-source too
Hi! I find out a solution for this problem: 1 step: sudo cp /lib/udev/rules.d/60-persistent-storage.rules /etc/udev/rules.d/60-persistent-storage.rules 2 step: vi /etc/udev/rules.d/60-persistent-storage.rules 3 step: change line 62 from: KERNEL!="sr*", IMPORT{program}="vol_id --export $tempnode" to: KERNEL!="sr*", ENV{DEVTYPE}=="partition", IMPORT{program}="vol_id --export $tempnode" This solution is at https://bugzilla.redhat.com/show_bug.cgi?id=473017
That would break RAID detection. Unless the fixed kernel still gets you an error, this is a bad idea.
(In reply to comment #17) > Tvrtko, > > could you test the kernel to be found at: > > http://beta.suse.com/private/oneukum/457941/ Is there a kernel-source package for this?
Could you please use the kernel source package of the KOTD? If that's not sufficient, tell me so and I'll recreate the source rpms.
*** Bug 456393 has been marked as a duplicate of this bug. ***
I see this bug is closed as fixed, but my system is patched up to date and I still have the issue. When will the fix be generally available ?
At the next kernel update for OpenSuse 11.1 Does the kernel I put on ftp not do the job for you?
Thanks Oliver Neukum! Your kernel package works for me.