From owner-freebsd-current@FreeBSD.ORG Mon Nov 22 12:49:17 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 347371065670; Mon, 22 Nov 2010 12:49:17 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 96E158FC15; Mon, 22 Nov 2010 12:49:16 +0000 (UTC) Received: by wwd20 with SMTP id 20so7047139wwd.31 for ; Mon, 22 Nov 2010 04:49:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=tuPb28fKatYiTCB+tfJ9FTR+611f8RIWaVecdoggUO0=; b=wXAeyI/GAnYHI03ysLwTmiLuHgyul/ln3yvUtjzSyDz1E+GYt6aYeLZEpVaw3h/7Gl Jg/PF+yejlZp16O/GA32HrOLlKLGyvev/e5VFcg5p8jB9GPyxdWnaI+3kVEjTqZ9PmYN pmgne8590txG7hsm/uZc0n9pfnzt4hmOPSNLY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=O4G7n8MM7qtHGeueE9/YZbGg+m9umlAApPH70gox/bhjZgkwIp6wYFebAaAHgzXCNi Ee7AgiYfpGW8+wzq8oIgF1HIZWoSfuYGVayP84Eeqt9bRzthOneXTPHRPEcnElrn0C4o LCsVW9hJbofZ8jwQgoQTR8aWuIB3yGCXgzRwI= MIME-Version: 1.0 Received: by 10.216.164.194 with SMTP id c44mr4746602wel.107.1290430138193; Mon, 22 Nov 2010 04:48:58 -0800 (PST) Received: by 10.216.234.82 with HTTP; Mon, 22 Nov 2010 04:48:57 -0800 (PST) In-Reply-To: <201011220220.33946.avilla@freebsd.org> References: <20101025080705.GA33315@current.Sisis.de> <201011220220.33946.avilla@freebsd.org> Date: Mon, 22 Nov 2010 12:48:57 +0000 Message-ID: From: Paul B Mahol To: Alberto Villa Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org Subject: Re: Broadcom BCM4310 USB Controller (Wifi) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2010 12:49:17 -0000 On 11/22/10, Alberto Villa 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.