From owner-freebsd-current@FreeBSD.ORG Thu Sep 24 10:00:38 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10531106566B; Thu, 24 Sep 2009 10:00:38 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 62D8B8FC08; Thu, 24 Sep 2009 10:00:37 +0000 (UTC) Received: by fxm22 with SMTP id 22so1369518fxm.36 for ; Thu, 24 Sep 2009 03:00:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=/+a0W4XPsLzIXatB7iWwc3jGqrtCl/tCxDHzuPWGZjA=; b=KJtVYRaTfzAuHljVMU6ZZ6neiKx49i77tycYktaz72UjIbF0Rt9HdIyt5RharQM0gc WQAUsfwIyyPHmnmWC/aBLKMl/vRTV1RKa8imaFgGi4T7HxHJQO6QryVBZEP4ribLNuLT wUgK4ecE+u6nmbiHNoGYpCzPnuvebPdXi7B8o= 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=dDGLW6jN4KpwTG50DRYT/hjCRwDxRBdPI3RSfcEwzk+GzDtQRDqYPlhP+uwpw3T6a6 VFc141JeEYSwCI72sbKmeRaZTuqpIAj1cge7JPcaFA1o56xdukftsmOxOQ+lIcCI8kcV 7wWT5DrQ/ozNlgRLAkFMz0Wi2byrivlg/L0f8= MIME-Version: 1.0 Received: by 10.103.37.25 with SMTP id p25mr1414158muj.42.1253786436479; Thu, 24 Sep 2009 03:00:36 -0700 (PDT) In-Reply-To: <3a142e750909240251x6d06f733m2897f4cc7158a025@mail.gmail.com> References: <4AB913B3.1050709@borderworlds.dk> <3a142e750909230102tfee2bact6c165ee97da0c7eb@mail.gmail.com> <3a142e750909231500o6d875b1dj3b6cba12483a84b3@mail.gmail.com> <4ABB0CFC.4050105@borderworlds.dk> <4ABB146E.3050103@borderworlds.dk> <3a142e750909240251x6d06f733m2897f4cc7158a025@mail.gmail.com> Date: Thu, 24 Sep 2009 12:00:36 +0200 Message-ID: <3a142e750909240300m275f8025q2228a62ec9e41377@mail.gmail.com> From: "Paul B. Mahol" To: cokane@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: current@freebsd.org Subject: Re: Regression with ndis and rt2860 on 8.0-RC1 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: Thu, 24 Sep 2009 10:00:38 -0000 On 9/24/09, Paul B. Mahol wrote: > On 9/24/09, Christian Laursen wrote: >> Christian Laursen wrote: >>> Paul B. Mahol wrote: >>>> On 9/23/09, Paul B. Mahol wrote: >>>>> On 9/22/09, Christian Laursen wrote: >>>>>> Hi, >>>>>> >>>>>> Some days ago I upgraded my Asus Eee 1000H from 7.2-RELEASE to >>>>>> 8.0-BETA4 >>>>>> and then to 8.0-RC1 as of this morning. >>>>>> >>>>>> Since the Ralink Wireless NIC is not supported with a native driver I >>>>>> have been using ndis for a long time on 7.x without any issues. >> >> I just made a discovery. >> >> If I create a wlan device with wlandevice ndis0, I am able to associate >> and get traffic through the interface. >> >> I did get one warning though: >> wlan0: ieee80211_new_state_locked: pending SCAN -> RUN transition lost >> >> If I read UPDATING correctly this is the way to configure wireless >> devices on 8.0. As this is my first 8.0 system I was not sufficiently >> aware of that. >> >> However, a panic is somewhat unexpected in this case. > > Yes, there is still code path where vap is used when it is NULL. What about moving windrv_(un)wrap() calls from ndisdrv_modevent() to vap create/delete. I dont like: "if (vap == NULL) then return" solution. -- Paul