Skip to contentSkip to conversation

Unbuildable kernel with musb

DISCUSSION Ben Gamari 2 participants 3 messages Mar 26, 2011 – Mar 28, 2011 2 messages not in the archive

lore
Share & tools
lore

Ben Gamari

author
#0 lore raw

Today I've been trying to work through the mess that is musb bring-up on recent kernels (v2.6.38). While I still haven't succeeded in getting a working gadget stack (modprobe g_ether fails with ENODEV), I've come across configuration where musb causes a link failure in 2.6.38 if built as a module:

MODPOST 249 modules
ERROR: "musb_read_fifo" [drivers/usb/musb/musb_hdrc.ko] undefined!

Configuration attached.

Cheers,

- Ben

#2 lore raw
In reply to a message not in the archive

Hi,

Quoted 2 lines · Ben Gamari

Today I've been trying to work through the mess that is musb bring-up on recent kernels (v2.6.38). While I still haven't succeeded in getting a

patches are welcome.

Quoted 8 lines

working gadget stack (modprobe g_ether fails with ENODEV), I've come across configuration where musb causes a link failure in 2.6.38 if built as a module:

MODPOST 249 modules
ERROR: "musb_read_fifo" [drivers/usb/musb/musb_hdrc.ko] undefined!

Configuration attached.

musb can't be built as module, I sent a patch making it bool recently until we re-work those parts of the code.

Signature · 5 lines
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
author
#4 lore raw
In reply to a message not in the archive
Quoted 8 lines · Felipe Balbi

Hi,

Quoted 2 lines · Ben Gamari

Today I've been trying to work through the mess that is musb bring-up on recent kernels (v2.6.38). While I still haven't succeeded in getting a

patches are welcome.

I'm working on it. Hopefully none will be necessary as this is all the fault of incorrect configuration.

Quoted 4 lines
Quoted 4 lines

working gadget stack (modprobe g_ether fails with ENODEV), I've come across configuration where musb causes a link failure in 2.6.38 if built as a module:

Quoted 8 lines
Quoted 4 lines

MODPOST 249 modules
ERROR: "musb_read_fifo" [drivers/usb/musb/musb_hdrc.ko] undefined!

Configuration attached.

musb can't be built as module, I sent a patch making it bool recently until we re-work those parts of the code.

Ahh good, thanks for that change! This should eliminate at least one nasty failure mode.

- Ben
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html