From owner-freebsd-net@FreeBSD.ORG Wed Jan 19 11:23:34 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 AAF7B1065695; Wed, 19 Jan 2011 11:23:34 +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 57C178FC1E; Wed, 19 Jan 2011 11:23:33 +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=B2oruYcjrVSw3hrtmo7JOPIwvriIPB2Alid2UopPFEU=; b=d7Rg1v1CDH03Tz6E1M0SWkhI1ROf2xsZuUPH0FXbxl38FzS3N2ntC4eeVgGixm2d2HTZbqIZnGbjgzXLrdJBt86NCZAsZAyw2nriUQ7bTOR+2OSIAXW0lD4GuUzxqbLdz95QRDr4rtyFG631jPI0raF7hiSZDhPf3+gR4qwXO1M=; Received: from alex by mail.zagrebin.ru with local (Exim 4.73 (FreeBSD)) (envelope-from ) id 1PfW8Q-0005O6-Q1; Wed, 19 Jan 2011 14:23:30 +0300 Date: Wed, 19 Jan 2011 14:23:30 +0300 From: Alexander Zagrebin To: Bernhard Schmidt Message-ID: <20110119112330.GD13844@gw.zagrebin.ru> References: <20110118102658.GA3211@gw.zagrebin.ru> <201101181231.20381.bschmidt@freebsd.org> <20110119053550.GA13844@gw.zagrebin.ru> <201101190937.13015.bschmidt@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201101190937.13015.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 11:23:34 -0000 Hi! On 19.01.2011 09:37:12 +0100, Bernhard Schmidt wrote: > > 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 > > That sounds rather weird to me, I can't imagine how the module loading > order should make any difference. Well, at least, before creating the > VAP, because that is the point where that stuff gets initialized/used. It seems you're right. I couldn't reproduce it again. May be I have missed anything. Sorry... > Do you have anything configured in rc.conf maybe? That would create the > VAP right after loading if_run.ko even before you are able to load > wlan_amrr.ko. Yes, I have wlans_run0="wlan0" and create_args_wlan0=... in the rc.conf, but while testing I've used `ifconfig wlan0 destroy` after `kldload if_run`. May be it was mistyping... Also I've noticed that messages like "ieee80211_load_module: load the wlan_amrr module by hand for now." has disappeared from the log. Is it normal? So there is the one issue only: the panic if runfw.ko and wlan_amrr.ko both loaded via loader.conf. Have you any ideas? Will be rev. 217511 MFC'd on the 20 january? -- Alexander Zagrebin