From owner-freebsd-current@FreeBSD.ORG Mon Nov 22 14:50:40 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 A21851065693; Mon, 22 Nov 2010 14:50:40 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 498FE8FC24; Mon, 22 Nov 2010 14:50:39 +0000 (UTC) Received: by gxk22 with SMTP id 22so1546204gxk.13 for ; Mon, 22 Nov 2010 06:50:39 -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=3MiuCpDuB/KYW4Z3IMwGPNfUxHncFYI4YlIMf0Sl84s=; b=QmlzGu6blGoHc5LrNdOykHDkj61pcsAP2e0vZ/U9AkeC144ZNQZqGZu/LkLIu75I6M 6iwl3XejqE9192Z3xcoaaqKNOgTwGARoL3IKpoh2WXt5CoshJ/Np8J6kXkgFCf0ROTjT CGnPH/29grpVFlSlnL6G5ktMVjluuQDHdjQMQ= 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=rttJUi+2cG3/0ocBufzbZf8041k0F3+faxGMxB4nV9/Akm/m6bcfBbpaxBo14MD3zh KA8kWjlfV2KfA2ye+8JGkae2r3x5d/tKNRBLC2N7S3BJMk46qZrzRJOzP51AGaQ6OCoC hg5F1baFiFl8lyrUPoc1swC3pQ9d+39xYqB5k= MIME-Version: 1.0 Received: by 10.216.164.194 with SMTP id c44mr4895791wel.107.1290437433742; Mon, 22 Nov 2010 06:50:33 -0800 (PST) Received: by 10.216.234.82 with HTTP; Mon, 22 Nov 2010 06:50:33 -0800 (PST) In-Reply-To: References: <20101025080705.GA33315@current.Sisis.de> <201011220220.33946.avilla@freebsd.org> Date: Mon, 22 Nov 2010 14:50:33 +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 14:50:40 -0000 On 11/22/10, Paul B Mahol wrote: > 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. > I managed to fix panic on amd64 for driver I'm using. So try the latest version.