Date: Fri, 8 Apr 2016 17:20:53 -0300 From: =?UTF-8?B?T3RhY8OtbGlv?= <otacilio.neto@bsd.com.br> To: Adrian Chadd <adrian.chadd@gmail.com> Cc: freebsd-current <freebsd-current@freebsd.org>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: WIFI urtwn possibly broken on 297561 Message-ID: <570812A5.1050600@bsd.com.br> In-Reply-To: <CAJ-VmokkpVYfceLOUpR44EP=v_dywpf=nC2DVUCU5ZtkE=20Ag@mail.gmail.com> References: <57080811.5030405@bsd.com.br> <CAJ-VmokkpVYfceLOUpR44EP=v_dywpf=nC2DVUCU5ZtkE=20Ag@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
The parameter --ff looks like is not valid for my adapter. First I try using prompt: ===================================================================================================== Edit /etc/motd to change this login announcement. % su Apr 8 05:04:12 beaglebone su: ota to root on /dev/ttyu0 root@beaglebone:/usr/home/ota # ifconfig wlan0 -ff -amsdu ifconfig: SIOCS80211: Invalid argument root@beaglebone:/usr/home/ota # ifconfig wlan0 -ff ifconfig: SIOCS80211: Invalid argument root@beaglebone:/usr/home/ota # ifconfig wlan0 -amsdu root@beaglebone:/usr/home/ota # pkg update The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from pkg+http://nostromo:8080/repo/101armv6-default/.latest, please wait... ^C root@beaglebone:/usr/home/ota # ping nostromo PING nostromo (192.168.0.26): 56 data bytes ^C --- nostromo ping statistics --- 13 packets transmitted, 0 packets received, 100.0% packet loss root@beaglebone:/usr/home/ota # ===================================================================================================== And in rc.conf ===================================================================================================== Feeding entropy:. ifconfig: SIOCIFCREATE2: Invalid argument cpsw0: link state changed to DOWN Starting Network: lo0 cpsw0. lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> cpsw0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE> ether 90:59:af:4c:20:9a media: Ethernet autoselect (none) status: no carrier nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> ELF ldconfig path: /lib /usr/lib /usr/lib/compat Soft Float compatibility ldconfig path: Starting devd. urtwn0: <vendor 0x0bda product 0x8178, class 0/0, rev 2.00/2.00, addr 3> on usbu s1 urtwn0: MAC/BB RTL8192CU, RF 6052 2T2R urtwn0: enabling 11n wlan0: Ethernet address: 14:cc:20:12:ee:55 Created wlan(4) interfaces: wlan0. Starting wpa_supplicant. Starting dhclient. wlan0: no link .............. giving up /etc/rc.d/dhclient: WARNING: failed to start dhclient Starting Network: wlan0. wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 14:cc:20:12:ee:55 groups: wlan ssid "" channel 10 (2457 MHz 11g) country US authmode WPA1+WPA2/802.11i privacy MIXED deftxkey UNDEF txpower 0 bmiss 7 scanvalid 60 protmode CTS wme roaming MANUAL bintval 0 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> add net fe80::: gateway ::1 add net ff02::: gateway ::1 add net ::ffff:0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 Waiting 30s for the default route interface: wlan0: link state changed to UP ..(wlan0) Creating and/or trimming log files. Starting syslogd. Clearing /tmp (X related). Updating motd:. Mounting late file systems:. Performing sanity check on sshd configuration. Could not load host key: /etc/ssh/ssh_host_dsa_key Starting sshd. Could not load host key: /etc/ssh/ssh_host_dsa_key Starting cron. Starting background file system checks in 60 seconds. Fri Apr 8 05:09:54 UTC 2016 FreeBSD/arm (beaglebone) (ttyu0) login: ota Password: FreeBSD 11.0-CURRENT (BEAGLEBONE-DEBUG) #1 r297561: Fri Apr 8 00:53:13 BRT 2016 Welcome to FreeBSD! Release Notes, Errata: https://www.FreeBSD.org/releases/ Security Advisories: https://www.FreeBSD.org/security/ FreeBSD Handbook: https://www.FreeBSD.org/handbook/ FreeBSD FAQ: https://www.FreeBSD.org/faq/ Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/ FreeBSD Forums: https://forums.FreeBSD.org/ Documents installed with the system are in the /usr/local/share/doc/freebsd/ directory, or can be installed later with: pkg install en-freebsd-doc For other languages, replace "en" with a language code like de or fr. Show the version of FreeBSD installed: freebsd-version ; uname -a Please include that output and any error messages when posting questions. Introduction to manual pages: man man FreeBSD directory layout: man hier Edit /etc/motd to change this login announcement. % su Apr 8 05:10:25 beaglebone su: ota to root on /dev/ttyu0 root@beaglebone:/usr/home/ota # ping nostromo PING nostromo (192.168.0.26): 56 data bytes 64 bytes from 192.168.0.26: icmp_seq=0 ttl=64 time=76.013 ms 64 bytes from 192.168.0.26: icmp_seq=1 ttl=64 time=2.554 ms ^C --- nostromo ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 2.554/39.284/76.013/36.730 ms root@beaglebone:/usr/home/ota # pkg update The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from pkg+http://nostromo:8080/repo/101armv6-default/.latest, please wait... ^C root@beaglebone:/usr/home/ota # ping nostromo PING nostromo (192.168.0.26): 56 data bytes ^C --- nostromo ping statistics --- 9 packets transmitted, 0 packets received, 100.0% packet loss root@beaglebone:/usr/home/ota # cat /etc/rc.conf hostname="beaglebone" ifconfig_cpsw0="DHCP" sshd_enable="YES" # Nice if you have a network, else annoying. #ntpd_enable="YES" ntpd_sync_on_start="YES" # Uncomment to disable common services (more memory) #cron_enable="NO" #syslogd_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" # On first boot, enlarge the root filesystem to fill the SD card growfs_enable="YES" wlans_urtwn0="wlan0" ifconfig_wlan0="WPA SYNCDHCP -amsdu" ===================================================================================================== The behavior is the same. I did a test without the options -ff and -amsdu and get response after a lot of time: ===================================================================================================== ping nostromo PING nostromo (192.168.0.26): 56 data bytes ¦64 bytes from 192.168.0.26: icmp_seq=0 ttl=64 time=29700.789 ms 64 bytes from 192.168.0.26: icmp_seq=1 ttl=64 time=28686.953 ms 64 bytes from 192.168.0.26: icmp_seq=2 ttl=64 time=27662.899 ms 64 bytes from 192.168.0.26: icmp_seq=3 ttl=64 time=26640.436 ms 64 bytes from 192.168.0.26: icmp_seq=4 ttl=64 time=25614.867 ms 64 bytes from 192.168.0.26: icmp_seq=5 ttl=64 time=24590.894 ms 64 bytes from 192.168.0.26: icmp_seq=6 ttl=64 time=23566.904 ms 64 bytes from 192.168.0.26: icmp_seq=7 ttl=64 time=22542.891 ms 64 bytes from 192.168.0.26: icmp_seq=8 ttl=64 time=21518.889 ms 64 bytes from 192.168.0.26: icmp_seq=9 ttl=64 time=20494.831 ms 64 bytes from 192.168.0.26: icmp_seq=10 ttl=64 time=19470.858 ms 64 bytes from 192.168.0.26: icmp_seq=11 ttl=64 time=18446.867 ms 64 bytes from 192.168.0.26: icmp_seq=12 ttl=64 time=17422.918 ms 64 bytes from 192.168.0.26: icmp_seq=13 ttl=64 time=16400.771 ms 64 bytes from 192.168.0.26: icmp_seq=14 ttl=64 time=15374.826 ms 64 bytes from 192.168.0.26: icmp_seq=15 ttl=64 time=14350.861 ms 64 bytes from 192.168.0.26: icmp_seq=16 ttl=64 time=13325.829 ms 64 bytes from 192.168.0.26: icmp_seq=17 ttl=64 time=12303.424 ms 64 bytes from 192.168.0.26: icmp_seq=18 ttl=64 time=11277.698 ms 64 bytes from 192.168.0.26: icmp_seq=19 ttl=64 time=10254.808 ms 64 bytes from 192.168.0.26: icmp_seq=20 ttl=64 time=9231.029 ms 64 bytes from 192.168.0.26: icmp_seq=21 ttl=64 time=8206.789 ms 64 bytes from 192.168.0.26: icmp_seq=22 ttl=64 time=7182.765 ms 64 bytes from 192.168.0.26: icmp_seq=23 ttl=64 time=6158.762 ms 64 bytes from 192.168.0.26: icmp_seq=24 ttl=64 time=5134.735 ms 64 bytes from 192.168.0.26: icmp_seq=25 ttl=64 time=4111.212 ms 64 bytes from 192.168.0.26: icmp_seq=26 ttl=64 time=3086.722 ms 64 bytes from 192.168.0.26: icmp_seq=27 ttl=64 time=2062.736 ms 64 bytes from 192.168.0.26: icmp_seq=28 ttl=64 time=1038.563 ms 64 bytes from 192.168.0.26: icmp_seq=29 ttl=64 time=14.707 ms 64 bytes from 192.168.0.26: icmp_seq=30 ttl=64 time=17.124 ms 64 bytes from 192.168.0.26: icmp_seq=31 ttl=64 time=11.297 ms 64 bytes from 192.168.0.26: icmp_seq=32 ttl=64 time=15.849 ms 64 bytes from 192.168.0.26: icmp_seq=33 ttl=64 time=38.727 ms 64 bytes from 192.168.0.26: icmp_seq=34 ttl=64 time=19.729 ms 64 bytes from 192.168.0.26: icmp_seq=35 ttl=64 time=7.052 ms []'s -Otacilio Em 08/04/2016 16:55, Adrian Chadd escreveu: > hi, > > try 'ifconfig wlan0 -ff -amsdu' and try again > > > -a > > > On 8 April 2016 at 12:35, Otacílio <otacilio.neto@bsd.com.br> wrote: >> Dears >> >> I'm testing the CURRENT version on a beaglebone black and have noted the >> follow behavior. On revision 297561 the wifi adapter stops works after a pkg >> update. I did the follow tests. >> Using the version 296898 (OK behavior) and 297561 (wrong behavior): >> >> FreeBSD beaglebone 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r296898M: Wed Mar 16 >> 23:52:02 BRT 2016 >> ota@nostromo:/root/crochet/work/obj/arm.armv6/usr/src/sys/BEAGLEBONE-DEBUG >> arm >> >> ping nostromo ==> OK >> pkg update ==> OK >> ping nostromo==> OK >> network is OK >> >> I have tested using this follows adapters and on both the behavior is the >> same and OK on 296898 : >> urtwn0: <vendor 0x0bda product 0x8176, class 0/0, rev 2.00/2.00, addr 2> on >> usbus1 >> urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R >> >> urtwn0: <vendor 0x0bda product 0x8178, class 0/0, rev 2.00/2.00, addr 2> on >> usbus1 >> urtwn0: MAC/BB RTL8192CU, RF 6052 2T2R >> >> >> After update to this version >> FreeBSD beaglebone 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r297561: Fri Apr 8 >> 00:53:13 BRT 2016 >> ota@nostromo:/root/crochet/work/obj/arm.armv6/usr/src/sys/BEAGLEBONE-DEBUG >> arm >> >> And I did the same tests using the same adapters and the wifi stops work >> after pkg update. >> >> >> And a complete log of the test: >> >> Edit /etc/motd to change this login announcement. >> % ping nostromo >> PING nostromo (192.168.0.26): 56 data bytes >> 64 bytes from 192.168.0.26: icmp_seq=0 ttl=64 time=98.318 ms >> 64 bytes from 192.168.0.26: icmp_seq=1 ttl=64 time=3.679 ms >> 64 bytes from 192.168.0.26: icmp_seq=2 ttl=64 time=58.809 ms >> 64 bytes from 192.168.0.26: icmp_seq=3 ttl=64 time=5.464 ms >> 64 bytes from 192.168.0.26: icmp_seq=4 ttl=64 time=10.979 ms >> ^C >> --- nostromo ping statistics --- >> 5 packets transmitted, 5 packets received, 0.0% packet loss >> round-trip min/avg/max/stddev = 3.679/35.450/98.318/37.431 ms >> % su >> pkg upApr 8 04:18:24 beaglebone su: ota to root on /dev/ttyu0 >> daroot@beaglebone:/usr/home/ota # pkg update >> The package management tool is not yet installed on your system. >> Do you want to fetch and install it now? [y/N]: y >> Bootstrapping pkg from >> pkg+http://nostromo:8080/repo/101armv6-default/.latest, please wait... >> ^C >> root@beaglebone:/usr/home/ota # ping nostromo >> PING nostromo (192.168.0.26): 56 data bytes >> ^C >> --- nostromo ping statistics --- >> 7 packets transmitted, 0 packets received, 100.0% packet loss >> root@beaglebone:/usr/home/ota # uname -a >> FreeBSD beaglebone 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r297561: Fri Apr 8 >> 00:53:13 BRT 2016 >> ota@nostromo:/root/crochet/work/obj/arm.armv6/usr/src/sys/BEAGLEBONE-DEBUG >> arm >> >> this log is for the follow adapter but for the next one the behavior is the >> same >> >> urtwn0: <vendor 0x0bda product 0x8178, class 0/0, rev 2.00/2.00, addr 2> on >> usbus1 >> urtwn0: MAC/BB RTL8192CU, RF 6052 2T2R >> >> urtwn0: <vendor 0x0bda product 0x8176, class 0/0, rev 2.00/2.00, addr 2> on >> usbus1 >> urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R >> >> >> Someone knows whats going on? >> >> >> Thanks a lot >> -Otacílio >> >> >> >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?570812A5.1050600>