Loading if_wi from loader.conf?

Adam K Kirchhoff adamk at voicenet.com
Sun Dec 26 04:45:28 PST 2004


Rob Schulhof <rrs at xxxxxxx> wrote:
> 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.

I did have 'load_wlan="YES"' in my loader.conf file when I tried.

I will try your suggestion of adding "device wlan" to the kernel config
file and rebuilding.

Adam


> --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
>>

-- 
Adam K Kirchhoff
Digital Color Image
Phone: 856-662-5532
Mobile: 856-278-4165
Fax: 856-662-0344





More information about the Bugs mailing list