The following reply was made to PR kern/138427; it has been noted by GNATS.
From: Henry Hu <henry.hu...@gmail.com> To: bug-follo...@freebsd.org, marcin.no...@simplusnet.pl Cc: Subject: Re: kern/138427: [wpi] [panic] Kernel panic after trying set monitor wlanmode on Intel 3945 ABG (wpi driver) Date: Fri, 26 Mar 2010 00:19:14 +0800 --00163628426c61e9260482a26872 Content-Type: text/plain; charset=ISO-8859-1 OK, maybe I've found the problem. In wpi_set_channel, when in monitor mode, wpi_config is called without locks. However, it thinks that the lock is held. So the problem occurs. See the attached patch. Now I'm capturing in monitor mode with wireshark. -- Cheers, Henry --00163628426c61e9260482a26872 Content-Type: application/octet-stream; name="wpi.diff" Content-Disposition: attachment; filename="wpi.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g77rnz290 LS0tIGlmX3dwaS5jLm9yaWcJMjAxMC0wMy0yNSAyMzo1NTo0MC4wMDAwMDAwMDAgKzA4MDAKKysr IGlmX3dwaS5jCTIwMTAtMDMtMjUgMjM6NTU6NTcuMDAwMDAwMDAwICswODAwCkBAIC0zNTUyLDcg KzM1NTIsOSBAQAogCSAqIGFyZSBhbHJlYWR5IHRha2VuIGNhcmUgb2YgYnkgdGhlaXIgcmVzcGVj dGl2ZSBmaXJtd2FyZSBjb21tYW5kcy4KIAkgKi8KIAlpZiAoaWMtPmljX29wbW9kZSA9PSBJRUVF ODAyMTFfTV9NT05JVE9SKSB7CisJCVdQSV9MT0NLKHNjKTsKIAkJZXJyb3IgPSB3cGlfY29uZmln KHNjKTsKKwkJV1BJX1VOTE9DSyhzYyk7CiAJCWlmIChlcnJvciAhPSAwKQogCQkJZGV2aWNlX3By aW50ZihzYy0+c2NfZGV2LAogCQkJICAgICJlcnJvciAlZCBzZXR0dGluZyBjaGFubmVsXG4iLCBl cnJvcik7Cg== --00163628426c61e9260482a26872-- _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"