[Bug 278655] Restarting the netif service forces a reboot.

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 30 Apr 2024 04:12:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278655

            Bug ID: 278655
           Summary: Restarting the netif service forces a reboot.
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: wireless
          Assignee: wireless@FreeBSD.org
          Reporter: accounts@vladimirgrbic.com

Created attachment 250296
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=250296&action=edit
Image showing the output.

I installed FreeBSD 14.0 RELEASE on my Geekom Mini IT 12 (specs:
https://www.geekompc.com/geekom-mini-it12-mini-pc/) using only the wired
connection. Post installation, I updated everything to the latest repository
branch and was able to set up the wireless connection following this guide:

https://docs.freebsd.org/en/books/handbook/network/#network-wireless

However, I am experiencing something weird. Once I set it up, if I am to run `#
service netif restart`, the service does restart but I get that message about
"Fatal trap 12: page fault while in kernel mode..." and when dumping is done
(gets to 100%), the system reboots. (See the attached image.)

Also, it might be worth noting that the speeds I was getting were a lot slower
than my other devices on the same network. Most of my WiFi devices had about
300 Mbps up and down. On that mini pc, I was getting only 30 up and 15 down.

From a little digging and a conversation with people who have more experience,
my guess is that the psq handler was destroyed by ieee80211_psq_cleanup called
in node_free. But, ieee80211_node_psq_drain tried to get a reference to this
handler.

File of interest: sys/net80211/ieee80211_power.c

-- 
You are receiving this mail because:
You are the assignee for the bug.