Page 1 of 1

Shutting down the wlan0 (Archer T1U) crashes system?

Posted: Sun Oct 15, 2017 6:35 pm
by shusain93
Okay, let me preface by saying I am not a complete fool and shutting down the active interface. I am actually connected over ethernet and have two additional wireless interfaces. This is my network interface list. Note that the internal wifi is wlan1

Code: Select all

    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.0.104  netmask 255.255.255.0  broadcast 192.168.0.255
            inet6 fe80::d0e7:5d7f:592c:9dca  prefixlen 64  scopeid 0x20<link>
            inet6 fd13:2005:3170:0:80df:72b9:f9c0:d068  prefixlen 64  scopeid 
    
    wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
            unspec 18-D6-C7-11-F1-F8-30-30-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)
            RX packets 1242  bytes 345953 (337.8 KiB)
            RX errors 0  dropped 96  overruns 0  frame 0
            TX packets 506  bytes 49216 (48.0 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    wlan1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
            ether b8:27:eb:af:6b:16  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
wlan0 is an Archer T1U USB using MrEngman's driver script. When I call

Code: Select all

ifconfig wlan0 down
I see

Code: Select all

==>mt7610u_chip_onoff(): OnOff:0, Reset= 0, pAd->WlanFunCtrl:0xff000003, Reg-WlanFunCtrl=0xff000003
in syslog. dmesg has this in the log:

Code: Select all

[   59.975008] ERROR!!!
[   59.975018] MlmeEnqueueForRecv: fRTMP_ADAPTER_HALT_IN_PROGRESS
[   59.984370] ==>mt7610u_chip_onoff(): OnOff:0, Reset= 0, pAd->WlanFunCtrl:0xff000003, Reg-WlanFunCtrl=0xff000003
I am running

Code: Select all

4.9.56-v7+
however this was an issue on previous kernel versions too. Same issue on the 0w and the 3.

When the device crashes (goes offline, stops responding to ping, running scripts halt) the green disk activity light and the power light are both solidly on. After a while the green light goes out and the Pi just straight up overheats. Smells like a kernel panic but the "halt and catch fire" is really not helpful. Anyone know of any good cheap 5.8GHz AC adapters (with 80MHz channel width support?) that actually support raspbian? The T1U was $15 but unfortunately the drivers don't work well as you can tell.