Date: Thu, 31 Jan 2008 16:00:55 +0000 From: Vince Hoffman <jhary@unsane.co.uk> To: Kemian Dang <dangkm@gmail.com> Cc: Glen Barber <glen.j.barber@gmail.com>, freebsd-questions@freebsd.org Subject: Re: broadcom wireless card on FB7 using ndisgen, no ndis0 after kldload Message-ID: <47A1F0B7.9050308@unsane.co.uk> In-Reply-To: <47A1E6D4.7080106@gmail.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47A1F0B7.9050308>