Date: Sun, 3 Jul 2005 01:21:39 -0400 From: Dominic Caffey <domcaf@gmail.com> To: "Mark A-J. Raught (from the laptop)" <mraught@acm.org> 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?... Message-ID: <71dda9b7050702222114754f1d@mail.gmail.com> In-Reply-To: <71dda9b7050701231115f7477d@mail.gmail.com> References: <71dda9b705070112365c416696@mail.gmail.com> <42C5D2A9.7080807@acm.org> <71dda9b7050701231115f7477d@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <D-Link DWL-650 Wireless PC Card RevP> 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<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 lo0:=20 flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> 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 <domcaf@gmail.com> 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) <mraught@acm.org> 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 +------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?71dda9b7050702222114754f1d>