Mt7628 kernel crash

root@LEDE:/# [ 4201.056660] ------------[ cut here ]------------                
[ 4201.065938] WARNING: CPU: 0 PID: 36 at /home/ivan/workspace/MT7628-LEDE/buil)
[ 4201.103837] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_genericn
[ 4201.231977] CPU: 0 PID: 36 Comm: kworker/u2:2 Not tainted 4.4.50 #0          
[ 4201.244406] Workqueue: phy0 mt7603_mac_work [mt7603e]                        
[ 4201.254414] Stack : 81803410 818aba98 00000088 8004ad64 818eaac4 8038ad23 804
          8034f6ec 818c9d64 80380000 80048cd0 00000088 8004ad64 8032cf54 8038000
          00000003 818c9d64 80380000 80038ce0 00000088 818c9d9c 000000c1 0000000
          00000001 00000000 80ca508c 81b49500 81b49400 30796870 00000000 0000000
          00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000000
[ 4201.324891] Call Trace:                                                      
[ 4201.329748] [<80014840>] show_stack+0x50/0x84                                
[ 4201.338393] [<80025354>] warn_slowpath_common+0xa0/0xd0                      
[ 4201.348750] [<8002540c>] warn_slowpath_null+0x18/0x24                        
[ 4201.358777] [<80ca5294>] mt7603_mac_work+0x208/0x274 [mt7603e]               
[ 4201.370356] [<80036bf8>] process_one_work+0x1f8/0x334                        
[ 4201.380371] [<80037a0c>] worker_thread+0x2b0/0x404                           
[ 4201.389869] [<8003bdc4>] kthread+0xd8/0xec                                   
[ 4201.397991] [<80004478>] ret_from_kernel_thread+0x14/0x1c                    
[ 4201.408682]                                                                  
[ 4201.411623] ---[ end trace 9f1a0520a9a4ef30 ]---

@nbd I know this is fixed in latest build but i have to use 17.02 source only. Can you please provide the patch details with which you guys fixed this so that i can fix it without changing my source.

Only updating the mt76 driver should be fine.

@easyteacher Thanks for your quick response. Can you please point me to the latest/correct mt76 driver source(git version/tag) which is compatible with lede-17.01.2 SDK ?

It's for mt7628. You can find more in the download page.

Tutorial is here:

You will need to fetch the latest Makefile of mt76 from here:

Thank you so much for your help. I will try this out and will post my observations in the thread.

Hi, in my current sdk,i replaced makefile of mt76 with the one you shared. And tried compiling the sdk, but it got failed. Attached are the logs. I am not getting what the exact error is. With my old makefile it is compiling properly but after updating makefile, it is failing. Is it because of compatibility issues? Can you please take a look at the logs and guide me where i am missing it.

Logs -

Sadly it means some header files are not available in kernel 4.4. So the only way is to use the older version, but the bug may not be fixed.

Thanks for the information. Please suggest how to go forward to have the stable wifi subsystem for SKW92_EVB board. Do you want us to bump up the LEDE version(17.01.4) or we have to go for any other openwrt distribution or do we need to port the driver??

Can you please suggest on this issue.