NDIS driver Intel(R) PRO/Wireless 2200BG reaches kernel panic

Braulio José Solano Rojas braulio at solsoft.co.cr
Sat Jun 11 23:29:48 GMT 2005


I have tried using the w29n50.sys file instead of w29n51.sys. It seems
that the NDIS wrapper has some trouble with NDIS 5.1 drivers.

However it works sometimes.

When I kldload the driver I get this:

no match for MmMapIoSpace
no match for MmUnmapIoSpace
no match for InterlockedExchange
ndis0: <Intel(R) PRO/Wireless 2200BG Network Connection> mem
0xfe8fe000-0xfe8fefff irq 18 at device 5.0 on pci1
ndis0: NDIS API version: 5.0
ndis0: Ethernet address: 00:0e:35:40:56:24
ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 5.5Mbps 11Mbps
ndis0: 11g rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps

(And everything works fine... however...)

But sometimes I get this:

no match for MmMapIoSpace
no match for MmUnmapIoSpace
no match for InterlockedExchange
ndis0: <Intel(R) PRO/Wireless 2200BG Network Connection> mem
0xfe8fe000-0xfe8fefff irq 18 at device 5.0 on pci1
ndis0: NDIS API version: 5.0
ndis0: NDIS ERROR: c000138d (unknown error)
ndis0: NDIS NUMERRORS: 0
ndis0: init handler failed
device_attach: ndis0 attach returned 6

And sometimes I get kernel panic.

If I add the driver to loader.conf I always get ndis0 attach returned 6.

Just FYI...

Shawn Nock dijo:
> Coincidently, I tried to revert to the ndis wrapper for my 2200bg after
> several months using if_iwi... (iwi has some problems: won't associate
> with hidden ssid host & the g speed negociation leaves something to be
> desired)
>
> I am experiencing the same panic on a very recent current:
>
> FreeBSD rainbow.kuatcom.local 6.0-CURRENT FreeBSD 6.0-CURRENT #5: Sat
> Jun 11 03:15:34 MST 2005
>
> 4 months ago if_ndis worked fine with this card... Can't tell you when
> it broke (just tried today...).
>
> Supplimentary information can be provided if anyone is interested in
> working on the problem.
>
> FYI (Probably unrelated): The only thing that changed in my config is
> the addition of ULE+PREEMPTION.
>
>
>
> On Sun, 2005-06-12 at 00:24 +0200, Florent Thoumie wrote:
>> Le Vendredi 10 juin 2005 à 18:48 -0600, Braulio José Solano Rojas a
>> écrit :
>> > Hello.
>> >
>> > I have installed FreeBSD 5.4 on a ASUS S5200N.  Runs very nice!
>> >
>> > However I still need to install Wifi.  I saw that Intel(R)
>> PRO/Wireless
>> > 2200BG is not supported by wlan FreeBSD driver (reading through the
>> man
>> > pages).  Then I found that I could use the NDIS driver added on
>> FreeBSD
>> > 5.3 to achieve Wireless Networking.
>>
>> 	This chipset is supported by iwi(4) driver, but it hasn't been
>> 	MFC'ed to RELENG_5.
>>
>> 	Here [1] is a port I'm planning to commit that installs the
>> 	needed firmware and optionally (you seem to need it though) a
>> 	kernel module to support your card.
>>
>> 	I can't test it by myself, so I'd be glad you test it for me.
>>
>> 	It has a rcNG script, if you just put iwi_enable="YES" it will
>> 	try to set iwi0 in bss mode. Just put if_iwi_enable="YES" in
>> 	/boot/loader.conf so that it works at boot time. See pkg-message
>> 	for more information.
>>
>> 	Note: It needs latest modifications I just committed to
>> 	net/ipw-firmware.
>>
>> 	Note2: Sorry, it has nothing to do with ndis(4).
>>
>> 	[1] http://www.xbsd.org/~flz/ports/iwi-firmware.shar


More information about the freebsd-mobile mailing list