From owner-freebsd-net@FreeBSD.ORG Wed Jan 19 05:35:55 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 023701065670 for ; Wed, 19 Jan 2011 05:35:55 +0000 (UTC) (envelope-from alex@zagrebin.ru) Received: from mail.zagrebin.ru (gw.zagrebin.ru [91.215.205.128]) by mx1.freebsd.org (Postfix) with ESMTP id A23318FC0C for ; Wed, 19 Jan 2011 05:35:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zagrebin.ru; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=vh0bqeqKQPEluUxAFBR4KAyI3d1ij7pMsKjIcSLCs0g=; b=oTB9AIFA1TQTuHJ5sbUojt5SyGVx0NFgkMJeqfto978RunAYNsq1oDUCgSNBib+J4uqRByXtaUme1526KI5T2qaU5Qiyu1/FkleIxY+2/bt+y5DOV133AczYYiJomO4ejEWTQUY2WB4wMQj3K1hpk0ZVtf0vwM0n8aA3rORJYyw=; Received: from alex by mail.zagrebin.ru with local (Exim 4.73 (FreeBSD)) (envelope-from ) id 1PfQhz-0003gJ-9e; Wed, 19 Jan 2011 08:35:51 +0300 Date: Wed, 19 Jan 2011 08:35:51 +0300 From: Alexander Zagrebin To: Bernhard Schmidt Message-ID: <20110119053550.GA13844@gw.zagrebin.ru> References: <20110118102658.GA3211@gw.zagrebin.ru> <201101181231.20381.bschmidt@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201101181231.20381.bschmidt@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-net@freebsd.org Subject: Re: if_run and wlan_amrr: kernel panics on 8.2-PRERELEASE amd64 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2011 05:35:55 -0000 Hi! On 18.01.2011 12:31:20 +0100, Bernhard Schmidt wrote: > > I'm trying to use the RT2872-based USB adapter in the hostap mode > > on the latest RELENG_8 (8.2-PRERELEASE) for amd64. > > [..] > > Pull that > http://svn.freebsd.org/viewvc/base?view=revision&revision=217511 > and let me know if that fixes the issue. I've retrieved the ieee80211_node.c and if_run.c and recompiled wlan.ko and if_run.ko. Here results: Case 1: both if_run.ko and wlan_amrr.ko are loaded via loader.conf stable/8: panic rev217511: panic Case 2: wlan_amrr.ko loaded manually _after_ if_run.ko but before creation of the wlan interface stable/8: panic on rate control rev217511: no panic, but rate control doesn't work; tx rate is fixed on 1 Mbit/s Case 3: wlan_amrr.ko loaded _before_ if_run.ko stable/8: panic on rate control rev217511: no panic, rate control works as expected So rev217511 partially fixes the issue. -- Alexander Zagrebin