From owner-freebsd-wireless@freebsd.org Sun Dec 18 22:00:12 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 77B5EC8710E for ; Sun, 18 Dec 2016 22:00:12 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: from mail-lf0-x241.google.com (mail-lf0-x241.google.com [IPv6:2a00:1450:4010:c07::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 16BB418AD for ; Sun, 18 Dec 2016 22:00:12 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: by mail-lf0-x241.google.com with SMTP id 30so4394737lfy.1 for ; Sun, 18 Dec 2016 14:00:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:subject:references:date:cc:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=Y7Tz210g5c2iOKyCm1xcyd+BrBR3RQo7FkO2QV3tM+I=; b=RD7mhqa3pf8QFxIb+X81It19zZ5C1Uj7VpEj927Y6+O3pl5pAOqEoE0ypMeVKVHZJa EUSu1R0yxfKLYgxkrWE5uTdeuGPg7iF5uD2v/6O6Vb1InMJCR1gHHPPqXAWrJsfh1g6X IFV/4N94Tk2F+Cf9aeomsCzpTknTALdiUSqZ5L+QxNT+YplyxVdHkXvJAmfrdCHprgFX eLS9Vfn4241qe4XCRLMjlAJ69jZvhVJyqqkJtrQ05MQxsXFdd864ljx+9wxGaifh4nfb s4HWrmc29A/opdU1BjVHCz9AHhcZKiBvaCUI0GLmMlqukjSyL1OOUrFlYTblgUbJbZMC ZkYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:references:date:cc:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=Y7Tz210g5c2iOKyCm1xcyd+BrBR3RQo7FkO2QV3tM+I=; b=G6OTj6bpDFpjwjZr0JRyEyiau6fslzKb+yeZLl7wTr/Wc2gvhNmVYEr+ejUThKJj2x 1lezdt2wTMgnWTZ76UdIcyBLQPsL39xL0c9zo19sJuKXBshbvfcgPbgagskz3gz8yqVN pM0btoIWrs9dNURtByuzloykZaoCP4y8up3ntS36c8WkUZoOEB3SBXHxVCKfkDpBldIm cz9gqH4G63HGB6Fsuk6PrRzWZ0/95BL3hL4YTSr7B5/ajYSfQsg7PT8vUspTFu1h5WZo IQM8hnm8AlbYcvvJZEZzTBV1xDfb+IftxRNbIcUpgfhc45ifDnrZSLVXLhsjFZXi+nEv QpfA== X-Gm-Message-State: AKaTC02IZ1EP/cb3BxvsKw5fkYAMwvHk8caxVBMHhB9RqwvFibGdKT6tLbDwf51CDGn9+A== X-Received: by 10.25.79.90 with SMTP id a26mr3525367lfk.181.1482098409454; Sun, 18 Dec 2016 14:00:09 -0800 (PST) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id l137sm3180135lfb.7.2016.12.18.14.00.08 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 18 Dec 2016 14:00:08 -0800 (PST) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: =?utf-8?Q?Morgan_Wesstr=C3=B6m?= Subject: Re: FreeBSD 11 doesn't load firmware to wifi card. Worked in FreeBSD 10.3. References: <5856FE5F.8030701@pp.dyndns.biz> Date: Mon, 19 Dec 2016 00:00:11 +0200 Cc: "freebsd-wireless@freebsd.org" MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: <5856FE5F.8030701@pp.dyndns.biz> User-Agent: Opera Mail/12.16 (FreeBSD) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2016 22:00:12 -0000 Sun, 18 Dec 2016 23:23:43 +0200 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Morgan Wesstr=C3=B6m = : Hello, The firmware is loaded when interface starts running; try to execute ifconfig wlan0 create wlandev run0 up > Dear list. > > I need some pointers how to track down this problem. Most likely I've = = > simply forgotten something fundamental. I've been running an usb based= = > Zyxel NWD2705 wifi dongle as an access point on my FreeBSD 10.3 = > installation for a long time. After installing a FreeBSD 11 and moving= = > the dongle there, dmesg doesn't show any indication of loading the = > firmware. As instructed in "man 4 run" I've added the following two = > lines to the kernel config on both machines and recompiled and install= ed: > > device run > device runfw > > FreeBSD 11 runs a GENERIC kernel with these two lines added and FreeBS= D = > 10.3 runs the same but with all unused modules removed. > > dmesg of FreeBSD 10.3 shows the following: > > ugen7.2: at usbus7 > run0: on usbus7 > run0: MAC/BBP RT3593 (rev 0x0402), RF RT3053 (MIMO 3T3R), address = > 28:28:5d:fc:79:81 > run0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps= > run0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > run0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps = = > 24Mbps 36Mbps 48Mbps 54Mbps > wlan0: bpf attached > wlan0: bpf attached > wlan0: Ethernet address: 28:28:5d:fc:79:81 > run0: firmware RT3071 ver. 0.33 loaded > run0: firmware RT3071 ver. 0.33 loaded > > dmesg on FreeBSD 11 shows this: > > ugen7.2: at usbus7 > run0 on uhub0 > run0: on usbus7 > run0: MAC/BBP RT3593 (rev 0x0402), RF RT3053 (MIMO 3T3R), address = > 28:28:5d:fc:79:81 > run0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps= > run0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > run0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps = = > 24Mbps 36Mbps 48Mbps 54Mbps > > No indication of firmware being loaded but also an extra line "run0: o= n = > uhub0" if that matters. Neither does any run0 interface show up with = > ifconfig. How can I trace what the firmware subsystem is doing and why= = > it doesn't push the firmware to this card? The device is no longer visible via ifconfig; use 'sysctl net.wlan.devic= es' instead. > > Regards > Morgan > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to = > "freebsd-wireless-unsubscribe@freebsd.org"