From owner-freebsd-mobile@FreeBSD.ORG Sun Jul 3 05:46:45 2005 Return-Path: X-Original-To: freebsd-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 DCC5516A41C for ; Sun, 3 Jul 2005 05:46:45 +0000 (GMT) (envelope-from domcaf@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91EEA43D4C for ; Sun, 3 Jul 2005 05:46:45 +0000 (GMT) (envelope-from domcaf@gmail.com) Received: by rproxy.gmail.com with SMTP id r35so468371rna for ; Sat, 02 Jul 2005 22:46:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=crjktbdGqZkfK/2KPjQkWkOzPfSpeT0Uej6F0hru1+R4pSlHZQWSEeI3dXPJX8DfJZZ9PyKFQ4Cl2ULL+F2q7RcxPCHfn9dDv7hL6oKzNA6SuhQnCpRFykjTKxAX+qP2X0nnYuVMFXBgbwRp60cOK/GO50h3LdmqZD5XCN0LaE4= Received: by 10.38.86.59 with SMTP id j59mr865362rnb; Sat, 02 Jul 2005 22:21:39 -0700 (PDT) Received: by 10.38.76.15 with HTTP; Sat, 2 Jul 2005 22:21:39 -0700 (PDT) Message-ID: <71dda9b7050702222114754f1d@mail.gmail.com> Date: Sun, 3 Jul 2005 01:21:39 -0400 From: Dominic Caffey To: "Mark A-J. Raught (from the laptop)" In-Reply-To: <71dda9b7050701231115f7477d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <71dda9b705070112365c416696@mail.gmail.com> <42C5D2A9.7080807@acm.org> <71dda9b7050701231115f7477d@mail.gmail.com> Cc: wpaul@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Problems building wireless ndis kernel module for D-Link DWL-650 V.P1 under FreeBSD v 5.4... for Intel...IBM ThinkPad 380z...help?... X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dominic Caffey List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2005 05:46:46 -0000 SITUATION UPDATE: Turns out that ndiscvt didn't like the fact that the last line in the inf file didn't have a newline; I added one and then ndiscvt was happy. It created a HUGE heade= r file. My problem now is "wi0: wi_cmd: busy bit won't clear.: init failed". What follows is the full output when trying to use the NDISulator: "kldload ndis" output: Nothing so I assume the command was successful. "kldload if_ndis" output: wi0: at port 0x280-0x2ff irq 11 func= tion 0 config 1 on pccard0 wi0: wi_cmd: busy bit won't clear.: init failed device_attach: wi0 attach returned 6 "ifconfig" output: plip0: flags=3D108810 mtu 1500 lo0:=20 flags=3D8049 mtu 16384 =09inet 127.0.0.1 netmask 0xff000000 =09inet6 ::1 prefixlen 128 =09inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 The "ndis/wi0" interface is conspicuously missing as expected as a result of the output from the "kldload if_ndis" command. Any ideas? Thanks, Dom On 7/2/05, Dominic Caffey wrote: > Mark, > Thanks for the suggestion. I tried it but unfortunately it > did NOT work. I did indeed find another pair of inf & sys files in the > top level of the DLINK zip file and they had different contents then > what was in the WinXP folder as verified by doing a diff on the inf > file and chksum on the sys files. I also tried the inf & sys files > from the working Win2K installation on the same hardware and also was > unsuccessful. In all cases, I still got the same error from ndiscvt. > The directions in the FreeBSD online handbook state that one should > use the Win-XP files, which I originally did, but does one absolutely > have to use the Win-XP files or should the Win2k files work as well? > Hopefully someone can provide some clarification on this. I also > examined my inf files and they didn't have any control-chars-crap in > them; all inf versions appeared to be clean. Hopefully someone else > can shed some light on my problem. Thanks again for your suggestion. >=20 > Dom >=20 > On 7/1/05, Mark A-J. Raught (from the laptop) wrote: > > Dominic Caffey wrote: > > > Dear FreeBSD-Mobile & Newbies & Bill Paul, > > > > > > I'm having problems bulding a wireless ndis kernel module and > > > was hoping I might get some help with where I'm going wrong. Please b= e > > > aware that I did check the list archives at > > > http://lists.freebsd.org/mailman/mmsearch/freebsd-mobile before > > > posting but got no hits. I also tried google'ing the error message as > > > well with no hits so please no RTFM replies because I've already > > > RTFM'd at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/n= etwork-wireless.html > > > section 25.3.3.6.3 802.11a & 802.11g Clients. Here's the pertinet > > > information: > > > > > > uname -a output: > > > FreeBSD 380Z.none2.org 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 > > > 10:21:06 UTC 2005 > > > root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > > > > > pwd output: > > > /usr/src/sys/modules/if_ndis > > > > > > ls -l output: > > > total 1342 > > > -rw-r--r-- 1 root wheel 280 Mar 30 23:27 Makefile > > > -rw-r--r-- 1 root wheel 14391 Jun 29 17:35 NETPRISM.inf > > > -rw-r--r-- 1 root wheel 652288 Jun 29 17:35 PRISMNDS.sys > > > -rw-r--r-- 1 root wheel 644608 Jun 29 17:35 PRISMUSB.sys > > > -rw-r--r-- 1 root wheel 72 Jun 29 17:54 ndis_driver_data.h > > > -rw-r--r-- 1 root wheel 8276 Jun 29 17:35 prismnic.cat > > > > > > ndiscvt output: > > > ndiscvt -i NETPRISM.inf -s PRISMNDS.sys -o ndis_driver_data.h > > > ndiscvt: line 376: : syntax error. > > > > > > I obtained the Win-XP drivers for the wireless NIC, D-Link DWL-650 > > > V.P1, from http://support.dlink.com/products/view.asp?productid=3DDWL= %2D650%5FrevP > > > > > > I'm trying to do this on an IBM ThinkPad 380z with 64Mb ram with a 8G= b > > > hard drive. > > > > > > The wireless NIC works fine under MS-Win2k. > > > > > > Thanks, > > > > > > Dom > > > > > > > Dom, > > I had a similar error. I don't remember the exact error, but it was a > > syntax error and was due to the fact that I was using the wrong inf > > file. The correct one was pure ascii while the wrong one had > > miscellaneous crap in it. This may not be your problem, but it took me = a > > while searching, until I gave up and went back to it and discovered tha= t > > there were 2 inf files. Tried it with the other inf and all went well. = I > > don't know if this is two different version of the same inf, or if it i= s > > an inf for a different system... Either way, you may want to check it > > out. I think my error was early in the file like line 6 or 8 though, so > > this may not help at all. > > > > > > -mark > > >=20 >=20 > -- > +------------------------------------------------------ > | Dominic Caffey > | Email: DomCaf@gmail.com > +------------------------------------------------------ >=20 --=20 +------------------------------------------------------ | Dominic Caffey | Email: DomCaf@gmail.com +------------------------------------------------------