From owner-freebsd-arm@freebsd.org Mon Jun 27 07:53:37 2016 Return-Path: Delivered-To: freebsd-arm@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 CDEBBB84CE1 for ; Mon, 27 Jun 2016 07:53:37 +0000 (UTC) (envelope-from iz-rpi03@hs-karlsruhe.de) Received: from smtp.hs-karlsruhe.de (smtp.HS-Karlsruhe.DE [193.196.64.25]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9643B25B4 for ; Mon, 27 Jun 2016 07:53:37 +0000 (UTC) (envelope-from iz-rpi03@hs-karlsruhe.de) Received: from iz-wera01.hs-karlsruhe.de ([193.196.65.46]) by smtp.hs-karlsruhe.de with esmtp (Exim 4.80.1) (envelope-from ) id 1bHRMN-00DCMK-19; Mon, 27 Jun 2016 09:53:35 +0200 X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6 From: Ralf Wenk To: Thomas Laus cc: freebsd-arm@freebsd.org Subject: Re: 'urtwn' & 'urtwnfw' Devices Unknown in r302145 In-reply-to: <20160626235125.GA87206@mail.laus.org> References: <20160623220014.GA73746@mail.laus.org> <576FFBC8.21954.BF018@lausts.acm.org> <20160626235125.GA87206@mail.laus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 27 Jun 2016 09:53:34 +0200 Message-Id: X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2016 07:53:37 -0000 Thomas Laus wrote: > I don't know the reason either and that is why I am asking for > suggestions on how to identify and resolve my issues. I captured some > console messages that may provide additional insight. > > With Belkin USB Device > > Jun 26 19:09:02 fbsd11 kernel: ugen0.2: at usbus0 > Jun 26 19:09:02 fbsd11 kernel: urtwn0: on usbus0 > Jun 26 19:09:02 fbsd11 kernel: urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R > Jun 26 19:09:02 fbsd11 kernel: urtwn0: enabling 11n > > With Edimax N150N Device > > Jun 26 19:10:01 fbsd11 kernel: ugen0.2: at usbus0 > Jun 26 19:10:01 fbsd11 kernel: urtwn0: on usbus0 > Jun 26 19:10:01 fbsd11 kernel: urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R > > Ifconfig messages after either urtwn insertion. > > re0: flags=8843 metric 0 mtu 1500 > options=8209b > ether 30:5a:3a:07:fa:54 > inet 192.168.1.105 netmask 0xffffff00 broadcast 192.168.1.255 > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=8049 metric 0 mtu 16384 > options=600003 > inet 127.0.0.1 netmask 0xff000000 > groups: lo > > FBSD11 >ifconfig urtwn0 up > ifconfig: interface urtwn0 does not exist > > FBSD11 >uname -a > FreeBSD fbsd11 11.0-ALPHA5 FreeBSD 11.0-ALPHA5 #0 r302200M: Sun Jun 26 10:54:44 EDT 2016 lausts@fbsd11:/usr/obj/usr/src/sys/GENERIC-NODEBUG amd64 > > It looks like the device gets identified, but the kernel module just > doesn't like something with either Realtek urtwn network hardware. I > have a spare hard disk and will load a fresh snapshot of FreeBSD 11.0 > tomorrow and I'll report to the list if anything is different. I > receive the same results with either my 'amd64' and BeagleBone Black > computers. Both of my urtwn network interfaces are detected and > usable on another computer that is running FreeBSD 10.3 Release-P5. In CURRENT the WLAN hardware is not presented as a device any more. So it will not show up in an "ifconfig -a" command. # fgrep urtwn /var/run/dmesg.boot urtwn0: on usbus0 urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R urtwn0: enabling 11n # sysctl -d net.wlan.devices net.wlan.devices: names of available 802.11 devices # sysctl net.wlan.devices net.wlan.devices: urtwn0 # egrep 'urtwn|wlan' /etc/rc.conf wlans_urtwn0="wlan0" # wlan(4) interfaces for urtwn0 device ifconfig_wlan0="WPA DHCP country Germany" # see also rc.conf(5), ifconfig(8) # ifconfig wlan0 wlan0: flags=8843 metric 0 mtu 1500 ether 30:12:34:56:78:90 inet 193.196.116.2 netmask 0xff000000 broadcast 255.255.255.255 groups: wlan ssid eduroam channel 1 (2412 MHz 11g ht/20) bssid 02:a0:57:17:10:64 regdomain ETSI country DE authmode WPA2/802.11i privacy ON deftxkey UNDEF txpower 30 bmiss 7 scanvalid 60 protmode CTS ht20 -ampdutx ampdurx ampdulimit 32k ampdudensity 4 -stbc wme roaming MANUAL media: IEEE 802.11 Wireless Ethernet MCS mode 11ng status: associated nd6 options=29 # Ralf