From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 11 00:48:32 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D6A016A41F for ; Sat, 11 Jun 2005 00:48:32 +0000 (GMT) (envelope-from braulio@solsoft.co.cr) Received: from wbm1.pair.net (wbm1.pair.net [209.68.3.41]) by mx1.FreeBSD.org (Postfix) with SMTP id 1198F43D48 for ; Sat, 11 Jun 2005 00:48:31 +0000 (GMT) (envelope-from braulio@solsoft.co.cr) Received: (qmail 85168 invoked by uid 65534); 11 Jun 2005 00:48:31 -0000 Received: from 163.178.104.130 ([163.178.104.130]) (SquirrelMail authenticated user braulio@solsoft.co.cr) by webmail1.pair.com with HTTP; Fri, 10 Jun 2005 18:48:31 -0600 (CST) Message-ID: <51351.163.178.104.130.1118450911.squirrel@webmail1.pair.com> Date: Fri, 10 Jun 2005 18:48:31 -0600 (CST) From: Braulio =?iso-8859-1?Q?Jos=E9_Solano_Rojas?= To: hackers@freebsd.org User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Subject: NDIS driver Intel(R) PRO/Wireless 2200BG reaches kernel panic X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jun 2005 00:48:32 -0000 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: 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