On Sun, Sep 08, 2019 at 08:31:55PM +0000, Bryan Stenson wrote: > Hi all - > > I'm writing to "misc" rather than "bugs" as I'm not yet sure this is a > bug. I'm hoping to help triage this with assistance from this list. > > I'm running -CURRENT and the iwn(4) driver for my wireless card. Over > the past year, this has been working great, but recently (within the > last month or so), I've had issues where the NIC just stops working > after a few hours of usage. I don't have a solid steps for > reproduction. > > I realize "stops working" is not a very accurate account here...but > I'm confused on how to get more descriptive information of the > problem. When it stops, "ifconfig" shows iwn0 with an IP address, but > I'm unable to ping. Additionally, I'm not seeing any > warnings/messages in "dmesg" about the device...so I'm confused. > > A simple "ifconfig iwn0 down; sh /etc/netstart iwn0" seems to fix the > problem, but I haven't had to do that in the past...it just feels like > a recent change (iwn(4) work?) has put me in this state. > > I'm really wanting to help here. How can I run the iwn(4) in debug > mode, or increase logging verbosity? And/or, should I try to capture > packets via tcpdump? And/or, can I run an older bsd.mp (without > having to downgrade packages to older versions) in order to try and > "bisect" where the problem may have been introduced?
Please enable debugging with 'ifconfig iwn0 debug' and when the problem reoccurs check whether you can find any relevant information in the file /var/log/messages.