Bug 280246 - ath: Instant reboot after ifconfig wlan0 destroy
Summary: ath: Instant reboot after ifconfig wlan0 destroy
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: wireless (show other bugs)
Version: 14.1-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-wireless (Nobody)
URL:
Keywords:
Depends on:
Blocks: 280442
  Show dependency treegraph
 
Reported: 2024-07-12 18:47 UTC by Henrich Hartzer
Modified: 2024-07-31 12:17 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrich Hartzer 2024-07-12 18:47:44 UTC
I'm running 14.1-RELEASE (with the latest patches as of 2024-07-12) on AMD64. I have a AR93xx wireless card.

I ran ifconfig wlan0 destroy and the system rebooted instantly. I don't recall it doing this on 14.0 or earlier. I haven't attempted doing it a second time to see if it's easily reproducible.

Thanks!
Comment 1 Bjoern A. Zeeb freebsd_committer freebsd_triage 2024-07-25 15:16:58 UTC
Did you get a core dump or any backtrace saved?
Comment 2 Henrich Hartzer 2024-07-25 15:46:07 UTC
(In reply to Bjoern A. Zeeb from comment #1)

Unfortunately, I don't think so. Should that be automatic in some manner? What would I need to do to collect it, in case I can reproduce it?
Comment 3 Bjoern A. Zeeb freebsd_committer freebsd_triage 2024-07-25 16:20:03 UTC
(In reply to Henrich Hartzer from comment #2)

See dumpdev in rc.conf to get core dumps.

savecore_enable is hopefully enabled by default even on a release.
If you have gdb from ports (packages) installed it will also create a crashinfo which is helpful.

There's a chapter in the handbook (though I have not read it much recently myself):  https://docs.freebsd.org/en/books/developers-handbook/kerneldebug/


In case you are able to reproduce it you may consider setting up an bhyve environment with passthru for the ath device to not panic your base system.
Help can be found to set this up (I should really write that up fir wireless debugging).
Comment 4 Franco Fichtner 2024-07-31 12:17:39 UTC
Could be related to 280530