Re: ndis problem with stable kernel source

From: Nicholas Basila (mlists_at_northglobe.com)
Date: 03/03/05

  • Next message: Penerdzhy R.V.: "Re: freebsd-stable Digest, Vol 101, Issue 8"
    Date: Thu, 03 Mar 2005 03:09:44 -0500
    To: Daniel O'Connor <doconnor@gsoft.com.au>
    
    

    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

    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Penerdzhy R.V.: "Re: freebsd-stable Digest, Vol 101, Issue 8"

    Relevant Pages

    • Re: Webcam choice
      ... This problem has come up in relation to a bunch of out-of-tree kernel ... drivers since FC6 was released. ... The linux/config.h header file no ... or you could install it into ...
      (Fedora)
    • Re: Webcam choice
      ... drivers since FC6 was released. ... The linux/config.h header file no ... or you could install it into ... You don't need rpmbuild to build a kernel module. ...
      (Fedora)
    • input method on fc3?
      ... FC3 and soundcard ... >> without problems and sound works fine. ... What modules were loaded with kernel ... I can install and configure samba on Linux as easily as I can install ...
      (Fedora)
    • Fedora Core 2, Averatec 3220 notebook
      ... I recently bought an Averatec 3220 notebook computer and have spent some ... Following is a detailed "howto" guide for installing Linux (Fedora Core ... Linux distro, which is easy to install and use, and for lots of answers ... We need one because the default Fedora Core kernel doesn't grok NTFS ...
      (Fedora)
    • Re: install woes
      ... looking at the Fedora 9 64bit DVD: ... I'd try the acpi=off, but I didn't need any boot options, as far as I remember ... appended the kernel, probably post-install. ... but on attempting to install, it freezes up at the test media screen. ...
      (Fedora)