From owner-freebsd-net@FreeBSD.ORG Wed Jan 19 16:56: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 51EC11065672 for ; Wed, 19 Jan 2011 16:56:55 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id DFB9B8FC25 for ; Wed, 19 Jan 2011 16:56:54 +0000 (UTC) Received: by fxm16 with SMTP id 16so1089562fxm.13 for ; Wed, 19 Jan 2011 08:56:53 -0800 (PST) Received: by 10.223.69.141 with SMTP id z13mr938126fai.9.1295456208115; Wed, 19 Jan 2011 08:56:48 -0800 (PST) Received: from maja.lab.techwires.net (p54B4E403.dip.t-dialin.net [84.180.228.3]) by mx.google.com with ESMTPS id a25sm2676364fak.44.2011.01.19.08.56.45 (version=SSLv3 cipher=RC4-MD5); Wed, 19 Jan 2011 08:56:46 -0800 (PST) Sender: Bernhard Schmidt From: Bernhard Schmidt To: Alexander Zagrebin Date: Wed, 19 Jan 2011 17:57:00 +0100 User-Agent: KMail/1.12.4 (FreeBSD/9.0-CURRENT; KDE/4.3.5; amd64; ; ) References: <20110118102658.GA3211@gw.zagrebin.ru> <20110119112330.GD13844@gw.zagrebin.ru> <201101191240.16198.bschmidt@freebsd.org> In-Reply-To: <201101191240.16198.bschmidt@freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201101191757.00538.bschmidt@freebsd.org> 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 16:56:55 -0000 On Wednesday 19 January 2011 12:40:15 Bernhard Schmidt wrote: > On Wednesday, January 19, 2011 12:23:30 Alexander Zagrebin wrote: > > 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... > > Ok, thanks. > > > > 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? > > That message only appears if wlan_amrr.ko isn't loaded while creating a > VAP. If you do see the message if wlan_amrr.ko is loaded, that'd be a > bug, also the other way around. > > > 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? > > No yet, I'll dig around there later today. Hmm, I'm not able to reproduce this, works as expected. Is this still the same backtrace as the previous error? > > Will be rev. 217511 MFC'd on the 20 january? > > Yes, probably in the evening (CET). > -- Bernhard