[Kernel-packages] [Bug 1789519] Re: Low Memory corruption logged in syslog

2018-09-05 Thread Tim Newby
** Attachment added: "Makefile"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1789519/+attachment/5185076/+files/Makefile

-- 
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/1789519

Title:
  Low Memory corruption logged in syslog

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Dell Inspiron 3847 Desktop running Ubuntu 18.04.1 LTS
  kernel: 4.15.0-33-generic

  Corrupted low memory messages logged in syslog

  Can be reproduced with script:

  #!/bin/bash

  # log to syslog...
  logger -st low_mem_corruption.sh "Checking for low memory corruption with 
kernel $(uname -rv)..."

  # this will cause syslog messages on affected kernels...
  cat /proc/i8k

  logger -st low_mem_corruption.sh "Please wait for 90 secs to ensure low 
memory test has completed..."
  # sleep for 1.5 mins - enough time for mem check every 60 secs...
  sleep 90
  logger -st low_mem_corruption.sh "Check for low memory corruption done! Was 
anything logged in syslog?"

  
  Kernels tested:
  Kernel 4.15.0-29-generic - fine
  Kernel 4.15.0-30-generic - fine
  Kernel 4.15.0-30-generic - Never installed, do not know - did it exist?
  Kernel 4.15.0-32-generic - Low Memory corruption!
  Kernel 4.15.0-33-generic - Low Memory corruption!

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-33-generic 4.15.0-33.36
  ProcVersionSignature: Ubuntu 4.15.0-33.36-generic 4.15.18
  Uname: Linux 4.15.0-33-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  bossman1316 F pulseaudio
   /dev/snd/pcmC1D0p:   bossman1316 F...m pulseaudio
   /dev/snd/controlC1:  bossman1316 F pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Aug 28 16:56:01 2018
  HibernationDevice: RESUME=UUID=1c065a24-2acf-43dc-bf3d-1382f3bbf0ac
  InstallationDate: Installed on 2018-05-12 (108 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  MachineType: Dell Inc. Inspiron 3847
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-33-generic 
root=UUID=a5dec663-366e-4ecc-a17a-ce4219c54897 ro quiet loglevel=3 splash
  RelatedPackageVersions:
   linux-restricted-modules-4.15.0-33-generic N/A
   linux-backports-modules-4.15.0-33-generic  N/A
   linux-firmware 1.173.1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/10/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A10
  dmi.board.name: 088DT1
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A01
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA10:bd05/10/2018:svnDellInc.:pnInspiron3847:pvr:rvnDellInc.:rn088DT1:rvrA01:cvnDellInc.:ct3:cvr:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: Inspiron 3847
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1789519/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1789519] Re: Low Memory corruption logged in syslog

2018-09-05 Thread Tim Newby
** Attachment added: "dell-smm-hwmon.c"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1789519/+attachment/5185075/+files/dell-smm-hwmon.c

-- 
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/1789519

Title:
  Low Memory corruption logged in syslog

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Dell Inspiron 3847 Desktop running Ubuntu 18.04.1 LTS
  kernel: 4.15.0-33-generic

  Corrupted low memory messages logged in syslog

  Can be reproduced with script:

  #!/bin/bash

  # log to syslog...
  logger -st low_mem_corruption.sh "Checking for low memory corruption with 
kernel $(uname -rv)..."

  # this will cause syslog messages on affected kernels...
  cat /proc/i8k

  logger -st low_mem_corruption.sh "Please wait for 90 secs to ensure low 
memory test has completed..."
  # sleep for 1.5 mins - enough time for mem check every 60 secs...
  sleep 90
  logger -st low_mem_corruption.sh "Check for low memory corruption done! Was 
anything logged in syslog?"

  
  Kernels tested:
  Kernel 4.15.0-29-generic - fine
  Kernel 4.15.0-30-generic - fine
  Kernel 4.15.0-30-generic - Never installed, do not know - did it exist?
  Kernel 4.15.0-32-generic - Low Memory corruption!
  Kernel 4.15.0-33-generic - Low Memory corruption!

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-33-generic 4.15.0-33.36
  ProcVersionSignature: Ubuntu 4.15.0-33.36-generic 4.15.18
  Uname: Linux 4.15.0-33-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  bossman1316 F pulseaudio
   /dev/snd/pcmC1D0p:   bossman1316 F...m pulseaudio
   /dev/snd/controlC1:  bossman1316 F pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Aug 28 16:56:01 2018
  HibernationDevice: RESUME=UUID=1c065a24-2acf-43dc-bf3d-1382f3bbf0ac
  InstallationDate: Installed on 2018-05-12 (108 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  MachineType: Dell Inc. Inspiron 3847
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-33-generic 
root=UUID=a5dec663-366e-4ecc-a17a-ce4219c54897 ro quiet loglevel=3 splash
  RelatedPackageVersions:
   linux-restricted-modules-4.15.0-33-generic N/A
   linux-backports-modules-4.15.0-33-generic  N/A
   linux-firmware 1.173.1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/10/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A10
  dmi.board.name: 088DT1
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A01
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA10:bd05/10/2018:svnDellInc.:pnInspiron3847:pvr:rvnDellInc.:rn088DT1:rvrA01:cvnDellInc.:ct3:cvr:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: Inspiron 3847
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1789519/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1789519] Re: Low Memory corruption logged in syslog

2018-09-05 Thread Tim Newby
** Attachment added: "low_mem_corruption.sh"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1789519/+attachment/5185077/+files/low_mem_corruption.sh

-- 
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/1789519

Title:
  Low Memory corruption logged in syslog

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Dell Inspiron 3847 Desktop running Ubuntu 18.04.1 LTS
  kernel: 4.15.0-33-generic

  Corrupted low memory messages logged in syslog

  Can be reproduced with script:

  #!/bin/bash

  # log to syslog...
  logger -st low_mem_corruption.sh "Checking for low memory corruption with 
kernel $(uname -rv)..."

  # this will cause syslog messages on affected kernels...
  cat /proc/i8k

  logger -st low_mem_corruption.sh "Please wait for 90 secs to ensure low 
memory test has completed..."
  # sleep for 1.5 mins - enough time for mem check every 60 secs...
  sleep 90
  logger -st low_mem_corruption.sh "Check for low memory corruption done! Was 
anything logged in syslog?"

  
  Kernels tested:
  Kernel 4.15.0-29-generic - fine
  Kernel 4.15.0-30-generic - fine
  Kernel 4.15.0-30-generic - Never installed, do not know - did it exist?
  Kernel 4.15.0-32-generic - Low Memory corruption!
  Kernel 4.15.0-33-generic - Low Memory corruption!

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-33-generic 4.15.0-33.36
  ProcVersionSignature: Ubuntu 4.15.0-33.36-generic 4.15.18
  Uname: Linux 4.15.0-33-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  bossman1316 F pulseaudio
   /dev/snd/pcmC1D0p:   bossman1316 F...m pulseaudio
   /dev/snd/controlC1:  bossman1316 F pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Aug 28 16:56:01 2018
  HibernationDevice: RESUME=UUID=1c065a24-2acf-43dc-bf3d-1382f3bbf0ac
  InstallationDate: Installed on 2018-05-12 (108 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  MachineType: Dell Inc. Inspiron 3847
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-33-generic 
root=UUID=a5dec663-366e-4ecc-a17a-ce4219c54897 ro quiet loglevel=3 splash
  RelatedPackageVersions:
   linux-restricted-modules-4.15.0-33-generic N/A
   linux-backports-modules-4.15.0-33-generic  N/A
   linux-firmware 1.173.1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/10/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A10
  dmi.board.name: 088DT1
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A01
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA10:bd05/10/2018:svnDellInc.:pnInspiron3847:pvr:rvnDellInc.:rn088DT1:rvrA01:cvnDellInc.:ct3:cvr:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: Inspiron 3847
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1789519/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1789519] Re: Low Memory corruption logged in syslog

2018-09-05 Thread Tim Newby
Since I reported this issue I have tried to debug this problem and found
that the function call to 'i8k_get_fn_status' in the kernel module 
'dell-smm-hwmon'
(code at 
https://github.com/torvalds/linux/blob/master/drivers/hwmon/dell-smm-hwmon.c)
is what causes low memory corruption on Dell Inspiron 3847.

This affects the procfs '/proc/i8k' interface only when kernel compiled
with 'CONFIG_I8K'

I have downloaded kernel module from
https://github.com/torvalds/linux/blob/master/drivers/hwmon/dell-smm-hwmon.c
and modified/compiled to debug/test this issue with possible fixes.
A possible fix involves disallowing 'i8k_get_fn_status' calls for affected 
machines
using a blacklist.

I have attached modified kernel module code and makefile used as well as script 
and
script output to check problem once modified module is loaded.
Attachments:
dell-smm-hwmon.c
Makefile
low_mem_corruption.sh
script_output.txt

I suspect this issue may affect other Dell machines (not just Inspiron 3847) ??
(see https://bugs.launchpad.net/i8kutils/+bug/1179282/comments/41)

During the process of figuring out the likely problem I have found that
the Dell SMM/BIOS seems to be buggy on various machines!

Testing of modified module has been done under Ubuntu 18.04.1 LTS 
4.15.0-29-generic,
and 4.15.0-33-generic kernels
and Linux Mint Tara 19 (4.15.0-29-generic, 4.15.0-33-generic kernels)
and Linux Mint Tara 17.3 (4.4.0-134-generic, old 3.19.0-32-generic kernel)
Output of tests in in attached file 'script_output.txt'.

The low memory corruption problem can be reproduced on the
Dell Inspiron 3847 running:
Ubuntu 18.04.1 LTS, 4.15.0-32-generic
Ubuntu 18.04.1 LTS, 4.15.0-33-generic
Ubuntu 18.04.1 LTS, 4.19-rc1 upstream kernel (4.19.0-041900rc1)
Linux Mint 19 Tara, 4.15.0-32-generic
Linux Mint 19 Tara, 4.15.0-33-generic
Linux Mint 17.3, OLD 3.19.0-32-generic kernel
Linux Mint 17.3, 4.4.0-134-generic kernel

Low memory corruption problem DOES NOT OCCUR on:
Ubuntu 18.04.1 LTS, 4.15.0-29-generic
Ubuntu 18.04.1 LTS, 4.15.0-30-generic
Linux Mint 19 Tara, 4.15.0-29-generic

I have no idea why there is different behaviour running under the different 
kernels
noted above. Does this imply the problem may be in changes to the kernel?


I am new to kernel modules and this is my first attempt at debugging one
but I hope the info here is useful in fixing the problem and can be passed
on to the maintainer.

from https://github.com/torvalds/linux/blob/master/MAINTAINERS
DELL LAPTOP SMM DRIVER
M:  Pali Rohár 
S:  Maintained
F: drivers/hwmon/dell-smm-hwmon.c

** Attachment added: "script_output.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1789519/+attachment/5185074/+files/script_output.txt

-- 
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/1789519

Title:
  Low Memory corruption logged in syslog

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Dell Inspiron 3847 Desktop running Ubuntu 18.04.1 LTS
  kernel: 4.15.0-33-generic

  Corrupted low memory messages logged in syslog

  Can be reproduced with script:

  #!/bin/bash

  # log to syslog...
  logger -st low_mem_corruption.sh "Checking for low memory corruption with 
kernel $(uname -rv)..."

  # this will cause syslog messages on affected kernels...
  cat /proc/i8k

  logger -st low_mem_corruption.sh "Please wait for 90 secs to ensure low 
memory test has completed..."
  # sleep for 1.5 mins - enough time for mem check every 60 secs...
  sleep 90
  logger -st low_mem_corruption.sh "Check for low memory corruption done! Was 
anything logged in syslog?"

  
  Kernels tested:
  Kernel 4.15.0-29-generic - fine
  Kernel 4.15.0-30-generic - fine
  Kernel 4.15.0-30-generic - Never installed, do not know - did it exist?
  Kernel 4.15.0-32-generic - Low Memory corruption!
  Kernel 4.15.0-33-generic - Low Memory corruption!

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-33-generic 4.15.0-33.36
  ProcVersionSignature: Ubuntu 4.15.0-33.36-generic 4.15.18
  Uname: Linux 4.15.0-33-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  bossman1316 F pulseaudio
   /dev/snd/pcmC1D0p:   bossman1316 F...m pulseaudio
   /dev/snd/controlC1:  bossman1316 F pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Aug 28 16:56:01 2018
  HibernationDevice: RESUME=UUID=1c065a24-2acf-43dc-bf3d-1382f3bbf0ac
  InstallationDate: Installed on 2018-05-12 (108 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  MachineType: Dell Inc. Inspiron 3847
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  

[Kernel-packages] [Bug 1789519] Re: Low Memory corruption logged in syslog

2018-08-29 Thread Tim Newby
Tested the 4.19-rc1 upstream kernel (4.19.0-041900rc1)
and the issue still exists!

dmesg output showing "Memory corruption detected in low memory"
attached.


** Attachment added: "Low Memory Corruption - dmesg for kernel 4.19-rc1.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1789519/+attachment/5182330/+files/Low%20Memory%20Corruption%20-%20dmesg%20for%20kernel%204.19-rc1.txt

** Tags added: kernel-bug-exists-upstream

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
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/1789519

Title:
  Low Memory corruption logged in syslog

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Dell Inspiron 3847 Desktop running Ubuntu 18.04.1 LTS
  kernel: 4.15.0-33-generic

  Corrupted low memory messages logged in syslog

  Can be reproduced with script:

  #!/bin/bash

  # log to syslog...
  logger -st low_mem_corruption.sh "Checking for low memory corruption with 
kernel $(uname -rv)..."

  # this will cause syslog messages on affected kernels...
  cat /proc/i8k

  logger -st low_mem_corruption.sh "Please wait for 90 secs to ensure low 
memory test has completed..."
  # sleep for 1.5 mins - enough time for mem check every 60 secs...
  sleep 90
  logger -st low_mem_corruption.sh "Check for low memory corruption done! Was 
anything logged in syslog?"

  
  Kernels tested:
  Kernel 4.15.0-29-generic - fine
  Kernel 4.15.0-30-generic - fine
  Kernel 4.15.0-30-generic - Never installed, do not know - did it exist?
  Kernel 4.15.0-32-generic - Low Memory corruption!
  Kernel 4.15.0-33-generic - Low Memory corruption!

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-33-generic 4.15.0-33.36
  ProcVersionSignature: Ubuntu 4.15.0-33.36-generic 4.15.18
  Uname: Linux 4.15.0-33-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  bossman1316 F pulseaudio
   /dev/snd/pcmC1D0p:   bossman1316 F...m pulseaudio
   /dev/snd/controlC1:  bossman1316 F pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Aug 28 16:56:01 2018
  HibernationDevice: RESUME=UUID=1c065a24-2acf-43dc-bf3d-1382f3bbf0ac
  InstallationDate: Installed on 2018-05-12 (108 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  MachineType: Dell Inc. Inspiron 3847
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-33-generic 
root=UUID=a5dec663-366e-4ecc-a17a-ce4219c54897 ro quiet loglevel=3 splash
  RelatedPackageVersions:
   linux-restricted-modules-4.15.0-33-generic N/A
   linux-backports-modules-4.15.0-33-generic  N/A
   linux-firmware 1.173.1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/10/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A10
  dmi.board.name: 088DT1
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A01
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA10:bd05/10/2018:svnDellInc.:pnInspiron3847:pvr:rvnDellInc.:rn088DT1:rvrA01:cvnDellInc.:ct3:cvr:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: Inspiron 3847
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1789519/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1789519] Re: Low Memory corruption logged in syslog

2018-08-28 Thread Tim Newby
Further Details on Problem:

Typical syslog output:
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.424273] Corrupted low 
memory at a78dba88 (1000 phys) = 6110
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.424282] Corrupted low memory at 
d190a321 (1008 phys) = 1101c
... Many more Corrupted low memory lines ...
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.426877] Corrupted low memory at 
77c65d2a (2428 phys) = 205135322078796e
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.426881] Corrupted low memory at 
481794f1 (2430 phys) = 736569726553
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.426885] Corrupted low memory at 
46f2b1b0 (2448 phys) = 8000
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.426905] [ cut here 
]
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.426906] Memory corruption detected 
in low memory
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.426926] WARNING: CPU: 0 PID: 218 
at /build/linux-81MBYC/linux-4.15.0/arch/x86/kernel/check.c:142 
check_for_bios_corruption+0xab/0x100
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.426928] Modules linked in: 
nls_iso8859_1 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt 
nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 
nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype input_leds 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables 
nf_conntrack_netbios_ns snd_hda_codec_hdmi sch_fq_codel dcdbas dell_smm_hwmon 
intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm 
irqbypass crct10dif_pclmul snd_hda_codec_realtek crc32_pclmul 
snd_hda_codec_generic ghash_clmulni_intel snd_hda_intel pcbc snd_hda_codec arc4 
snd_hda_core snd_hwdep snd_pcm nf_conntrack_broadcast aesni_intel ath9k 
aes_x86_64 ath9k_common crypto_simd glue_helper cryptd intel_cstate ath9k_hw 
intel_rapl_perf ath snd_seq_midi snd_seq_midi_event mac80211
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427018]  snd_rawmidi snd_seq 
cfg80211 ath3k btusb btrtl btbcm btintel snd_seq_device lpc_ich snd_timer 
bluetooth snd ecdh_generic mei_me mei soundcore shpchp mac_hid parport_pc 
nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack libcrc32c ppdev iptable_filter 
lp parport ip_tables x_tables autofs4 hid_generic usbhid hid i915 i2c_algo_bit 
drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ahci drm r8169 
libahci mii video
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427090] CPU: 0 PID: 218 Comm: 
kworker/0:2 Not tainted 4.15.0-33-generic #36-Ubuntu
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427092] Hardware name: Dell Inc. 
Inspiron 3847/088DT1   , BIOS A10 05/10/2018
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427099] Workqueue: events 
check_corruption
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427108] RIP: 
0010:check_for_bios_corruption+0xab/0x100
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427110] RSP: 0018:b45cc1ee3e38 
EFLAGS: 00010282
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427114] RAX:  RBX: 
88470001 RCX: 0006
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427117] RDX: 0007 RSI: 
0092 RDI: 884a1fa16490
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427119] RBP: b45cc1ee3e68 R08: 
 R09: 05db
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427122] R10:  R11: 
aff5380d R12: 
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427124] R13: aff2d4f0 R14: 
0001 R15: 8000
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427129] FS:  
() GS:884a1fa0() knlGS:
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427131] CS:  0010 DS:  ES: 
 CR0: 80050033
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427134] CR2: 7f7e3b6a8008 CR3: 
0e80a004 CR4: 001606f0
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427137] Call Trace:
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427149]  check_corruption+0xe/0x40
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427155]  
process_one_work+0x1de/0x410
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427161]  worker_thread+0x32/0x410
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427167]  kthread+0x121/0x140
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427172]  ? 
process_one_work+0x410/0x410
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427178]  ? 
kthread_create_worker_on_cpu+0x70/0x70
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427185]  ? 
mm_account_pinned_pages.part.52+0x90/0x90
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427193]  ret_from_fork+0x35/0x40
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427196] Code: c4 08 5b 41 5c 41 5d 
41 5e 41 5f 5d c3 f3 c3 80 3d 10 31 5a 01 00 75 e6 48 c7 c7 70 3d 6c af c6 05 
00 31 5a 01 01 e8 35 f4 01 00 <0f> 0b eb cf 48 89 da 4c 01 fa 72 35 4c 89 c0 48 
2b 05 f7 d3 3d
Aug 28 16:48:34 Inspiron-3847 kernel: [   62.427279] ---[ end trace 

[Kernel-packages] [Bug 1789519] [NEW] Low Memory corruption logged in syslog

2018-08-28 Thread Tim Newby
Public bug reported:

Dell Inspiron 3847 Desktop running Ubuntu 18.04.1 LTS
kernel: 4.15.0-33-generic

Corrupted low memory messages logged in syslog

Can be reproduced with script:

#!/bin/bash

# log to syslog...
logger -st low_mem_corruption.sh "Checking for low memory corruption with 
kernel $(uname -rv)..."

# this will cause syslog messages on affected kernels...
cat /proc/i8k

logger -st low_mem_corruption.sh "Please wait for 90 secs to ensure low memory 
test has completed..."
# sleep for 1.5 mins - enough time for mem check every 60 secs...
sleep 90
logger -st low_mem_corruption.sh "Check for low memory corruption done! Was 
anything logged in syslog?"


Kernels tested:
Kernel 4.15.0-29-generic - fine
Kernel 4.15.0-30-generic - fine
Kernel 4.15.0-30-generic - Never installed, do not know - did it exist?
Kernel 4.15.0-32-generic - Low Memory corruption!
Kernel 4.15.0-33-generic - Low Memory corruption!

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-33-generic 4.15.0-33.36
ProcVersionSignature: Ubuntu 4.15.0-33.36-generic 4.15.18
Uname: Linux 4.15.0-33-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/controlC0:  bossman1316 F pulseaudio
 /dev/snd/pcmC1D0p:   bossman1316 F...m pulseaudio
 /dev/snd/controlC1:  bossman1316 F pulseaudio
CurrentDesktop: ubuntu:GNOME
Date: Tue Aug 28 16:56:01 2018
HibernationDevice: RESUME=UUID=1c065a24-2acf-43dc-bf3d-1382f3bbf0ac
InstallationDate: Installed on 2018-05-12 (108 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
MachineType: Dell Inc. Inspiron 3847
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-33-generic 
root=UUID=a5dec663-366e-4ecc-a17a-ce4219c54897 ro quiet loglevel=3 splash
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-33-generic N/A
 linux-backports-modules-4.15.0-33-generic  N/A
 linux-firmware 1.173.1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/10/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A10
dmi.board.name: 088DT1
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.modalias: 
dmi:bvnDellInc.:bvrA10:bd05/10/2018:svnDellInc.:pnInspiron3847:pvr:rvnDellInc.:rn088DT1:rvrA01:cvnDellInc.:ct3:cvr:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: Inspiron 3847
dmi.sys.vendor: Dell Inc.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug bionic

-- 
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/1789519

Title:
  Low Memory corruption logged in syslog

Status in linux package in Ubuntu:
  New

Bug description:
  Dell Inspiron 3847 Desktop running Ubuntu 18.04.1 LTS
  kernel: 4.15.0-33-generic

  Corrupted low memory messages logged in syslog

  Can be reproduced with script:

  #!/bin/bash

  # log to syslog...
  logger -st low_mem_corruption.sh "Checking for low memory corruption with 
kernel $(uname -rv)..."

  # this will cause syslog messages on affected kernels...
  cat /proc/i8k

  logger -st low_mem_corruption.sh "Please wait for 90 secs to ensure low 
memory test has completed..."
  # sleep for 1.5 mins - enough time for mem check every 60 secs...
  sleep 90
  logger -st low_mem_corruption.sh "Check for low memory corruption done! Was 
anything logged in syslog?"

  
  Kernels tested:
  Kernel 4.15.0-29-generic - fine
  Kernel 4.15.0-30-generic - fine
  Kernel 4.15.0-30-generic - Never installed, do not know - did it exist?
  Kernel 4.15.0-32-generic - Low Memory corruption!
  Kernel 4.15.0-33-generic - Low Memory corruption!

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-33-generic 4.15.0-33.36
  ProcVersionSignature: Ubuntu 4.15.0-33.36-generic 4.15.18
  Uname: Linux 4.15.0-33-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  bossman1316 F pulseaudio
   /dev/snd/pcmC1D0p:   bossman1316 F...m pulseaudio
   /dev/snd/controlC1:  bossman1316 F pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Aug 28 16:56:01 2018
  HibernationDevice: RESUME=UUID=1c065a24-2acf-43dc-bf3d-1382f3bbf0ac
  InstallationDate: Installed on 2018-05-12 (108 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  MachineType: Dell Inc. Inspiron 3847
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-33-generic