Loading if_wi from loader.conf?
Rob Schulhof
rrs at mx1.net
Fri Dec 24 07:11:14 PST 2004
It should work if you load the wlan kernel module. If compiling into the
kernel, just add "device wlan" to your configuration. However, even
without the wlan module, my DWL-520 card is detected on probe, so maybe
something else is amiss.
--Rob
On Fri, 24 Dec 2004, Adam K Kirchhoff wrote:
> From: Adam K Kirchhoff <adamk at xxxxxxxxxxxx>
> Subject: Re: Loading if_wi from loader.conf?
> Date: 24 Dec 2004 14:40:47 GMT
> To: bugs at xxxxxxxxxxxxxxxxxxxxxxx
>
> Adam K Kirchhoff <adamk at xxxxxxxxxxxx> wrote:
>
> > This doesn't seem to work currently:
>
> > Preloaded elf module "/modules/if_wi.ko" at 0xc0554360.
> > link_elf: symbol ieee80211_ieee2mhz undefined
> > Preloaded elf module "/modules/wlan.ko" at 0xc0554408.
>
> > And wi0 isn't detected when it continues to boot up.
>
> > Adam
>
> I tried compiling it into the kernel:
>
> cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I. -I/usr/src/sys
> -I/usr/src/sys/../include -I/usr/src/sys/contrib/dev/acpica
> -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h
> -mpreferred-stack-boundary=2 -fno-common -ffreestanding vers.c
> linking kernel.debug
> if_wi.o: In function `wi_attach':
> /usr/src/sys/dev/netif/wi/if_wi.c:315: undefined reference to
> `ieee80211_ieee2mhz'
> /usr/src/sys/dev/netif/wi/if_wi.c:460: undefined reference to
> `ieee80211_ifattach'
> /usr/src/sys/dev/netif/wi/if_wi.c:485: undefined reference to
> `ieee80211_media_init'
>
> And so on till the build complete errors out.
>
> Adam
>
More information about the Bugs
mailing list