[urtw] Random wireless crash / kernel panic

Adam Twardowski adam.twardowski at gmail.com
Tue Feb 21 02:45:54 UTC 2012


On Mon, Feb 20, 2012 at 12:32 PM, Bernhard Schmidt <bschmidt at freebsd.org> wrote:
> On Monday 20 February 2012 18:03:45 Adam Twardowski wrote:
>> I do still have the kernel and the crash dump.  I'll try that fix tonight
>> to see how it goes.  Unfortunately, the kernel doesn't usually crash, more
>> likely the wifi stops working and I am forced to reboot the machine to get
>> it working again.
>
> Building urtw(4) as module here helps a lot, kldunload/kldload is just so much faster than a reboot. :)
>
> I have a bunch of asorted fixes [1] for urtw(4) which needs some further testing, though I still wasn't able to fix the issue which made me look into this in the first place.. As a test case I force a disconnection from the AP side a few times, which will eventually result in a device timeout and the requirement to reload the module. I believe that one of those might actually address the panic you're seeing, though, it doesn't fix the device timeout.
>
> [1] http://techwires.net/~bschmidt/urtw/
>
> --
> Bernhard

Bernhard,

I just applied your four patches and rebooted.  I also went with a
module like you suggested.  We will see how it goes.  I did not apply
Adrians change above, not sure if it was necessary.


More information about the freebsd-net mailing list