On Dec 31 2003, Alan Stern wrote:
> On Tue, 30 Dec 2003, Rogério Brito wrote:
> > Ok, I'll keep doing it if it does no harm, but I'll stop if you tell me
> > to.
> 
> The "echo 4..." is okay.  But hotplugging may complicate things a little
> bit.  I'd turn that off.

Hi, Alan.

I'm back and I'm trying to follow your directions to the letter. I
turned hotplugging completely, but kept the "echo 4" part.

> Yes.  You may have noticed, each of your before-plugging, after-plugging,
> after-unplugging logs is just an extension of the previous one.  So you
> don't have to include all three; it would be enough to include just the
> last one and edit it by hand to indicate when you did the plugging and
> unplugging.
(...)
> That's good because it contains just the important information, and it's 
> short enough that you can easily paste it in an email message.

I tried to cut down the logs to what I thought was a safe minimum. If
you don't need some of the lines that I'm including this time, please
let me know and I'll do exactly what you tell me to do.

> Okay, I've got another patch for you to try.  It adds a little extra 
> diagnostic information to the previous patch (which it includes); I want 
> to be sure that the failure really does occur where I think it does.

The logs included were generated with kernel 2.6.0 plus the patch that
you sent me before. I will upgrade to kernel 2.6.1 if you prefer me to
do that (or any other version, if it helps you).

BTW, you mentioned that compiling should take only very little time. I
am always compiling the kernel from scratch, since I read sometime ago
that the dependency system/Makefiles of the kernel could miss some
changes in the files.

>From your e-mail I see that doing a "make mrproper" before compiling was
overkill, right?


Thanks, Rogério Brito.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogério Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   -*- uhci-hcd is loaded here -*-
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
PCI: Found IRQ 9 for device 0000:00:04.2
PCI: Sharing IRQ 9 with 0000:00:04.3
PCI: Sharing IRQ 9 with 0000:00:09.0
PCI: Sharing IRQ 9 with 0000:00:0d.0
uhci_hcd 0000:00:04.2: UHCI Host Controller
uhci_hcd 0000:00:04.2: irq 9, io base 0000d400
uhci_hcd 0000:00:04.2: new USB bus registered, assigned bus number 1
drivers/usb/host/uhci-hcd.c: detected 2 ports
uhci_hcd 0000:00:04.2: root hub device address 1
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
drivers/usb/core/message.c: USB device number 1 default language ID 0x409
usb usb1: Product: UHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.0-5 uhci_hcd
usb usb1: SerialNumber: 0000:00:04.2
drivers/usb/core/usb.c: usb_hotplug
usb usb1: registering 1-0:1.0 (config #1, interface 0)
drivers/usb/core/usb.c: usb_hotplug
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
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
hub 1-0:1.0: power on to power good time: 2ms
hub 1-0:1.0: hub controller current requirement: 0mA
hub 1-0:1.0: local power source is good
hub 1-0:1.0: no over-current condition exists
hub 1-0:1.0: enabling power on all ports
PCI: Found IRQ 9 for device 0000:00:04.3
PCI: Sharing IRQ 9 with 0000:00:04.2
PCI: Sharing IRQ 9 with 0000:00:09.0
PCI: Sharing IRQ 9 with 0000:00:0d.0
uhci_hcd 0000:00:04.3: UHCI Host Controller
uhci_hcd 0000:00:04.3: irq 9, io base 0000d000
uhci_hcd 0000:00:04.3: new USB bus registered, assigned bus number 2
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.0-5 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)
drivers/usb/core/usb.c: usb_hotplug
hub 2-0:1.0: usb_probe_interface
hub 2-0:1.0: usb_probe_interface - got id
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
hub 2-0:1.0: standalone hub
hub 2-0:1.0: ganged power switching
hub 2-0:1.0: global over-current protection
hub 2-0:1.0: Port indicators are not supported
hub 2-0:1.0: power on to power good time: 2ms
hub 2-0:1.0: hub controller current requirement: 0mA
hub 2-0:1.0: local power source is good
hub 2-0:1.0: no over-current condition exists
hub 2-0:1.0: enabling power on all ports
hub 1-0:1.0: intial 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: intial 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: intial 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: intial 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: 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: intial port 1 status: ret = 0
hub 2-0:1.0: port 1 enable change, status 300
hub 2-0:1.0: intial port 2 status: ret = 0
hub 1-0:1.0: intial port 1 status: ret = 0
hub 1-0:1.0: port 1 enable change, status 300
hub 1-0:1.0: intial 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
   -*- the drive is plugged here -*-
drivers/usb/host/uhci-hcd.c: d400: wakeup_hc
hub 1-0:1.0: intial port 1 status: ret = 0
hub 1-0:1.0: intial 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: 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: intial port 1 status: ret = 0
hub 1-2:1.0: port 1, status 101, change 1, 12 Mb/s
hub 1-2:1.0: clear C_CONNECTION1 = 0
hub 1-2:1.0: port_status= 0, port 1 status 101 change 0
hub 1-2:1.0: port_status= 0, port 1 status 101 change 0
hub 1-2:1.0: port_status= 0, port 1 status 101 change 0
hub 1-2:1.0: port_status= 0, port 1 status 101 change 0
hub 1-2:1.0: port_status= 0, port 1 status 101 change 0
hub 1-2:1.0: debounce: port 1: delay 100ms stable 4 status 0x101
hub 1-2:1.0: transfer --> -75
usb 1-2: control timeout on ep0in
   -*- usb-storage is loaded here -*-
SCSI subsystem initialized
Initializing USB Mass Storage driver...
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
   -*- the drive is not usable at this point and I unplug it -*-
   -*- the lines below take a *lot* of time to be completely generated -*-
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: port 1 not enabled, trying reset again...
usb 1-2: control timeout on ep0out
usb 1-2: control timeout on ep0in
hub 1-2:1.0: hub_port_status failed (err = -110)
hub 1-2:1.0: port 1 not enabled, trying reset again...
usb 1-2: control timeout on ep0out
usb 1-2: control timeout on ep0in
hub 1-2:1.0: hub_port_status failed (err = -110)
hub 1-2:1.0: port 1 not enabled, trying reset again...
usb 1-2: control timeout on ep0out
usb 1-2: control timeout on ep0in
hub 1-2:1.0: hub_port_status failed (err = -110)
hub 1-2:1.0: port 1 not enabled, trying reset again...
usb 1-2: control timeout on ep0out
usb 1-2: control timeout on ep0in
hub 1-2:1.0: hub_port_status failed (err = -110)
hub 1-2:1.0: port 1 not enabled, trying reset again...
hub 1-2:1.0: Cannot enable port 1.  Maybe the USB cable is bad?
usb 1-2: control timeout on ep0out
hub 1-2:1.0: cannot disable port 1 (err = -110)
usb 1-2: control timeout on ep0in
hub 1-2:1.0: hub_port_status failed (err = -110)
hub 1-2:1.0: intial 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: intial port 1 status: ret = 0
hub 1-0:1.0: intial 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 d771b180 pipe 40408280 ep1in-intr
usb 1-2: unregistering interface 1-2:1.0
usb 1-2: hcd_unlink_urb d771b180 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: intial port 1 status: ret = 0
hub 1-0:1.0: intial port 2 status: ret = 0
hub 1-0:1.0: port 2 enable change, status 100

Reply via email to