From owner-freebsd-stable@FreeBSD.ORG Thu Mar 3 08:09:46 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 4819416A4CE for ; Thu, 3 Mar 2005 08:09:46 +0000 (GMT) Received: from dns1.popstick.com (dns1.popstick.com [66.37.210.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 8B7F943D2F for ; Thu, 3 Mar 2005 08:09:45 +0000 (GMT) (envelope-from mlists@northglobe.com) Received: (qmail 52749 invoked from network); 3 Mar 2005 08:09:44 -0000 Received: from unknown (HELO ?192.168.0.123?) (24.147.148.119) by dns1.popstick.com with SMTP; 3 Mar 2005 08:09:44 -0000 Message-ID: <4226C648.1050405@northglobe.com> Date: Thu, 03 Mar 2005 03:09:44 -0500 From: Nicholas Basila User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel O'Connor References: <42269D70.5090806@northglobe.com> <200503031642.39981.doconnor@gsoft.com.au> <4226ACCA.1020503@northglobe.com> <200503031727.52538.doconnor@gsoft.com.au> In-Reply-To: <200503031727.52538.doconnor@gsoft.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org cc: pcasidy@casidy.com 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 08:09:46 -0000 Daniel O'Connor wrote: >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 >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 >your new kernel. You may be building against stale headers. > > > Er, I thought I had done a makeworld, but I guess I hadn't. You were right: the header files were old. That fixed the problem. I just got worried as I ran into a similar problem just before 5.3 release that caused me to lose the wireless. I ended up fixing that with a light edit to a couple of files. Thanks to both of you! Nicholas