From owner-freebsd-questions@FreeBSD.ORG Thu Jan 31 16:00:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E166116A496 for ; Thu, 31 Jan 2008 16:00:59 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id 395D013C4EA for ; Thu, 31 Jan 2008 16:00:58 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m0VFxCiC024305 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 31 Jan 2008 15:59:12 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <47A1F0B7.9050308@unsane.co.uk> Date: Thu, 31 Jan 2008 16:00:55 +0000 From: Vince Hoffman User-Agent: Thunderbird 2.0.0.9 (X11/20080124) MIME-Version: 1.0 To: Kemian Dang References: <47A113EB.4080204@gmail.com> <200801301959.55079.glen.j.barber@gmail.com> <47A1DC3E.3030604@gmail.com> <47A1E126.50100@unsane.co.uk> <47A1E6D4.7080106@gmail.com> In-Reply-To: <47A1E6D4.7080106@gmail.com> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Glen Barber , freebsd-questions@freebsd.org Subject: Re: broadcom wireless card on FB7 using ndisgen, no ndis0 after kldload 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: Thu, 31 Jan 2008 16:01:00 -0000 Kemian Dang wrote: > Vince Hoffman 写道: >> Kemian Dang wrote: >> >>> Glen Barber 写道: >>> >>>> On Wednesday 30 January 2008 07:18:51 pm Kemian Dang wrote: >>>> >>>> >>>> >>>>> I have a laptop which using the broadcom wireless card. >>>>> I download the bcmwl5a.inf/.sys and use ndisgen to generate the .ko >>>>> file, then I kldload it as the doc said. >>>>> I can see ndis,if_ndis and bcmwl using kldstat, but there are no ndis0 >>>>> when ifconfig. >>>>> I have tried add the bcmwl to the /boot/loader.conf, but still no >>>>> ndis0. >>>>> And there no message in the dmesg about the ndis. >>>>> >>>>> >>>> Did you copy the bcmxxx.ko file to /book/kernel/ ? If you did, make >>>> sure you have an entry in your /boot/loader.conf: bcmxxx_load="YES" >>>> >>>> I have my bcm driver called 'bcmwl5_sys.ko' and 'bcmwl5_sys_load="YES" >>>> in my /boot/loader.conf. >>>> >>>> Hope that helps >>>> >>>> >>> Yes, mine is bcmwl5a_sys.ko and I have tried to put it in the >>> loader.conf. Actually, it is in the loader.conf now. I list it below: >>> >>> %ls /boot/modules/bcmwl* >>> /boot/modules/bcmwl5a_sys.ko >>> %more /boot/loader.conf >>> nvidia_load="yes" >>> bcmwl5a_sys_load="yes" >>> >>> Does "yes" differ from "YES"? >>> >>> >> >> I think YES and yes are interchangeable although YES tends to be used. >> >> whats the output of kldstat? >> if it doesnt contain ndis.ko what happens if you >> kldload ndis >> >> Vince >> > > Below is the output of kldstat: > %kldstat > Id Refs Address Size Name > 1 21 0xc0400000 5c0690 kernel > 2 1 0xc09c1000 69415c nvidia.ko > 3 2 0xc1056000 28518 linux.ko > 4 1 0xc107f000 5f7a4 bcmwl5a_sys.ko > 5 3 0xc10df000 1aa10 ndis.ko > 6 2 0xc10fa000 e750 if_ndis.ko > 7 1 0xc1109000 6a1c4 acpi.ko > 8 1 0xc520e000 2000 ntfs_iconv.ko > 9 1 0xc5210000 4000 libiconv.ko > 10 1 0xc5235000 b000 ntfs.ko > > It has the bcmwl5a_sys.ko, ndis.ko and if_ndis.ko. > Damm cant think of anything then, (I did exactly what you are trying last night, and my full steps we just to download the drivers (was a broadcom rebadged as belkin) point ndsigen at the appropriate files (typically the inf wasnt a .inf but a .ntf for some reason) then kldload ndis followed by kldload the created .ko (after moving it to /boot/modules) Sorry I cant help more. Vince > Best wishes, > Kemian