logo

Could not compile stylesheet for simplistic. Using last compiled stylesheet.

USB1 unhandled fault

posted in IGEPv2
Wednesday, October 07 2015, 06:46 PM
0
Hi,

We use the IGEPv2 board for our solution product with a 3G modem connected to USB1-typeA connector (modem has its own power supply).
The Linux system version is 2.6.37-10.

We got an unhandled fault on USB1 connection, which is captured in the attached Linux system logs (messages captured from a RS232 console connected on the IGEPv2 J960 port).
Here is a log extract of the errors beginning concerning USB1:
...
[ 8.568939] ehci-omap ehci-omap.0: remove, state 1
[ 8.573944] usb usb1: USB disconnect, address 1
[ 13.568847] hub 1-0:1.0: cannot reset port 1 (err = -19)
[ 13.574371] hub 1-0:1.0: cannot disable port 1 (err = -19)
[ 13.580139] hub 1-0:1.0: cannot reset port 1 (err = -19)
[ 13.585662] hub 1-0:1.0: cannot disable port 1 (err = -19)
[ 13.591369] hub 1-0:1.0: cannot reset port 1 (err = -19)
[ 13.596923] hub 1-0:1.0: cannot disable port 1 (err = -19)
[ 13.602630] hub 1-0:1.0: cannot reset port 1 (err = -19)
[ 13.608184] hub 1-0:1.0: cannot disable port 1 (err = -19)
[ 13.613891] ehci-omap ehci-omap.0: port 1 cannot be enabled
[ 13.619689] ehci-omap ehci-omap.0: Maybe your device is not a high speed device?
[ 13.627410] ehci-omap ehci-omap.0: USB host (EHCI) controller does not support full speed or low speed device on it's root port.
[ 13.639465] ehci-omap ehci-omap.0: Please connect full/low speed device via a high speed hub.
[ 13.648345] hub 1-0:1.0: unable to enumerate USB device on port 1
[ 13.654693] hub 1-0:1.0: cannot disable port 1 (err = -19)
[ 13.661102] usbcore: registered new interface driver usbserial_generic
[ 13.667938] usbserial: USB Serial Driver core
[ 13.674713] ehci-omap ehci-omap.0: USB bus 1 deregistered
[ 13.680389] Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa064014
[ 13.688354] Internal error: : 1028 [#1]
[ 13.692352] last sysfs file: /sys/devices/platform/ehci-omap.0/usb1/idVendor
...

Could you help us to understand the system fault, and how it could be corrected please?

Thanks in advance for your help.

Best Regards,
Simon Andrieu
Attachments:
Responses (6)
  • Accepted Answer

    Thursday, October 08 2015, 02:58 PM - #permalink
    0
    Hi Simon,

    It's important to use newer igepxloader loader for recent kernels versions, upgrade to 2.6.0-2 release

    You apply any modifications to kernel sources or configuration?

    Cheers!
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 09 2015, 10:11 AM - #permalink
    0
    Hi,

    Thanks for the recommendation, indeed we haven't updated the igepxloader.
    I validated yesterday the igepxloader update procedure (on my test box), and i will go today to the production site where issue is observed, apply this procedure, and check if crash is still there.

    Concerning kernel, i cross-compile it using the default igep00x0_defconfig file, and only changing these options to yes:
    CONFIG_USB_SERIAL_GENERIC=y
    CONFIG_TUN=y

    Thanks,
    Simon
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 09 2015, 07:23 PM - #permalink
    0
    Hi,

    I am back from the production site that have the issue, where i updated the igepxloader to 2.6.0-2 version, and there were again the crash on USB1 connexion (attached to this post).

    Thanks,
    Simon
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 13 2015, 04:12 PM - #permalink
    0
    Hi Simon,

    Your log gives some clues:

    [ 8.489501] usb usb1: USB disconnect, address 1
    [ 13.484558] hub 1-0:1.0: cannot reset port 1 (err = -19)
    [ 13.490081] hub 1-0:1.0: cannot disable port 1 (err = -19)
    [ 13.495849] hub 1-0:1.0: cannot reset port 1 (err = -19)
    [ 13.501373] hub 1-0:1.0: cannot disable port 1 (err = -19)
    [ 13.507110] hub 1-0:1.0: cannot reset port 1 (err = -19)
    [ 13.512634] hub 1-0:1.0: cannot disable port 1 (err = -19)
    [ 13.518371] hub 1-0:1.0: cannot reset port 1 (err = -19)
    [ 13.523895] hub 1-0:1.0: cannot disable port 1 (err = -19)
    [ 13.529602] ehci-omap ehci-omap.0: port 1 cannot be enabled
    [ 13.535430] ehci-omap ehci-omap.0: Maybe your device is not a high speed device?
    [ 13.543121] ehci-omap ehci-omap.0: USB host (EHCI) controller does not support full speed or low speed device on it’s root port.
    [ 13.555175] ehci-omap ehci-omap.0: Please connect full/low speed device via a high speed hub.

    IGEPv2 USB HOST (USB1) is not capable to handle USB full and low speed protocols. Can you try to use an external self powered USB 2.0 HUB between IGEPv2 and your modem?

    Cheers!
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 14 2015, 12:18 PM - #permalink
    0
    Hi,

    Actually when i captured this Linux crash log on production site, we observed on this site that the modem (Teleorigin RB800U /based on Telit UL865) is in an unexpected state: LEDs remain always in a fixed state. This supposes that modem is "freezed".
    Then Linux system could not enumerate USB1 even connexion is detected, and this could explain why EHCI driver doesn't manage to identify speed category of the attached device.

    We work on identifying what could cause the modem Telit UL865 to be in an unexpected state.
    However, we think that the EHCI driver should not crash as a consequence.

    We also managed to get EHCI crash repeting the following command: echo "reset" > /sys/devices/platform/ehci-omap.0/port1
    (for instance with the following command:
    for i in {1..100}; do echo $i; echo "reset" > /sys/devices/platform/ehci-omap.0/port1; sleep 1; done
    )
    If this could help you to reproduce the issue.

    Thanks for your help,
    Simon
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 14 2015, 06:55 PM - #permalink
    0
    Hi Simon,

    Sorry, but I don't have any modem like this. It's hard to find out the solution if I cannot reproduce it
    The reply is currently minimized Show
Your Reply

SUPPORT


This email address is being protected from spambots. You need JavaScript enabled to view it.
This email address is being protected from spambots. You need JavaScript enabled to view it.
IGEP Community Wiki
IGEP Community Forum
IGEP Community Online Chat