From owner-freebsd-mobile@FreeBSD.ORG Mon Jul 4 19:39:48 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 63C5F16A420 for ; Mon, 4 Jul 2005 19:39:48 +0000 (GMT) (envelope-from mraught@acm.org) Received: from www.raught.net (pcp0010250657pcs.lpaxtn01.pa.comcast.net [68.36.102.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED98743D5F for ; Mon, 4 Jul 2005 19:39:45 +0000 (GMT) (envelope-from mraught@acm.org) Received: from [192.168.0.4] ([10.0.0.52]) by www.raught.net (8.12.9/8.12.9) with ESMTP id j64JRh4e017731; Mon, 4 Jul 2005 15:27:43 -0400 (EDT) Message-ID: <42C990A2.3050701@acm.org> Date: Mon, 04 Jul 2005 15:40:18 -0400 From: "Mark A-J. Raught (from the laptop)" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050528 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Fabian Keil References: <42C6AFA9.3010103@acm.org> <20050704134236.104599cb@localhost> In-Reply-To: <20050704134236.104599cb@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 19:39:48 -0000 Fabian Keil wrote: > "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... >> >>first, >> >>uname -a: >> >>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 >> >>on a Gateway 7325GZ with a Broadcom BCM43XX (from the NDIS inf file that >>has been working) >> >>I ran cvsup last night from 5.4."probably a month or two ago" to >>5.4."Jul2" as shown above. >> >>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) >> >>the ndis should also be no problem... >> >>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 load >> >>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. >> >>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... >> >>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 >>kldloaded, we get >> >>[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] ~# >> >>so they are loading... >> >>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 >> >>After plenty of playing and googling until 4AM and 4 more hours this >>morning, I'm stumped. >> >>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 That fixed it! Thank you so much! This should maybe be added to /usr/src/UPDATING or atleast a man page for it. I prefer the old way, but as long as it works I'll suffer through the wizard feel. thanks, -mark