From owner-freebsd-wireless@freebsd.org Sun Dec 18 21:48:34 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 EC7E7C87F0E for ; Sun, 18 Dec 2016 21:48:34 +0000 (UTC) (envelope-from freebsd-wireless@pp.dyndns.biz) Received: from smtprelay-b32.telenor.se (smtprelay-b32.telenor.se [213.150.131.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AAE06915 for ; Sun, 18 Dec 2016 21:48:34 +0000 (UTC) (envelope-from freebsd-wireless@pp.dyndns.biz) Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-b32.telenor.se (Postfix) with ESMTP id 8A80887C7C for ; Sun, 18 Dec 2016 22:23:47 +0100 (CET) X-SENDER-IP: [85.226.59.164] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2DxGAAm/VZYEKQ74lVdg2cBAQEBAR+BFD2HBIdNq1+BHRqIIUQQAQIBAQEBAQEBBgEBAQEBAQEBN0WFEhUeIjYCBRYLAgsDAgECAScKJwgBAYhrAZsvkACCKIs9gQuPEII4gl0BBJUDhW2bUoYvkig2gSJOgxcBgj89iCwBAQE X-IPAS-Result: A2DxGAAm/VZYEKQ74lVdg2cBAQEBAR+BFD2HBIdNq1+BHRqIIUQQAQIBAQEBAQEBBgEBAQEBAQEBN0WFEhUeIjYCBRYLAgsDAgECAScKJwgBAYhrAZsvkACCKIs9gQuPEII4gl0BBJUDhW2bUoYvkig2gSJOgxcBgj89iCwBAQE X-IronPort-AV: E=Sophos;i="5.33,371,1477954800"; d="scan'208";a="888854236" Received: from c-a43be255.107-1-64736c12.cust.bredbandsbolaget.se (HELO pp.dyndns.biz) ([85.226.59.164]) by ipb2.telenor.se with ESMTP; 18 Dec 2016 22:23:46 +0100 Received: from [192.168.69.70] (oberon.local [192.168.69.70]) by pp.dyndns.biz (8.15.2/8.15.2) with ESMTPS id uBILNh61001461 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 18 Dec 2016 22:23:45 +0100 (CET) (envelope-from freebsd-wireless@pp.dyndns.biz) To: freebsd-wireless@freebsd.org From: =?UTF-8?Q?Morgan_Wesstr=c3=b6m?= Subject: FreeBSD 11 doesn't load firmware to wifi card. Worked in FreeBSD 10.3. Message-ID: <5856FE5F.8030701@pp.dyndns.biz> Date: Sun, 18 Dec 2016 22:23:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 21:48:35 -0000 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 installed: device run device runfw FreeBSD 11 runs a GENERIC kernel with these two lines added and FreeBSD 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: on 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? Regards Morgan