Re: Kernel NULL pointer when loading bcm43xx-mac80211 with fwpostfix = ".fw4"

From: Michael Buesch
Date: Sat Apr 07 2007 - 13:46:52 EST


On Saturday 07 April 2007 19:44, Larry Finger wrote:
> Johannes Berg wrote:
> > On Sat, 2007-04-07 at 15:51 +0200, Michael Buesch wrote:
> >> On Saturday 07 April 2007 02:01, Larry Finger wrote:
> >>> The current mb and wireless-dev git trees both get a kernel NULL pointer in "param_set_copystring"
> >>> when modprobe'ing bcm43xx-mac80211 with a line of 'options bcm43xx-mac80211 fwpostfix = ".fw4"' in
> >>> /etc/modprobe.conf.local. This construction used to work and still does for bcm43xx-softmac. I
> >>> compared the code between the two versions and cannot see any real differences. Any suggestions?
> >> Uhm, fwpostfix=.fw4 works fine for me when I pass it to modprobe.
> >
> > I use
> > $ cat /etc/modprobe.d/bcm43xx
> > options bcm43xx-mac80211 fwpostfix=-v4
> > options bcm43xx_mac80211 fwpostfix=-v4
> > options bcm43xx fwpostfix=-v3
> >
> > and it works great.
>
> My bad. As shown above, I had white space around the equals - a no-no. Removing it fixed the
> problem. The examples both of you showed gave me the clue.

Hm, probably a bug in the modparam subsystem, though.
I'd say it shouldn't crash, at least.

--
Greetings Michael.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/