From owner-freebsd-mobile@FreeBSD.ORG Sat Jul 2 00:32:24 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 196FB16A41C; Sat, 2 Jul 2005 00:32:24 +0000 (GMT) (envelope-from mraught@acm.org) Received: from www.raught.net (pcp0010250657pcs.lpaxtn01.pa.comcast.net [68.36.102.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBF2643D1D; Sat, 2 Jul 2005 00:32:21 +0000 (GMT) (envelope-from mraught@acm.org) Received: from [192.168.0.4] ([10.0.0.52]) by www.raught.net (8.12.9/8.12.9) with ESMTP id j620KN4e019440; Fri, 1 Jul 2005 20:20:23 -0400 (EDT) Message-ID: <42C5D2A9.7080807@acm.org> Date: Fri, 01 Jul 2005 19:32:57 -0400 From: "Mark A-J. Raught (from the laptop)" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050528 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dominic Caffey References: <71dda9b705070112365c416696@mail.gmail.com> In-Reply-To: <71dda9b705070112365c416696@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: wpaul@freebsd.org, Newbies FreeBSD , 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 List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jul 2005 00:32:24 -0000 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 be > 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/network-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=DWL%2D650%5FrevP > > I'm trying to do this on an IBM ThinkPad 380z with 64Mb ram with a 8Gb > 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 that 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 is 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