[Kernel-packages] [Bug 1938013] Re: 4.15.0-151 is freezing various CPUs

2021-07-28 Thread Daniel Ruf
In my case it froze everytime "wlp4s0: WPA: Group rekeying completed
with ..." appeared in the logs or if I manually connected to the wifi.

Disabled ipv6, didn't crash so often anymore and not on each manual
connect anymore.

But still had some freezes (especially if the CPU load changed
abruptly), until I switched to the 147 kernel.

In logs I saw the kernel page error and also that the CPU throttled
shortly before the crashes. Not sure if this helps to pinpoint the exact
cause.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1938013

Title:
  4.15.0-151 is freezing various CPUs

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Bionic:
  Confirmed

Bug description:
  From: https://askubuntu.com/questions/1353859/ubuntu-18-04-05-lts-
  desktop-hangs-with-since-kernel-4-15-0-151-and-systemd-237-3

  Several crashes in /var/crash, here's the last one:-

  ProblemType: KernelOops
  Annotation: Your system might become unstable now and might need to be 
restarted.
  Date: Fri Jul 23 18:10:54 2021
  Failure: oops
  OopsText:
   BUG: Bad rss-counter state mm:c098a229 idx:2 val:-1
   usblp0: removed
   usblp 1-5:1.0: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 
vid 0x04F9 pid 0x02EC
   <44>[   18.329026] systemd-journald[358]: File 
/var/log/journal/b022dca21fd4480baeeb84f47ab439d3/user-1000.journal corrupted 
or uncleanly shut down, renaming and replacing.
   vboxdrv: loading out-of-tree module taints kernel.
   vboxdrv: module verification failed: signature and/or required key missing - 
tainting kernel
   vboxdrv: Found 8 processor cores
   vboxdrv: TSC mode is Invariant, tentative frequency 2303999142 Hz
   vboxdrv: Successfully loaded version 6.1.24 r145767 (interface 0x0030)
   VBoxNetFlt: Successfully started.
   VBoxNetAdp: Successfully started.
   Bluetooth: RFCOMM TTY layer initialized
   Bluetooth: RFCOMM socket layer initialized
   Bluetooth: RFCOMM ver 1.11
   rfkill: input handler disabled
   [UFW BLOCK] IN=enp3s0f1 OUT= MAC=01:00:5e:00:00:01:80:20:da:95:bc:56:08:00 
SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
   [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:01:80:20:da:95:bc:56:08:00 
SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
   [UFW BLOCK] IN=enp3s0f1 OUT= MAC=01:00:5e:00:00:01:80:20:da:95:bc:56:08:00 
SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
   [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:01:80:20:da:95:bc:56:08:00 
SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
   [UFW BLOCK] IN=enp3s0f1 OUT= MAC=01:00:5e:00:00:01:80:20:da:95:bc:56:08:00 
SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
   [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:01:80:20:da:95:bc:56:08:00 
SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
   
  Package: linux-image-4.15.0-151-generic 4.15.0-151.157
  SourcePackage: linux
  Tags: kernel-oops
  Uname: Linux 4.15.0-151-generic x86_64
  
---
  The system is a laptop from Entroware based on Clevo and has 8 logical CPUs:-
  Architecture:x86_64
  CPU op-mode(s):  32-bit, 64-bit
  Byte Order:  Little Endian
  CPU(s):  8
  On-line CPU(s) list: 0-7
  Thread(s) per core:  2
  Core(s) per socket:  4
  Socket(s):   1
  NUMA node(s):1
  Vendor ID:   GenuineIntel
  CPU family:  6
  Model:   158
  Model name:  Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
  Stepping:10
  CPU MHz: 2000.295
  CPU max MHz: 4000.
  CPU min MHz: 800.
  BogoMIPS:4599.93
  Virtualisation:  VT-x
  L1d cache:   32K
  L1i cache:   32K
  L2 cache:256K
  L3 cache:8192K
  NUMA node0 CPU(s):   0-7
  Flags:   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx 
pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl 
xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx 
est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt 
tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch 
cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi 
flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx 
rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida 
arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d

  USB Config:-
  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 001 Device 004: ID 5986:2110 Acer, Inc 
  Bus 001 

[Kernel-packages] [Bug 1938013] Re: 4.15.0-151 is freezing intel 5th gen ThinkPad (T450)

2021-07-26 Thread Daniel Ruf
Probably same here.

Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
Ubuntu 18
previous kernel was -147, issues starting happening with -151


~ cat /var/log/apt/history.log | grep -B 3 -A 3 "linux-image-4.15.0-151"

 14:51:37

Start-Date: 2021-07-22  08:30:19
Commandline: /usr/bin/unattended-upgrade
Install: linux-headers-4.15.0-151-generic:amd64 (4.15.0-151.157, automatic), 
linux-modules-4.15.0-151-generic:amd64 (4.15.0-151.157, automatic), 
linux-image-4.15.0-151-generic:amd64 (4.15.0-151.157, automatic), 
linux-modules-extra-4.15.0-151-generic:amd64 (4.15.0-151.157, automatic), 
linux-headers-4.15.0-151:amd64 (4.15.0-151.157, automatic)
Upgrade: linux-headers-generic:amd64 (4.15.0.147.134, 4.15.0.151.139), 
linux-image-generic:amd64 (4.15.0.147.134, 4.15.0.151.139), linux-generic:amd64 
(4.15.0.147.134, 4.15.0.151.139)
End-Date: 2021-07-22  08:31:39


Since then wifi (ipv6) also produced freezes. I had to disable the ipv6 module 
in grub and then I had no more freezes when the wifi reconnected or if I 
manually connected to it. But still there were freezes / crashes and in syslog 
there were only a few of these rss error entries.

/var/crash contains dumps from the timestamps, when the latest freezes
happened today so it seems to be definitely caused by the kernel

the freezes and crashes can also lead to other symptoms like a broken
filesystem in some cases

ps: adding special characters in the comment textarea causes a server
error here (UnicodeEncodeError) for example the symbol from the fish
shell

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1938013

Title:
  4.15.0-151 is freezing intel 5th gen ThinkPad (T450)

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Bionic:
  Confirmed

Bug description:
  From: https://askubuntu.com/questions/1353859/ubuntu-18-04-05-lts-
  desktop-hangs-with-since-kernel-4-15-0-151-and-systemd-237-3

  Several crashes in /var/crash, here's the last one:-

  ProblemType: KernelOops
  Annotation: Your system might become unstable now and might need to be 
restarted.
  Date: Fri Jul 23 18:10:54 2021
  Failure: oops
  OopsText:
   BUG: Bad rss-counter state mm:c098a229 idx:2 val:-1
   usblp0: removed
   usblp 1-5:1.0: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 
vid 0x04F9 pid 0x02EC
   <44>[   18.329026] systemd-journald[358]: File 
/var/log/journal/b022dca21fd4480baeeb84f47ab439d3/user-1000.journal corrupted 
or uncleanly shut down, renaming and replacing.
   vboxdrv: loading out-of-tree module taints kernel.
   vboxdrv: module verification failed: signature and/or required key missing - 
tainting kernel
   vboxdrv: Found 8 processor cores
   vboxdrv: TSC mode is Invariant, tentative frequency 2303999142 Hz
   vboxdrv: Successfully loaded version 6.1.24 r145767 (interface 0x0030)
   VBoxNetFlt: Successfully started.
   VBoxNetAdp: Successfully started.
   Bluetooth: RFCOMM TTY layer initialized
   Bluetooth: RFCOMM socket layer initialized
   Bluetooth: RFCOMM ver 1.11
   rfkill: input handler disabled
   [UFW BLOCK] IN=enp3s0f1 OUT= MAC=01:00:5e:00:00:01:80:20:da:95:bc:56:08:00 
SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
   [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:01:80:20:da:95:bc:56:08:00 
SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
   [UFW BLOCK] IN=enp3s0f1 OUT= MAC=01:00:5e:00:00:01:80:20:da:95:bc:56:08:00 
SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
   [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:01:80:20:da:95:bc:56:08:00 
SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
   [UFW BLOCK] IN=enp3s0f1 OUT= MAC=01:00:5e:00:00:01:80:20:da:95:bc:56:08:00 
SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
   [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:01:80:20:da:95:bc:56:08:00 
SRC=192.168.1.254 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
   
  Package: linux-image-4.15.0-151-generic 4.15.0-151.157
  SourcePackage: linux
  Tags: kernel-oops
  Uname: Linux 4.15.0-151-generic x86_64
  
---
  The system is a laptop from Entroware based on Clevo and has 8 logical CPUs:-
  Architecture:x86_64
  CPU op-mode(s):  32-bit, 64-bit
  Byte Order:  Little Endian
  CPU(s):  8
  On-line CPU(s) list: 0-7
  Thread(s) per core:  2
  Core(s) per socket:  4
  Socket(s):   1
  NUMA node(s):1
  Vendor ID:   GenuineIntel
  CPU family:  6
  Model:   158
  Model name:  Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
  Stepping:10
  CPU MHz: