From owner-freebsd-questions@FreeBSD.ORG Thu Dec 30 21:54:14 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A267A16A4CE for ; Thu, 30 Dec 2004 21:54:14 +0000 (GMT) Received: from ms-smtp-03-eri0.southeast.rr.com (ms-smtp-03-lbl.southeast.rr.com [24.25.9.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFD4343D31 for ; Thu, 30 Dec 2004 21:54:13 +0000 (GMT) (envelope-from jason@ec.rr.com) Received: from BARTON (cpe-065-184-201-054.ec.rr.com [65.184.201.54]) iBULsAkc013433 for ; Thu, 30 Dec 2004 16:54:11 -0500 (EST) Date: Thu, 30 Dec 2004 21:58:45 +0000 From: jason henson To: freebsd-questions@freebsd.org References: <3C5D2686-5A0E-11D9-8385-000D9333E43C@secure-computing.net> <1104378755l.2101l.2l@BARTON> In-Reply-To: (from ecrist@secure-computing.net on Thu Dec 30 00:01:45 2004) X-Mailer: Balsa 2.2.6 Message-Id: <1104443925l.4794l.0l@BARTON> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Re: NDIS (for Netgear WG311) How-To? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2004 21:54:14 -0000 >>> 1) Copied the netwg311.sys and wg311v2.inf files frome the Windows =20 >>> 2000 folder from the distribution CD-ROM. >>>=20 >>> 2) Ran ndiscvt -i /home/ecrist/wg311v2.inf -s /home/ecrist/=20 >>> netwg311.sys -o ndis_driver_data.h as root >>>=20 >>> 3) Copied ndis_driver_data.h to the /usr/src/sys directory. >>>=20 >>> 4) Added the following lines to my custom kernel config (GROG) >>> options NDISAPO >>> device ndis >>>=20 >>> 5) Ran (from /usr/src) make buildkernel KERNCONF=3DGROG >>>=20 >>> 6) Ran (from /usr/src) make installkernel KERNCONF=3DGROG >>>=20 >>> 7) Rebooted (no ndis0 listing in ifconfig output) >>>=20 >>> Any idea what I did wrong? >>>=20 >>> Thanks. >>=20 >> WAIT! I've found something. Here's a snippet from dmesg: >>=20 >> ndis0: mem =20 >> 0xec800000-0xec81ffff,0xed000000-0xed001fff irq 17 at device 14.0 on =20 >> pci0 >> ndis0: NDIS API version: 5.0 >> NDIS: could not find file FwRad16.bin in linker list >> NDIS: and no filesystems mounted yet, aborting NdisOpenFile() >> ndis0: init handler failed >>=20 >> Any ideas about that? >>=20 >> Thanks. >=20 > I've figured out what files are missing, I just need to know where to =20 > put them for NDIS to find them. Can someone direct me, please? It's =20 > late, so tomorrow I'll start pulling apart code to figure it out. >=20 > I'll post a full how-to for this network card once I get this all =20 > configured. Thanks for your help. >=20 > _______________________________________________________ > Eric F Crist "I am so smart, S.M.R.T!" > Secure Computing Networks -Homer J Simpson Looks like your driver, or card, needs a firmware file. If you hadn't =20 compiled it in you would not have this problem. You would just need to =20 put the firmware in /compat/ndis and after root was mounted the driver =20 would load it. Since you have it compiled in you need to make it so =20 the loader can load it. Read man ndiscvt starting at byte 5107, or the =20 -f firmfile section. I would recommend you recompile without it and =20 use the module.