From owner-freebsd-questions@FreeBSD.ORG Tue Apr 11 10:38:19 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 3244A16A401 for ; Tue, 11 Apr 2006 10:38:19 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52E1943D45 for ; Tue, 11 Apr 2006 10:38:17 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 9106 invoked from network); 11 Apr 2006 10:38:16 -0000 Received: from unknown (HELO localhost) ([pbs]775067@[217.50.132.143]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 11 Apr 2006 10:38:16 -0000 Date: Tue, 11 Apr 2006 12:38:09 +0200 From: Fabian Keil To: hernan Message-ID: <20060411123809.1a880218@localhost> In-Reply-To: <9b9d376a0604101338y25da26f4o5ad18716ca4bf2c6@mail.gmail.com> References: <9b9d376a0604082312xa9e7a2fnd6694d227819e2eb@mail.gmail.com> <20060409142724.7513bb57@localhost> <9b9d376a0604101338y25da26f4o5ad18716ca4bf2c6@mail.gmail.com> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.6; i386-portbld-freebsd6.0) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2006-08-19.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_ZRzaQtEeV/zEuDiDy3RvUVU"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-questions@freebsd.org Subject: Re: [freebsd-questions] ndis setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Apr 2006 10:38:19 -0000 --Sig_ZRzaQtEeV/zEuDiDy3RvUVU Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable hernan wrote: [Quoting adjusted, please don't top post.] > On 4/9/06, Fabian Keil wrote: > > hernan wrote: > > > > > Hey folks. I'm setting up FreeBSD 6.0-RELEASE and I'm having a > > > little trouble getting my wireless NIC recognized. The card is a > > > Linksys WMP64G and I'm trying to set things up to run with the > > > FreeBSD NDISulator as described in the FreeBSD handbook > > > (http://www.freebsd.org/doc/handbook/network-wireless.html). > > > > This chapter is outdated. > > > > > Here's what I'm doing (as root): > > > > > > 1) Verifying with 'pciconf -lv' that the PCI card is there. > > > Also, I know the card works, it was running fine on Windows. > > > > > > 2) Building ndis itself: > > > > > 3) Building the if_ndis module: > > > > > 4) Loading the ndis and if_ndis modules: > > > kldload ndis > > > I verify at this point using kldstat that both ndis and if_ndis > > > are in fact loaded. > > > > > > I see nothing in dmesg or in my console during the kldload. > > > Also, it doesn't appear that the driver found the card, there's > > > no signs of life. I've tried using ndisgen, and have had the > > > same results (with much less typing). In either case, I get > > > nothing in dmesg and no usable enabled NIC. > > > > After you run ndisgen you should have a third kernel module with > > a name similar to the name of your sys file. If you load > > this module you should at least get an error message. > Thanks Fabian, that helped me move forward. My next question is how > to interpret the segfault I get when loading the new kernel module I > created with ndisgen. The error happens when I do the 'kldload' on > the new module, my machine dies and reboots. >=20 > Does this mean I'm out of luck with using NDIsulator? Let me know if > you have any hints. My hint is to post slightly more information. While I probably won't be able to help any further, there a lot of knowledgeable people on this list who could help if they had a better description of your problem.=20 You could start with: - the relevant output of pciconf -lv - which .inf and .sys file you used - an exact description what you did to get to the reboot - why you are sure it was caused by a segfault=20 Fabian --=20 http://www.fabiankeil.de/ --Sig_ZRzaQtEeV/zEuDiDy3RvUVU Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEO4cXjV8GA4rMKUQRApPEAKCveeZ/UkGt/M0IwrWapFfACLWQiACg3bf7 +onrBf0BctrAMbzB7+cVX20= =e4PE -----END PGP SIGNATURE----- --Sig_ZRzaQtEeV/zEuDiDy3RvUVU--