From owner-freebsd-mobile@FreeBSD.ORG Mon Jul 4 11:43:32 2005 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0FB316A41C for ; Mon, 4 Jul 2005 11:43:32 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.18.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2706D43D46 for ; Mon, 4 Jul 2005 11:43:31 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 1955 invoked from network); 4 Jul 2005 11:43:29 -0000 Received: from unknown (HELO localhost) ([pbs]775067@[83.129.20.162]) (envelope-sender ) by smtprelay03.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 4 Jul 2005 11:43:29 -0000 Date: Mon, 4 Jul 2005 13:42:36 +0200 From: Fabian Keil To: "Mark A-J. Raught (from the laptop)" Message-ID: <20050704134236.104599cb@localhost> In-Reply-To: <42C6AFA9.3010103@acm.org> References: <42C6AFA9.3010103@acm.org> X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Signature_Mon__4_Jul_2005_13_42_36_+0200_OuQl=yiq4dn5jTMi"; protocol="application/pgp-signature"; micalg=pgp-sha1 Cc: mobile@freebsd.org Subject: Re: ndis (broadcom) quit working after a cvsup X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2005 11:43:33 -0000 --Signature_Mon__4_Jul_2005_13_42_36_+0200_OuQl=yiq4dn5jTMi Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable "Mark A-J. Raught (from the laptop)" wrote: > So after giving someone advice on how to get ndis working yesterday (it > didn't help, but I was confident enough to share my experience), I cvsup > and now I think I'm going nuts... >=20 > first, >=20 > uname -a: >=20 > FreeBSD lore 5.4-STABLE FreeBSD 5.4-STABLE #16: Sat Jul 2 01:52:13 EDT > 2005 flash@lore:/usr/src/sys/i386/compile/LORE i386 >=20 > on a Gateway 7325GZ with a Broadcom BCM43XX (from the NDIS inf file that= =20 > has been working) >=20 > I ran cvsup last night from 5.4."probably a month or two ago" to > 5.4."Jul2" as shown above. >=20 > My sound and my ndis quit working as usual (everytime I recompile the > kernel I lose ndis and everytime I cvsup I lose the sound) > the sound shouldn't be a problem, just diff ac97.c and ac97.h (I'll look > at it later) >=20 > the ndis should also be no problem... >=20 > So I: > go into /sys/modules/ndis and make clean; make; make install; make load > go into /sys/modules/if_ndis and make clean; make; make install; make l= oad >=20 > both with no errors. Everything looks good. I hit fn- which usually > enables my wireless at this point and ndis0 appears in ifconfig -a, just > a quick "ifconfig ndis0 up" and it'll all be good. >=20 > Wait a minute! No ndis0 shows up! Am I missing a step? I'm pretty sure > this is all I had to do the last couple times, but now that the laptop > is a couple months old I haven't been changing things as much and may > have missed a step. ok... >=20 > I did notice that now kldload ndis or kldload if_ndis both will load the > other one. So where I used to kldload ndis then kldload if_ndis, now I > kldload ndis without an error, then kldload if_ndis gives: "kldload: > can't load if_ndis: File exists" and vice versa... After either is=20 > kldloaded, we get >=20 > [lore] ~# kldstat > Id Refs Address Size Name > 1 16 0xc0400000 34ec10 kernel > 3 1 0xc0753000 587c vesa.ko > 4 1 0xc0759000 1b34c linux.ko > 7 14 0xc0797000 56270 acpi.ko > 8 1 0xc18a7000 2000 blank_saver.ko > 12 1 0xc1bbf000 9000 if_ndis.ko > 13 1 0xc1bc8000 12000 ndis.ko > [lore] ~# >=20 > so they are loading... >=20 > I haven't changed my kernel or any other files (except throug > mergemaster after the installworld) and I didn't see anything relevant > in /usr/src/UPDATING >=20 > After plenty of playing and googling until 4AM and 4 more hours this=20 > morning, I'm stumped. >=20 > any ideas??? Try /usr/sbin/ndisgen. This is the new way to generate ndis. The old way seems to have stopped working a few weeks ago. I don't know if this was intentional, I hope it wasn't. Fabian --=20 http://www.fabiankeil.de/ --Signature_Mon__4_Jul_2005_13_42_36_+0200_OuQl=yiq4dn5jTMi Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCySCsoomUOj0wp30RAmOhAKCaIhSFrYWj6RjXtwS4axNL0Tp2BwCeKPzQ rVRvg9rfk60EQarsdO6pDgA= =+gKf -----END PGP SIGNATURE----- --Signature_Mon__4_Jul_2005_13_42_36_+0200_OuQl=yiq4dn5jTMi--