Modify

Opened 4 years ago

Closed 3 years ago

#14927 closed defect (fixed)

brcm47xx: kmod fails to insert kernel modules

Reported by: mforkel Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: kernel Version: Trunk
Keywords: kmod Cc: mforkel

Description

On a WRT54G3GV2-VF with BB snapshot firmware r39462, installation of kernel module packages fails:

root@link3:~# opkg install kmod-usb-core kmod-usb2
Installing kmod-usb-core (3.10.28-1) to root...
Downloading http://mirror/openwrt.org/barrier_breaker/snapshots/r39462/brcm47xx/packages/kmod-usb-core_3.10.28-1_brcm47xx.ipk.
Installing kmod-nls-base (3.10.28-1) to root...
Downloading http://mirror/openwrt.org/barrier_breaker/snapshots/r39462/brcm47xx/packages/kmod-nls-base_3.10.28-1_brcm47xx.ipk.
Installing kmod-usb2 (3.10.28-1) to root...
Downloading http://mirror/openwrt.org/barrier_breaker/snapshots/r39462/brcm47xx/packages/kmod-usb2_3.10.28-1_brcm47xx.ipk.
Installing kmod-usb-brcm47xx (3.10.28-1) to root...
Downloading http://mirror/openwrt.org/barrier_breaker/snapshots/r39462/brcm47xx/packages/kmod-usb-brcm47xx_3.10.28-1_brcm47xx.ipk.
Configuring kmod-nls-base.
Configuring kmod-usb-core.
kmod: failed to insert /lib/modules/3.10.28/usbcore.ko
Configuring kmod-usb-brcm47xx.
Configuring kmod-usb2.
kmod: failed to insert /lib/modules/3.10.28/ehci-hcd.ko
kmod: failed to insert /lib/modules/3.10.28/ehci-platform.ko

dmesg says

[  136.170000] usbcore: Unknown symbol utf16s_to_utf8s (err 0)
[  136.500000] ehci_hcd: Unknown symbol usb_hcd_unlink_urb_from_ep (err 0)
[  136.510000] ehci_hcd: Unknown symbol usb_hcd_start_port_resume (err 0)
[  136.520000] ehci_hcd: Unknown symbol usb_hc_died (err 0)
[  136.520000] ehci_hcd: Unknown symbol usb_disabled (err 0)
[  136.530000] ehci_hcd: Unknown symbol usb_hcd_check_unlink_urb (err 0)
[  136.530000] ehci_hcd: Unknown symbol usb_hcds_loaded (err 0)
[  136.540000] ehci_hcd: Unknown symbol usb_hcd_end_port_resume (err 0)
[  136.550000] ehci_hcd: Unknown symbol usb_calc_bus_time (err 0)
[  136.550000] ehci_hcd: Unknown symbol ehci_cf_port_reset_rwsem (err 0)
[  136.560000] ehci_hcd: Unknown symbol usb_hcd_link_urb_to_ep (err 0)
[  136.570000] ehci_hcd: Unknown symbol usb_hub_clear_tt_buffer (err 0)
[  136.570000] ehci_hcd: Unknown symbol usb_hcd_giveback_urb (err 0)
[  136.580000] ehci_hcd: Unknown symbol usb_hcd_poll_rh_status (err 0)
[  136.620000] ehci_platform: Unknown symbol usb_hcd_platform_shutdown (err 0)
[  136.620000] ehci_platform: Unknown symbol usb_disabled (err 0)
[  136.630000] ehci_platform: Unknown symbol ehci_init_driver (err 0)
[  136.640000] ehci_platform: Unknown symbol usb_put_hcd (err 0)
[  136.640000] ehci_platform: Unknown symbol ehci_setup (err 0)
[  136.650000] ehci_platform: Unknown symbol usb_create_hcd (err 0)
[  136.650000] ehci_platform: Unknown symbol usb_remove_hcd (err 0)
[  136.660000] ehci_platform: Unknown symbol usb_add_hcd (err 0)

This might be somewhat similar to #14257.

Attachments (0)

Change History (4)

comment:1 Changed 4 years ago by mforkel <malte.forkel@…>

After a restart, the modules seem to be installed:

root@link3:~# lsmod | egrep 'usb|ehci'
ehci_hcd               30028  1 ehci_platform
ehci_platform           1840  0
nls_base                5070  1 usbcore
usb_common              1160  1 usbcore
usbcore               110109  2 ehci_platform

comment:2 Changed 4 years ago by anonymous

This router works fine. i weekly compile for 4 routers of this model
the actual trunk. No Problems at all!

please enable ohci-driver & ehci-driver in the kernel config and compile again.
In my case i enable all usb-modules in the config with <*> not with <M> !

The uhci-driver you can build als <M>, you need this only, when you plug in a
PCMCIA-Card with its own uhci-hub, like some older UMTS-cards or older
Adapters.

Don´t forget to disable kmod-diag and replace it with button-hotplug and kmod-led-driver
and some similar modules, see a younger ticket from these days for the changes.

For wireless use only the propitary driver!!

Best is to extend your router with the package from
http://ofmodemsandmen.com/

just extract the sources, enable some extra packages in openwrt, wich are described on the project-page and put the "files" dir from the source inside the openwrt base
tree and compile all.

This helps to overcome the outdated ppp-only functions and have support for the latest UMTS/LTE-Hardware with maximum speed ;-) - You have full Luci-Support and a new 3g-Status Page is added to the webinterface that is very detailed and shows nearly the network status in realtime.

comment:3 Changed 4 years ago by mforkel <malte.forkel@…>

Thanks for your help. Unfortunately, I havn't been able to identify the ticket you are referring to. Do you have the ticket number? Could you pastebin your .config?

comment:4 Changed 3 years ago by jogo

  • Resolution set to fixed
  • Status changed from new to closed

Should be fixed in r46176 / r46177 / r46178.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.