From owner-freebsd-stable@FreeBSD.ORG Thu Mar 3 06:58:00 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4757216A4CE for ; Thu, 3 Mar 2005 06:58:00 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B60143D1F for ; Thu, 3 Mar 2005 06:57:59 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id j236vtai071902; Thu, 3 Mar 2005 17:27:56 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Nicholas Basila Date: Thu, 3 Mar 2005 17:27:46 +1030 User-Agent: KMail/1.7.92 References: <42269D70.5090806@northglobe.com> <200503031642.39981.doconnor@gsoft.com.au> <4226ACCA.1020503@northglobe.com> In-Reply-To: <4226ACCA.1020503@northglobe.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4587100.8tVWGhaQ1j"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200503031727.52538.doconnor@gsoft.com.au> X-Spam-Score: -5.4 () IN_REP_TO,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: freebsd-stable@freebsd.org Subject: Re: ndis problem with stable kernel source X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 06:58:00 -0000 --nextPart4587100.8tVWGhaQ1j Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thu, 3 Mar 2005 16:50, Nicholas Basila wrote: > Well, I've been using the official HP driver. I ran the utility like so: I don't know where the official HP driver is (hint: a URL would be handy) > ndiscvt -i name_of_nt_driver.inf -s name_of_nt_driver.sys -o > /tmp/ndis_driver_data.h > > I then copied it to the compile directory of my kernel. Make depend runs > correctly, but it crashes out during the linking phase of make. I have > these options at the bottom of my kernel config: > > options NDISAPI > device ndis > device wlan I would suggest building it as a module as it's much simpler (unless you're= =20 booting over this interface - which is doubtful) eg.. cd /usr/src/sys/modules/if_ndis cp /tmp/foo.inf /tmp/foo.sys . ndiscvt -i foo.inf -s foo.sys -o ndis_driver_data.h make make install > As I said, this worked perfectly with 5.3 and even 5-current before the > 5.3 release. I tried building the stable version of ndiscvt, and that > didn't produce a different header file. I did a cvsup two days ago, got > the error, and did a new cvsup tonight. Make sure your userland and kernel are in sync - ie install world to match= =20 your new kernel. You may be building against stale headers. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart4587100.8tVWGhaQ1j Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBCJrVw5ZPcIHs/zowRApPWAJ9N5oSeScOkffVCN4H4aBawXuLapACfYnEj qcP451wzb/d90kwL8mxRz/I= =/zCd -----END PGP SIGNATURE----- --nextPart4587100.8tVWGhaQ1j--