linux-linaro 11.07 omap3 kernels have broken USB/Ethernet on Beagle xM rev C boards

Bug #825343 reported by Dave Martin
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Linux
Fix Released
Undecided
Unassigned
Linaro Ubuntu
Fix Released
High
John Rigby

Bug Description

Using torvalds' tree, I get the following results:

 * v3.0 works on xM A2 and not on rev C (i.e., similar behaviour to linaro 11.07)
 * v3.1-rc1 works on both boards (i.e., USB and the network come up)

For building upstream, I used omap2plus_defconfig and added the following options:

CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_HCD_OMAP=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_OMAP3=y
CONFIG_USB_NET_SMSC95XX=y

Allegedly, linaro 11.06 kernels work on both boards (I haven't tested this myself)

None of my tests were done with devicetree enabled; this is another possible source of issues.

Revision history for this message
Dave Martin (dave-martin-arm) wrote :
Revision history for this message
John Stultz (jstultz) wrote :

Jassi: Do you have any rough idea (or suggestions of who to ask) for which patch included in 3.1-rc1 might have helped this out?

It would be good to pull it into the linux-linaro and linaro-android kernels.

thanks
-john

Revision history for this message
John Stultz (jstultz) wrote :

Jassi replied privately that the likely candidate was:
   5fe8b4c19dc24e3bb873daf9e96a2439a83bbd79 'OMAP3: beagle: add support for beagleboard xM revision C'

I've now cherry picked that into my tree for 11.08

Revision history for this message
John Stultz (jstultz) wrote :

Nico, you might want to grab the commit id in comment #3 for the linaro-linux tree to resolve this bug.

Changed in linaro-ubuntu:
importance: Undecided → High
milestone: none → 11.08
Revision history for this message
Tom Gall (tom-gall) wrote :

as a (perhaps slightly useless) reference point, my beagle Xm USB ethernet works fine with the 11.08 RC (Rev A2 however)

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Yeah, seems patch 5fe8b4c19dc24e3bb873daf9e96a2439a83bbd79 is the correct one to fix this issue. This was included upstream at at 3.1-rc1.

Nicolas, do you think you can cherry-pick this patch into Linux-linaro 3? This makes beagleboard xM rev C to boot with Linaro kernel.

Changed in linaro-ubuntu:
status: New → Triaged
Changed in linux-linaro:
status: New → Confirmed
Changed in linaro-ubuntu:
assignee: nobody → John Rigby (jcrigby)
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Sorry, seems this patch is already applied at linux-linaro 11.08, so in theory we should be fine.

Now we just need to check the sauce that was applied at the package side.

Changed in linux-linaro:
status: Confirmed → Fix Committed
Changed in linaro-ubuntu:
status: Triaged → Fix Committed
Changed in linux-linaro:
status: Fix Committed → Fix Released
Revision history for this message
Dave Martin (dave-martin-arm) wrote : Re: [Bug 825343] Re: linux-linaro 11.07 omap3 kernels have broken USB/Ethernet on Beagle xM rev C boards

On Tue, Aug 23, 2011 at 11:47:33PM -0000, Tom Gall wrote:
> as a (perhaps slightly useless) reference point, my beagle Xm USB
> ethernet works fine with the 11.08 RC (Rev A2 however)

Yeah, the issue affects rev C only (not A or B).

Cheers
---Dave

Revision history for this message
Matt Waddel (mwaddel) wrote :

I tested hwpack: hwpack_linaro-omap3-x11-base_20110823-0_armel_supported.tar.gz
with rootfs: linaro-n-ubuntu-desktop-tar-20110823-3.tar.gz and
these problems appear to be fixed. The kernel version is: Linux version 3.0.0-1004-linaro-omap

Revision history for this message
Matt Waddel (mwaddel) wrote :

Actually, it looks like I spoke too soon.

The USB keyboard became intermittent with these error messages:
...
[ 2678.730163] hub 1-2:1.0: state 7 ports 5 chg 0000 evt 0010
[ 2678.737213] hub 1-2:1.0: port 4, status 0301, change 0001, 1.5 Mb/s
[ 2678.897888] hub 1-2:1.0: debounce: port 4: total 100ms stable 100ms status 0x301
[ 2678.991607] usb 1-2.4: new low speed USB device number 47 using ehci-omap
[ 2679.085540] usb 1-2.4: device descriptor read/64, error -32
[ 2679.280822] usb 1-2.4: device descriptor read/64, error -32
[ 2679.476165] usb 1-2.4: new low speed USB device number 48 using ehci-omap
[ 2679.569702] usb 1-2.4: device descriptor read/64, error -32
[ 2679.765075] usb 1-2.4: device descriptor read/64, error -32
[ 2679.960388] usb 1-2.4: new low speed USB device number 49 using ehci-omap
[ 2680.389831] usb 1-2.4: device not accepting address 49, error -32
[ 2680.479125] usb 1-2.4: new low speed USB device number 50 using ehci-omap
[ 2680.905456] usb 1-2.4: device not accepting address 50, error -32
[ 2680.912109] hub 1-2:1.0: unable to enumerate USB device on port 4
[ 2680.919677] hub 1-2:1.0: state 7 ports 5 chg 0000 evt 0010

The USB mouse continues to work.

Revision history for this message
Matt Waddel (mwaddel) wrote :

Grrr, it looks like my USB keyboard has failed. This bug is probably fixed.

Changed in linaro-ubuntu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.