No USB on 3.7.4 stable - musb-hdrc musb-hdrc.0: musb_init_controller failed with status -19

Hi,

USB is not working with 3.7.4 Robert C Nelson stable kernel.

[ 1.621124] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 1.627593] musb-hdrc musb-hdrc.0: musb_init_controller failed with status -19

Is this a known fault - not much at all from a Google search?
Any ideas what may be the issue here?

Many thanks,
CJ

Sorry, not enough info to answer...

What Board?
Built from What Repo & Branch?
Exact kernel name (uname -a)?

Regards,

Hi Robert,

Thanks very much for your work - makes things much easier!

I am using a custom board that is based on the BeagleBoard - omap3530.

The kernel buidler located at:
https://github.com/RobertCNelson/stable-kernel/tree/v3.7.x

uname -a

Linux C1-11912 3.7.4-dev12813-x8 #1 Mon Jan 28 12:07:26 NZDT 2013 armv7l GNU/Linux

Thanks!
CJ

Hi Robert,

Thanks very much for your work - makes things much easier!

I am using a custom board that is based on the BeagleBoard - omap3530.

Ah, so a custom board...

The kernel buidler located at:
GitHub - RobertCNelson/stable-kernel at v3.7.x

# uname -a
Linux C1-11912 3.7.4-dev12813-x8 #1 Mon Jan 28 12:07:26 NZDT 2013 armv7l
GNU/Linux

So, which was the last version to work, and have you bisected the
patches between them?

Regards,

Last working version was 3.2.37

I am having another issue related to a specific hardware module with 3.2 which requires me to update and I chose 3.7 as it is the newest stable option.

I will try some older stable kernels now too.

USB has always been exactly like the Beagle in past revisions.
I was thinking I might have a wrong setting in the config:

CONFIG_USB_ARCH_HAS_OHCI=y

CONFIG_USB_ARCH_HAS_EHCI=y

CONFIG_USB_ARCH_HAS_XHCI is not set

CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=y
CONFIG_USB_DEBUG=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y

Or you could just bisect to find the actual issue..

First retest v3.2.0, v3.7.0 and v3.8-rc, to see if it's a mainline
problem, or just a v3.7.4 patch problem..

Regards,

Looks like the issue appears after 3.5. Something in 3.6 is causing the problem.

Thanks for the help Robert!

Hi Robert,

I have been investigating the root problem of my USB issue in 3.2.
It looks like I may have fixed it by un-commenting the sprz319-erratum-2.1.patch.

Just wondering why that was commented out in the 3.2 stable kernel builder?

Many thanks again!
CJ

It's explained better in later branches...

https://github.com/RobertCNelson/stable-kernel/blob/v3.7.x/patch.sh#L340

Regards,