Ndis + Netgear WG311v3 ; Won't attach device correctly

Frank Staals frankstaals at gmx.net
Wed Aug 9 15:40:05 UTC 2006


Hey,

Today I got my hands on a Netgear WG311v3 and since there is no propper 
support for that card I decided to use nids, so I installed the ndis and 
if_ndis kernel modules, generated a new Kernel Module by using the 
WG311v3.INF and WG311v3XP.sys files; according to this thread:  
http://linuxcompatible.org/Netgear_WG311v3_WLAN_PCI_Card_with_Debian_Linux_Testing_t33271.html 
I should use those files. So far it worked, I loaded the module 
correctly and I had a ndis0. Allthough I had problems configuring the 
card correctly ( it wouldn't assosiate ). So I reloaded the module but 
this time it wouldn't attach my device correctly. This is what keeps 
happening:

root at FStaals$ kldstat
Id Refs Address    Size     Name
 1   12 0xc0400000 5cfe2c   kernel
 2    1 0xc09d0000 7794     snd_emu10k1.ko
 3    2 0xc09d8000 22b88    sound.ko
 8    1 0xc0a76000 59b90    acpi.ko
 9    2 0xc2cfd000 16000    linux.ko
10    1 0xc2ea7000 3000     daemon_saver.ko
11    1 0xc2ef8000 2000     rtc.ko
root at FStaals$ kldload /boot/kernel/WG311v3XP_sys.ko

My dmesg shows this:

ndis0: <NETGEAR WG311v3 802.11g Wireless PCI Adapter> mem 
0xfe1e0000-0xfe1effff,0xfe1d0000-0xfe1dffff irq 19 at device 10.0 on pci2
ndis0: NDIS API version: 5.1
ndis0: init handler failed
device_attach: ndis0 attach returned 6

these are the kernel modules loaded after loading WG311v3XP_sys :


root at FStaals$ kldstat
Id Refs Address    Size     Name
 1   20 0xc0400000 5cfe2c   kernel
 2    1 0xc09d0000 7794     snd_emu10k1.ko
 3    2 0xc09d8000 22b88    sound.ko
 8    1 0xc0a76000 59b90    acpi.ko
 9    2 0xc2cfd000 16000    linux.ko
10    1 0xc2ea7000 3000     daemon_saver.ko
11    1 0xc2ef8000 2000     rtc.ko
15    1 0xc310c000 47000    WG311v3XP_sys.ko
16    1 0xc30e8000 b000     if_ndis.ko
17    2 0xc376a000 13000    ndis.ko
18    1 0xc377d000 c000     pccard.ko
root at FStaals$


The only thing changed since the first time I loaded the module was I 
copied it to /boot/kernel and I added WG311v3XP_sys_load="YES" to 
/boot/loader.conf but those changes shouldn't have effect on not 
correctly loading it I think.

I also tried to use the WG311v3.sys file, but I get the same output in 
my dmesg as above.

Can anyone tell me why it won't load my module correctly anymore ? And 
what I should do to get it working again

Regards,


-- 
-Frank Staals




More information about the freebsd-questions mailing list