On Jan 20 2004, Alan Stern wrote:
> Here Rogério, try this patch.  It adds a few more diagnostic messages.  I 
> think the problem occurs at the point where the system tries to reset one 
> of the ports belonging to the internal hub.  This should help make sure of 
> that.

Hi, Alan.

Attached is the edited dmesg of that patch. I hope that I have not cut
any essential information. I tried to indicate clearly what I did there
(I have the hotplug scripts disabled, as you advised).


Thanks, Rogério.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogério Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   -*- Loading uhci-hcd -*-
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
   (...) Lines removed
hub 1-0:1.0: 2 ports detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: ganged power switching
hub 1-0:1.0: global over-current protection
hub 1-0:1.0: Port indicators are not supported
   (...) Lines removed
drivers/usb/host/uhci-hcd.c: detected 2 ports
uhci_hcd 0000:00:04.3: root hub device address 1
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
drivers/usb/core/message.c: USB device number 1 default language ID 0x409
usb usb2: Product: UHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.1-1 uhci_hcd
usb usb2: SerialNumber: 0000:00:04.3
drivers/usb/core/usb.c: usb_hotplug
usb usb2: registering 2-0:1.0 (config #1, interface 0)
   (...) Lines removed
hub 2-0:1.0: enabling power on all ports
hub 1-0:1.0: initial port 1 status: ret = 0
hub 1-0:1.0: port 1, status 300, change 3, 1.5 Mb/s
hub 1-0:1.0: clear C_CONNECTION1 = 0
hub 1-0:1.0: initial port 2 status: ret = 0
hub 1-0:1.0: port 2, status 100, change 3, 12 Mb/s
hub 1-0:1.0: clear C_CONNECTION1 = 0
hub 2-0:1.0: initial port 1 status: ret = 0
hub 2-0:1.0: port 1, status 300, change 3, 1.5 Mb/s
hub 2-0:1.0: clear C_CONNECTION1 = 0
hub 2-0:1.0: initial port 2 status: ret = 0
hub 2-0:1.0: port 2, status 101, change 3, 12 Mb/s
hub 2-0:1.0: clear C_CONNECTION1 = 0
hub 2-0:1.0: port_status= 0, port 2 status 101 change 2
hub 2-0:1.0: port_status= 0, port 2 status 101 change 2
hub 2-0:1.0: port_status= 0, port 2 status 101 change 2
hub 2-0:1.0: port_status= 0, port 2 status 101 change 2
hub 2-0:1.0: port_status= 0, port 2 status 101 change 2
hub 2-0:1.0: debounce: port 2: delay 100ms stable 4 status 0x101
hub 2-0:1.0: port reset = 0
hub 2-0:1.0: wait_reset 0, port 2, status 103, change 0
hub 2-0:1.0: new USB device on port 2, assigned address 2
usb 2-2: new device strings: Mfr=1, Product=2, SerialNumber=0
drivers/usb/core/message.c: USB device number 2 default language ID 0x409
usb 2-2: Product: Generic USB Hub
usb 2-2: Manufacturer: ALCOR
drivers/usb/core/usb.c: usb_hotplug
usb 2-2: registering 2-2:1.0 (config #1, interface 0)
drivers/usb/core/usb.c: usb_hotplug
hub 2-2:1.0: usb_probe_interface
hub 2-2:1.0: usb_probe_interface - got id
hub 2-2:1.0: USB hub found
hub 2-2:1.0: 4 ports detected
hub 2-2:1.0: standalone hub
hub 2-2:1.0: ganged power switching
hub 2-2:1.0: global over-current protection
hub 2-2:1.0: Port indicators are not supported
hub 2-2:1.0: power on to power good time: 44ms
hub 2-2:1.0: hub controller current requirement: 100mA
hub 2-2:1.0: local power source is good
hub 2-2:1.0: no over-current condition exists
hub 2-2:1.0: enabling power on all ports
hub 2-0:1.0: initial port 1 status: ret = 0
hub 2-0:1.0: port 1 enable change, status 300
hub 2-0:1.0: initial port 2 status: ret = 0
hub 1-0:1.0: initial port 1 status: ret = 0
hub 1-0:1.0: port 1 enable change, status 300
hub 1-0:1.0: initial port 2 status: ret = 0
hub 1-0:1.0: port 2 enable change, status 100
drivers/usb/host/uhci-hcd.c: d400: suspend_hc
   -*- Plugging the drive here -*-
drivers/usb/host/uhci-hcd.c: d400: wakeup_hc
hub 1-0:1.0: initial port 1 status: ret = 0
hub 1-0:1.0: initial port 2 status: ret = 0
hub 1-0:1.0: port 2, status 101, change 3, 12 Mb/s
hub 1-0:1.0: clear C_CONNECTION1 = 0
hub 1-0:1.0: port_status= 0, port 2 status 101 change 2
hub 1-0:1.0: port_status= 0, port 2 status 101 change 2
hub 1-0:1.0: port_status= 0, port 2 status 101 change 2
hub 1-0:1.0: port_status= 0, port 2 status 101 change 2
hub 1-0:1.0: port_status= 0, port 2 status 101 change 2
hub 1-0:1.0: debounce: port 2: delay 100ms stable 4 status 0x101
hub 1-0:1.0: port reset = 0
hub 1-0:1.0: wait_reset 0, port 2, status 103, change 0
hub 1-0:1.0: new USB device on port 2, assigned address 2
usb 1-2: new device strings: Mfr=1, Product=3, SerialNumber=0
drivers/usb/core/message.c: USB device number 2 default language ID 0x409
usb 1-2: Product: USB Embedded Hub
usb 1-2: Manufacturer: Leading Driver Co.,LTD.
drivers/usb/core/usb.c: usb_hotplug
usb 1-2: registering 1-2:1.0 (config #1, interface 0)
drivers/usb/core/usb.c: usb_hotplug
hub 1-2:1.0: usb_probe_interface
hub 1-2:1.0: usb_probe_interface - got id
hub 1-2:1.0: USB hub found
hub 1-2:1.0: 2 ports detected
hub 1-2:1.0: compound device; port removable status: FF
hub 1-2:1.0: individual port power switching
hub 1-2:1.0: individual port over-current protection
hub 1-2:1.0: Port indicators are not supported
hub 1-2:1.0: power on to power good time: 100ms
hub 1-2:1.0: hub controller current requirement: 100mA
hub 1-2:1.0: local power source is lost (inactive)
hub 1-2:1.0: no over-current condition exists
hub 1-2:1.0: enabling power on all ports
hub 1-2:1.0: transfer --> -75
usb 1-2: control timeout on ep0in
   -*- Loading usb-storage here with hope of it working -*-
SCSI subsystem initialized
Initializing USB Mass Storage driver...
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
   -*- Appears to be not working here -*-
   -*- Removing the drive without removing the modules manually -*-
drivers/usb/host/uhci-hcd.c: d400: suspend_hc
hub 1-2:1.0: hub_port_status failed (err = -110)
hub 1-2:1.0: initial port 1 status: ret = -110
usb 1-2: control timeout on ep0in
hub 1-2:1.0: hub_port_status failed (err = -110)
hub 1-2:1.0: initial port 2 status: ret = -110
usb 1-2: control timeout on ep0in
hub 1-2:1.0: hub_hub_status failed (err = -110)
hub 1-2:1.0: get_hub_status failed
hub 1-0:1.0: initial port 1 status: ret = 0
hub 1-0:1.0: initial port 2 status: ret = 0
hub 1-0:1.0: port 2, status 100, change 3, 12 Mb/s
hub 1-0:1.0: clear C_CONNECTION1 = 0
usb 1-2: USB disconnect, address 2
usb 1-2: usb_disable_device nuking all URBs
uhci_hcd 0000:00:04.2: shutdown urb d77ff480 pipe 40408280 ep1in-intr
usb 1-2: unregistering interface 1-2:1.0
usb 1-2: hcd_unlink_urb d77ff480 fail -16
drivers/usb/core/usb.c: usb_hotplug
usb 1-2: unregistering device
drivers/usb/core/usb.c: usb_hotplug
hub 1-0:1.0: initial port 1 status: ret = 0
hub 1-0:1.0: initial port 2 status: ret = 0
hub 1-0:1.0: port 2 enable change, status 100

Reply via email to