Re: Broadcom BCM4310 USB Controller (Wifi)

From: Paul B Mahol <onemda_at_gmail.com>
Date: Mon, 22 Nov 2010 12:48:57 +0000
On 11/22/10, Alberto Villa <avilla_at_freebsd.org> wrote:
> On Wednesday 17 November 2010 10:57:34 Paul B Mahol wrote:
>> Please use ndis5 branch. master branch is in heavy development.
>> CURRENT branch just blindly (and badly) track code on FreeBSD
> CURRENT.
>
> ok. unfortunately in this test i made an error and just saw that...
> `--> git status
> # On branch ndis5
> # Your branch is ahead of 'origin/ndis5' by 13 commits.
> i hope it's ok for this time

Git status should be empty.
Just pull again. Or clone repo again, or do not use git and
fetch tar.gz from site.

I did some changes with forced rebase so that happened.

>
>> When you say what you did be more specific, like are you are using
>> i386 or amd64, and so on.
>
> FreeBSD echo.hoth 9.0-CURRENT FreeBSD 9.0-CURRENT #2 r215448M:
> Thu Nov 18 08:34:00 CET 2010
> root_at_echo.hoth:/usr/obj/usr/src/sys/HPDV6  amd64
> my kernel configuration file is a GENERIC trimmed down to the minimum
> (so that everything possible is loaded as a module)

amd64, I see. And another broadcom card on CURRENT and on amd64 just
panics, but this is another driver.
Can you post link to your driver?
>> For using code in branch master and ndis5, you will need to reinstall
>> ndisgen and ndiscvt from git repo
>> and do not use one from FreeBSD world. This also means you will need
>> to regenerate miniport module with
>> new ndiscvt & ndisgen because interface have changed slightly.
>
> i did it, and here you are the results:
> http://pastebin.ca/1998450
> http://pastebin.ca/1998454

Why it picked MAC first time without problems, otherwise ndis0 would never
attach, and second time it reports error?

For a moment disable wpa_supplicant in your rc.conf. And try to get scan
results via ifconfig(8).

like this:

# ifconfig wlan0 destroy
# ifconfig wlan create wlandev ndis0
# ifconfig wlan0 up
# ifconfig wlan0 list scan

And upload relevant dmesg output (ndis/NDIS lines) somewhere.

And/or contact me off-list.
Received on Mon Nov 22 2010 - 11:49:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:09 UTC