From owner-freebsd-current@FreeBSD.ORG Wed Nov 17 09:57:37 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 165391065670; Wed, 17 Nov 2010 09:57:37 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ww0-f51.google.com (mail-ww0-f51.google.com [74.125.82.51]) by mx1.freebsd.org (Postfix) with ESMTP id 74E5B8FC0A; Wed, 17 Nov 2010 09:57:36 +0000 (UTC) Received: by wwb17 with SMTP id 17so1730690wwb.8 for ; Wed, 17 Nov 2010 01:57:35 -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=/wOhpwzwzi5GrQxUlOg00gM/WcEIfw2LZlTxxXimMoI=; b=C/HS4t9pe8SS4tMqPZ8jccPIpwHXmozbh7e6FvhPU6VRaibRKC0DeNW614eTb1L5RO YpWc2xb22fx6OjjI7MQXiIXeRWyh7hCRE99r8EkXUo/4RpiUWWJVX2J9QhLXWfGSmby1 tou6QvKfiqWLP2pWxM+dhwQTqp2EirSixXjco= 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=x6MpR+pvEwK4SBnu+EjvoUpq9Qs4lwYHkQCOOlOjx79Z7S7elLOM6tAf03i437xeuF rrucfEGxJm/t2AZ/DNHl5s8MuDvV14X98gBimGq4F1OaLM3m+Ch/R+4IcCQ0K1a9ObTi f3azwU4XGFWa05kNMufiesHyfZfNl0zVGJmFc= MIME-Version: 1.0 Received: by 10.216.172.149 with SMTP id t21mr7440893wel.62.1289987854270; Wed, 17 Nov 2010 01:57:34 -0800 (PST) Received: by 10.216.234.82 with HTTP; Wed, 17 Nov 2010 01:57:34 -0800 (PST) In-Reply-To: References: <20101025080705.GA33315@current.Sisis.de> Date: Wed, 17 Nov 2010 09:57:34 +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: Wed, 17 Nov 2010 09:57:37 -0000 On 11/17/10, Alberto Villa wrote: > On Mon, Nov 15, 2010 at 2:41 PM, Paul B Mahol wrote: >> Feel free to test code at: >> >> gitorious.org/NDISulator >> github.com/richardpl/NDISulator >> >> The code is developed on CURRENT. But with small changes it can be >> compiled on STABLE too. > > thanks! > i've applied a checkout of last night to current. i can load the > module after boot, but the panic is still there when i unload or load > on boot, and wpa_supplicant fails to work (see attached log) > >> Just now I have only one tester (and that is without counting me). > > consider me as the third one :) Please use ndis5 branch. master branch is in heavy development. CURRENT branch just blindly (and badly) track code on FreeBSD CURRENT. When you say what you did be more specific, like are you are using i386 or amd64, and so on. When testing, enable debug.bootverbose, and debug.ndis sysctl before loading miniport module. [miniport module is module you created with ndisgen(8)] Do not load miniport module(s) during boot(from loader), if it ever worked it was big luck. [Even on Windows, drivers are loaded after boot.] Actually drivers can be loaded but we must be extra carefull what to call during boot and what to call after boot. 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.