From owner-freebsd-wireless@freebsd.org Wed Jul 20 02:34:16 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D065B9FEC4 for ; Wed, 20 Jul 2016 02:34:16 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2E26D18DE for ; Wed, 20 Jul 2016 02:34:15 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yuri.doctorlan.com (c-24-5-143-190.hsd1.ca.comcast.net [24.5.143.190]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id u6K2YERp033702 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 19 Jul 2016 19:34:15 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-24-5-143-190.hsd1.ca.comcast.net [24.5.143.190] claimed to be yuri.doctorlan.com To: freebsd-wireless From: Yuri Subject: kernel crashes in ndis_start Message-ID: Date: Tue, 19 Jul 2016 19:34:13 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2016 02:34:16 -0000 My laptop with ndis driver for BCM4313 NIC crashes periodically during the heavy traffic with this kernel stack: KDB: stack backtrace: #0 0xffffffff809906f0 at kdb_backtrace+0x60 #1 0xffffffff80953436 at vpanic+0x126 #2 0xffffffff80953303 at panic+0x43 #3 0xffffffff80d5bedb at trap_fatal+0x36b #4 0xffffffff80d5c1dd at trap_pfault+0x2ed #5 0xffffffff80d5b85a at trap+0x47a #6 0xffffffff80d4192c at calltrap+0x8 #7 0xffffffff82098a1d at ndis_start+0x49d #8 0xfffff8000438f0ce at dmapbase+0x438f0ce #9 0xffffffff82083aa9 at x86_64_call2+0x9 #10 0xffffffff8091c5fa at fork_exit+0x9a #11 0xffffffff80d41e6e at fork_trampoline+0xe Crashes happen when wifi connection is established, and wpa_supplicant from ports is running with a single network in wpa_supplicant.conf. I am not sure why ndis_start is called. It is possible that wpa_supplicant decides to bring the interface down and up for some reason. FreeBSD 10.3 Yuri