Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2010 12:48:57 +0000
From:      Paul B Mahol <onemda@gmail.com>
To:        Alberto Villa <avilla@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Broadcom BCM4310 USB Controller (Wifi)
Message-ID:  <AANLkTimNoALTd44Nw0rYhGN0%2BGZ8nw78=8_2_KJUN1-j@mail.gmail.com>
In-Reply-To: <201011220220.33946.avilla@freebsd.org>
References:  <20101025080705.GA33315@current.Sisis.de> <AANLkTikWv6jCXtvcFPf8%2Bv4nNvuJMUmy15O1%2B6N6g847@mail.gmail.com> <AANLkTi=BjjLi2B5aegbi1NjaLnWbFh5_%2BsbnmE2B=J=c@mail.gmail.com> <201011220220.33946.avilla@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/22/10, Alberto Villa <avilla@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimNoALTd44Nw0rYhGN0%2BGZ8nw78=8_2_KJUN1-j>