Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281265 - The hardware is fine, but all of a sudden I am uanble to mount a USB drive.
Summary: The hardware is fine, but all of a sudden I am uanble to mount a USB drive.
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-12 23:20 UTC by Alex Weiss
Modified: 2009-10-25 08:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
results of emerge --info (emerge.info,3.73 KB, text/plain)
2009-08-13 05:22 UTC, Alex Weiss
Details
Results of cat /proc/config.gz (configgz.txt,9.53 KB, text/plain)
2009-08-13 05:23 UTC, Alex Weiss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Weiss 2009-08-12 23:20:02 UTC
Everything was working without a problem. However, I had to reboot the system at some point and then I was no longer able to mount my portable USB drive.as the device (sda1) never was created. A peek inside my dmesg reveals the following message over and over again:

usb 1-6: new high speed USB device using ehci_hcd and address 64
hub 1-0:1.0: unable to enumerate USB device on port 6

I built my kernel correctly as this did not change between the drive working fine and this problem.

Reproducible: Always

Steps to Reproduce:
1.mount /mnt/usbdrive
2.
3.

Actual Results:  
usb 1-6: new high speed USB device using ehci_hcd and address 57
hub 1-0:1.0: unable to enumerate USB device on port 6
hub 1-0:1.0: unable to enumerate USB device on port 6
hub 1-0:1.0: unable to enumerate USB device on port 6
hub 1-0:1.0: unable to enumerate USB device on port 6
hub 1-0:1.0: unable to enumerate USB device on port 6
hub 1-0:1.0: unable to enumerate USB device on port 6
hub 1-0:1.0: unable to enumerate USB device on port 6
usb 1-6: new high speed USB device using ehci_hcd and address 64
hub 1-0:1.0: unable to enumerate USB device on port 6


Expected Results:  
USB drive mounts and allows me to access its contents.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-13 02:00:29 UTC
bugzilla is not a troubleshooting medium. 

You provided no kernel version, no clue about your system, and no details. *Something* must have changed. initial signs point to kernel or udev. Let's start with the basics, emerge --info, uname -a, /proc/config.gz. No guarantee that this is solvable, via bugzilla. A better choice is forums, mailing list, or irc (#gentoo). Thanks for understanding.
Comment 2 Alex Weiss 2009-08-13 05:22:57 UTC
Created attachment 201106 [details]
results of emerge --info
Comment 3 Alex Weiss 2009-08-13 05:23:53 UTC
Created attachment 201108 [details]
Results of cat /proc/config.gz
Comment 4 Alex Weiss 2009-08-13 05:25:16 UTC
Kernel is 2.6.30-gentoo-r4 #2 SMP Wed Aug 12 23:58:59 BST 2009 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GenuineIntel GNU/Linux
Comment 5 Alex Weiss 2009-08-13 08:01:30 UTC
Hi,

Fortunately, I try to keep old configuration files around (basically I just maintain a copy of the etc directory). I found a copy of some 'storage rules' there which, when copied into the /etc/udev directory, seemed to do the trick.

Sorry to clutter up the bugtracker.

Alex
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-13 10:31:26 UTC
No worries, glad you resolved the issue.
Comment 7 Alex Weiss 2009-10-22 11:05:20 UTC
(In reply to comment #6)
> No worries, glad you resolved the issue.
> 

Hi there,

Unfortunately, the issue returned after I rebooted and installed a new kernel. Sometimes the device is found again, though not until I wait a very long time and goes through tons of those messages. Suddenly the device appears to find usb 4-1 which makes it happy:

usb 4-1: new full speed USB device using uhci_hcd and address 2
usb 4-1: not running at top speed; connect to a high speed hub
usb 4-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usb 4-1: reset full speed USB device using uhci_hcd and address 2
scsi 0:0:0:0: Direct-Access     WDC WD10 EAVS-00D7B0      01.0 PQ: 0 ANSI: 0
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 1953525168 512-byte hardware sectors: (1.00 TB/931 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
usb-storage: device scan complete
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk
EXT4-fs: barriers enabled
kjournald2 starting: pid 6710, dev sda1:8, commit interval 5 seconds
EXT4 FS on sda1, internal journal on sda1:8
EXT4-fs: delayed allocation enabled
EXT4-fs: file extents enabled
EXT4-fs: mballoc enabled
EXT4-fs: mounted filesystem sda1 with ordered data mode 

Anyway, I am really not sure why this problem suddenly emerged, but it's rather frustrating.

Alex
Comment 8 Peter Alfredsen (RETIRED) gentoo-dev 2009-10-23 05:40:27 UTC
The bug in URL suggests that this may be a problem your controller has with S.M.A.R.T. - we don't currently package libatasmart, but if you're running smartmontools or sth. similar, you should be seeing similar problems.