I have my NAS mounted on linux using nfs. No custom options , just 192.168.1.2:/nfs/Storage /mnt/storage 9260 works perfectly for downloads with a patch from bug 198351. However it almost immediately hangs my whole OS (UI, keyboard) if I'm trying to upload something.Upload speeds drops to someting 0.5MB/sec Logs giving crash stack trace with "Microcode SW error detected. Restarting 0x101." Attaching output of journalctl and dmesg with Microcode SW error. Also I sniffed network output while upload process. Here is a link to ~70MB archive: https://drive.google.com/open?id=1unH32-e5EAB6un_dGdtsfOFy6HzxJqRQ
Created attachment 274939 [details] dmesg output
Created attachment 274941 [details] journalctl output
my AP is Netgear R7800. For sniffing I configured it to work with no security on 80MHZ. But it crashes and hangs the same way on 160Mhz as well.
Does it reproduce easily? Does the FW crash always come after the WARNING in iwl_mvm_tx_tso? I am very surprised to see this WARNING... Can you try to disable TSO?
Yes, I will collect several crashes today to see whether its comes after warning. Just to confirm will it be enough to do something like ethtool -K eth0 tso off to disable tso?
(In reply to sergeidanilov from comment #5) > Yes, > I will collect several crashes today to see whether its comes after warning. thanks > > Just to confirm will it be enough to do something like > ethtool -K eth0 tso off > to disable tso? Hm... on my system it doesn't work.. :( The easiest and safest is probably this: diff --git a/drivers/net/wireless/intel/iwlwifi/cfg/9000.c b/drivers/net/wireless/intel/iwlwifi/cfg/9000.c index 83d47eb92724..7ef3572ccc26 100644 --- a/drivers/net/wireless/intel/iwlwifi/cfg/9000.c +++ b/drivers/net/wireless/intel/iwlwifi/cfg/9000.c @@ -145,7 +145,7 @@ static const struct iwl_tt_params iwl9000_tt_params = { .dccm2_len = IWL9000_DCCM2_LEN, \ .smem_offset = IWL9000_SMEM_OFFSET, \ .smem_len = IWL9000_SMEM_LEN, \ - .features = IWL_TX_CSUM_NETIF_FLAGS | NETIF_F_RXCSUM, \ + .features = NETIF_F_RXCSUM, \ .thermal_params = &iwl9000_tt_params, \ .apmg_not_supported = true, \ .mq_rx_supported = true, \
Emmanuel, Yes, crash always happens after WARNING in iwl_mvm_tx_tso. I attached three runs with consistent_crash_after_warning.tar.xz After disabling TSO its working just fine! attached logs_without_tso.tar.xz
Created attachment 274955 [details] consistent_crash_after_warning
Created attachment 274957 [details] logs_without_tso
Can you please restore the original code and do (as root of course): echo 1800 > /sys/kernel/debug/iwlwifi/0000\:02\:00.0/iwlmvm/max_amsdu_len Thanks.
Also, does this problem happen with iperf? It only under load with bfs?
Created attachment 274975 [details] crash_with_max_amsdu_len_1800.tar.xz
I tried to rep
I tried to reproduce it with iperf and also with cifs and ftp. It works just fine with any of them It looks like problem narrows to nfs. it's consistent with nfs and immediately happens even with slow network speeds like 1MB/sec and small files. After I did echo 1800 > /sys/kernel/debug/iwlwifi/0000\:03\:00.0/iwlmvm/max_amsdu_len crash still happens. I collected new logs to crash_with_max_amsdu_len_1800.tar.xz
Ok.... Interesting... Thanks. I am on vacation right now, but I'll try to think on what can be causing this issue.
I got back to this. I could reproduce. WIP.
Created attachment 275161 [details] fix candidate please test the patch attached.
Created attachment 275163 [details] fix candidate new version.
FWIW: I could check that the problem doesn't reproduce with the second version of the fix. Please confirm that it fixes the problem for you as well Waiting for your input before closing the bug.
I confirm patch works. Thanks Emmanuel!