Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2005 18:48:31 -0600 (CST)
From:      Braulio =?iso-8859-1?Q?Jos=E9_Solano_Rojas?= <braulio@solsoft.co.cr>
To:        hackers@freebsd.org
Subject:   NDIS driver Intel(R) PRO/Wireless 2200BG reaches kernel panic
Message-ID:  <51351.163.178.104.130.1118450911.squirrel@webmail1.pair.com>

next in thread | raw e-mail | index | archive | help
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.

So, I copied the Windows driver to /sys/modules/if_ndis.

Then I run the command:

ndiscvt -i w29n51.INF -s w29n51.sys -o ndis_driver_data.h

After that:

make
make install

Everything goes fine, but when I do:

kldload ndis.ko
kldload if_ndis.ko

I get this:

no match for MmMapIoSpace
no match for MmUnmapIoSpace
no match for WmiTraceMessage
no match for IoWMIRegistrationControl
no match for WmiQueryTraceInformation
ntoskrnl dummy called...
ndis0: <Intel(R) PRO/Wireless 2200BG Network Connection> mem
0xfe8fe000-0xfe8fefff irq 18 at device 5.0 on pci1
ndis0: NDIS API version: 5.1
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
ntoskrnl dummy called...



Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x80000002
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0x80000002
stack pointer           = 0x10:0xd4c71adc
frame pointer           = 0x10:0xc24b57b0
code segment            = base 0x0, limit 0xffffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 556 (kldload)
trap number             = 12
panic: page fault
Uptime: 2m13s
Cannot dump. No dump device defined.

What does this mean (I know what means page fault)?  Does this mean that
there is a bug in the NDIS driver?  Or is the page fault a problem in the
Windows driver?

And, what about all those no match for *?  The example I found on the
internet used NDIS API version: 5.0.  Does the NDIS driver for FreeBSD
support the 5.1 API?  I tried to find more reading man pages but without
success...

Am I just plain stupid wrong with something?

By the way, FreeBSD runs a lot faster that Windows XP on my laptop, even
with KDE.  ;-)

I will appreciate any hints you can provide...

Best regards,

Braulio Solano



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51351.163.178.104.130.1118450911.squirrel>