Search Linux Wireless

Linux kernel regression on net/mac80211/cfg.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I'd like to report a regression on the linux kernel.
This is the first time I report bug on the linux kernel, and I am not familiar
with how to do it properly, so I am sorry if I send this to a wrong person.

The regression seems to be a year old, but still exists in the latest kernel.

- Symptom
    The Kernel halts after resuming from sleep mode.

- Condition
    There has been no problem in kernel version 6.8.9 which I keep using almost
    a year for a reason. Then when I upgrade system and kernel become version
    6.13.8, the problem started to occur.

- Diagnosis
    - "Oops" message on kernel log.
    - "Oops" almost always happen around hostapd.
    - I am using USB Wifi adaptor to make my PC Wifi access point. I have been
      having a problem that my Wifi AP stop working after the resume, so I set
      up systemd so that it restarts hostapd automatically after the system
      resume from the sleep. This workaround has been working for a long time
      until now. It seems this restart of hostapd after the resume triggers
      the "Oops" and subsequent halting of the kernel. I confirm this hypothesis
      by stopping hostapd before the sleep and see there is no problem
restarting
      it after the resume.
    - By conducting kernel bisections on the source from linux-stable
repository,
      I pinpoint the commit 1c0d21c4b33a41be9090e73f8225813d72ac88d9 to be the
      first commit that produce the problem.

The Wifi adaptor I am using is WLI-UC-G300HP, which is driven by the
driver rt2800usb.

I attach files that seems relevant:
    - A kernel log that contains "Oops".
    - A git bisection log.
    - A kernel .config file.

Please tell me if I am missing something to help you solving the issue.

Attachment: bisection-last.klog
Description: Binary data

git bisect start
# status: waiting for both good and bad commits
# bad: [a38297e3fb012ddfa7ce0321a7e5a8daeb1872b6] Linux 6.9
git bisect bad a38297e3fb012ddfa7ce0321a7e5a8daeb1872b6
# status: waiting for good commit(s), bad commit known
# good: [f3d61438b613b87afb63118bea6fb18c50ba7a6b] Linux 6.8.9
git bisect good f3d61438b613b87afb63118bea6fb18c50ba7a6b
# good: [e8f897f4afef0031fe618a8e94127a0934896aba] Linux 6.8
git bisect good e8f897f4afef0031fe618a8e94127a0934896aba
# bad: [480e035fc4c714fb5536e64ab9db04fedc89e910] Merge tag 'drm-next-2024-03-13' of https://gitlab.freedesktop.org/drm/kernel
git bisect bad 480e035fc4c714fb5536e64ab9db04fedc89e910
# bad: [9187210eee7d87eea37b45ea93454a88681894a4] Merge tag 'net-next-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
git bisect bad 9187210eee7d87eea37b45ea93454a88681894a4
# good: [a01c9fe32378636ae65bec8047b5de3fdb2ba5c8] Merge tag 'nfsd-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux
git bisect good a01c9fe32378636ae65bec8047b5de3fdb2ba5c8
# good: [ca61ba3885274a684c83d8a538eb77b30e38ee92] Merge branch 'rework-genet-mdioclocking'
git bisect good ca61ba3885274a684c83d8a538eb77b30e38ee92
# good: [45340097ce6ea7e875674a5a7d24c95ecbc93ef9] Bluetooth: hci_conn: Only do ACL connections sequentially
git bisect good 45340097ce6ea7e875674a5a7d24c95ecbc93ef9
# bad: [2f901582f032bed47907a20f77fb44b3532b4762] Merge tag 'for-net-next-2024-03-08' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next
git bisect bad 2f901582f032bed47907a20f77fb44b3532b4762
# good: [19cfdc0d57696c92523da8eb26c0f3e092400bee] Merge branch 'hns3-fixes'
git bisect good 19cfdc0d57696c92523da8eb26c0f3e092400bee
# bad: [f3dee30c6791e22633d9d7e43e48c1dff946cc0b] wifi: mac80211: mlme: unify CSA handling
git bisect bad f3dee30c6791e22633d9d7e43e48c1dff946cc0b
# good: [c2b22e26755c77299e1dffa2e17374cd28f7f3a7] wifi: mt76: mt7921: fix the unfinished command of regd_notifier before suspend
git bisect good c2b22e26755c77299e1dffa2e17374cd28f7f3a7
# good: [4223675d2b5912060a85e48fd8fee51207e00957] wifi: iwlwifi: Add missing MODULE_FIRMWARE() for *.pnvm
git bisect good 4223675d2b5912060a85e48fd8fee51207e00957
# skip: [0217972f9684b924b2cbd9219e5ed8c53564782b] wifi: mac80211: remove unnecessary ML element type check
git bisect skip 0217972f9684b924b2cbd9219e5ed8c53564782b
# skip: [0e3a22389defd20215657f0442ae109b160f2eee] wifi: mac80211: Adjust CQM handling for MLO
git bisect skip 0e3a22389defd20215657f0442ae109b160f2eee
# bad: [5fcc7c51f9e72d1e62991f8b32be4a5adf44d556] wifi: mac80211: handle netif carrier up/down with link AP during MLO
git bisect bad 5fcc7c51f9e72d1e62991f8b32be4a5adf44d556
# bad: [1c0d21c4b33a41be9090e73f8225813d72ac88d9] wifi: mac80211: remove only link keys during stopping link AP
git bisect bad 1c0d21c4b33a41be9090e73f8225813d72ac88d9
# good: [9ad7974856926129f190ffbe3beea78460b3b7cc] wifi: cfg80211: check A-MSDU format more carefully
git bisect good 9ad7974856926129f190ffbe3beea78460b3b7cc
# first bad commit: [1c0d21c4b33a41be9090e73f8225813d72ac88d9] wifi: mac80211: remove only link keys during stopping link AP

Attachment: bisection-config-culprit
Description: Binary data


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux