This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/PROCESSOR-SDK-AM335X: problem loading wl12xx.ko using 4.4 kernel

Part Number: PROCESSOR-SDK-AM335X
Other Parts Discussed in Thread: WL1271

Tool/software: Linux

I am using Latest Kernel 4.4 and facing this issue when i am trying to insert wl12xx.ko,please suggest me solution.

Error Log is :

[  311.984328] wl12xx: Unknown symbol wl1271_cmd_send (err 0)

[  311.993893] wl12xx: Unknown symbol wlcore_event_roc_complete (err 0)

[  312.000799] wl12xx: Unknown symbol wlcore_scan_sched_scan_ssid_list (err 0)

[  312.008165] wl12xx: Unknown symbol wlcore_translate_addr (err 0)

[  312.016307] wl12xx: Unknown symbol wlcore_boot_run_firmware (err 0)

[  312.023609] wl12xx: Unknown symbol wlcore_set_scan_chan_params (err 0)

[  312.031302] wl12xx: Unknown symbol wlcore_tx_complete (err 0)

[  312.037406] wl12xx: Unknown symbol wlcore_free_hw (err 0)

[  312.046482] wl12xx: Unknown symbol wlcore_event_soft_gemini_sense (err 0)

[  312.054554] wl12xx: Unknown symbol wlcore_scan_sched_scan_results (err 0)

[  312.062437] wl12xx: Unknown symbol wlcore_event_max_tx_failure (err 0)

[  312.069351] wl12xx: Unknown symbol wlcore_remove (err 0)

[  312.076032] wl12xx: Unknown symbol wlcore_disable_interrupts (err 0)

[  312.083455] wl12xx: disagrees about version of symbol kmem_cache_alloc

[  312.090441] wl12xx: Unknown symbol kmem_cache_alloc (err -22)

[  312.099793] wl12xx: Unknown symbol wlcore_event_channel_switch (err 0)

[  312.107591] wl12xx: Unknown symbol ieee80211_queue_delayed_work (err 0)

[  312.115306] wl12xx: Unknown symbol wl1271_cmd_test (err 0)

[  312.121772] wl12xx: Unknown symbol wlcore_enable_interrupts (err 0)

[  312.128411] wl12xx: Unknown symbol wlcore_set_partition (err 0)

[  312.135732] wl12xx: Unknown symbol wl1271_acx_sleep_auth (err 0)

[  312.142698] wl12xx: Unknown symbol wlcore_boot_upload_firmware (err 0)

[  312.149631] wl12xx: Unknown symbol wlcore_event_sched_scan_completed (err 0)

[  312.168947] wl12xx: Unknown symbol wl12xx_acx_mem_cfg (err 0)

[  312.175221] wl12xx: Unknown symbol wl1271_cmd_data_path (err 0)

[  312.182906] wl12xx: Unknown symbol wl1271_cmd_configure (err 0)

[  312.189238] wl12xx: Unknown symbol wl1271_acx_set_ht_capabilities (err 0)

[  312.197676] wl12xx: Unknown symbol wlcore_alloc_hw (err 0)

[  312.205319] wl12xx: Unknown symbol wlcore_probe (err 0)

[  312.214164] wl12xx: Unknown symbol wlcore_cmd_wait_for_event_or_timeout (err 0)

[  312.222694] wl12xx: Unknown symbol wlcore_event_rssi_trigger (err 0)

[  312.229720] wl12xx: Unknown symbol wlcore_calc_packet_alignment (err 0)

[  312.237982] wl12xx: Unknown symbol wl1271_acx_pm_config (err 0)

[  312.244874] wl12xx: Unknown symbol wlcore_event_ba_rx_constraint (err 0)

[  312.252573] wl12xx: Unknown symbol wlcore_event_inactive_sta (err 0)

[  312.259526] wl12xx: Unknown symbol wlcore_event_dummy_packet (err 0)

[  312.269557] wl12xx: Unknown symbol wlcore_event_beacon_loss (err 0)

[  312.277064] wl12xx: Unknown symbol wl1271_acx_init_mem_config (err 0)

[  312.284529] wl12xx: Unknown symbol wlcore_set_key (err 0)

[  312.290268] wl12xx: Unknown symbol wl12xx_debug_level (err 0)

[  312.297419] wl12xx: Unknown symbol wlcore_boot_upload_nvs (err 0)

[  312.304519] wl12xx: disagrees about version of symbol kmalloc_caches

[  312.311303] wl12xx: Unknown symbol kmalloc_caches (err -22)

[  312.318180] wl12xx: Unknown symbol wl12xx_cmd_build_probe_req (err 0)

insmod: ERROR: could not insert module wl12xx.ko: Unknown symbol in module

  • Hi Rejesh,

    Do you have configuration for wl12xx in your dts file?

    BR
    Tsvetolin Shulev
  • Hi CvetolinShulev,

    Thanks for the fast reply.

    Yes i have configuration for wl12xxin dts file.

    While i am trying to do insmod w.r.t modules order i am facing the above problem.But if i do modprobe wl12xx ,modules are loaded but when i am trying to check ifconfig wlan0 up it is giving error.

    ifconfig: SIOCGIFFLAGS: No such device

    root@phycore-am335x:/# modprobe wl12xx
    root@phycore-am335x:/# lsmod
    Module Size Used by
    wl12xx 53313 0
    wlcore 164487 1 wl12xx
    mac80211 327516 2 wl12xx,wlcore
    cfg80211 197448 2 mac80211,wlcore
    GobiSerial 8474 0
    hci_uart 20708 0

    root@phycore-am335x:/# ifconfig wlan0 up
    ifconfig: SIOCGIFFLAGS: No such device

    Please suggest me to solve this issue.
  • I got the solution.Check DMESG and check modules are loaded properly or not.