Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97804 - can't mount mp3 player - EHCI "Cannot enable port 1"
Summary: can't mount mp3 player - EHCI "Cannot enable port 1"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-03 03:31 UTC by Keffin
Modified: 2005-07-04 15:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keffin 2005-07-03 03:31:51 UTC
In an emerge update I upgraded a few things including cyrus-sasl to version   
2.1.21-r1. A dispatch-conf updated the /etc/sasl2/sasldb2 file, which is not   
plain text so when I saw the diff I just accepted. Following that I could not   
mount my mp3 player. I had the following error message:   
   
Jul  3 10:53:39 gentoo ehci_hcd 0000:00:02.1: port 1 reset error -110   
Jul  3 10:53:39 gentoo hub 2-0:1.0: hub_port_status failed (err = -32)   
Jul  3 10:53:39 gentoo ehci_hcd 0000:00:02.1: port 1 reset error -110   
Jul  3 10:53:39 gentoo hub 2-0:1.0: hub_port_status failed (err = -32)   
Jul  3 10:53:39 gentoo ehci_hcd 0000:00:02.1: port 1 reset error -110   
Jul  3 10:53:39 gentoo hub 2-0:1.0: hub_port_status failed (err = -32)   
Jul  3 10:53:39 gentoo ehci_hcd 0000:00:02.1: port 1 reset error -110             
Jul  3 10:53:39 gentoo hub 2-0:1.0: hub_port_status failed (err = -32)   
Jul  3 10:53:40 gentoo ehci_hcd 0000:00:02.1: port 1 reset error -110             
Jul  3 10:53:40 gentoo hub 2-0:1.0: hub_port_status failed (err = -32)   
Jul  3 10:53:40 gentoo hub 2-0:1.0: Cannot enable port 1.  Maybe the USB cable   
is bad?   
   
Rebooting did not help.   
   
I tried in all my usb ports, and with every one that failed, the usb port   
could then no longer be used with anything else. On   
replacing /etc/sasl2/sasldb2 with the previous version and rebooting,   
everything was fine again.  
  
Doh. I just unplugged/replugged the mp3 player a couple of times  
while writing this and eventually got the same error. Then I moved to a  
different port and got a couple of working tries before the same again. This  
is better than before though where it just died first time every time. 
 
The only low-level package that has been upgraded in days is cyrus-sasl, and 
it and man are the only 2 packages for weeks that have have a new config file. 

Reproducible: Always
Steps to Reproduce:
1. emerge dev-libs/cyrus-sasl-2.1.21-r1 
2. dispatch-conf (or etc-update), and accept the new sasldb2. 
3. plug in mp3 player. 
4. dmesg. 
 
Actual Results:  
Jul  3 10:53:39 gentoo ehci_hcd 0000:00:02.1: port 1 reset error -110  
Jul  3 10:53:39 gentoo hub 2-0:1.0: hub_port_status failed (err = -32)  
Jul  3 10:53:39 gentoo ehci_hcd 0000:00:02.1: port 1 reset error -110  
Jul  3 10:53:39 gentoo hub 2-0:1.0: hub_port_status failed (err = -32)  
Jul  3 10:53:39 gentoo ehci_hcd 0000:00:02.1: port 1 reset error -110  
Jul  3 10:53:39 gentoo hub 2-0:1.0: hub_port_status failed (err = -32)  
Jul  3 10:53:39 gentoo ehci_hcd 0000:00:02.1: port 1 reset error -110            
Jul  3 10:53:39 gentoo hub 2-0:1.0: hub_port_status failed (err = -32)  
Jul  3 10:53:40 gentoo ehci_hcd 0000:00:02.1: port 1 reset error -110            
Jul  3 10:53:40 gentoo hub 2-0:1.0: hub_port_status failed (err = -32)  
Jul  3 10:53:40 gentoo hub 2-0:1.0: Cannot enable port 1.  Maybe the USB cable  
is bad?  

Expected Results:  
Jul  3 11:22:05 gentoo usb 2-1: new high speed USB device using ehci_hcd and 
address 8 
Jul  3 11:22:06 gentoo scsi6 : SCSI emulation for USB Mass Storage devices 
Jul  3 11:22:06 gentoo usb-storage: device found at 8 
Jul  3 11:22:06 gentoo usb-storage: waiting for device to settle before 
scanning 
Jul  3 11:22:11 gentoo Vendor: USB-HS    Model: HTC426020G7CE00   Rev: 0.01 
Jul  3 11:22:11 gentoo Type:   Direct-Access                      ANSI SCSI 
revision: 00 
Jul  3 11:22:11 gentoo SCSI device sdb: 39070080 512-byte hdwr sectors (20004 
MB) 
Jul  3 11:22:11 gentoo sdb: assuming drive cache: write through 
Jul  3 11:22:11 gentoo SCSI device sdb: 39070080 512-byte hdwr sectors (20004 
MB) 
Jul  3 11:22:11 gentoo sdb: assuming drive cache: write through 
Jul  3 11:22:11 gentoo /dev/scsi/host6/bus0/target0/lun0: p1 
Jul  3 11:22:11 gentoo Attached scsi disk sdb at scsi6, channel 0, id 0, lun 0 
Jul  3 11:22:11 gentoo usb-storage: device scan complete 
Jul  3 11:22:11 gentoo scsi.agent[8553]: disk 
at /devices/pci0000:00/0000:00:02.1/usb2/2-1/2-1:1.0/host6/target6:0:0/6:0:0:0 
Jul  3 11:22:12 gentoo fstab-sync[8591]: added mount point /media/JUKEBOX 
for /dev/sdb1 

Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, 
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r11 x86_64) 
================================================================= 
System uname: 2.6.11-gentoo-r11 x86_64 AMD Athlon(tm) 64 Processor 3000+ 
Gentoo Base System version 1.6.12 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 12 2005, 19:03:16)] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    [Not Present] 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.9.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.5, 1.8.5-r3 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.6.8.1-r4 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon64 -O2 -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon64 -O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
LINGUAS="en_GB ja" 
MAKEOPTS="-j1" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X a52 aac acpi aim alsa arts artworkextra atm avi bash-completion 
berkdb bitmap-fonts cdparanoia cdr crypt cups curl dvd dvdr dvdread 
emul-linux-x86 encode fam ffmpeg font-server foomaticdb fortran gdbm gif glut 
gpm gstreamer gtk gtk2 hal ieee1394 image imagemagick imlib ipv6 java jit 
joystick jp2 jpeg kde kdeenablefinal lzw lzw-tiff mad matroska mikmod mime mng 
mp3 mpeg msn mysql ncurses nls nptl nvidia ogg oggvorbis opengl oss pam pascal 
pdflib perl png ppds python qt readline ruby samba sdl spamassassin spell ssl 
subversion svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode 
usb userlocales vcd videos vorbis xine xml2 xpm xprint xrandr xv xvid zlib 
linguas_en_GB linguas_ja userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Keffin 2005-07-03 03:34:57 UTC
(In reply to comment #0)  
  
I should really have pointed out that my cable has never shown signs of "being 
bad" before, and still doesn't on windows, so I don't think that is the 
problem. 
Comment 2 Keffin 2005-07-03 11:11:28 UTC
(In reply to comment #0)  
ooook. Looks like cyrus-sasl isn't the problem. On further testing I managed to 
hit the problem again on a first try. Downgrading didn't help. I guess it may 
well be a dodgy cable, though I'm still striking lucky in windows every time. 
I'm going to close this as invalid at least until I can definitely say the 
cable is fine. 
Comment 3 Keffin 2005-07-04 11:15:17 UTC
I can very definitely say that the cable is not bad. I thought it best to close 
the bug since the problem seemed to be getting worse and implying it might be 
the cable, but I've done lots more testing and it is 100% fine in windows. 
Unfortunately windows is running on a different machine and I don't have it on 
this one to test. That led me to look inside this machine at the connections, 
which all seem fine, and after all I am using a usb keyboard and modem, and 
have tried the mp3 player in the slots those two normally use to no avail. 
 
And cyrus-sasl can't be the problem. After downgrading it to what it was I'm 
still getting the error every time I plug the mp3 player in, and moving the 
config to a temp file gives no error about not finding it or anything while 
this is going on. 
 
I have no idea what could be the cause now :S. 
 
Btw, mp3 player is an Archos Gmini XS 200, it shows up as a regular usb mass 
storage device. Or at least it did... 
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2005-07-04 11:42:12 UTC
Please try and reproduce on 2.6.12
Comment 5 Keffin 2005-07-04 12:54:44 UTC
Excellent. Gentoo-sources-2.6.12-r3 seems to have fixed the problem completely.    
Though I really don't understand how, I haven't upgraded my kernel since    
gentoo-sources-2.6.11-r11, and I've used the mp3 player plenty since then.    
Rebooting into 2.6.11-r11 still leaves it broke though. Anyhoo, thank you for 
your help. I assume it is correct to close as resolved-fixed now.  
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2005-07-04 15:06:24 UTC
Thanks. 2.6.12 will be marked stable tomorrow.