[058f:6254 Alcor Micro Corp. USB Hub] USB port gets stuck at "suspend" status after Safely Remove Device

Bug #514742 reported by Wenzhuo Zhang
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: linux-image

OS: Ubuntu 9.10 (Karmic Koala)
Kernel: 2.6.31-17-generic

I've got a PowerSync HU-210B USB 2.0 4-Port HUB, which is based on the Alcor USB Hub chip (058f:6254 Alcor Micro Corp. USB Hub). After performing Safely Remove Drive on a USB flash drive connected to this hub, the USB port no longer reacts to plug/unplug events (gets stuck at "suspend" status), until the hub itself is disconnected and reconnected to the upstream.

Since the problem is not reproducible in Windows XP, I guess it's caused by a bug in the linux-usb subsystem.

[code]
$ sudo lsusb -v -d 058f:6254

Bus 001 Device 019: ID 058f:6254 Alcor Micro Corp. USB Hub
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 1 Single TT
  bMaxPacketSize0 64
  idVendor 0x058f Alcor Micro Corp.
  idProduct 0x6254 USB Hub
  bcdDevice 1.00
  iManufacturer 0
  iProduct 1 USB2.0Hub
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
      Self Powered
      Remote Wakeup
    MaxPower 100mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 9 Hub
      bInterfaceSubClass 0 Unused
      bInterfaceProtocol 0 Full speed (or root) hub
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0001 1x 1 bytes
        bInterval 12
Hub Descriptor:
  bLength 9
  bDescriptorType 41
  nNbrPorts 4
  wHubCharacteristic 0x0080
    Ganged power switching
    Ganged overcurrent protection
    TT think time 8 FS bits
    Port indicators
  bPwrOn2PwrGood 50 * 2 milli seconds
  bHubContrCurrent 100 milli Ampere
  DeviceRemovable 0x00
  PortPwrCtrlMask 0xff
 Hub Port Status:
   Port 1: 0000.0507 highspeed power suspend enable connect
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
Device Qualifier (for other device speed):
  bLength 10
  bDescriptorType 6
  bcdUSB 2.00
  bDeviceClass 9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 0 Full speed (or root) hub
  bMaxPacketSize0 64
  bNumConfigurations 1
Device Status: 0x0001
  Self Powered
[/code]
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: wenzhuo 1478 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'I82801DBICH4'/'Intel 82801DB-ICH4 with AD1981B at irq 11'
   Mixer name : 'Analog Devices AD1981B'
   Components : 'AC97a:41445374'
   Controls : 26
   Simple ctrls : 18
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 1QHT23WW-1.08'
   Mixer name : 'ThinkPad EC 1QHT23WW-1.08'
   Components : ''
   Controls : 2
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
   Playback channels: Mono
   Limits: Playback 0 - 14
   Mono: Playback 0 [0%] [on]
CurrentDmesg:
 [ 38.564029] eth1: no IPv6 routers present
 [ 38.668024] eth0: no IPv6 routers present
 [ 40.077636] lib80211_crypt: registered algorithm 'CCMP'
 [ 40.111479] padlock: VIA PadLock not detected.
 [ 40.154625] lib80211_crypt: registered algorithm 'TKIP'
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=5e4fc5f4-fe53-4b3c-9743-552d18a38bc2
Lsusb:
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: IBM 2672AEC
Package: linux (not installed)
PccardctlIdent:
 Socket 0:
   no product info available
 Socket 1:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
 Socket 1:
   no card
ProcCmdLine: root=UUID=46aacfd3-26dd-438e-a50d-5d8951d49614 ro quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Regression: No
RelatedPackageVersions: linux-firmware 1.34
Reproducible: Yes
RfKill:

Tags: lucid needs-upstream-testing
Uname: Linux 2.6.32-22-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
WpaSupplicantLog:

dmi.bios.date: 09/22/2005
dmi.bios.vendor: IBM
dmi.bios.version: 1QET97WW (3.02 )
dmi.board.name: 2672AEC
dmi.board.vendor: IBM
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: IBM
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnIBM:bvr1QET97WW(3.02):bd09/22/2005:svnIBM:pn2672AEC:pvrThinkPadX32:rvnIBM:rn2672AEC:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:
dmi.product.name: 2672AEC
dmi.product.version: ThinkPad X32
dmi.sys.vendor: IBM

Wenzhuo Zhang (wenzhuo)
affects: linux-ports-meta (Ubuntu) → linux (Ubuntu)
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Wenzhuo,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 514742

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kernel-suspend
tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Wenzhuo Zhang (wenzhuo) wrote : AlsaDevices.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Wenzhuo Zhang (wenzhuo) wrote : AplayDevices.txt

apport information

Revision history for this message
Wenzhuo Zhang (wenzhuo) wrote : ArecordDevices.txt

apport information

Revision history for this message
Wenzhuo Zhang (wenzhuo) wrote : BootDmesg.txt

apport information

Revision history for this message
Wenzhuo Zhang (wenzhuo) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Wenzhuo Zhang (wenzhuo) wrote : Card0.Codecs.codec97.0.ac97.0.0.txt

apport information

Revision history for this message
Wenzhuo Zhang (wenzhuo) wrote : Card0.Codecs.codec97.0.ac97.0.0.regs.txt

apport information

Revision history for this message
Wenzhuo Zhang (wenzhuo) wrote : IwConfig.txt

apport information

Revision history for this message
Wenzhuo Zhang (wenzhuo) wrote : Lspci.txt

apport information

Revision history for this message
Wenzhuo Zhang (wenzhuo) wrote : PciMultimedia.txt

apport information

Revision history for this message
Wenzhuo Zhang (wenzhuo) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Wenzhuo Zhang (wenzhuo) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Wenzhuo Zhang (wenzhuo) wrote : ProcModules.txt

apport information

Revision history for this message
Wenzhuo Zhang (wenzhuo) wrote : UdevDb.txt

apport information

Revision history for this message
Wenzhuo Zhang (wenzhuo) wrote : UdevLog.txt

apport information

Revision history for this message
Wenzhuo Zhang (wenzhuo) wrote : WifiSyslog.txt

apport information

Revision history for this message
Googie Furey (fureys) wrote :

I have a similar ALCOR usb hub and have the same problem. I installed clean install with 10.04 CD and can reproduce problem. I just installed linux-image-2.6.34-999-generic_2.6.34-999.201005111417_i386.deb and the problem persists.
Right click on a connected memory card (CF, SD, etc) and Safely Remove option causes all other connected flash drives to be unavailable.

Revision history for this message
Googie Furey (fureys) wrote :

I can confirm that this problem did NOT exist in ubuntu 9.04, I don't remember 9.10 for my results. I had lots of other problems and updated to 10.04 quickly.

Revision history for this message
Wenzhuo Zhang (wenzhuo) wrote :

The upstream kernel linux-image-2.6.34-020634rc7-generic does not have this problem. But flash drives do not automount under this kernel.

tags: removed: needs-kernel-logs needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Jack Hargett (jack-hargett) wrote :

Hi. I'm experiencing the very same problem with 10.10 (kernel 2.6.35-22-generic, x86_64).

Revision history for this message
penalvch (penalvch) wrote :

Wenzhuo Zhang, thank you for reporting this and helping make Ubuntu better. Karmic reached EOL on April 30, 2011.
Please see this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We were wondering if this is still an issue on a supported release? If so, can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command in a supported release from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

tags: added: karmic needs-upstream-testing
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.