Re: [BUG] 2.6.31.2 io_ti

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 8 Oct 2009, Alan Stern wrote:
> On Thu, 8 Oct 2009, Jean-Denis Girard wrote:
>
> > I have another (smaller) problem: the firmware download always fails on
> > first insert (or reboot), which results in no serial port created; it
> > succeeds on second insert (trace below). It has always been the case
> > since I bought this device (as recommended by Greg KH).
>
> For this problem, a pair of usbmon traces might help.  We may find that
> the problem lies somewhere in the firmware loader.

I know this is quite an old message to follow up on, however I've hit
this very problem with a Digi Edgeport/416 which used io_ti

Something changed between Kernels versions 2.6.24 (which works as soon
as you plug it in) and 2.6.27 (which makes you unplug it and plug it
back in before it works) (corresponding to Ubuntu versions 8.04 &
8.10) however I've reproduced the problem with Fedora and using
generic kernel.org kernel (up to 2.6.35-git3)

Doesn't seem to be dependant on whether its on UHCI (Intel) or OHCI (nVidia).

I can do usbmon traces, but what the best way of putting them up? The
files are quite large...

from kernel logging (with debug on) I get similar to this repeated
many times (again whole thing is quite large)

Aug  6 08:57:48 cbmgpw1 kernel: [  124.462616]
drivers/usb/serial/usb-serial.c: static descriptor matches
Aug  6 08:57:48 cbmgpw1 kernel: [  124.462620]
drivers/usb/serial/usb-serial.c: found bulk in on endpoint 0
Aug  6 08:57:48 cbmgpw1 kernel: [  124.462623]
drivers/usb/serial/usb-serial.c: found bulk out on endpoint 1
Aug  6 08:57:48 cbmgpw1 kernel: [  124.462627]
drivers/usb/serial/usb-serial.c: found bulk in on endpoint 2
Aug  6 08:57:48 cbmgpw1 kernel: [  124.462630]
drivers/usb/serial/usb-serial.c: found bulk out on endpoint 3
Aug  6 08:57:48 cbmgpw1 kernel: [  124.462633]
drivers/usb/serial/usb-serial.c: found interrupt in on endpoint 4
Aug  6 08:57:48 cbmgpw1 kernel: [  124.462637] io_ti 3-2.2.4:1.0:
Edgeport TI 2 port adapter converter detected
Aug  6 08:57:48 cbmgpw1 kernel: [  124.462641]
drivers/usb/serial/usb-serial.c: usb_serial_probe - setting up 2 port
structures for this device
Aug  6 08:57:48 cbmgpw1 kernel: [  124.462652]
drivers/usb/serial/io_ti.c: choose_config - Number of Interfaces = 1
Aug  6 08:57:48 cbmgpw1 kernel: [  124.462655]
drivers/usb/serial/io_ti.c: choose_config - MAX Power            = 0
Aug  6 08:57:48 cbmgpw1 kernel: [  124.462659]
drivers/usb/serial/io_ti.c: download_fw - RUNNING IN DOWNLOAD MODE
Aug  6 08:57:48 cbmgpw1 kernel: [  124.462665]
drivers/usb/serial/io_ti.c: read_download_mem - @ 0 for 1
Aug  6 08:57:48 cbmgpw1 kernel: [  124.463571]
drivers/usb/serial/io_ti.c: read_download_mem - ERROR ffffffb9
Aug  6 08:57:48 cbmgpw1 kernel: [  124.463577]
drivers/usb/serial/io_ti.c: download_fw - DOWNLOAD MODE -- BAD I2C
Aug  6 08:57:48 cbmgpw1 kernel: [  124.463582]
drivers/usb/serial/usb-serial.c: destroy_serial - Edgeport TI 2 port
adapter
Aug  6 08:57:48 cbmgpw1 kernel: [  124.463586]
drivers/usb/serial/usb-serial.c: port_release - (null)
Aug  6 08:57:48 cbmgpw1 kernel: [  124.463591]
drivers/usb/serial/usb-serial.c: port_release - (null)
Aug  6 08:57:48 cbmgpw1 kernel: [  124.463600] io_ti: probe of :1.0
failed with error -5

The equivalent when it works is:


Aug  6 08:59:02 cbmgpw1 kernel: [  199.241560] usb 3-2.2.4: new full
speed USB device using uhci_hcd and address 39
Aug  6 08:59:03 cbmgpw1 kernel: [  199.538657]
drivers/usb/serial/usb-serial.c: static descriptor matches
Aug  6 08:59:03 cbmgpw1 kernel: [  199.538664]
drivers/usb/serial/usb-serial.c: found bulk in on endpoint 0
Aug  6 08:59:03 cbmgpw1 kernel: [  199.538668]
drivers/usb/serial/usb-serial.c: found bulk out on endpoint 1
Aug  6 08:59:03 cbmgpw1 kernel: [  199.538671]
drivers/usb/serial/usb-serial.c: found bulk in on endpoint 2
Aug  6 08:59:03 cbmgpw1 kernel: [  199.538675]
drivers/usb/serial/usb-serial.c: found bulk out on endpoint 3
Aug  6 08:59:03 cbmgpw1 kernel: [  199.538678]
drivers/usb/serial/usb-serial.c: found interrupt in on endpoint 4
Aug  6 08:59:03 cbmgpw1 kernel: [  199.538682] io_ti 3-2.2.4:1.0:
Edgeport TI 2 port adapter converter detected
Aug  6 08:59:03 cbmgpw1 kernel: [  199.538687]
drivers/usb/serial/usb-serial.c: usb_serial_probe - setting up 2 port
structures for this device
Aug  6 08:59:03 cbmgpw1 kernel: [  199.538701]
drivers/usb/serial/io_ti.c: choose_config - Number of Interfaces = 1
Aug  6 08:59:03 cbmgpw1 kernel: [  199.538705]
drivers/usb/serial/io_ti.c: choose_config - MAX Power            = 0
Aug  6 08:59:03 cbmgpw1 kernel: [  199.538708]
drivers/usb/serial/io_ti.c: download_fw - RUNNING IN DOWNLOAD MODE
Aug  6 08:59:03 cbmgpw1 kernel: [  199.538716]
drivers/usb/serial/io_ti.c: read_download_mem - @ 0 for 1
Aug  6 08:59:03 cbmgpw1 kernel: [  199.543567]
drivers/usb/serial/io_ti.c: read_download_mem - @ 2 for 4
Aug  6 08:59:03 cbmgpw1 kernel: [  199.543573]
drivers/usb/serial/io_ti.c: read_download_mem - @ 2 for 4
Aug  6 08:59:03 cbmgpw1 kernel: [  199.548549] usb 3-2.2.4:
read_download_mem - length = 4, data = 01 09 00 72
Aug  6 08:59:03 cbmgpw1 kernel: [  199.548558]
drivers/usb/serial/io_ti.c: check_i2c_image Type = 0x1
Aug  6 08:59:03 cbmgpw1 kernel: [  199.548562]
drivers/usb/serial/io_ti.c: read_download_mem - @ 6 for 9
Aug  6 08:59:03 cbmgpw1 kernel: [  199.548566]
drivers/usb/serial/io_ti.c: read_download_mem - @ 6 for 9
Aug  6 08:59:03 cbmgpw1 kernel: [  199.554565] usb 3-2.2.4:
read_download_mem - length = 9, data = 81 08 16 88 02 47 02 00 00
Aug  6 08:59:03 cbmgpw1 kernel: [  199.554578]
drivers/usb/serial/io_ti.c: read_download_mem - @ f for 4
Aug  6 08:59:03 cbmgpw1 kernel: [  199.554582]
drivers/usb/serial/io_ti.c: read_download_mem - @ f for 4
Aug  6 08:59:03 cbmgpw1 kernel: [  199.559548] usb 3-2.2.4:
read_download_mem - length = 4, data = 02 02 3e 75
Aug  6 08:59:03 cbmgpw1 kernel: [  199.559556]
drivers/usb/serial/io_ti.c: check_i2c_image Type = 0x2
Aug  6 08:59:03 cbmgpw1 kernel: [  199.559560]
drivers/usb/serial/io_ti.c: read_download_mem - @ 3e15 for 4
........

Would I be able to get some help in tracking down this problem

Many thanks

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux