Skip to content

Linux Kernel freeze on imx8mm-pico-pi if ath/qcom wlan.ko module is not loaded at boot or unloaded at runtime. #4

@jolivain

Description

@jolivain

How to reproduce:

Environment:

Board imx8mm pico pi: https://www.technexion.com/products/system-on-modules/evk/pico-pi-imx8m-mini/

Starting from Yocto BSP:

repo init -u https://github.com/TechNexion/tn-imx-yocto-manifest.git -b zeus_5.4.y-stable -m imx-5.4.70-2.3.0_2021Q4.xml

tx-imx-yocto-manigest is on commit 86721af835feb1e3ad9ed843c8708c128409acf8, at the time of this writing.
Kernel tag: tn-zeus_5.4.70-2.3.0_20211018

Step 1: run the system without wlan.ko:

Option 1: Add "init=/bin/sh" in Kernel boot args

Option 2: On a normally started system, login as root, then unload wlan.ko with commands:

systemctl stop connman
modprobe -r wlan

Actual result

system hang after few seconds.
The hang can be avoided the first time, by running "modprobe wlan" before the hang.
Note: further unloading/reloading wlan.ko seems to crash for other reasons.

Expected result

system should be usable even if the wlan.ko module is not loaded.
Ideally, wlan.ko unloading/reloading should work too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions