Site Tools


linux:general:troubleshooting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
linux:general:troubleshooting [2019/01/24 17:01] lunetikklinux:general:troubleshooting [2019/10/07 18:06] lunetikk
Line 166: Line 166:
 \\ \\
  
-==== Cant mount Windowsshares (CIFS) on Linux ====+==== Bug: soft lockup in messages ====
  
 === Description === === Description ===
  
-Mounting your share leads to the following error+You can find multiple "Bug: soft lockup" entries in /var/log/messages or journalctl
  
 <code> <code>
-mount error(9)Bad file descriptor+May 25 07:23:59 XXXXXXX kernel: [13445315.881356] BUG: soft lockup - CPU#16 stuck for 23s! [yyyyyyy:81602]
 </code> </code>
  
 === Reason ===  === Reason === 
  
-Microsoft released an Update (January 8, 2019 (Monthly Rollup)) which broke smb2.0 and 2.1 connections.\\+>A 'soft lockup' is defined as a bug that causes the kernel to loop in kernel mode for more than 20 seconds without giving other tasks a chance to run. The watchdog daemon will send an non-maskable interrupt (NMIto all CPUs in the system who, in turn, print the stack traces of their currently running tasks 
 +-SUSE KB [[https://www.suse.com/support/kb/doc/?id=7017652|7017652]]
  
-The issue affect Windows 7 and Windows Server 2008 (R2).+=== Fix === 
  
-[[https://www.theregister.co.uk/2019/01/09/windows_7_network_broken/|https://www.theregister.co.uk/2019/01/09/windows_7_network_broken/]]+__Solution 1:__
  
-[[https://serverfault.com/questions/948263/kb-4480970-and-or-kb-4480960-breaks-smb2-connections-to-windows-7-shares|https://serverfault.com/questions/948263/kb-4480970-and-or-kb-4480960-breaks-smb2-connections-to-windows-7-shares]]+Restart your system and/ or decrease your CPU load.
  
-=== Fix === +__Solution 2:__
  
-Microsoft released a fix to fix their update... m( +Increase the time (default 10) before soft lockups are fired.
-<code> +
-update-grub +
-This update resolves the issue where local users who are part of the local “Administrators“ group may not be able to remotely access shares on Windows 7 SP1 and Windows Server 2008 R2 machines after installing the January 8th, 2019 security updates. This does not affect domain accounts in the local "Administrators" group. +
-</code>+
  
-Download KB4487345 and install the fix: [[http://www.catalog.update.microsoft.com/Search.aspx?q=KB4487345|KB4487345]]+<code bash >echo 20 > /proc/sys/kernel/watchdog_thresh</code>  
 +or 
 +<code bash> 
 +echo "kernel.watchdog_thresh=20" > /etc/sysctl.d/99-watchdog_thresh.conf 
 + 
 +sysctl -p  /etc/sysctl.d/99-watchdog_thresh.conf 
 +</code>
 \\ \\
 \\ \\
  
linux/general/troubleshooting.txt · Last modified: 2020/12/03 15:12 by lunetikk