Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jul 2005 13:42:36 +0200
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        "Mark A-J. Raught (from the laptop)" <mraught@acm.org>
Cc:        mobile@freebsd.org
Subject:   Re: ndis (broadcom) quit working after a cvsup
Message-ID:  <20050704134236.104599cb@localhost>
In-Reply-To: <42C6AFA9.3010103@acm.org>
References:  <42C6AFA9.3010103@acm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--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)" <mraught@acm.org> 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-<F2> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050704134236.104599cb>