From owner-freebsd-questions@FreeBSD.ORG Thu Jan 31 15:18:47 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 D551E16A417 for ; Thu, 31 Jan 2008 15:18:47 +0000 (UTC) (envelope-from dangkm@gmail.com) Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.227]) by mx1.freebsd.org (Postfix) with ESMTP id 3535413C4CC for ; Thu, 31 Jan 2008 15:18:46 +0000 (UTC) (envelope-from dangkm@gmail.com) Received: by hu-out-0506.google.com with SMTP id 28so423415hub.8 for ; Thu, 31 Jan 2008 07:18:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=FJ2h3p0NMT7cbOy6+1kL7GWD+znQ7whrZWsv2H8UYE0=; b=ckDzzSbr/KZu/t+i8mQfRZKZc8UOxIblB3K2K5N5Qp9TsE6Fp744iN3znKtZn3p1lJ7xvlyuLGIoX3bXe9/oIoYqu1nFwF4hhrAYftqhLu+Br4Ad+EUVJ56StHKWMdCW7HW2h07K8GO2I/soAeCwQAwb2kn7XvZvLCO0B5+68qk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=YWI4MIWnflistwYmRTBlIIkAJBVCM+r4+bhcGMZ15EE9FBfFS8av8J3sMbJ4TYyrOfCV7vAe48pza0Le871a19cI042F1234jmqm2yyvYvP/GDjDALbEr3QYFIeiedHnr8v/Labl3kEEAnlP5DP0C6vSyzqro7b59f4nnLlgpTI= Received: by 10.66.225.9 with SMTP id x9mr4184646ugg.47.1201792724656; Thu, 31 Jan 2008 07:18:44 -0800 (PST) Received: from myCompaq.inf.ed.ac.uk ( [129.215.37.178]) by mx.google.com with ESMTPS id b35sm8360986ugd.33.2008.01.31.07.18.42 (version=SSLv3 cipher=RC4-MD5); Thu, 31 Jan 2008 07:18:43 -0800 (PST) Message-ID: <47A1E6D4.7080106@gmail.com> Date: Thu, 31 Jan 2008 15:18:44 +0000 From: Kemian Dang User-Agent: Thunderbird 2.0.0.9 (X11/20080128) MIME-Version: 1.0 To: Vince Hoffman References: <47A113EB.4080204@gmail.com> <200801301959.55079.glen.j.barber@gmail.com> <47A1DC3E.3030604@gmail.com> <47A1E126.50100@unsane.co.uk> In-Reply-To: <47A1E126.50100@unsane.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed 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 15:18:47 -0000 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 > > > > > >> Best wishes, >> Kemian >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > > 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. Best wishes, Kemian