Date: Wed, 10 Jun 2020 14:55:58 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: Alexandr Krivulya <shuriku@shurik.kiev.ua>, freebsd-wireless@freebsd.org Subject: Re: [Bug 246998] iwm: Wireless device not working after resume Message-ID: <b5e2a841-8f42-3473-26ce-aa9a6ab112ac@FreeBSD.org> In-Reply-To: <501f4fce-d1a9-9875-d466-e0a72aa66574@shurik.kiev.ua> References: <bug-246998-21060@https.bugs.freebsd.org/bugzilla/> <bug-246998-21060-tCYh1ksZIG@https.bugs.freebsd.org/bugzilla/> <501f4fce-d1a9-9875-d466-e0a72aa66574@shurik.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On 09/06/2020 21:12, Alexandr Krivulya wrote: > 09.06.20 09:52, bugzilla-noreply@freebsd.org пишет: >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246998 >> >> --- Comment #10 from Andriy Gapon <avg@FreeBSD.org> --- >> (In reply to Alexandr Krivulya from comment #9) >> Could you try to debug it further? >> E.g., you can add printf-s to see why the code decides that "radio is disabled >> by hardware switch" and so on. >> >> Nobody else can reproduce this problem, so unless you debug your issue, there's >> a little chance that it would be fixed. > > To debug it I need some directions from you. Sorry for my dumb questions. > I put printf into iwm_run_init_mvm_ucode(): > - when os started sc->sc_flags=0 > - after suspend-resume sc->sc_flags=8, so IWM_FLAG_RFKILL is taking place. So, you can search for places where that bit gets set in sc_flags and add printf-s there to see how / why it gets set.Maybe that will give more ideas where to look further. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b5e2a841-8f42-3473-26ce-aa9a6ab112ac>