From owner-freebsd-wireless@freebsd.org Tue Apr 12 21:28:44 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 6D540B0EDD9 for ; Tue, 12 Apr 2016 21:28:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C7801586 for ; Tue, 12 Apr 2016 21:28:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u3CLSiba045512 for ; Tue, 12 Apr 2016 21:28:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 208758] 'service netif restart' makes iwn useless until kldunload/load of if_iwn Date: Tue, 12 Apr 2016 21:28:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.21 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: Tue, 12 Apr 2016 21:28:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208758 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|'service netif restart' not |'service netif restart' |sufficient for picking a |makes iwn useless until |new ssid |kldunload/load of if_iwn --- Comment #1 from Hiren Panchasara --- A few observations: 1) if a network/ssid goes away, iwn connects to the next available one with= out trouble. 2) wpa_cli reassoc - works perfectly as jhb suggested Problem occurs when I start up my phone hotspot (which has higher priority = in wpa_supplicant.conf) and try to associate with it via 'service netif restar= t' as I used to.=20 Actually, after doing 'service netif restart' iwn doesn't associate with anything. Which is the actual bug. # ifconfig -v wlan0 list scan returns nothing. # ifconfig -v wlan0 wlan0: flags=3D8803 metric 0 mtu 1500 ether a0:88:b4:f1:65:78 nd6 options=3D29 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid "" channel 1 (2412 MHz 11g) bssid 00:00:00:00:00:00 regdomain 0 country US anywhere -ecm authmode WPA1+WPA2/802.11i -wps -tsn privacy MIXED deftxkey UNDEF powersavemode OFF powersavesleep = 100 txpower 11 txpowmax 50.0 -dotd rtsthreshold 2346 fragthreshold 2346 bmiss 10 11a ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6 11b ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6 11g ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6 turboA ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6 turboG ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6 sturbo ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6 11na ucast NONE mgmt 12 MCS mcast 12 MCS maxretry 6 11ng ucast NONE mgmt 2 MCS mcast 2 MCS maxretry 6 half ucast NONE mgmt 3 Mb/s mcast 3 Mb/s maxretry 6 quarter ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6 scanvalid 60 -bgscan bgscanintvl 300 bgscanidle 250 roam:11a rssi 7dBm rate 12 Mb/s roam:11b rssi 7dBm rate 1 Mb/s roam:11g rssi 7dBm rate 5 Mb/s roam:turboA rssi 7dBm rate 12 Mb/s roam:turboG rssi 7dBm rate 12 Mb/s roam:sturbo rssi 7dBm rate 12 Mb/s roam:11na rssi 7dBm MCS 1=20=20=20=20 roam:11ng rssi 7dBm MCS 1=20=20=20=20 roam:half rssi 7dBm rate 6 Mb/s roam:quarter rssi 7dBm rate 3 Mb/s -pureg protmode CTS ht htcompat ampdu ampdulimit 8k ampdudensity NA -amsdutx amsdurx shortgi htprotmode RTSCTS -puren -smps -rifs wme -burst -dwds roaming MANUAL bintval 0 AC_BE cwmin 4 cwmax 10 aifs 3 txopLimit 0 -acm ack cwmin 4 cwmax 10 aifs 3 txopLimit 0 -acm AC_BK cwmin 4 cwmax 10 aifs 7 txopLimit 0 -acm ack cwmin 4 cwmax 10 aifs 7 txopLimit 0 -acm AC_VI cwmin 3 cwmax 4 aifs 2 txopLimit 94 -acm ack cwmin 3 cwmax 4 aifs 2 txopLimit 94 -acm AC_VO cwmin 2 cwmax 3 aifs 2 txopLimit 47 -acm ack cwmin 2 cwmax 3 aifs 2 txopLimit 47 -acm groups: wlan=20 Sometimes (not always) on 'service netif restart' iwn crashes: ifa_maintain_loopback_route: deletion failed for interface lo0: 48 wlan0: Ethernet address: a0:88:b4:f1:65:78 iwn0: iwn_read_firmware: ucode rev=3D0x12a80601 iwn0: iwn_intr: fatal firmware error firmware error log: error type =3D "UNKNOWN" (0x00002776) program counter =3D 0x00008AD0 source line =3D 0x00000067 error data =3D 0x0901008000000002 branch link =3D 0x00008ABE00008ABE interrupt link =3D 0x0000D6BE00000000 time =3D 26954 driver status: tx ring 0: qid=3D0 cur=3D0 queued=3D0=20=20 tx ring 1: qid=3D1 cur=3D0 queued=3D0=20=20 tx ring 2: qid=3D2 cur=3D0 queued=3D0=20=20 tx ring 3: qid=3D3 cur=3D0 queued=3D0=20=20 tx ring 4: qid=3D4 cur=3D0 queued=3D0=20=20 tx ring 5: qid=3D5 cur=3D0 queued=3D0=20=20 tx ring 6: qid=3D6 cur=3D0 queued=3D0=20=20 tx ring 7: qid=3D7 cur=3D0 queued=3D0=20=20 tx ring 8: qid=3D8 cur=3D0 queued=3D0=20=20 tx ring 9: qid=3D9 cur=3D3 queued=3D0=20=20 tx ring 10: qid=3D10 cur=3D0 queued=3D0=20=20 tx ring 11: qid=3D11 cur=3D0 queued=3D0=20=20 tx ring 12: qid=3D12 cur=3D0 queued=3D0=20=20 tx ring 13: qid=3D13 cur=3D0 queued=3D0=20=20 tx ring 14: qid=3D14 cur=3D0 queued=3D0=20=20 tx ring 15: qid=3D15 cur=3D0 queued=3D0=20=20 tx ring 16: qid=3D16 cur=3D0 queued=3D0=20=20 tx ring 17: qid=3D17 cur=3D0 queued=3D0=20=20 tx ring 18: qid=3D18 cur=3D0 queued=3D0=20=20 tx ring 19: qid=3D19 cur=3D0 queued=3D0=20=20 rx ring: cur=3D1 iwn0: iwn_panicked: controller panicked, iv_state =3D 0; restarting iwn0: iwn5000_post_alive: could not configure WiMAX coexistence, error 35 iwn0: iwn_init_locked: could not initialize hardware, error 35 After this, only way to revive iwn is=20 # kldunload if_iwn; kldload if_iwn --=20 You are receiving this mail because: You are the assignee for the bug.=