Re: [linux-usb-devel] 2.6.23-rc6: usb 1-1: device not accepting address 2, error -62

2007-09-15 Thread Alan Stern
On Sat, 15 Sep 2007, Christian Volkmann wrote:

> Please see below for the logs with timestamp and usb-debug.
> 
> Alan Stern wrote:
> > On Sat, 15 Sep 2007, Christian Volkmann wrote:
> > 
> >>> Does the machine otherwise work OK?
> >>>
> >> Yes, the USB is working fine for the easy things I do with it.
> >>
> >> Hmm, so I expect this 2.6.22 message:
>  <6>usb 1-1: USB disconnect, address 2
> >> became this 2.6.23rc6 message:
>  <3>usb 1-1: device not accepting address 2, error -62
> >> and nothing is harmed.
> > 
> > Maybe.  It's hard to tell because you have not provided enough
> > information.  To get a better idea of what's going on you should enable 
> > CONFIG_USB_DEBUG, for both 2.6.22 and 2.6.23, and then post the dmesg 
> > logs.  It wouldn't hurt to enable CONFIG_PRINTK_TIME also.
> > 
> > These sorts of errors can occur because of bad cable connections or
> > other similar hardware problems.  There's an excellent chance they have
> > no connection to the kernel version.
> > 
> > Alan Stern

It looks like both of Pete's guesses were correct.  The highly-edited 
extracts below show a few things.

In 2.6.22, a disconnect occurred because ohci-hcd was loaded before 
ehci-hcd:

> Boot of 2.6.22 with CONFIG_PRINTK_TIME and CONFIG_USB_DEBUG
> <7>[   29.035665] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller 
> (OHCI) Driver
> <6>[   29.078652] ohci_hcd :00:03.0: new USB bus registered, assigned bus 
> number 1
> <6>[   29.406003] ohci_hcd :00:03.1: new USB bus registered, assigned bus 
> number 2
> <6>[   29.655430] usb 1-1: new low speed USB device using ohci_hcd and 
> address 2
> <6>[   29.736975] ohci_hcd :00:03.2: new USB bus registered, assigned bus 
> number 3
> <6>[   29.935872] usb 1-1: Product: USB Optical Mouse
> <6>[   30.072347] ehci_hcd :00:03.3: new USB bus registered, assigned bus 
> number 4
> <6>[   30.179588] usb 1-1: USB disconnect, address 2
> <6>[   30.386138] ehci_hcd :00:07.2: new USB bus registered, assigned bus 
> number 5
> <7>[   30.606818] ehci_hcd :00:03.3: port 1 low speed --> companion
> <6>[   30.664503] uhci_hcd :00:07.0: UHCI Host Controller
> <6>[   30.681636] uhci_hcd :00:07.0: new USB bus registered, assigned bus 
> number 6
> <7>[   30.854760] ehci_hcd :00:03.3: port 2 full speed --> companion
> <6>[   30.969096] uhci_hcd :00:07.1: new USB bus registered, assigned bus 
> number 7
> <6>[   31.177917] usb 1-1: new low speed USB device using ohci_hcd and 
> address 3
> <6>[   32.537664] usb 2-1: Product: Medion Flash XL V3.0C
> <6>[   32.549438] usb 2-1: Manufacturer: MEDION
> <6>[   32.561308] usb 2-1: SerialNumber: 2003-02

In 2.6.23, a different series of errors occurred because ohci-hcd, 
ehci-hcd, and uhci-hcd were loaded in parallel.

> Boot of 2.6.23rc6 with CONFIG_PRINTK_TIME and CONFIG_USB_DEBUG
> <7>[   27.133379] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller 
> (OHCI) Driver
> <7>[   27.133384] ohci_hcd: block sizes: ed 64 td 64
> <6>[   27.136391] USB Universal Host Controller Interface driver v3.0
> <7>[   27.288172] ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96
> <6>[   28.061139] ohci_hcd :00:03.0: new USB bus registered, assigned bus 
> number 1
> <6>[   28.337023] uhci_hcd :00:07.0: UHCI Host Controller
> <6>[   28.350241] uhci_hcd :00:07.0: new USB bus registered, assigned bus 
> number 2
> <6>[   28.600358] usb 1-1: new low speed USB device using ohci_hcd and 
> address 2
> <6>[   28.652269] ehci_hcd :00:03.3: new USB bus registered, assigned bus 
> number 3
> <7>[   28.752739] ohci_hcd :00:03.0: urb c5ead340 path 1 ep0out 5ec2 
> cc 5 --> status -62
> <3>[   29.166906] usb 1-1: device not accepting address 2, error -62
> <6>[   29.977427] ohci_hcd :00:03.1: new USB bus registered, assigned bus 
> number 4
> <6>[   30.308993] ohci_hcd :00:03.2: new USB bus registered, assigned bus 
> number 5
> <6>[   30.631777] uhci_hcd :00:07.1: new USB bus registered, assigned bus 
> number 6
> <6>[   30.921451] ehci_hcd :00:07.2: new USB bus registered, assigned bus 
> number 7

None of the nasty-sounding messages indicate any real problem.  They
are normal when a low- or full-speed device is connected while the
companion high-speed controller is initialized.

To prevent all the error messages, make sure the ehci-hcd is loaded
before the other two and after all the PCI devices have been detected.  
(In the presence of the hotplug subsystem, this may not be easy to
accomplish.)

At any rate, this is not a regression because it isn't a bug or a 
mulfunction.  It is normal behavior.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.23-rc6: usb 1-1: device not accepting address 2, error -62

2007-09-15 Thread Christian Volkmann
Pete Zaitcev wrote:
> On Sat, 15 Sep 2007 03:48:19 -0700, Andrew Morton <[EMAIL PROTECTED]> wrote:
> 
>>> I have an error message with 2.6.23-rc6.
>>> This did not happen with 2.6.22.
>> Another one for Michal's dirt file.
> 
> No, I think it's the module ordering again.
> 
>>> 2.6.23-rc6 boot.msg extract ( hub/usb )
> 
> I wish users stopped this filtering, it's a very bad idea.
> 
Sorry about this. I want to keep the postings shorter.
Please see my earlier reply for the complete messages made
with CONFIG_PRINTK_TIME and CONFIG_USB_DEBUG

> As it is, there's no message showing when ehci_hcd was loaded.
> We can try piece together the picture:
> 
>>> <6>usb usb1: configuration #1 chosen from 1 choice
>>> <6>hub 1-0:1.0: USB hub found
>>> <6>hub 1-0:1.0: 2 ports detected
>>> <6>usb usb2: configuration #1 chosen from 1 choice
>>> <6>hub 2-0:1.0: USB hub found
>>> <6>hub 2-0:1.0: 2 ports detected
>>> <6>usb 1-1: new low speed USB device using ohci_hcd and address 2
> 
> ok this was ohci_hcd
> 
>>> <3>usb 1-1: device not accepting address 2, error -62
>>> <6>usb 5-2: new full speed USB device using uhci_hcd and address 2
> 
> was ehci here? We don't know but I bet it was, because:
> 
>>> <6>usb 6-2: new high speed USB device using ehci_hcd and address 2
> 
>>> 2.6.22 boot.msg extract ( hub/usb )
> 
> This one seems far shorter. The EHCI comes online late here as well,
> but not as late as in the "regression" case. I am wondering if we
> have some kind of "parallel PCI probing" option in action here.

I can send my .config on request.

The system itself is a regular suse 10.2.


> 
> -- Pete
> 

Christian
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.23-rc6: usb 1-1: device not accepting address 2, error -62

2007-09-15 Thread Pete Zaitcev
On Sat, 15 Sep 2007 03:48:19 -0700, Andrew Morton <[EMAIL PROTECTED]> wrote:

> > I have an error message with 2.6.23-rc6.
> > This did not happen with 2.6.22.
> 
> Another one for Michal's dirt file.

No, I think it's the module ordering again.

> > 2.6.23-rc6 boot.msg extract ( hub/usb )

I wish users stopped this filtering, it's a very bad idea.

As it is, there's no message showing when ehci_hcd was loaded.
We can try piece together the picture:

> > <6>usb usb1: configuration #1 chosen from 1 choice
> > <6>hub 1-0:1.0: USB hub found
> > <6>hub 1-0:1.0: 2 ports detected
> > <6>usb usb2: configuration #1 chosen from 1 choice
> > <6>hub 2-0:1.0: USB hub found
> > <6>hub 2-0:1.0: 2 ports detected
> > <6>usb 1-1: new low speed USB device using ohci_hcd and address 2

ok this was ohci_hcd

> > <3>usb 1-1: device not accepting address 2, error -62
> > <6>usb 5-2: new full speed USB device using uhci_hcd and address 2

was ehci here? We don't know but I bet it was, because:

> > <6>usb 6-2: new high speed USB device using ehci_hcd and address 2

> > 2.6.22 boot.msg extract ( hub/usb )

This one seems far shorter. The EHCI comes online late here as well,
but not as late as in the "regression" case. I am wondering if we
have some kind of "parallel PCI probing" option in action here.

-- Pete
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [linux-usb-devel] 2.6.23-rc6: usb 1-1: device not accepting address 2, error -62

2007-09-15 Thread Alan Stern
On Sat, 15 Sep 2007, Christian Volkmann wrote:

> > Does the machine otherwise work OK?
> >
> Yes, the USB is working fine for the easy things I do with it.
> 
> Hmm, so I expect this 2.6.22 message:
> >> <6>usb 1-1: USB disconnect, address 2
> 
> became this 2.6.23rc6 message:
> >> <3>usb 1-1: device not accepting address 2, error -62
> 
> and nothing is harmed.

Maybe.  It's hard to tell because you have not provided enough
information.  To get a better idea of what's going on you should enable 
CONFIG_USB_DEBUG, for both 2.6.22 and 2.6.23, and then post the dmesg 
logs.  It wouldn't hurt to enable CONFIG_PRINTK_TIME also.

These sorts of errors can occur because of bad cable connections or
other similar hardware problems.  There's an excellent chance they have
no connection to the kernel version.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.23-rc6: usb 1-1: device not accepting address 2, error -62

2007-09-15 Thread Christian Volkmann
Second try to send, after I created "postmaster" on my domain.
Just to ensure the CC-list works correct. Sorry for this double posting.

> 550-Postmaster verification failed while checking <[EMAIL PROTECTED]>
> 550-Called:   212.227.15.134
> 550-Sent: RCPT TO:<[EMAIL PROTECTED]>
> 550-Response: 550 <[EMAIL PROTECTED]>: invalid address
> 550-Several RFCs state that you are required to have a postmaster
> 550-mailbox for each mail domain. This host does not accept mail
> 550-from domains whose servers reject the postmaster address.
>550 Sender verify failed



> Does the machine otherwise work OK?
>
Yes, the USB is working fine for the easy things I do with it.

Hmm, so I expect this 2.6.22 message:
>> <6>usb 1-1: USB disconnect, address 2

became this 2.6.23rc6 message:
>> <3>usb 1-1: device not accepting address 2, error -62

and nothing is harmed.



Andrew Morton wrote:
> Let's cc the USB mailing list.
> 
> On Fri, 14 Sep 2007 23:28:23 +0200 Christian Volkmann <[EMAIL PROTECTED]> 
> wrote:
> 
>> Hi everybody,
>>
>> I have an error message with 2.6.23-rc6.
>> This did not happen with 2.6.22.
> 
> Another one for Michal's dirt file.
> 
>> The kernel reports message like this:
>>  <3>usb 1-1: device not accepting address 2, error -62
>>  <3>hub 2-2.1:1.0: hub_port_status failed (err = -71)
>>
>> Does this message harm or is something broken in 2.6.23-rc6 ?
>> I get this kind of messages also with 2.6.23-rc3
> 
> Does the machine otherwise work OK?
> 
> Even if it does, I don't think we should be (newly) spraying scary messages
> like that at people.
> 
>> Best regards,
>>
>> Christian
>>
>>
>> Please see below for:
>>
>> grep -e hub -e usb boot.msg for a 2.6.23-rc6 boot. (that boot was without 
>> (err = -71)
>> grep -e hub -e usb boot.msg for a 2.6.22 boot.
>> lspci -vnn (2.6.22)
>> lsusb -v (2.6.22)
>>
>>
>> 2.6.23-rc6 boot.msg extract ( hub/usb )
>>
>> <6>usbcore: registered new interface driver usbfs
>> <6>usbcore: registered new interface driver hub
>> <6>usbcore: registered new device driver usb
>> <6>usb usb1: configuration #1 chosen from 1 choice
>> <6>hub 1-0:1.0: USB hub found
>> <6>hub 1-0:1.0: 2 ports detected
>> <6>usb usb2: configuration #1 chosen from 1 choice
>> <6>hub 2-0:1.0: USB hub found
>> <6>hub 2-0:1.0: 2 ports detected
>> <6>usb 1-1: new low speed USB device using ohci_hcd and address 2
>> <6>usb usb3: configuration #1 chosen from 1 choice
>> <6>hub 3-0:1.0: USB hub found
>> <6>hub 3-0:1.0: 2 ports detected
>> <6>usb usb4: configuration #1 chosen from 1 choice
>> <6>hub 4-0:1.0: USB hub found
>> <6>hub 4-0:1.0: 6 ports detected
>> <6>usb usb5: configuration #1 chosen from 1 choice
>> <6>hub 5-0:1.0: USB hub found
>> <6>hub 5-0:1.0: 2 ports detected
>> <3>usb 1-1: device not accepting address 2, error -62
>> <6>usb 5-2: new full speed USB device using uhci_hcd and address 2
>> <6>usb usb6: configuration #1 chosen from 1 choice
>> <6>hub 6-0:1.0: USB hub found
>> <6>hub 6-0:1.0: 4 ports detected
>> <6>usb usb7: configuration #1 chosen from 1 choice
>> <6>hub 7-0:1.0: USB hub found
>> <6>hub 7-0:1.0: 2 ports detected
>> <6>usb 1-1: new low speed USB device using ohci_hcd and address 4
>> <6>usb 1-1: configuration #1 chosen from 1 choice
>> <6>usb 2-1: new full speed USB device using ohci_hcd and address 2
>> <6>usb 2-1: configuration #1 chosen from 1 choice
>> <6>usb 6-2: new high speed USB device using ehci_hcd and address 2
>> <6>usb 6-2: configuration #1 chosen from 1 choice
>> <6>hub 6-2:1.0: USB hub found
>> <6>hub 6-2:1.0: 2 ports detected
>> <6>usbcore: registered new interface driver hiddev
>> <6>input: USB HID v1.11 Mouse [USB Optical Mouse] on usb-:00:03.0-1
>> <6>usbcore: registered new interface driver usbhid
>> <6>drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
>> <7>usb-storage: device found at 2
>> <7>usb-storage: waiting for device to settle before scanning
>> <6>usb 6-2.1: new high speed USB device using ehci_hcd and address 3
>> <6>usb 6-2.1: configuration #1 chosen from 1 choice
>> <6>hub 6-2.1:1.0: USB hub found
>> <6>hub 6-2.1:1.0: 4 ports detected
>> <6>usb 6-2.1.1: new high speed USB device using ehci_hcd and address 4
>> <6>usb 6-2.1.1: configuration #1 chosen from 1 choice
>> <7>usb-storage: device found at 4
>> <7>usb-storage: waiting for device to settle before scanning
>> <6>usbcore: registered new interface driver usb-storage
>> <7>usb-storage: device scan complete
>> <7>usb-storage: device scan complete
>>
>> 2.6.22 boot.msg extract ( hub/usb )
>>
>> <6>usbcore: registered new interface driver usbfs
>> <6>usbcore: registered new interface driver hub
>> <6>usbcore: registered new device driver usb
>> <6>usb usb1: configuration #1 chosen from 1 choice
>> <6>hub 1-0:1.0: USB hub found
>> <6>hub 1-0:1.0: 2 ports detected
>> <6>usb usb2: configuration #1 chosen from 1 choice
>> <6>hub 2-0:1.0: USB hub found
>> <6>hub 2-0:1.0: 2 ports detected
>> <6>usb 1-1: new low speed USB device using ohci_hcd and address 2
>> <6>usb usb3: configuration #1 

Re: 2.6.23-rc6: usb 1-1: device not accepting address 2, error -62

2007-09-15 Thread Christian Volkmann
> Does the machine otherwise work OK?
>
Yes, the USB is working fine for the easy things I do with it.

Hmm, so I expect this 2.6.22 message:
>> <6>usb 1-1: USB disconnect, address 2

became this 2.6.23rc6 message:
>> <3>usb 1-1: device not accepting address 2, error -62

and nothing is harmed.



Andrew Morton wrote:
> Let's cc the USB mailing list.
> 
> On Fri, 14 Sep 2007 23:28:23 +0200 Christian Volkmann <[EMAIL PROTECTED]> 
> wrote:
> 
>> Hi everybody,
>>
>> I have an error message with 2.6.23-rc6.
>> This did not happen with 2.6.22.
> 
> Another one for Michal's dirt file.
> 
>> The kernel reports message like this:
>>  <3>usb 1-1: device not accepting address 2, error -62
>>  <3>hub 2-2.1:1.0: hub_port_status failed (err = -71)
>>
>> Does this message harm or is something broken in 2.6.23-rc6 ?
>> I get this kind of messages also with 2.6.23-rc3
> 
> Does the machine otherwise work OK?
> 
> Even if it does, I don't think we should be (newly) spraying scary messages
> like that at people.
> 
>> Best regards,
>>
>> Christian
>>
>>
>> Please see below for:
>>
>> grep -e hub -e usb boot.msg for a 2.6.23-rc6 boot. (that boot was without 
>> (err = -71)
>> grep -e hub -e usb boot.msg for a 2.6.22 boot.
>> lspci -vnn (2.6.22)
>> lsusb -v (2.6.22)
>>
>>
>> 2.6.23-rc6 boot.msg extract ( hub/usb )
>>
>> <6>usbcore: registered new interface driver usbfs
>> <6>usbcore: registered new interface driver hub
>> <6>usbcore: registered new device driver usb
>> <6>usb usb1: configuration #1 chosen from 1 choice
>> <6>hub 1-0:1.0: USB hub found
>> <6>hub 1-0:1.0: 2 ports detected
>> <6>usb usb2: configuration #1 chosen from 1 choice
>> <6>hub 2-0:1.0: USB hub found
>> <6>hub 2-0:1.0: 2 ports detected
>> <6>usb 1-1: new low speed USB device using ohci_hcd and address 2
>> <6>usb usb3: configuration #1 chosen from 1 choice
>> <6>hub 3-0:1.0: USB hub found
>> <6>hub 3-0:1.0: 2 ports detected
>> <6>usb usb4: configuration #1 chosen from 1 choice
>> <6>hub 4-0:1.0: USB hub found
>> <6>hub 4-0:1.0: 6 ports detected
>> <6>usb usb5: configuration #1 chosen from 1 choice
>> <6>hub 5-0:1.0: USB hub found
>> <6>hub 5-0:1.0: 2 ports detected
>> <3>usb 1-1: device not accepting address 2, error -62
>> <6>usb 5-2: new full speed USB device using uhci_hcd and address 2
>> <6>usb usb6: configuration #1 chosen from 1 choice
>> <6>hub 6-0:1.0: USB hub found
>> <6>hub 6-0:1.0: 4 ports detected
>> <6>usb usb7: configuration #1 chosen from 1 choice
>> <6>hub 7-0:1.0: USB hub found
>> <6>hub 7-0:1.0: 2 ports detected
>> <6>usb 1-1: new low speed USB device using ohci_hcd and address 4
>> <6>usb 1-1: configuration #1 chosen from 1 choice
>> <6>usb 2-1: new full speed USB device using ohci_hcd and address 2
>> <6>usb 2-1: configuration #1 chosen from 1 choice
>> <6>usb 6-2: new high speed USB device using ehci_hcd and address 2
>> <6>usb 6-2: configuration #1 chosen from 1 choice
>> <6>hub 6-2:1.0: USB hub found
>> <6>hub 6-2:1.0: 2 ports detected
>> <6>usbcore: registered new interface driver hiddev
>> <6>input: USB HID v1.11 Mouse [USB Optical Mouse] on usb-:00:03.0-1
>> <6>usbcore: registered new interface driver usbhid
>> <6>drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
>> <7>usb-storage: device found at 2
>> <7>usb-storage: waiting for device to settle before scanning
>> <6>usb 6-2.1: new high speed USB device using ehci_hcd and address 3
>> <6>usb 6-2.1: configuration #1 chosen from 1 choice
>> <6>hub 6-2.1:1.0: USB hub found
>> <6>hub 6-2.1:1.0: 4 ports detected
>> <6>usb 6-2.1.1: new high speed USB device using ehci_hcd and address 4
>> <6>usb 6-2.1.1: configuration #1 chosen from 1 choice
>> <7>usb-storage: device found at 4
>> <7>usb-storage: waiting for device to settle before scanning
>> <6>usbcore: registered new interface driver usb-storage
>> <7>usb-storage: device scan complete
>> <7>usb-storage: device scan complete
>>
>> 2.6.22 boot.msg extract ( hub/usb )
>>
>> <6>usbcore: registered new interface driver usbfs
>> <6>usbcore: registered new interface driver hub
>> <6>usbcore: registered new device driver usb
>> <6>usb usb1: configuration #1 chosen from 1 choice
>> <6>hub 1-0:1.0: USB hub found
>> <6>hub 1-0:1.0: 2 ports detected
>> <6>usb usb2: configuration #1 chosen from 1 choice
>> <6>hub 2-0:1.0: USB hub found
>> <6>hub 2-0:1.0: 2 ports detected
>> <6>usb 1-1: new low speed USB device using ohci_hcd and address 2
>> <6>usb usb3: configuration #1 chosen from 1 choice
>> <6>hub 3-0:1.0: USB hub found
>> <6>hub 3-0:1.0: 2 ports detected
>> <6>usb 1-1: configuration #1 chosen from 1 choice
>> <6>usb usb4: configuration #1 chosen from 1 choice
>> <6>hub 4-0:1.0: USB hub found
>> <6>hub 4-0:1.0: 6 ports detected
>> <6>usb 1-1: USB disconnect, address 2
>> <6>usb usb5: configuration #1 chosen from 1 choice
>> <6>hub 5-0:1.0: USB hub found
>> <6>hub 5-0:1.0: 4 ports detected
>> <6>usb usb6: configuration #1 chosen from 1 choice
>> <6>hub 6-0:1.0: USB hub found
>> <6>hub 6-0:1.0: 2 ports detected
>> <6>usb usb7: 

Re: 2.6.23-rc6: usb 1-1: device not accepting address 2, error -62

2007-09-15 Thread Andrew Morton

Let's cc the USB mailing list.

On Fri, 14 Sep 2007 23:28:23 +0200 Christian Volkmann <[EMAIL PROTECTED]> wrote:

> Hi everybody,
> 
> I have an error message with 2.6.23-rc6.
> This did not happen with 2.6.22.

Another one for Michal's dirt file.

> The kernel reports message like this:
>  <3>usb 1-1: device not accepting address 2, error -62
>  <3>hub 2-2.1:1.0: hub_port_status failed (err = -71)
> 
> Does this message harm or is something broken in 2.6.23-rc6 ?
> I get this kind of messages also with 2.6.23-rc3

Does the machine otherwise work OK?

Even if it does, I don't think we should be (newly) spraying scary messages
like that at people.

> Best regards,
> 
> Christian
> 
> 
> Please see below for:
> 
> grep -e hub -e usb boot.msg for a 2.6.23-rc6 boot. (that boot was without 
> (err = -71)
> grep -e hub -e usb boot.msg for a 2.6.22 boot.
> lspci -vnn (2.6.22)
> lsusb -v (2.6.22)
> 
> 
> 2.6.23-rc6 boot.msg extract ( hub/usb )
> 
> <6>usbcore: registered new interface driver usbfs
> <6>usbcore: registered new interface driver hub
> <6>usbcore: registered new device driver usb
> <6>usb usb1: configuration #1 chosen from 1 choice
> <6>hub 1-0:1.0: USB hub found
> <6>hub 1-0:1.0: 2 ports detected
> <6>usb usb2: configuration #1 chosen from 1 choice
> <6>hub 2-0:1.0: USB hub found
> <6>hub 2-0:1.0: 2 ports detected
> <6>usb 1-1: new low speed USB device using ohci_hcd and address 2
> <6>usb usb3: configuration #1 chosen from 1 choice
> <6>hub 3-0:1.0: USB hub found
> <6>hub 3-0:1.0: 2 ports detected
> <6>usb usb4: configuration #1 chosen from 1 choice
> <6>hub 4-0:1.0: USB hub found
> <6>hub 4-0:1.0: 6 ports detected
> <6>usb usb5: configuration #1 chosen from 1 choice
> <6>hub 5-0:1.0: USB hub found
> <6>hub 5-0:1.0: 2 ports detected
> <3>usb 1-1: device not accepting address 2, error -62
> <6>usb 5-2: new full speed USB device using uhci_hcd and address 2
> <6>usb usb6: configuration #1 chosen from 1 choice
> <6>hub 6-0:1.0: USB hub found
> <6>hub 6-0:1.0: 4 ports detected
> <6>usb usb7: configuration #1 chosen from 1 choice
> <6>hub 7-0:1.0: USB hub found
> <6>hub 7-0:1.0: 2 ports detected
> <6>usb 1-1: new low speed USB device using ohci_hcd and address 4
> <6>usb 1-1: configuration #1 chosen from 1 choice
> <6>usb 2-1: new full speed USB device using ohci_hcd and address 2
> <6>usb 2-1: configuration #1 chosen from 1 choice
> <6>usb 6-2: new high speed USB device using ehci_hcd and address 2
> <6>usb 6-2: configuration #1 chosen from 1 choice
> <6>hub 6-2:1.0: USB hub found
> <6>hub 6-2:1.0: 2 ports detected
> <6>usbcore: registered new interface driver hiddev
> <6>input: USB HID v1.11 Mouse [USB Optical Mouse] on usb-:00:03.0-1
> <6>usbcore: registered new interface driver usbhid
> <6>drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
> <7>usb-storage: device found at 2
> <7>usb-storage: waiting for device to settle before scanning
> <6>usb 6-2.1: new high speed USB device using ehci_hcd and address 3
> <6>usb 6-2.1: configuration #1 chosen from 1 choice
> <6>hub 6-2.1:1.0: USB hub found
> <6>hub 6-2.1:1.0: 4 ports detected
> <6>usb 6-2.1.1: new high speed USB device using ehci_hcd and address 4
> <6>usb 6-2.1.1: configuration #1 chosen from 1 choice
> <7>usb-storage: device found at 4
> <7>usb-storage: waiting for device to settle before scanning
> <6>usbcore: registered new interface driver usb-storage
> <7>usb-storage: device scan complete
> <7>usb-storage: device scan complete
> 
> 2.6.22 boot.msg extract ( hub/usb )
> 
> <6>usbcore: registered new interface driver usbfs
> <6>usbcore: registered new interface driver hub
> <6>usbcore: registered new device driver usb
> <6>usb usb1: configuration #1 chosen from 1 choice
> <6>hub 1-0:1.0: USB hub found
> <6>hub 1-0:1.0: 2 ports detected
> <6>usb usb2: configuration #1 chosen from 1 choice
> <6>hub 2-0:1.0: USB hub found
> <6>hub 2-0:1.0: 2 ports detected
> <6>usb 1-1: new low speed USB device using ohci_hcd and address 2
> <6>usb usb3: configuration #1 chosen from 1 choice
> <6>hub 3-0:1.0: USB hub found
> <6>hub 3-0:1.0: 2 ports detected
> <6>usb 1-1: configuration #1 chosen from 1 choice
> <6>usb usb4: configuration #1 chosen from 1 choice
> <6>hub 4-0:1.0: USB hub found
> <6>hub 4-0:1.0: 6 ports detected
> <6>usb 1-1: USB disconnect, address 2
> <6>usb usb5: configuration #1 chosen from 1 choice
> <6>hub 5-0:1.0: USB hub found
> <6>hub 5-0:1.0: 4 ports detected
> <6>usb usb6: configuration #1 chosen from 1 choice
> <6>hub 6-0:1.0: USB hub found
> <6>hub 6-0:1.0: 2 ports detected
> <6>usb usb7: configuration #1 chosen from 1 choice
> <6>hub 7-0:1.0: USB hub found
> <6>hub 7-0:1.0: 2 ports detected
> <6>usb 5-2: new high speed USB device using ehci_hcd and address 2
> <6>usb 5-2: configuration #1 chosen from 1 choice
> <6>hub 5-2:1.0: USB hub found
> <6>hub 5-2:1.0: 2 ports detected
> <6>usb 1-1: new low speed USB device using ohci_hcd and address 3
> <6>usb 1-1: configuration #1 chosen from 1 choice
> <6>usbcore: registered new 

Re: 2.6.23-rc6: usb 1-1: device not accepting address 2, error -62

2007-09-15 Thread Andrew Morton

Let's cc the USB mailing list.

On Fri, 14 Sep 2007 23:28:23 +0200 Christian Volkmann [EMAIL PROTECTED] wrote:

 Hi everybody,
 
 I have an error message with 2.6.23-rc6.
 This did not happen with 2.6.22.

Another one for Michal's dirt file.

 The kernel reports message like this:
  3usb 1-1: device not accepting address 2, error -62
  3hub 2-2.1:1.0: hub_port_status failed (err = -71)
 
 Does this message harm or is something broken in 2.6.23-rc6 ?
 I get this kind of messages also with 2.6.23-rc3

Does the machine otherwise work OK?

Even if it does, I don't think we should be (newly) spraying scary messages
like that at people.

 Best regards,
 
 Christian
 
 
 Please see below for:
 
 grep -e hub -e usb boot.msg for a 2.6.23-rc6 boot. (that boot was without 
 (err = -71)
 grep -e hub -e usb boot.msg for a 2.6.22 boot.
 lspci -vnn (2.6.22)
 lsusb -v (2.6.22)
 
 
 2.6.23-rc6 boot.msg extract ( hub/usb )
 
 6usbcore: registered new interface driver usbfs
 6usbcore: registered new interface driver hub
 6usbcore: registered new device driver usb
 6usb usb1: configuration #1 chosen from 1 choice
 6hub 1-0:1.0: USB hub found
 6hub 1-0:1.0: 2 ports detected
 6usb usb2: configuration #1 chosen from 1 choice
 6hub 2-0:1.0: USB hub found
 6hub 2-0:1.0: 2 ports detected
 6usb 1-1: new low speed USB device using ohci_hcd and address 2
 6usb usb3: configuration #1 chosen from 1 choice
 6hub 3-0:1.0: USB hub found
 6hub 3-0:1.0: 2 ports detected
 6usb usb4: configuration #1 chosen from 1 choice
 6hub 4-0:1.0: USB hub found
 6hub 4-0:1.0: 6 ports detected
 6usb usb5: configuration #1 chosen from 1 choice
 6hub 5-0:1.0: USB hub found
 6hub 5-0:1.0: 2 ports detected
 3usb 1-1: device not accepting address 2, error -62
 6usb 5-2: new full speed USB device using uhci_hcd and address 2
 6usb usb6: configuration #1 chosen from 1 choice
 6hub 6-0:1.0: USB hub found
 6hub 6-0:1.0: 4 ports detected
 6usb usb7: configuration #1 chosen from 1 choice
 6hub 7-0:1.0: USB hub found
 6hub 7-0:1.0: 2 ports detected
 6usb 1-1: new low speed USB device using ohci_hcd and address 4
 6usb 1-1: configuration #1 chosen from 1 choice
 6usb 2-1: new full speed USB device using ohci_hcd and address 2
 6usb 2-1: configuration #1 chosen from 1 choice
 6usb 6-2: new high speed USB device using ehci_hcd and address 2
 6usb 6-2: configuration #1 chosen from 1 choice
 6hub 6-2:1.0: USB hub found
 6hub 6-2:1.0: 2 ports detected
 6usbcore: registered new interface driver hiddev
 6input: USB HID v1.11 Mouse [USB Optical Mouse] on usb-:00:03.0-1
 6usbcore: registered new interface driver usbhid
 6drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
 7usb-storage: device found at 2
 7usb-storage: waiting for device to settle before scanning
 6usb 6-2.1: new high speed USB device using ehci_hcd and address 3
 6usb 6-2.1: configuration #1 chosen from 1 choice
 6hub 6-2.1:1.0: USB hub found
 6hub 6-2.1:1.0: 4 ports detected
 6usb 6-2.1.1: new high speed USB device using ehci_hcd and address 4
 6usb 6-2.1.1: configuration #1 chosen from 1 choice
 7usb-storage: device found at 4
 7usb-storage: waiting for device to settle before scanning
 6usbcore: registered new interface driver usb-storage
 7usb-storage: device scan complete
 7usb-storage: device scan complete
 
 2.6.22 boot.msg extract ( hub/usb )
 
 6usbcore: registered new interface driver usbfs
 6usbcore: registered new interface driver hub
 6usbcore: registered new device driver usb
 6usb usb1: configuration #1 chosen from 1 choice
 6hub 1-0:1.0: USB hub found
 6hub 1-0:1.0: 2 ports detected
 6usb usb2: configuration #1 chosen from 1 choice
 6hub 2-0:1.0: USB hub found
 6hub 2-0:1.0: 2 ports detected
 6usb 1-1: new low speed USB device using ohci_hcd and address 2
 6usb usb3: configuration #1 chosen from 1 choice
 6hub 3-0:1.0: USB hub found
 6hub 3-0:1.0: 2 ports detected
 6usb 1-1: configuration #1 chosen from 1 choice
 6usb usb4: configuration #1 chosen from 1 choice
 6hub 4-0:1.0: USB hub found
 6hub 4-0:1.0: 6 ports detected
 6usb 1-1: USB disconnect, address 2
 6usb usb5: configuration #1 chosen from 1 choice
 6hub 5-0:1.0: USB hub found
 6hub 5-0:1.0: 4 ports detected
 6usb usb6: configuration #1 chosen from 1 choice
 6hub 6-0:1.0: USB hub found
 6hub 6-0:1.0: 2 ports detected
 6usb usb7: configuration #1 chosen from 1 choice
 6hub 7-0:1.0: USB hub found
 6hub 7-0:1.0: 2 ports detected
 6usb 5-2: new high speed USB device using ehci_hcd and address 2
 6usb 5-2: configuration #1 chosen from 1 choice
 6hub 5-2:1.0: USB hub found
 6hub 5-2:1.0: 2 ports detected
 6usb 1-1: new low speed USB device using ohci_hcd and address 3
 6usb 1-1: configuration #1 chosen from 1 choice
 6usbcore: registered new interface driver hiddev
 6usb 2-1: new full speed USB device using ohci_hcd and address 2
 6usb 2-1: configuration #1 chosen from 1 choice
 6usb 5-2.1: new high speed USB device using ehci_hcd and address 3
 6usb 5-2.1: configuration #1 chosen from 1 choice
 6hub 5-2.1:1.0: USB hub found
 6hub 

Re: 2.6.23-rc6: usb 1-1: device not accepting address 2, error -62

2007-09-15 Thread Christian Volkmann
 Does the machine otherwise work OK?

Yes, the USB is working fine for the easy things I do with it.

Hmm, so I expect this 2.6.22 message:
 6usb 1-1: USB disconnect, address 2

became this 2.6.23rc6 message:
 3usb 1-1: device not accepting address 2, error -62

and nothing is harmed.



Andrew Morton wrote:
 Let's cc the USB mailing list.
 
 On Fri, 14 Sep 2007 23:28:23 +0200 Christian Volkmann [EMAIL PROTECTED] 
 wrote:
 
 Hi everybody,

 I have an error message with 2.6.23-rc6.
 This did not happen with 2.6.22.
 
 Another one for Michal's dirt file.
 
 The kernel reports message like this:
  3usb 1-1: device not accepting address 2, error -62
  3hub 2-2.1:1.0: hub_port_status failed (err = -71)

 Does this message harm or is something broken in 2.6.23-rc6 ?
 I get this kind of messages also with 2.6.23-rc3
 
 Does the machine otherwise work OK?
 
 Even if it does, I don't think we should be (newly) spraying scary messages
 like that at people.
 
 Best regards,

 Christian


 Please see below for:

 grep -e hub -e usb boot.msg for a 2.6.23-rc6 boot. (that boot was without 
 (err = -71)
 grep -e hub -e usb boot.msg for a 2.6.22 boot.
 lspci -vnn (2.6.22)
 lsusb -v (2.6.22)


 2.6.23-rc6 boot.msg extract ( hub/usb )

 6usbcore: registered new interface driver usbfs
 6usbcore: registered new interface driver hub
 6usbcore: registered new device driver usb
 6usb usb1: configuration #1 chosen from 1 choice
 6hub 1-0:1.0: USB hub found
 6hub 1-0:1.0: 2 ports detected
 6usb usb2: configuration #1 chosen from 1 choice
 6hub 2-0:1.0: USB hub found
 6hub 2-0:1.0: 2 ports detected
 6usb 1-1: new low speed USB device using ohci_hcd and address 2
 6usb usb3: configuration #1 chosen from 1 choice
 6hub 3-0:1.0: USB hub found
 6hub 3-0:1.0: 2 ports detected
 6usb usb4: configuration #1 chosen from 1 choice
 6hub 4-0:1.0: USB hub found
 6hub 4-0:1.0: 6 ports detected
 6usb usb5: configuration #1 chosen from 1 choice
 6hub 5-0:1.0: USB hub found
 6hub 5-0:1.0: 2 ports detected
 3usb 1-1: device not accepting address 2, error -62
 6usb 5-2: new full speed USB device using uhci_hcd and address 2
 6usb usb6: configuration #1 chosen from 1 choice
 6hub 6-0:1.0: USB hub found
 6hub 6-0:1.0: 4 ports detected
 6usb usb7: configuration #1 chosen from 1 choice
 6hub 7-0:1.0: USB hub found
 6hub 7-0:1.0: 2 ports detected
 6usb 1-1: new low speed USB device using ohci_hcd and address 4
 6usb 1-1: configuration #1 chosen from 1 choice
 6usb 2-1: new full speed USB device using ohci_hcd and address 2
 6usb 2-1: configuration #1 chosen from 1 choice
 6usb 6-2: new high speed USB device using ehci_hcd and address 2
 6usb 6-2: configuration #1 chosen from 1 choice
 6hub 6-2:1.0: USB hub found
 6hub 6-2:1.0: 2 ports detected
 6usbcore: registered new interface driver hiddev
 6input: USB HID v1.11 Mouse [USB Optical Mouse] on usb-:00:03.0-1
 6usbcore: registered new interface driver usbhid
 6drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
 7usb-storage: device found at 2
 7usb-storage: waiting for device to settle before scanning
 6usb 6-2.1: new high speed USB device using ehci_hcd and address 3
 6usb 6-2.1: configuration #1 chosen from 1 choice
 6hub 6-2.1:1.0: USB hub found
 6hub 6-2.1:1.0: 4 ports detected
 6usb 6-2.1.1: new high speed USB device using ehci_hcd and address 4
 6usb 6-2.1.1: configuration #1 chosen from 1 choice
 7usb-storage: device found at 4
 7usb-storage: waiting for device to settle before scanning
 6usbcore: registered new interface driver usb-storage
 7usb-storage: device scan complete
 7usb-storage: device scan complete

 2.6.22 boot.msg extract ( hub/usb )

 6usbcore: registered new interface driver usbfs
 6usbcore: registered new interface driver hub
 6usbcore: registered new device driver usb
 6usb usb1: configuration #1 chosen from 1 choice
 6hub 1-0:1.0: USB hub found
 6hub 1-0:1.0: 2 ports detected
 6usb usb2: configuration #1 chosen from 1 choice
 6hub 2-0:1.0: USB hub found
 6hub 2-0:1.0: 2 ports detected
 6usb 1-1: new low speed USB device using ohci_hcd and address 2
 6usb usb3: configuration #1 chosen from 1 choice
 6hub 3-0:1.0: USB hub found
 6hub 3-0:1.0: 2 ports detected
 6usb 1-1: configuration #1 chosen from 1 choice
 6usb usb4: configuration #1 chosen from 1 choice
 6hub 4-0:1.0: USB hub found
 6hub 4-0:1.0: 6 ports detected
 6usb 1-1: USB disconnect, address 2
 6usb usb5: configuration #1 chosen from 1 choice
 6hub 5-0:1.0: USB hub found
 6hub 5-0:1.0: 4 ports detected
 6usb usb6: configuration #1 chosen from 1 choice
 6hub 6-0:1.0: USB hub found
 6hub 6-0:1.0: 2 ports detected
 6usb usb7: configuration #1 chosen from 1 choice
 6hub 7-0:1.0: USB hub found
 6hub 7-0:1.0: 2 ports detected
 6usb 5-2: new high speed USB device using ehci_hcd and address 2
 6usb 5-2: configuration #1 chosen from 1 choice
 6hub 5-2:1.0: USB hub found
 6hub 5-2:1.0: 2 ports detected
 6usb 1-1: new low speed USB device using ohci_hcd and address 3
 6usb 1-1: configuration #1 chosen from 1 choice
 

Re: 2.6.23-rc6: usb 1-1: device not accepting address 2, error -62

2007-09-15 Thread Christian Volkmann
Second try to send, after I created postmaster on my domain.
Just to ensure the CC-list works correct. Sorry for this double posting.

 550-Postmaster verification failed while checking [EMAIL PROTECTED]
 550-Called:   212.227.15.134
 550-Sent: RCPT TO:[EMAIL PROTECTED]
 550-Response: 550 [EMAIL PROTECTED]: invalid address
 550-Several RFCs state that you are required to have a postmaster
 550-mailbox for each mail domain. This host does not accept mail
 550-from domains whose servers reject the postmaster address.
550 Sender verify failed



 Does the machine otherwise work OK?

Yes, the USB is working fine for the easy things I do with it.

Hmm, so I expect this 2.6.22 message:
 6usb 1-1: USB disconnect, address 2

became this 2.6.23rc6 message:
 3usb 1-1: device not accepting address 2, error -62

and nothing is harmed.



Andrew Morton wrote:
 Let's cc the USB mailing list.
 
 On Fri, 14 Sep 2007 23:28:23 +0200 Christian Volkmann [EMAIL PROTECTED] 
 wrote:
 
 Hi everybody,

 I have an error message with 2.6.23-rc6.
 This did not happen with 2.6.22.
 
 Another one for Michal's dirt file.
 
 The kernel reports message like this:
  3usb 1-1: device not accepting address 2, error -62
  3hub 2-2.1:1.0: hub_port_status failed (err = -71)

 Does this message harm or is something broken in 2.6.23-rc6 ?
 I get this kind of messages also with 2.6.23-rc3
 
 Does the machine otherwise work OK?
 
 Even if it does, I don't think we should be (newly) spraying scary messages
 like that at people.
 
 Best regards,

 Christian


 Please see below for:

 grep -e hub -e usb boot.msg for a 2.6.23-rc6 boot. (that boot was without 
 (err = -71)
 grep -e hub -e usb boot.msg for a 2.6.22 boot.
 lspci -vnn (2.6.22)
 lsusb -v (2.6.22)


 2.6.23-rc6 boot.msg extract ( hub/usb )

 6usbcore: registered new interface driver usbfs
 6usbcore: registered new interface driver hub
 6usbcore: registered new device driver usb
 6usb usb1: configuration #1 chosen from 1 choice
 6hub 1-0:1.0: USB hub found
 6hub 1-0:1.0: 2 ports detected
 6usb usb2: configuration #1 chosen from 1 choice
 6hub 2-0:1.0: USB hub found
 6hub 2-0:1.0: 2 ports detected
 6usb 1-1: new low speed USB device using ohci_hcd and address 2
 6usb usb3: configuration #1 chosen from 1 choice
 6hub 3-0:1.0: USB hub found
 6hub 3-0:1.0: 2 ports detected
 6usb usb4: configuration #1 chosen from 1 choice
 6hub 4-0:1.0: USB hub found
 6hub 4-0:1.0: 6 ports detected
 6usb usb5: configuration #1 chosen from 1 choice
 6hub 5-0:1.0: USB hub found
 6hub 5-0:1.0: 2 ports detected
 3usb 1-1: device not accepting address 2, error -62
 6usb 5-2: new full speed USB device using uhci_hcd and address 2
 6usb usb6: configuration #1 chosen from 1 choice
 6hub 6-0:1.0: USB hub found
 6hub 6-0:1.0: 4 ports detected
 6usb usb7: configuration #1 chosen from 1 choice
 6hub 7-0:1.0: USB hub found
 6hub 7-0:1.0: 2 ports detected
 6usb 1-1: new low speed USB device using ohci_hcd and address 4
 6usb 1-1: configuration #1 chosen from 1 choice
 6usb 2-1: new full speed USB device using ohci_hcd and address 2
 6usb 2-1: configuration #1 chosen from 1 choice
 6usb 6-2: new high speed USB device using ehci_hcd and address 2
 6usb 6-2: configuration #1 chosen from 1 choice
 6hub 6-2:1.0: USB hub found
 6hub 6-2:1.0: 2 ports detected
 6usbcore: registered new interface driver hiddev
 6input: USB HID v1.11 Mouse [USB Optical Mouse] on usb-:00:03.0-1
 6usbcore: registered new interface driver usbhid
 6drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
 7usb-storage: device found at 2
 7usb-storage: waiting for device to settle before scanning
 6usb 6-2.1: new high speed USB device using ehci_hcd and address 3
 6usb 6-2.1: configuration #1 chosen from 1 choice
 6hub 6-2.1:1.0: USB hub found
 6hub 6-2.1:1.0: 4 ports detected
 6usb 6-2.1.1: new high speed USB device using ehci_hcd and address 4
 6usb 6-2.1.1: configuration #1 chosen from 1 choice
 7usb-storage: device found at 4
 7usb-storage: waiting for device to settle before scanning
 6usbcore: registered new interface driver usb-storage
 7usb-storage: device scan complete
 7usb-storage: device scan complete

 2.6.22 boot.msg extract ( hub/usb )

 6usbcore: registered new interface driver usbfs
 6usbcore: registered new interface driver hub
 6usbcore: registered new device driver usb
 6usb usb1: configuration #1 chosen from 1 choice
 6hub 1-0:1.0: USB hub found
 6hub 1-0:1.0: 2 ports detected
 6usb usb2: configuration #1 chosen from 1 choice
 6hub 2-0:1.0: USB hub found
 6hub 2-0:1.0: 2 ports detected
 6usb 1-1: new low speed USB device using ohci_hcd and address 2
 6usb usb3: configuration #1 chosen from 1 choice
 6hub 3-0:1.0: USB hub found
 6hub 3-0:1.0: 2 ports detected
 6usb 1-1: configuration #1 chosen from 1 choice
 6usb usb4: configuration #1 chosen from 1 choice
 6hub 4-0:1.0: USB hub found
 6hub 4-0:1.0: 6 ports detected
 6usb 1-1: USB disconnect, address 2
 6usb usb5: configuration #1 chosen from 1 choice
 6hub 5-0:1.0: USB hub found
 

Re: [linux-usb-devel] 2.6.23-rc6: usb 1-1: device not accepting address 2, error -62

2007-09-15 Thread Alan Stern
On Sat, 15 Sep 2007, Christian Volkmann wrote:

  Does the machine otherwise work OK?
 
 Yes, the USB is working fine for the easy things I do with it.
 
 Hmm, so I expect this 2.6.22 message:
  6usb 1-1: USB disconnect, address 2
 
 became this 2.6.23rc6 message:
  3usb 1-1: device not accepting address 2, error -62
 
 and nothing is harmed.

Maybe.  It's hard to tell because you have not provided enough
information.  To get a better idea of what's going on you should enable 
CONFIG_USB_DEBUG, for both 2.6.22 and 2.6.23, and then post the dmesg 
logs.  It wouldn't hurt to enable CONFIG_PRINTK_TIME also.

These sorts of errors can occur because of bad cable connections or
other similar hardware problems.  There's an excellent chance they have
no connection to the kernel version.

Alan Stern

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.23-rc6: usb 1-1: device not accepting address 2, error -62

2007-09-15 Thread Pete Zaitcev
On Sat, 15 Sep 2007 03:48:19 -0700, Andrew Morton [EMAIL PROTECTED] wrote:

  I have an error message with 2.6.23-rc6.
  This did not happen with 2.6.22.
 
 Another one for Michal's dirt file.

No, I think it's the module ordering again.

  2.6.23-rc6 boot.msg extract ( hub/usb )

I wish users stopped this filtering, it's a very bad idea.

As it is, there's no message showing when ehci_hcd was loaded.
We can try piece together the picture:

  6usb usb1: configuration #1 chosen from 1 choice
  6hub 1-0:1.0: USB hub found
  6hub 1-0:1.0: 2 ports detected
  6usb usb2: configuration #1 chosen from 1 choice
  6hub 2-0:1.0: USB hub found
  6hub 2-0:1.0: 2 ports detected
  6usb 1-1: new low speed USB device using ohci_hcd and address 2

ok this was ohci_hcd

  3usb 1-1: device not accepting address 2, error -62
  6usb 5-2: new full speed USB device using uhci_hcd and address 2

was ehci here? We don't know but I bet it was, because:

  6usb 6-2: new high speed USB device using ehci_hcd and address 2

  2.6.22 boot.msg extract ( hub/usb )

This one seems far shorter. The EHCI comes online late here as well,
but not as late as in the regression case. I am wondering if we
have some kind of parallel PCI probing option in action here.

-- Pete
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: 2.6.23-rc6: usb 1-1: device not accepting address 2, error -62

2007-09-15 Thread Christian Volkmann
Pete Zaitcev wrote:
 On Sat, 15 Sep 2007 03:48:19 -0700, Andrew Morton [EMAIL PROTECTED] wrote:
 
 I have an error message with 2.6.23-rc6.
 This did not happen with 2.6.22.
 Another one for Michal's dirt file.
 
 No, I think it's the module ordering again.
 
 2.6.23-rc6 boot.msg extract ( hub/usb )
 
 I wish users stopped this filtering, it's a very bad idea.
 
Sorry about this. I want to keep the postings shorter.
Please see my earlier reply for the complete messages made
with CONFIG_PRINTK_TIME and CONFIG_USB_DEBUG

 As it is, there's no message showing when ehci_hcd was loaded.
 We can try piece together the picture:
 
 6usb usb1: configuration #1 chosen from 1 choice
 6hub 1-0:1.0: USB hub found
 6hub 1-0:1.0: 2 ports detected
 6usb usb2: configuration #1 chosen from 1 choice
 6hub 2-0:1.0: USB hub found
 6hub 2-0:1.0: 2 ports detected
 6usb 1-1: new low speed USB device using ohci_hcd and address 2
 
 ok this was ohci_hcd
 
 3usb 1-1: device not accepting address 2, error -62
 6usb 5-2: new full speed USB device using uhci_hcd and address 2
 
 was ehci here? We don't know but I bet it was, because:
 
 6usb 6-2: new high speed USB device using ehci_hcd and address 2
 
 2.6.22 boot.msg extract ( hub/usb )
 
 This one seems far shorter. The EHCI comes online late here as well,
 but not as late as in the regression case. I am wondering if we
 have some kind of parallel PCI probing option in action here.

I can send my .config on request.

The system itself is a regular suse 10.2.


 
 -- Pete
 

Christian
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [linux-usb-devel] 2.6.23-rc6: usb 1-1: device not accepting address 2, error -62

2007-09-15 Thread Alan Stern
On Sat, 15 Sep 2007, Christian Volkmann wrote:

 Please see below for the logs with timestamp and usb-debug.
 
 Alan Stern wrote:
  On Sat, 15 Sep 2007, Christian Volkmann wrote:
  
  Does the machine otherwise work OK?
 
  Yes, the USB is working fine for the easy things I do with it.
 
  Hmm, so I expect this 2.6.22 message:
  6usb 1-1: USB disconnect, address 2
  became this 2.6.23rc6 message:
  3usb 1-1: device not accepting address 2, error -62
  and nothing is harmed.
  
  Maybe.  It's hard to tell because you have not provided enough
  information.  To get a better idea of what's going on you should enable 
  CONFIG_USB_DEBUG, for both 2.6.22 and 2.6.23, and then post the dmesg 
  logs.  It wouldn't hurt to enable CONFIG_PRINTK_TIME also.
  
  These sorts of errors can occur because of bad cable connections or
  other similar hardware problems.  There's an excellent chance they have
  no connection to the kernel version.
  
  Alan Stern

It looks like both of Pete's guesses were correct.  The highly-edited 
extracts below show a few things.

In 2.6.22, a disconnect occurred because ohci-hcd was loaded before 
ehci-hcd:

 Boot of 2.6.22 with CONFIG_PRINTK_TIME and CONFIG_USB_DEBUG
 7[   29.035665] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller 
 (OHCI) Driver
 6[   29.078652] ohci_hcd :00:03.0: new USB bus registered, assigned bus 
 number 1
 6[   29.406003] ohci_hcd :00:03.1: new USB bus registered, assigned bus 
 number 2
 6[   29.655430] usb 1-1: new low speed USB device using ohci_hcd and 
 address 2
 6[   29.736975] ohci_hcd :00:03.2: new USB bus registered, assigned bus 
 number 3
 6[   29.935872] usb 1-1: Product: USB Optical Mouse
 6[   30.072347] ehci_hcd :00:03.3: new USB bus registered, assigned bus 
 number 4
 6[   30.179588] usb 1-1: USB disconnect, address 2
 6[   30.386138] ehci_hcd :00:07.2: new USB bus registered, assigned bus 
 number 5
 7[   30.606818] ehci_hcd :00:03.3: port 1 low speed -- companion
 6[   30.664503] uhci_hcd :00:07.0: UHCI Host Controller
 6[   30.681636] uhci_hcd :00:07.0: new USB bus registered, assigned bus 
 number 6
 7[   30.854760] ehci_hcd :00:03.3: port 2 full speed -- companion
 6[   30.969096] uhci_hcd :00:07.1: new USB bus registered, assigned bus 
 number 7
 6[   31.177917] usb 1-1: new low speed USB device using ohci_hcd and 
 address 3
 6[   32.537664] usb 2-1: Product: Medion Flash XL V3.0C
 6[   32.549438] usb 2-1: Manufacturer: MEDION
 6[   32.561308] usb 2-1: SerialNumber: 2003-02

In 2.6.23, a different series of errors occurred because ohci-hcd, 
ehci-hcd, and uhci-hcd were loaded in parallel.

 Boot of 2.6.23rc6 with CONFIG_PRINTK_TIME and CONFIG_USB_DEBUG
 7[   27.133379] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller 
 (OHCI) Driver
 7[   27.133384] ohci_hcd: block sizes: ed 64 td 64
 6[   27.136391] USB Universal Host Controller Interface driver v3.0
 7[   27.288172] ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96
 6[   28.061139] ohci_hcd :00:03.0: new USB bus registered, assigned bus 
 number 1
 6[   28.337023] uhci_hcd :00:07.0: UHCI Host Controller
 6[   28.350241] uhci_hcd :00:07.0: new USB bus registered, assigned bus 
 number 2
 6[   28.600358] usb 1-1: new low speed USB device using ohci_hcd and 
 address 2
 6[   28.652269] ehci_hcd :00:03.3: new USB bus registered, assigned bus 
 number 3
 7[   28.752739] ohci_hcd :00:03.0: urb c5ead340 path 1 ep0out 5ec2 
 cc 5 -- status -62
 3[   29.166906] usb 1-1: device not accepting address 2, error -62
 6[   29.977427] ohci_hcd :00:03.1: new USB bus registered, assigned bus 
 number 4
 6[   30.308993] ohci_hcd :00:03.2: new USB bus registered, assigned bus 
 number 5
 6[   30.631777] uhci_hcd :00:07.1: new USB bus registered, assigned bus 
 number 6
 6[   30.921451] ehci_hcd :00:07.2: new USB bus registered, assigned bus 
 number 7

None of the nasty-sounding messages indicate any real problem.  They
are normal when a low- or full-speed device is connected while the
companion high-speed controller is initialized.

To prevent all the error messages, make sure the ehci-hcd is loaded
before the other two and after all the PCI devices have been detected.  
(In the presence of the hotplug subsystem, this may not be easy to
accomplish.)

At any rate, this is not a regression because it isn't a bug or a 
mulfunction.  It is normal behavior.

Alan Stern

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


2.6.23-rc6: usb 1-1: device not accepting address 2, error -62

2007-09-14 Thread Christian Volkmann
Hi everybody,

I have an error message with 2.6.23-rc6.
This did not happen with 2.6.22.

The kernel reports message like this:
 <3>usb 1-1: device not accepting address 2, error -62
 <3>hub 2-2.1:1.0: hub_port_status failed (err = -71)

Does this message harm or is something broken in 2.6.23-rc6 ?
I get this kind of messages also with 2.6.23-rc3

Best regards,

Christian


Please see below for:

grep -e hub -e usb boot.msg for a 2.6.23-rc6 boot. (that boot was without (err 
= -71)
grep -e hub -e usb boot.msg for a 2.6.22 boot.
lspci -vnn (2.6.22)
lsusb -v (2.6.22)


2.6.23-rc6 boot.msg extract ( hub/usb )

<6>usbcore: registered new interface driver usbfs
<6>usbcore: registered new interface driver hub
<6>usbcore: registered new device driver usb
<6>usb usb1: configuration #1 chosen from 1 choice
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 2 ports detected
<6>usb usb2: configuration #1 chosen from 1 choice
<6>hub 2-0:1.0: USB hub found
<6>hub 2-0:1.0: 2 ports detected
<6>usb 1-1: new low speed USB device using ohci_hcd and address 2
<6>usb usb3: configuration #1 chosen from 1 choice
<6>hub 3-0:1.0: USB hub found
<6>hub 3-0:1.0: 2 ports detected
<6>usb usb4: configuration #1 chosen from 1 choice
<6>hub 4-0:1.0: USB hub found
<6>hub 4-0:1.0: 6 ports detected
<6>usb usb5: configuration #1 chosen from 1 choice
<6>hub 5-0:1.0: USB hub found
<6>hub 5-0:1.0: 2 ports detected
<3>usb 1-1: device not accepting address 2, error -62
<6>usb 5-2: new full speed USB device using uhci_hcd and address 2
<6>usb usb6: configuration #1 chosen from 1 choice
<6>hub 6-0:1.0: USB hub found
<6>hub 6-0:1.0: 4 ports detected
<6>usb usb7: configuration #1 chosen from 1 choice
<6>hub 7-0:1.0: USB hub found
<6>hub 7-0:1.0: 2 ports detected
<6>usb 1-1: new low speed USB device using ohci_hcd and address 4
<6>usb 1-1: configuration #1 chosen from 1 choice
<6>usb 2-1: new full speed USB device using ohci_hcd and address 2
<6>usb 2-1: configuration #1 chosen from 1 choice
<6>usb 6-2: new high speed USB device using ehci_hcd and address 2
<6>usb 6-2: configuration #1 chosen from 1 choice
<6>hub 6-2:1.0: USB hub found
<6>hub 6-2:1.0: 2 ports detected
<6>usbcore: registered new interface driver hiddev
<6>input: USB HID v1.11 Mouse [USB Optical Mouse] on usb-:00:03.0-1
<6>usbcore: registered new interface driver usbhid
<6>drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
<7>usb-storage: device found at 2
<7>usb-storage: waiting for device to settle before scanning
<6>usb 6-2.1: new high speed USB device using ehci_hcd and address 3
<6>usb 6-2.1: configuration #1 chosen from 1 choice
<6>hub 6-2.1:1.0: USB hub found
<6>hub 6-2.1:1.0: 4 ports detected
<6>usb 6-2.1.1: new high speed USB device using ehci_hcd and address 4
<6>usb 6-2.1.1: configuration #1 chosen from 1 choice
<7>usb-storage: device found at 4
<7>usb-storage: waiting for device to settle before scanning
<6>usbcore: registered new interface driver usb-storage
<7>usb-storage: device scan complete
<7>usb-storage: device scan complete

2.6.22 boot.msg extract ( hub/usb )

<6>usbcore: registered new interface driver usbfs
<6>usbcore: registered new interface driver hub
<6>usbcore: registered new device driver usb
<6>usb usb1: configuration #1 chosen from 1 choice
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 2 ports detected
<6>usb usb2: configuration #1 chosen from 1 choice
<6>hub 2-0:1.0: USB hub found
<6>hub 2-0:1.0: 2 ports detected
<6>usb 1-1: new low speed USB device using ohci_hcd and address 2
<6>usb usb3: configuration #1 chosen from 1 choice
<6>hub 3-0:1.0: USB hub found
<6>hub 3-0:1.0: 2 ports detected
<6>usb 1-1: configuration #1 chosen from 1 choice
<6>usb usb4: configuration #1 chosen from 1 choice
<6>hub 4-0:1.0: USB hub found
<6>hub 4-0:1.0: 6 ports detected
<6>usb 1-1: USB disconnect, address 2
<6>usb usb5: configuration #1 chosen from 1 choice
<6>hub 5-0:1.0: USB hub found
<6>hub 5-0:1.0: 4 ports detected
<6>usb usb6: configuration #1 chosen from 1 choice
<6>hub 6-0:1.0: USB hub found
<6>hub 6-0:1.0: 2 ports detected
<6>usb usb7: configuration #1 chosen from 1 choice
<6>hub 7-0:1.0: USB hub found
<6>hub 7-0:1.0: 2 ports detected
<6>usb 5-2: new high speed USB device using ehci_hcd and address 2
<6>usb 5-2: configuration #1 chosen from 1 choice
<6>hub 5-2:1.0: USB hub found
<6>hub 5-2:1.0: 2 ports detected
<6>usb 1-1: new low speed USB device using ohci_hcd and address 3
<6>usb 1-1: configuration #1 chosen from 1 choice
<6>usbcore: registered new interface driver hiddev
<6>usb 2-1: new full speed USB device using ohci_hcd and address 2
<6>usb 2-1: configuration #1 chosen from 1 choice
<6>usb 5-2.1: new high speed USB device using ehci_hcd and address 3
<6>usb 5-2.1: configuration #1 chosen from 1 choice
<6>hub 5-2.1:1.0: USB hub found
<6>hub 5-2.1:1.0: 4 ports detected
<6>input: USB HID v1.11 Mouse [USB Optical Mouse] on usb-:00:03.0-1
<7>usb-storage: device found at 2
<7>usb-storage: waiting for device to settle before scanning
<6>usb 5-2.1.1: new high 

2.6.23-rc6: usb 1-1: device not accepting address 2, error -62

2007-09-14 Thread Christian Volkmann
Hi everybody,

I have an error message with 2.6.23-rc6.
This did not happen with 2.6.22.

The kernel reports message like this:
 3usb 1-1: device not accepting address 2, error -62
 3hub 2-2.1:1.0: hub_port_status failed (err = -71)

Does this message harm or is something broken in 2.6.23-rc6 ?
I get this kind of messages also with 2.6.23-rc3

Best regards,

Christian


Please see below for:

grep -e hub -e usb boot.msg for a 2.6.23-rc6 boot. (that boot was without (err 
= -71)
grep -e hub -e usb boot.msg for a 2.6.22 boot.
lspci -vnn (2.6.22)
lsusb -v (2.6.22)


2.6.23-rc6 boot.msg extract ( hub/usb )

6usbcore: registered new interface driver usbfs
6usbcore: registered new interface driver hub
6usbcore: registered new device driver usb
6usb usb1: configuration #1 chosen from 1 choice
6hub 1-0:1.0: USB hub found
6hub 1-0:1.0: 2 ports detected
6usb usb2: configuration #1 chosen from 1 choice
6hub 2-0:1.0: USB hub found
6hub 2-0:1.0: 2 ports detected
6usb 1-1: new low speed USB device using ohci_hcd and address 2
6usb usb3: configuration #1 chosen from 1 choice
6hub 3-0:1.0: USB hub found
6hub 3-0:1.0: 2 ports detected
6usb usb4: configuration #1 chosen from 1 choice
6hub 4-0:1.0: USB hub found
6hub 4-0:1.0: 6 ports detected
6usb usb5: configuration #1 chosen from 1 choice
6hub 5-0:1.0: USB hub found
6hub 5-0:1.0: 2 ports detected
3usb 1-1: device not accepting address 2, error -62
6usb 5-2: new full speed USB device using uhci_hcd and address 2
6usb usb6: configuration #1 chosen from 1 choice
6hub 6-0:1.0: USB hub found
6hub 6-0:1.0: 4 ports detected
6usb usb7: configuration #1 chosen from 1 choice
6hub 7-0:1.0: USB hub found
6hub 7-0:1.0: 2 ports detected
6usb 1-1: new low speed USB device using ohci_hcd and address 4
6usb 1-1: configuration #1 chosen from 1 choice
6usb 2-1: new full speed USB device using ohci_hcd and address 2
6usb 2-1: configuration #1 chosen from 1 choice
6usb 6-2: new high speed USB device using ehci_hcd and address 2
6usb 6-2: configuration #1 chosen from 1 choice
6hub 6-2:1.0: USB hub found
6hub 6-2:1.0: 2 ports detected
6usbcore: registered new interface driver hiddev
6input: USB HID v1.11 Mouse [USB Optical Mouse] on usb-:00:03.0-1
6usbcore: registered new interface driver usbhid
6drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
7usb-storage: device found at 2
7usb-storage: waiting for device to settle before scanning
6usb 6-2.1: new high speed USB device using ehci_hcd and address 3
6usb 6-2.1: configuration #1 chosen from 1 choice
6hub 6-2.1:1.0: USB hub found
6hub 6-2.1:1.0: 4 ports detected
6usb 6-2.1.1: new high speed USB device using ehci_hcd and address 4
6usb 6-2.1.1: configuration #1 chosen from 1 choice
7usb-storage: device found at 4
7usb-storage: waiting for device to settle before scanning
6usbcore: registered new interface driver usb-storage
7usb-storage: device scan complete
7usb-storage: device scan complete

2.6.22 boot.msg extract ( hub/usb )

6usbcore: registered new interface driver usbfs
6usbcore: registered new interface driver hub
6usbcore: registered new device driver usb
6usb usb1: configuration #1 chosen from 1 choice
6hub 1-0:1.0: USB hub found
6hub 1-0:1.0: 2 ports detected
6usb usb2: configuration #1 chosen from 1 choice
6hub 2-0:1.0: USB hub found
6hub 2-0:1.0: 2 ports detected
6usb 1-1: new low speed USB device using ohci_hcd and address 2
6usb usb3: configuration #1 chosen from 1 choice
6hub 3-0:1.0: USB hub found
6hub 3-0:1.0: 2 ports detected
6usb 1-1: configuration #1 chosen from 1 choice
6usb usb4: configuration #1 chosen from 1 choice
6hub 4-0:1.0: USB hub found
6hub 4-0:1.0: 6 ports detected
6usb 1-1: USB disconnect, address 2
6usb usb5: configuration #1 chosen from 1 choice
6hub 5-0:1.0: USB hub found
6hub 5-0:1.0: 4 ports detected
6usb usb6: configuration #1 chosen from 1 choice
6hub 6-0:1.0: USB hub found
6hub 6-0:1.0: 2 ports detected
6usb usb7: configuration #1 chosen from 1 choice
6hub 7-0:1.0: USB hub found
6hub 7-0:1.0: 2 ports detected
6usb 5-2: new high speed USB device using ehci_hcd and address 2
6usb 5-2: configuration #1 chosen from 1 choice
6hub 5-2:1.0: USB hub found
6hub 5-2:1.0: 2 ports detected
6usb 1-1: new low speed USB device using ohci_hcd and address 3
6usb 1-1: configuration #1 chosen from 1 choice
6usbcore: registered new interface driver hiddev
6usb 2-1: new full speed USB device using ohci_hcd and address 2
6usb 2-1: configuration #1 chosen from 1 choice
6usb 5-2.1: new high speed USB device using ehci_hcd and address 3
6usb 5-2.1: configuration #1 chosen from 1 choice
6hub 5-2.1:1.0: USB hub found
6hub 5-2.1:1.0: 4 ports detected
6input: USB HID v1.11 Mouse [USB Optical Mouse] on usb-:00:03.0-1
7usb-storage: device found at 2
7usb-storage: waiting for device to settle before scanning
6usb 5-2.1.1: new high speed USB device using ehci_hcd and address 4
6usb 5-2.1.1: configuration #1 chosen from 1 choice
6usbcore: registered new interface driver usbhid
7usb-storage: device found at 4
7usb-storage: