From owner-freebsd-mobile@FreeBSD.ORG Sat Jun 11 23:29:48 2005 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8E5416A41C for ; Sat, 11 Jun 2005 23:29:48 +0000 (GMT) (envelope-from braulio@solsoft.co.cr) Received: from wbm3.pair.net (wbm3.pair.net [209.68.3.66]) by mx1.FreeBSD.org (Postfix) with SMTP id DD2BE43D1D for ; Sat, 11 Jun 2005 23:29:47 +0000 (GMT) (envelope-from braulio@solsoft.co.cr) Received: (qmail 99632 invoked by uid 65534); 11 Jun 2005 23:29:47 -0000 Received: from 163.178.104.130 ([163.178.104.130]) (SquirrelMail authenticated user braulio@solsoft.co.cr) by webmail3.pair.com with HTTP; Sat, 11 Jun 2005 17:29:47 -0600 (CST) Message-ID: <63049.163.178.104.130.1118532587.squirrel@webmail3.pair.com> In-Reply-To: <1118530451.912.7.camel@rainbow> References: <51351.163.178.104.130.1118450911.squirrel@webmail1.pair.com> <1118528683.11644.5.camel@cream.xbsd.org> <1118530451.912.7.camel@rainbow> Date: Sat, 11 Jun 2005 17:29:47 -0600 (CST) From: Braulio =?iso-8859-1?Q?Jos=E9_Solano_Rojas?= To: "Shawn Nock" 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: hackers@freebsd.org, mobile@freebsd.org Subject: Re: NDIS driver Intel(R) PRO/Wireless 2200BG reaches kernel panic X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jun 2005 23:29:48 -0000 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: 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: 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