Date: Wed, 19 Jan 2011 12:40:15 +0100 From: Bernhard Schmidt <bschmidt@freebsd.org> To: Alexander Zagrebin <alex@zagrebin.ru> Cc: freebsd-net@freebsd.org Subject: Re: if_run and wlan_amrr: kernel panics on 8.2-PRERELEASE amd64 Message-ID: <201101191240.16198.bschmidt@freebsd.org> In-Reply-To: <20110119112330.GD13844@gw.zagrebin.ru> References: <20110118102658.GA3211@gw.zagrebin.ru> <201101190937.13015.bschmidt@freebsd.org> <20110119112330.GD13844@gw.zagrebin.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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. > Will be rev. 217511 MFC'd on the 20 january? Yes, probably in the evening (CET). -- Bernhard
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101191240.16198.bschmidt>