[Kernel-packages] [Bug 2056448] Re: hfs: weird file system free block state after creating files and removing them with a mix of i/o operations

2024-03-07 Thread Colin Ian King
** Summary changed:

- weird file system free block state after creating files and removing them 
with a mix of i/o operations
+ hfs: weird file system free block state after creating files and removing 
them with a mix of i/o operations

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

Title:
  hfs: weird file system free block state after creating files and
  removing them with a mix of i/o operations

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  New

Bug description:
  Summary:

  create hfs file system, loop-back mount it, run iomix stessor with
  stress-ng to exercise with a mix of file I/O operations and remove
  files at end. File system is empty but a lot of blocks are used and
  can't seem to be recovered.

  Kernel: 6.8.0-11-generic

  test case:
  sudo apt-get install hfsprogs

  dd if=/dev/zero of=fs.img bs=1M count=2048
  mkfs.hfs fs.img 
  sudo mount fs.img /mnt
  sudo mkdir /mnt/x
  df /mnt
  Filesystem 1K-blocks  Used Available Use% Mounted on
  /dev/loop6   2097128  2015   2095113   1% /mnt

  
  sudo stress-ng --temp-path /mnt/x --iomix 1 -t 2

  df /mnt
  Filesystem 1K-blocks   Used Available Use% Mounted on
  /dev/loop6   2097128 674635   1422493  33% /mnt

  
  ls -alR /mnt/
  /mnt/:
  total 4
  drwxr-xr-x  1 root root3 Mar  7 12:37 .
  drwxr-xr-x 23 root root 4096 Feb 28 14:13 ..
  drwxr-xr-x  1 root root2 Mar  7 12:37 x

  /mnt/x:
  total 0
  drwxr-xr-x 1 root root 2 Mar  7 12:37 .
  drwxr-xr-x 1 root root 3 Mar  7 12:37 ..

  
  ..so file system is 33% full, but no files are on the file system. Something 
looks wrong here.

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/2056448/+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 2056448] Re: weird file system free block state after creating files and removing them with a mix of i/o operations

2024-03-07 Thread Colin Ian King
** Bug watch added: Linux Kernel Bug Tracker #218571
   https://bugzilla.kernel.org/show_bug.cgi?id=218571

** Also affects: linux via
   https://bugzilla.kernel.org/show_bug.cgi?id=218571
   Importance: Unknown
   Status: Unknown

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

Title:
  weird file system free block state after creating files and removing
  them with a mix of i/o operations

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  New

Bug description:
  Summary:

  create hfs file system, loop-back mount it, run iomix stessor with
  stress-ng to exercise with a mix of file I/O operations and remove
  files at end. File system is empty but a lot of blocks are used and
  can't seem to be recovered.

  Kernel: 6.8.0-11-generic

  test case:
  sudo apt-get install hfsprogs

  dd if=/dev/zero of=fs.img bs=1M count=2048
  mkfs.hfs fs.img 
  sudo mount fs.img /mnt
  sudo mkdir /mnt/x
  df /mnt
  Filesystem 1K-blocks  Used Available Use% Mounted on
  /dev/loop6   2097128  2015   2095113   1% /mnt

  
  sudo stress-ng --temp-path /mnt/x --iomix 1 -t 2

  df /mnt
  Filesystem 1K-blocks   Used Available Use% Mounted on
  /dev/loop6   2097128 674635   1422493  33% /mnt

  
  ls -alR /mnt/
  /mnt/:
  total 4
  drwxr-xr-x  1 root root3 Mar  7 12:37 .
  drwxr-xr-x 23 root root 4096 Feb 28 14:13 ..
  drwxr-xr-x  1 root root2 Mar  7 12:37 x

  /mnt/x:
  total 0
  drwxr-xr-x 1 root root 2 Mar  7 12:37 .
  drwxr-xr-x 1 root root 3 Mar  7 12:37 ..

  
  ..so file system is 33% full, but no files are on the file system. Something 
looks wrong here.

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/2056448/+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 2056451] [NEW] hfs: concurrent create/unlink can trip -EEXIST on non-existent files

2024-03-07 Thread Colin Ian King
Public bug reported:

Summary:

create hfs file system, loop-back mount it, run filename stressor with
stress-ng to exercise filename create/stat/unlink and we get unexpected -EEXIST 
errors.
This can be worked around by adding a sync() call after the unlink() to ensure
metadata is sync'd.  

Kernel: 6.8.0-11-generic

test case:
sudo apt-get install hfsprogs

dd if=/dev/zero of=fs.img bs=1M count=2048
mkfs.hfs fs.img 
sudo mount fs.img /mnt
sudo mkdir /mnt/x
sudo stress-ng --temp-path /mnt/x --filename 8 --filename-opts posix -t 20
stress-ng: info:  [132412] setting to a 20 secs run per stressor
stress-ng: info:  [132412] dispatching hogs: 8 filename
stress-ng: fail:  [132424] filename: open failed on file of length 1 bytes, 
errno=17 (File exists)
stress-ng: fail:  [132428] filename: open failed on file of length 20 bytes, 
errno=17 (File exists)
stress-ng: fail:  [132423] filename: open failed on file of length 30 bytes, 
errno=17 (File exists)
stress-ng: fail:  [132421] filename: open failed on file of length 30 bytes, 
errno=17 (File exists)
stress-ng: fail:  [132428] filename: open failed on file of length 30 bytes, 
errno=17 (File exists)
stress-ng: fail:  [132426] filename: open failed on file of length 23 bytes, 
errno=17 (File exists)
stress-ng: fail:  [132425] filename: open failed on file of length 30 bytes, 
errno=17 (File exists)
stress-ng: fail:  [132428] filename: open failed on file of length 1 bytes, 
errno=17 (File exists)
stress-ng: fail:  [132423] filename: open failed on file of length 7 bytes, 
errno=17 (File exists)
stress-ng: fail:  [132423] filename: open failed on file of length 11 bytes, 
errno=17 (File exists)
stress-ng: fail:  [132426] filename: open failed on file of length 24 bytes, 
errno=17 (File exists)

adding a sync() call in the stress-ng stressor fixes the issue:

git diff
diff --git a/stress-filename.c b/stress-filename.c
index a64898fb1..b8266f91e 100644
--- a/stress-filename.c
+++ b/stress-filename.c
@@ -308,6 +308,7 @@ static void stress_filename_test(
VOID_RET(int, shim_stat(filename, ));
 
(void)shim_unlink(filename);
+   (void)sync();
}
 
/* exercise dcache lookup of non-existent filename */


sudo stress-ng --temp-path /mnt/x --filename 8 --filename-opts posix -t 20
stress-ng: info:  [132461] setting to a 20 secs run per stressor
stress-ng: info:  [132461] dispatching hogs: 8 filename
stress-ng: info:  [132461] skipped: 0
stress-ng: info:  [132461] passed: 8: filename (8)
stress-ng: info:  [132461] failed: 0
stress-ng: info:  [132461] metrics untrustworthy: 0
stress-ng: info:  [132461] successful run completed in 20.05 secs

The sync should not be required by the way, I just added it to
illustrate that there is a racy metadata sync issue in hfs.

** Affects: linux
 Importance: Unknown
 Status: Unknown

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

** Summary changed:

- hfs: concurrent create/unlink can trip -EEXIST on files
+ hfs: concurrent create/unlink can trip -EEXIST on non-existent files

** Bug watch added: Linux Kernel Bug Tracker #218570
   https://bugzilla.kernel.org/show_bug.cgi?id=218570

** Also affects: linux via
   https://bugzilla.kernel.org/show_bug.cgi?id=218570
   Importance: Unknown
   Status: Unknown

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

Title:
  hfs: concurrent create/unlink can trip -EEXIST on non-existent files

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  New

Bug description:
  Summary:

  create hfs file system, loop-back mount it, run filename stressor with
  stress-ng to exercise filename create/stat/unlink and we get unexpected 
-EEXIST errors.
  This can be worked around by adding a sync() call after the unlink() to ensure
  metadata is sync'd.  

  Kernel: 6.8.0-11-generic

  test case:
  sudo apt-get install hfsprogs

  dd if=/dev/zero of=fs.img bs=1M count=2048
  mkfs.hfs fs.img 
  sudo mount fs.img /mnt
  sudo mkdir /mnt/x
  sudo stress-ng --temp-path /mnt/x --filename 8 --filename-opts posix -t 20
  stress-ng: info:  [132412] setting to a 20 secs run per stressor
  stress-ng: info:  [132412] dispatching hogs: 8 filename
  stress-ng: fail:  [132424] filename: open failed on file of length 1 bytes, 
errno=17 (File exists)
  stress-ng: fail:  [132428] filename: open failed on file of length 20 bytes, 
errno=17 (File exists)
  stress-ng: fail:  [132423] filename: open failed on file of length 30 bytes, 
errno=17 (File exists)
  stress-ng: fail:  [132421] filename: open failed on file of length 30 bytes, 
errno=17 (File exists)
  stress-ng: fail:  [132428] filename: open failed on file of length 30 bytes, 
errno=17 (File exists)
  stress-ng: fail:  [132426] filename: open failed on file of length 23 bytes, 
errno=17 (File exists)
  stress-ng: fail:  [132425] filename: open failed 

[Kernel-packages] [Bug 2056448] [NEW] weird file system free block state after creating files and removing them with a mix of i/o operations

2024-03-07 Thread Colin Ian King
Public bug reported:

Summary:

create hfs file system, loop-back mount it, run iomix stessor with
stress-ng to exercise with a mix of file I/O operations and remove files
at end. File system is empty but a lot of blocks are used and can't seem
to be recovered.

Kernel: 6.8.0-11-generic

test case:
sudo apt-get install hfsprogs

dd if=/dev/zero of=fs.img bs=1M count=2048
mkfs.hfs fs.img 
sudo mount fs.img /mnt
sudo mkdir /mnt/x
df /mnt
Filesystem 1K-blocks  Used Available Use% Mounted on
/dev/loop6   2097128  2015   2095113   1% /mnt


sudo stress-ng --temp-path /mnt/x --iomix 1 -t 2

df /mnt
Filesystem 1K-blocks   Used Available Use% Mounted on
/dev/loop6   2097128 674635   1422493  33% /mnt


ls -alR /mnt/
/mnt/:
total 4
drwxr-xr-x  1 root root3 Mar  7 12:37 .
drwxr-xr-x 23 root root 4096 Feb 28 14:13 ..
drwxr-xr-x  1 root root2 Mar  7 12:37 x

/mnt/x:
total 0
drwxr-xr-x 1 root root 2 Mar  7 12:37 .
drwxr-xr-x 1 root root 3 Mar  7 12:37 ..


..so file system is 33% full, but no files are on the file system. Something 
looks wrong here.

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

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

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

Title:
  weird file system free block state after creating files and removing
  them with a mix of i/o operations

Status in linux package in Ubuntu:
  New

Bug description:
  Summary:

  create hfs file system, loop-back mount it, run iomix stessor with
  stress-ng to exercise with a mix of file I/O operations and remove
  files at end. File system is empty but a lot of blocks are used and
  can't seem to be recovered.

  Kernel: 6.8.0-11-generic

  test case:
  sudo apt-get install hfsprogs

  dd if=/dev/zero of=fs.img bs=1M count=2048
  mkfs.hfs fs.img 
  sudo mount fs.img /mnt
  sudo mkdir /mnt/x
  df /mnt
  Filesystem 1K-blocks  Used Available Use% Mounted on
  /dev/loop6   2097128  2015   2095113   1% /mnt

  
  sudo stress-ng --temp-path /mnt/x --iomix 1 -t 2

  df /mnt
  Filesystem 1K-blocks   Used Available Use% Mounted on
  /dev/loop6   2097128 674635   1422493  33% /mnt

  
  ls -alR /mnt/
  /mnt/:
  total 4
  drwxr-xr-x  1 root root3 Mar  7 12:37 .
  drwxr-xr-x 23 root root 4096 Feb 28 14:13 ..
  drwxr-xr-x  1 root root2 Mar  7 12:37 x

  /mnt/x:
  total 0
  drwxr-xr-x 1 root root 2 Mar  7 12:37 .
  drwxr-xr-x 1 root root 3 Mar  7 12:37 ..

  
  ..so file system is 33% full, but no files are on the file system. Something 
looks wrong here.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2056448/+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 2055310] Re: dmesg spammed by virtui-fs and 9pnet-virtio messages

2024-03-02 Thread Colin Ian King
** Attachment added: "screen shot of my noble VM on a noble server"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2055310/+attachment/5751725/+files/Screenshot%20from%202024-03-02%2022-57-52.png

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

Title:
  dmesg spammed by virtui-fs and 9pnet-virtio messages

Status in linux package in Ubuntu:
  New

Bug description:
  Ubuntu noble, as of 28 Feb 2024, on amd64, s390x, ppc64, seeing kernel
  messages after boot (running instances in a VM using virt-manager)

  uname -a
  Linux noble-amd64-efi 6.6.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 
30 10:27:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

  [   30.638354] virtio-fs: tag  not found
  [   30.642316] 9pnet_virtio: no channels available for device config
  [   35.897615] virtio-fs: tag  not found
  [   35.901568] 9pnet_virtio: no channels available for device config
  [   41.141860] virtio-fs: tag  not found
  [   41.145513] 9pnet_virtio: no channels available for device config
  [   46.382040] virtio-fs: tag  not found
  [   46.386141] 9pnet_virtio: no channels available for device config
  [   51.632229] virtio-fs: tag  not found
  [   51.635727] 9pnet_virtio: no channels available for device config

  These are annoying when logging in via the console.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2055310/+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 2055310] Re: dmesg spammed by virtui-fs and 9pnet-virtio messages

2024-03-02 Thread Colin Ian King
Does not occur on pre-noble VMs, e.g. fine with mantic through to trusty
on all my VMs on the same host.

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

Title:
  dmesg spammed by virtui-fs and 9pnet-virtio messages

Status in linux package in Ubuntu:
  New

Bug description:
  Ubuntu noble, as of 28 Feb 2024, on amd64, s390x, ppc64, seeing kernel
  messages after boot (running instances in a VM using virt-manager)

  uname -a
  Linux noble-amd64-efi 6.6.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 
30 10:27:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

  [   30.638354] virtio-fs: tag  not found
  [   30.642316] 9pnet_virtio: no channels available for device config
  [   35.897615] virtio-fs: tag  not found
  [   35.901568] 9pnet_virtio: no channels available for device config
  [   41.141860] virtio-fs: tag  not found
  [   41.145513] 9pnet_virtio: no channels available for device config
  [   46.382040] virtio-fs: tag  not found
  [   46.386141] 9pnet_virtio: no channels available for device config
  [   51.632229] virtio-fs: tag  not found
  [   51.635727] 9pnet_virtio: no channels available for device config

  These are annoying when logging in via the console.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2055310/+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 2055310] Re: dmesg spammed by virtui-fs and 9pnet-virtio messages

2024-03-02 Thread Colin Ian King
Good idea,

I've installed this on my host and it's still occurring on various VM
architectures (x86-64, ppc64el, s390x, ect). My host is noble and up to
date with updates.

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

Title:
  dmesg spammed by virtui-fs and 9pnet-virtio messages

Status in linux package in Ubuntu:
  New

Bug description:
  Ubuntu noble, as of 28 Feb 2024, on amd64, s390x, ppc64, seeing kernel
  messages after boot (running instances in a VM using virt-manager)

  uname -a
  Linux noble-amd64-efi 6.6.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 
30 10:27:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

  [   30.638354] virtio-fs: tag  not found
  [   30.642316] 9pnet_virtio: no channels available for device config
  [   35.897615] virtio-fs: tag  not found
  [   35.901568] 9pnet_virtio: no channels available for device config
  [   41.141860] virtio-fs: tag  not found
  [   41.145513] 9pnet_virtio: no channels available for device config
  [   46.382040] virtio-fs: tag  not found
  [   46.386141] 9pnet_virtio: no channels available for device config
  [   51.632229] virtio-fs: tag  not found
  [   51.635727] 9pnet_virtio: no channels available for device config

  These are annoying when logging in via the console.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2055310/+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 2055310] Re: dmesg spammed by virtui-fs and 9pnet-virtio messages

2024-02-29 Thread Colin Ian King
cking@noble-amd64:~$ uname -a
Linux noble-amd64 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 
00:29:05 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

[9.551968] virtio-fs: tag  not found
[9.555352] 9pnet_virtio: no channels available for device config
[   14.850014] virtio-fs: tag  not found
[   14.854959] 9pnet_virtio: no channels available for device config
[   18.302513] systemd-journald[451]: 
/var/log/journal/c8f7ec498f904c46b99f25f051792ec0/user-1000.journal: Journal 
file uses a different sequence number ID, rotating.
[   20.173092] virtio-fs: tag  not found
[   20.176498] 9pnet_virtio: no channels available for device config
[   25.470406] virtio-fs: tag  not found
[   25.475163] 9pnet_virtio: no channels available for device config
[   30.690179] virtio-fs: tag  not found
[   30.695584] 9pnet_virtio: no channels available for device config
[   35.947869] virtio-fs: tag  not found
[   35.951397] 9pnet_virtio: no channels available for device config
[   41.190386] virtio-fs: tag  not found
[   41.195323] 9pnet_virtio: no channels available for device config
[   46.437815] virtio-fs: tag  not found
[   46.441903] 9pnet_virtio: no channels available for device config
[   51.700719] virtio-fs: tag  not found
[   51.704995] 9pnet_virtio: no channels available for device config

..but it stops now after ~52 seconds after boot. Anyhow, these are
unusual new messages from the previous mantic kernel.

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

Title:
  dmesg spammed by virtui-fs and 9pnet-virtio messages

Status in linux package in Ubuntu:
  New

Bug description:
  Ubuntu noble, as of 28 Feb 2024, on amd64, s390x, ppc64, seeing kernel
  messages after boot (running instances in a VM using virt-manager)

  uname -a
  Linux noble-amd64-efi 6.6.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 
30 10:27:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

  [   30.638354] virtio-fs: tag  not found
  [   30.642316] 9pnet_virtio: no channels available for device config
  [   35.897615] virtio-fs: tag  not found
  [   35.901568] 9pnet_virtio: no channels available for device config
  [   41.141860] virtio-fs: tag  not found
  [   41.145513] 9pnet_virtio: no channels available for device config
  [   46.382040] virtio-fs: tag  not found
  [   46.386141] 9pnet_virtio: no channels available for device config
  [   51.632229] virtio-fs: tag  not found
  [   51.635727] 9pnet_virtio: no channels available for device config

  These are annoying when logging in via the console.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2055310/+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 2055310] [NEW] dmesg spammed by virtui-fs and 9pnet-virtio messages

2024-02-28 Thread Colin Ian King
Public bug reported:

Ubuntu noble, as of 28 Feb 2024, on amd64, s390x, ppc64, seeing kernel
messages after boot (running instances in a VM using virt-manager)

uname -a
Linux noble-amd64-efi 6.6.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 
30 10:27:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

[   30.638354] virtio-fs: tag  not found
[   30.642316] 9pnet_virtio: no channels available for device config
[   35.897615] virtio-fs: tag  not found
[   35.901568] 9pnet_virtio: no channels available for device config
[   41.141860] virtio-fs: tag  not found
[   41.145513] 9pnet_virtio: no channels available for device config
[   46.382040] virtio-fs: tag  not found
[   46.386141] 9pnet_virtio: no channels available for device config
[   51.632229] virtio-fs: tag  not found
[   51.635727] 9pnet_virtio: no channels available for device config

These are annoying when logging in via the console.

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

** Changed in: linux (Ubuntu)
   Importance: Undecided => Low

** Changed in: linux (Ubuntu)
Milestone: None => ubuntu-24.04-beta

** Description changed:

  Ubuntu noble, as of 28 Feb 2024, on amd64, s390x, ppc64, seeing kernel
- messages after boot:
+ messages after boot (running instances in a VM using virt-manager)
  
  uname -a
  Linux noble-amd64-efi 6.6.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 
30 10:27:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
- 
  
  [   30.638354] virtio-fs: tag  not found
  [   30.642316] 9pnet_virtio: no channels available for device config
  [   35.897615] virtio-fs: tag  not found
  [   35.901568] 9pnet_virtio: no channels available for device config
  [   41.141860] virtio-fs: tag  not found
  [   41.145513] 9pnet_virtio: no channels available for device config
  [   46.382040] virtio-fs: tag  not found
  [   46.386141] 9pnet_virtio: no channels available for device config
  [   51.632229] virtio-fs: tag  not found
  [   51.635727] 9pnet_virtio: no channels available for device config
  
  These are annoying when logging in via the console.

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

Title:
  dmesg spammed by virtui-fs and 9pnet-virtio messages

Status in linux package in Ubuntu:
  New

Bug description:
  Ubuntu noble, as of 28 Feb 2024, on amd64, s390x, ppc64, seeing kernel
  messages after boot (running instances in a VM using virt-manager)

  uname -a
  Linux noble-amd64-efi 6.6.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 
30 10:27:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

  [   30.638354] virtio-fs: tag  not found
  [   30.642316] 9pnet_virtio: no channels available for device config
  [   35.897615] virtio-fs: tag  not found
  [   35.901568] 9pnet_virtio: no channels available for device config
  [   41.141860] virtio-fs: tag  not found
  [   41.145513] 9pnet_virtio: no channels available for device config
  [   46.382040] virtio-fs: tag  not found
  [   46.386141] 9pnet_virtio: no channels available for device config
  [   51.632229] virtio-fs: tag  not found
  [   51.635727] 9pnet_virtio: no channels available for device config

  These are annoying when logging in via the console.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2055310/+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 1899249] Re: OpenZFS writing stalls, under load

2024-02-28 Thread Colin Ian King
** Changed in: zfs-linux (Ubuntu)
 Assignee: Colin Ian King (colin-king) => (unassigned)

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

Title:
  OpenZFS writing stalls, under load

Status in Native ZFS for Linux:
  New
Status in zfs-linux package in Ubuntu:
  Fix Released

Bug description:
  Using a QNAP 4-drive USB enclosure, with a set of SSDs, on a Raspberry
  Pi 8GB. ZFS deduplication, and LZJB compression is enabled.

  This issue seems to occur, intermittently, after some time (happens
  with both SMB access, via Samba, and when interacting with the system,
  via SSH), and never previously occurred, until a few months ago, and I
  sometimes have to force a reboot of the system (at the cost of some
  data loss), in order to use it again.

  The "dmesg" log reports:

  [25375.911590] z_wr_iss_h  D0  2161  2 0x0028
  [25375.911606] Call trace:
  [25375.911627]  __switch_to+0x104/0x170
  [25375.911639]  __schedule+0x30c/0x7c0
  [25375.911647]  schedule+0x3c/0xb8
  [25375.911655]  io_schedule+0x20/0x58
  [25375.911668]  rq_qos_wait+0x100/0x178
  [25375.911677]  wbt_wait+0xb4/0xf0
  [25375.911687]  __rq_qos_throttle+0x38/0x50
  [25375.911700]  blk_mq_make_request+0x128/0x610
  [25375.911712]  generic_make_request+0xb4/0x2d8
  [25375.911722]  submit_bio+0x48/0x218
  [25375.911960]  vdev_disk_io_start+0x670/0x9f8 [zfs]
  [25375.912181]  zio_vdev_io_start+0xdc/0x2b8 [zfs]
  [25375.912400]  zio_nowait+0xd4/0x170 [zfs]
  [25375.912617]  vdev_mirror_io_start+0xa8/0x1b0 [zfs]
  [25375.912839]  zio_vdev_io_start+0x248/0x2b8 [zfs]
  [25375.913057]  zio_execute+0xac/0x110 [zfs]
  [25375.913096]  taskq_thread+0x2f8/0x570 [spl]
  [25375.913108]  kthread+0xfc/0x128
  [25375.913119]  ret_from_fork+0x10/0x1c
  [25375.913149] INFO: task txg_sync:2333 blocked for more than 120 seconds.
  [25375.919916]   Tainted: P C OE 5.4.0-1018-raspi #20-Ubuntu
  [25375.926848] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [25375.934835] txg_syncD0  2333  2 0x0028
  [25375.934850] Call trace:
  [25375.934869]  __switch_to+0x104/0x170
  [25375.934879]  __schedule+0x30c/0x7c0
  [25375.934887]  schedule+0x3c/0xb8
  [25375.934899]  schedule_timeout+0x9c/0x190
  [25375.934908]  io_schedule_timeout+0x28/0x48
  [25375.934946]  __cv_timedwait_common+0x1a8/0x1f8 [spl]
  [25375.934982]  __cv_timedwait_io+0x3c/0x50 [spl]
  [25375.935205]  zio_wait+0x130/0x2a0 [zfs]
  [25375.935423]  dsl_pool_sync+0x3fc/0x498 [zfs]
  [25375.935650]  spa_sync+0x538/0xe68 [zfs]
  [25375.935867]  txg_sync_thread+0x2c0/0x468 [zfs]
  [25375.935911]  thread_generic_wrapper+0x74/0xa0 [spl]
  [25375.935924]  kthread+0xfc/0x128
  [25375.935935]  ret_from_fork+0x10/0x1c
  [25375.936017] INFO: task zbackup:75339 blocked for more than 120 seconds.
  [25375.942780]   Tainted: P C OE 5.4.0-1018-raspi #20-Ubuntu
  [25375.949710] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [25375.957702] zbackup D0 75339   5499 0x
  [25375.957716] Call trace:
  [25375.957732]  __switch_to+0x104/0x170
  [25375.957742]  __schedule+0x30c/0x7c0
  [25375.957750]  schedule+0x3c/0xb8
  [25375.957789]  cv_wait_common+0x188/0x1b0 [spl]
  [25375.957823]  __cv_wait+0x30/0x40 [spl]
  [25375.958045]  zil_commit_impl+0x234/0xd30 [zfs]
  [25375.958263]  zil_commit+0x48/0x70 [zfs]
  [25375.958481]  zfs_create+0x544/0x7d0 [zfs]
  [25375.958698]  zpl_create+0xb8/0x178 [zfs]
  [25375.958711]  lookup_open+0x4ec/0x6a8
  [25375.958721]  do_last+0x260/0x8c0
  [25375.958730]  path_openat+0x84/0x258
  [25375.958739]  do_filp_open+0x84/0x108
  [25375.958752]  do_sys_open+0x180/0x2b0
  [25375.958763]  __arm64_sys_openat+0x2c/0x38
  [25375.958773]  el0_svc_common.constprop.0+0x80/0x218
  [25375.958781]  el0_svc_handler+0x34/0xa0
  [25375.958791]  el0_svc+0x10/0x2cc
  [25375.958801] INFO: task zbackup:95187 blocked for more than 120 seconds.
  [25375.965564]   Tainted: P C OE 5.4.0-1018-raspi #20-Ubuntu
  [25375.972492] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [25375.980479] zbackup D0 95187   5499 0x
  [25375.980493] Call trace:
  [25375.980514]  __switch_to+0x104/0x170
  [25375.980525]  __schedule+0x30c/0x7c0
  [25375.980536]  schedule+0x3c/0xb8
  [25375.980578]  cv_wait_common+0x188/0x1b0 [spl]
  [25375.980612]  __cv_wait+0x30/0x40 [spl]
  [25375.980834]  zil_commit_impl+0x234/0xd30 [zfs]
  [25375.981052]  zil_commit+0x48/0x70 [zfs]
  [25375.981280]  zfs_write+0xa3c/0xb90 [zfs]
  [25375.981498]  zpl_write_common_iovec+0xac/0x120 [zfs]
  [25375.981726]  zpl_iter_write+0xe4/0x150 [zfs]
  [25375.981766]  new_sync_write+0x100/0x1a8
  [25375.981776]  __vfs_write+0x74/0x90
  [25375.981784]  vfs_write+0xe4/0x1c8
  [

[Kernel-packages] [Bug 2051342] Re: Enable lowlatency settings in the generic kernel

2024-01-30 Thread Colin Ian King
Looks like Michael Larabel has done some analysis for you already :-)
https://www.phoronix.com/news/Ubuntu-Generic-LL-Kernel

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

Title:
  Enable lowlatency settings in the generic kernel

Status in linux package in Ubuntu:
  New
Status in linux source package in Noble:
  New

Bug description:
  [Impact]

  Ubuntu provides the "lowlatency" kernel: a kernel optimized for
  applications that have special "low latency" requirements.

  Currently, this kernel does not include any specific UBUNTU SAUCE
  patches to improve the extra "low latency" requirements, but the only
  difference is a small subset of .config options.

  Almost all these options are now configurable either at boot-time or
  even at run-time, with the only exception of CONFIG_HZ (250 in the
  generic kernel vs 1000 in the lowlatency kernel).

  Maintaining a separate kernel for a single config option seems a bit
  overkill and it is a significant cost of engineering hours, build
  time, regression testing time and resources. Not to mention the risk
  of the low-latency kernel falling behind and not being perfectly in
  sync with the latest generic kernel.

  Enabling the low-latency settings in the generic kernel has been
  evaluated before, but it has been never finalized due to the potential
  risk of performance regressions in CPU-intensive applications
  (increasing HZ from 250 to 1000 may introduce more kernel jitter in
  number crunching workloads). The outcome of the original proposal
  resulted in a re-classification of the lowlatency kernel as a desktop-
  oriented kernel, enabling additional low latency features (LP:
  #2023007).

  As we are approaching the release of the new Ubuntu 24.04 we may want
  to re-consider merging the low-latency settings in the generic kernel
  again.

  Following a detailed analysis of the specific low-latency features:

  - CONFIG_NO_HZ_FULL=y: enable access to "Full tickless mode" (shutdown
  clock tick when possible across all the enabled CPUs if they are
  either idle or running 1 task - reduce kernel jitter of running tasks
  due to the periodic clock tick, must be enabled at boot time passing
  `nohz_full=`); this can actually help CPU-intensive
  workloads and it could provide much more benefits than the CONFIG_HZ
  difference (since it can potentially shutdown any kernel jitter on
  specific CPUs), this one should really be enabled anyway, considering
  that it is configurable at boot time

   - CONFIG_RCU_NOCB_CPU=y: move RCU callbacks from softirq context to
  kthread context (reduce time spent in softirqs with preemption
  disabled to improve the overall system responsiveness, at the cost of
  introducing a potential performance penalty, because RCU callbacks are
  not processed by kernel threads); this should be enabled as well,
  since it is configurable at boot time (via the rcu_nocbs=
  parameter)

   - CONFIG_RCU_LAZY=y: batch RCU callbacks and then flush them after a
  timed delay instead of executing them immediately (c'an provide 5~10%
  power-savings for idle or lightly-loaded systems, this is extremely
  useful for laptops / portable devices -
  
https://lore.kernel.org/lkml/20221016162305.2489629-3-j...@joelfernandes.org/);
  this has the potential to introduce significant performance
  regressions, but in the Noble kernel we already have a SAUCE patch
  that allows to enable/disable this option at boot time (see LP:
  #2045492), and by default it will be disabled
  (CONFIG_RCU_LAZY_DEFAULT_OFF=y)

   - CONFIG_HZ=1000 last but not least, the only option that is *only*
  tunable at compile time. As already mentioned there is a potential
  risk of regressions for CPU-intensive applications, but they can be
  mitigated (and maybe they could even outperformed) with NO_HZ_FULL. On
  the other hand, HZ=1000 can improve system responsiveness, that means
  most of the desktop and server applications will benefit from this
  (the largest part of the server workloads is I/O bound, more than CPU-
  bound, so they can benefit from having a kernel that can react faster
  at switching tasks), not to mention the benefit for the typical end
  users applications (gaming, live conferencing, multimedia, etc.).

  With all of that in place we can provide a kernel that has the
  flexibility to be more responsive, more performant and more power
  efficient (therefore more "generic"), simply by tuning run-time and
  boot-time options.

  Moreover, once these changes are applied we will be able to deprecate
  the lowlatency kernel, saving engineering time and also reducing power
  consumption (required to build the kernel and do all the testing).

  Optionally, we can also provide optimal "lowlatency" settings as a
  user-space package that would set the proper options in the kernel
  boot command line (GRUB, or similar).

  [Test case]

  

[Kernel-packages] [Bug 2051342] Re: Enable lowlatency settings in the generic kernel

2024-01-29 Thread Colin Ian King
@Andrea, that's a good start, but it may be worth running some of the
Phoronix Tests too as they are a good spread of use cases.

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

Title:
  Enable lowlatency settings in the generic kernel

Status in linux package in Ubuntu:
  New
Status in linux source package in Noble:
  New

Bug description:
  [Impact]

  Ubuntu provides the "lowlatency" kernel: a kernel optimized for
  applications that have special "low latency" requirements.

  Currently, this kernel does not include any specific UBUNTU SAUCE
  patches to improve the extra "low latency" requirements, but the only
  difference is a small subset of .config options.

  Almost all these options are now configurable either at boot-time or
  even at run-time, with the only exception of CONFIG_HZ (250 in the
  generic kernel vs 1000 in the lowlatency kernel).

  Maintaining a separate kernel for a single config option seems a bit
  overkill and it is a significant cost of engineering hours, build
  time, regression testing time and resources. Not to mention the risk
  of the low-latency kernel falling behind and not being perfectly in
  sync with the latest generic kernel.

  Enabling the low-latency settings in the generic kernel has been
  evaluated before, but it has been never finalized due to the potential
  risk of performance regressions in CPU-intensive applications
  (increasing HZ from 250 to 1000 may introduce more kernel jitter in
  number crunching workloads). The outcome of the original proposal
  resulted in a re-classification of the lowlatency kernel as a desktop-
  oriented kernel, enabling additional low latency features (LP:
  #2023007).

  As we are approaching the release of the new Ubuntu 24.04 we may want
  to re-consider merging the low-latency settings in the generic kernel
  again.

  Following a detailed analysis of the specific low-latency features:

  - CONFIG_NO_HZ_FULL=y: enable access to "Full tickless mode" (shutdown
  clock tick when possible across all the enabled CPUs if they are
  either idle or running 1 task - reduce kernel jitter of running tasks
  due to the periodic clock tick, must be enabled at boot time passing
  `nohz_full=`); this can actually help CPU-intensive
  workloads and it could provide much more benefits than the CONFIG_HZ
  difference (since it can potentially shutdown any kernel jitter on
  specific CPUs), this one should really be enabled anyway, considering
  that it is configurable at boot time

   - CONFIG_RCU_NOCB_CPU=y: move RCU callbacks from softirq context to
  kthread context (reduce time spent in softirqs with preemption
  disabled to improve the overall system responsiveness, at the cost of
  introducing a potential performance penalty, because RCU callbacks are
  not processed by kernel threads); this should be enabled as well,
  since it is configurable at boot time (via the rcu_nocbs=
  parameter)

   - CONFIG_RCU_LAZY=y: batch RCU callbacks and then flush them after a
  timed delay instead of executing them immediately (c'an provide 5~10%
  power-savings for idle or lightly-loaded systems, this is extremely
  useful for laptops / portable devices -
  
https://lore.kernel.org/lkml/20221016162305.2489629-3-j...@joelfernandes.org/);
  this has the potential to introduce significant performance
  regressions, but in the Noble kernel we already have a SAUCE patch
  that allows to enable/disable this option at boot time (see LP:
  #2045492), and by default it will be disabled
  (CONFIG_RCU_LAZY_DEFAULT_OFF=y)

   - CONFIG_HZ=1000 last but not least, the only option that is *only*
  tunable at compile time. As already mentioned there is a potential
  risk of regressions for CPU-intensive applications, but they can be
  mitigated (and maybe they could even outperformed) with NO_HZ_FULL. On
  the other hand, HZ=1000 can improve system responsiveness, that means
  most of the desktop and server applications will benefit from this
  (the largest part of the server workloads is I/O bound, more than CPU-
  bound, so they can benefit from having a kernel that can react faster
  at switching tasks), not to mention the benefit for the typical end
  users applications (gaming, live conferencing, multimedia, etc.).

  With all of that in place we can provide a kernel that has the
  flexibility to be more responsive, more performant and more power
  efficient (therefore more "generic"), simply by tuning run-time and
  boot-time options.

  Moreover, once these changes are applied we will be able to deprecate
  the lowlatency kernel, saving engineering time and also reducing power
  consumption (required to build the kernel and do all the testing).

  Optionally, we can also provide optimal "lowlatency" settings as a
  user-space package that would set the proper options in the kernel
  boot command line (GRUB, or similar).

  [Test case]

  

[Kernel-packages] [Bug 2051342] Re: Enable lowlatency settings in the generic kernel

2024-01-29 Thread Colin Ian King
It may be worth trying a wider range of synthetic benchmarks to see how
it affects scheduling, I/O, RCU and power consumption.

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

Title:
  Enable lowlatency settings in the generic kernel

Status in linux package in Ubuntu:
  New
Status in linux source package in Noble:
  New

Bug description:
  [Impact]

  Ubuntu provides the "lowlatency" kernel: a kernel optimized for
  applications that have special "low latency" requirements.

  Currently, this kernel does not include any specific UBUNTU SAUCE
  patches to improve the extra "low latency" requirements, but the only
  difference is a small subset of .config options.

  Almost all these options are now configurable either at boot-time or
  even at run-time, with the only exception of CONFIG_HZ (250 in the
  generic kernel vs 1000 in the lowlatency kernel).

  Maintaining a separate kernel for a single config option seems a bit
  overkill and it is a significant cost of engineering hours, build
  time, regression testing time and resources. Not to mention the risk
  of the low-latency kernel falling behind and not being perfectly in
  sync with the latest generic kernel.

  Enabling the low-latency settings in the generic kernel has been
  evaluated before, but it has been never finalized due to the potential
  risk of performance regressions in CPU-intensive applications
  (increasing HZ from 250 to 1000 may introduce more kernel jitter in
  number crunching workloads). The outcome of the original proposal
  resulted in a re-classification of the lowlatency kernel as a desktop-
  oriented kernel, enabling additional low latency features (LP:
  #2023007).

  As we are approaching the release of the new Ubuntu 24.04 we may want
  to re-consider merging the low-latency settings in the generic kernel
  again.

  Following a detailed analysis of the specific low-latency features:

  - CONFIG_NO_HZ_FULL=y: enable access to "Full tickless mode" (shutdown
  clock tick when possible across all the enabled CPUs if they are
  either idle or running 1 task - reduce kernel jitter of running tasks
  due to the periodic clock tick, must be enabled at boot time passing
  `nohz_full=`); this can actually help CPU-intensive
  workloads and it could provide much more benefits than the CONFIG_HZ
  difference (since it can potentially shutdown any kernel jitter on
  specific CPUs), this one should really be enabled anyway, considering
  that it is configurable at boot time

   - CONFIG_RCU_NOCB_CPU=y: move RCU callbacks from softirq context to
  kthread context (reduce time spent in softirqs with preemption
  disabled to improve the overall system responsiveness, at the cost of
  introducing a potential performance penalty, because RCU callbacks are
  not processed by kernel threads); this should be enabled as well,
  since it is configurable at boot time (via the rcu_nocbs=
  parameter)

   - CONFIG_RCU_LAZY=y: batch RCU callbacks and then flush them after a
  timed delay instead of executing them immediately (c'an provide 5~10%
  power-savings for idle or lightly-loaded systems, this is extremely
  useful for laptops / portable devices -
  
https://lore.kernel.org/lkml/20221016162305.2489629-3-j...@joelfernandes.org/);
  this has the potential to introduce significant performance
  regressions, but in the Noble kernel we already have a SAUCE patch
  that allows to enable/disable this option at boot time (see LP:
  #2045492), and by default it will be disabled
  (CONFIG_RCU_LAZY_DEFAULT_OFF=y)

   - CONFIG_HZ=1000 last but not least, the only option that is *only*
  tunable at compile time. As already mentioned there is a potential
  risk of regressions for CPU-intensive applications, but they can be
  mitigated (and maybe they could even outperformed) with NO_HZ_FULL. On
  the other hand, HZ=1000 can improve system responsiveness, that means
  most of the desktop and server applications will benefit from this
  (the largest part of the server workloads is I/O bound, more than CPU-
  bound, so they can benefit from having a kernel that can react faster
  at switching tasks), not to mention the benefit for the typical end
  users applications (gaming, live conferencing, multimedia, etc.).

  With all of that in place we can provide a kernel that has the
  flexibility to be more responsive, more performant and more power
  efficient (therefore more "generic"), simply by tuning run-time and
  boot-time options.

  Moreover, once these changes are applied we will be able to deprecate
  the lowlatency kernel, saving engineering time and also reducing power
  consumption (required to build the kernel and do all the testing).

  Optionally, we can also provide optimal "lowlatency" settings as a
  user-space package that would set the proper options in the kernel
  boot command line (GRUB, or similar).

  [Test case]

  

[Kernel-packages] [Bug 1995606] Re: Upgrade thermald to 2.5.1 for Jammy (22.04)

2023-11-23 Thread Colin Ian King
Thanks team Canonical for this \o/

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

Title:
  Upgrade thermald to 2.5.1 for Jammy (22.04)

Status in OEM Priority Project:
  Fix Released
Status in thermald package in Ubuntu:
  Fix Released
Status in thermald source package in Jammy:
  Fix Released

Bug description:
  [Justification]
  The purpose of this bug is that prevent the regression in the future.
  The automatic test scripts are better for the future SRU and is still on the 
planning.

  [Test case]
  For these CPU series, RPL/ADL/TGL/CML/CFL/KBL, the following tests will be 
run on machines in the CI lab:

  1. Run stress-ng, and observe the temperature/frequency/power with s-tui
    - Temperatures should stay just below trip values
    - Power/performance profiles should stay roughly the same between old 
thermald and new thermald (unless specifically expected eg: to fix 
premature/insufficient throttling)
  2. check if thermald could read rules from /dev/acpi_thermal_rel and generate 
the xml file on /etc/thermald/ correctly.
    - this depends on if acpi_thermal_rel exist.
    - if the machine suppots acpi_thermal_rel, the "thermal-conf.xml.auto"
   could be landed in etc/thermald/.
    - if not, the user-defined xml could be created, then jump to (3).
    - run thermald with --loglevel=debug, and compare the log with xml.auto 
file. check if the configuration could be parsed correctly.
  3. check if theramd-conf.xml and thermal-cpu-cdev-order.xml can be loaded 
correctly.
    - run thermald with --loglevel=debug, and compare the log with xml files.
    - if parsed correctly, the configurations from XML files would appear in 
the log.

  4. Run unit tests, the scripts are under test folder, using emul_temp to 
simulate the High temperatue and check thermald would throttle CPU through the 
related cooling device.
    - rapl.sh
    - intel_pstate.sh
    - powerclamp.sh
    - processor.sh
  5. check if the power/frequency would be throttled once the temperature reach 
the trip-points of thermal zone.
  6. check if system would be throttled even the temperature is under the 
trip-points.

  [ Where problems could occur ]
  since the PL1 min/max is introduced, there may have some cases that don't 
check the minimum of PL1 then make PL1 to smaller and smaller and throttle the 
CPU. 
  this may cause machines run like the old behavior that doesn't have PL1 
min/max.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1995606/+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 1738534] Re: Processor turbo disabled/throttled after suspend

2023-11-09 Thread Colin Ian King
** Summary changed:

- Processor turbo dsiabled/throttled after suspend
+ Processor turbo disabled/throttled after suspend

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

Title:
  Processor turbo disabled/throttled after suspend

Status in linux package in Ubuntu:
  Confirmed
Status in thermald package in Ubuntu:
  New

Bug description:
  After suspending/resuming my laptop on battery power, I noticed choppy
  video playback.  I've narrowed it down to the CPU being locked to
  lower frequencies after suspend/resume (only on battery).  Plugging
  the laptop back in does not restore the normal performance, nor does
  suspend/resume after plugging it back in.  The performance doesn't
  drop until after the suspend/resume, I'm not sure if it is _supposed_
  to throttle when on battery, but either way the behaviour is wrong.

  Doing a full shutdown and restart restores the performance to normal.

  Prior to a suspend/resume cycle, cpupower reports:

  $ sudo cpupower frequency-info
  analyzing CPU 0:
driver: intel_pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency:  Cannot determine or is not supported.
hardware limits: 800 MHz - 3.00 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 800 MHz and 3.00 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 1.26 GHz (asserted by call to kernel)
boost state support:
  Supported: yes
  Active: yes
  2800 MHz max turbo 4 active cores
  2800 MHz max turbo 3 active cores
  2800 MHz max turbo 2 active cores
  3000 MHz max turbo 1 active cores

  Afterwards, the frequency is clamped (cpufreq-set -r --max=3.0GHz has
  no effect) and turbo is disabled:

  $ sudo cpupower frequency-info
  analyzing CPU 0:
driver: intel_pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency:  Cannot determine or is not supported.
hardware limits: 800 MHz - 3.00 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 800 MHz and 1.80 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 950 MHz (asserted by call to kernel)
boost state support:
  Supported: no
  Active: no
  2800 MHz max turbo 4 active cores
  2800 MHz max turbo 3 active cores
  2800 MHz max turbo 2 active cores
  3000 MHz max turbo 1 active cores

  Trying to re-enable turbo mode by setting the no_turbo intel_pstate
  /sys/ entry back to 0 is rejected:

  $ echo 0 | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo
  0
  tee: /sys/devices/system/cpu/intel_pstate/no_turbo: Operation not permitted

  However, these two commands *do* work around the problem, forcing
  turbo mode back on and then restoring the normal frequency range:

  sudo x86_energy_perf_policy --turbo-enable 1
  sudo cpufreq-set -r --min=0.8GHz --max=3.0GHz

  I also see this error in dmesg after some resumes (but the above
  problem sometimes happens without this error message):

  Dec 16 11:36:25 shauns-laptop kernel: intel_pstate: Turbo disabled by
  BIOS or unavailable on processor

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: linux-image-4.13.0-19-generic 4.13.0-19.22
  ProcVersionSignature: Ubuntu 4.13.0-19.22-generic 4.13.13
  Uname: Linux 4.13.0-19-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3.6
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  shaun  1194 F pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Dec 16 11:18:12 2017
  InstallationDate: Installed on 2017-12-14 (1 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
  Lsusb:
   Bus 001 Device 004: ID 2232:1024 Silicon Motion 
   Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: SAMSUNG ELECTRONICS CO., LTD. 900X3C/900X3D/900X4C/900X4D
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-4.13.0-19-generic 
root=UUID=7352de8c-0017-44e1-81fb-0145ad9c1185 ro rootflags=subvol=@ quiet 
splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-19-generic N/A
   linux-backports-modules-4.13.0-19-generic  N/A
   

[Kernel-packages] [Bug 1901266] Re: system sluggish, thermal keep frequency at 400MHz

2023-11-09 Thread Colin Ian King
This bug report has not seen any further follow-up for 2+ years. Closing
it. If it is still not fixed please re-open this issue.

** Changed in: thermald (Ubuntu)
   Status: Incomplete => Fix Released

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

Title:
  system sluggish, thermal keep frequency at 400MHz

Status in thermald package in Ubuntu:
  Fix Released

Bug description:
  This morning I upgraded to 20.10 from 20.04

  The system was quite slow although I have a fast machine. My virtual windows 
10 on virtualbox became unusable. When I tried to have the virtual machine 
open, I could not participate properly in a zoom call (I could still hear the 
people but they said that my voice was very choppy)
  On 20.04 I was super-happy with the speed and I could have as many apps 
running as I want.

  Based on google I started looking at 
  % journalctl --follow
  and this shows quite a few errors but not repeating often enough to explain 
it.

  Then I googled some more and found that /boot/efi was writing and
  reading.

  Then I googled some more and thought I had trouble with gnome. So I reset it 
to default
  % dconf reset -f /org/gnome/
  and disabled the extensions. This made things slightly better but by far not 
acceptable.

  After lots of searching I checked the frequency of the CPUs and it was at the 
minimum 400Hz (as shown by i7z and also other tools). I tried setting the 
governor with cpufreqctl and similar methods but this did not change anything.
  I then found an old bug 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1769236 and tried 
  % sudo systemctl stop thermald
  this seems to work. After a few seconds the frequency shown in i7z goes to 
~4500 MHz and the virtual machine seems to work fine.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.10
  Package: thermald 2.3-4
  ProcVersionSignature: Ubuntu 5.8.0-25.26-generic 5.8.14
  Uname: Linux 5.8.0-25-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.11-0ubuntu50
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Oct 24 01:39:40 2020
  DistributionChannelDescriptor:
   # This is the distribution channel descriptor for the OEM CDs
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-bionic-amd64-20180608-47+merion+X66
  InstallationDate: Installed on 2019-09-27 (392 days ago)
  InstallationMedia: Ubuntu 18.04 "Bionic" - Build amd64 LIVE Binary 
20180608-09:38
  SourcePackage: thermald
  UpgradeStatus: Upgraded to groovy on 2020-10-23 (0 days ago)
  mtime.conffile..etc.thermald.thermal-conf.xml: 2020-10-24T01:35:59.781865

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thermald/+bug/1901266/+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 2041670] [NEW] tmpfs: O_DIRECT | O_CREATE open reports open failure but actually creates a file.

2023-10-27 Thread Colin Ian King
Public bug reported:

creating a file on tmpfs with open(filename, O_RDWR | O_DIRECT |
O_CREAT, 0666) reports an open failure error EINVAL, but still creates
the file. The file should not be created if we hit such an error.

Tested and fails on:
mantic amd64: 6.5.0-10-generic
lunar amd64: 6.2.0-35-generic
jammie amd64: 5.15.0-generic
focal: 5.4.0-165-generic
bionic: 4.15.0-213-generic
trusty: 4.4.0-148-generic


sudo mkdir /mnt/tmpfs
sudo mount -t tmpfs -o size=1G,nr_inodes=10k,mode=777 tmpfs /mnt/tmpfs
sudo chmod 666 /mnt/tmpfs
gcc reproducer.c -o reproducer
sudo ./reproducer

Run the attached program. It reports an open failure (errno 22, EINVAL)
but still manages to create the file.

Note this was original discovered by running stress-ng on tmpfs with the
open stressor: stress-ng --open 1

** Affects: linux
 Importance: Unknown
 Status: Unknown

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

** Attachment added: "C source to reproduce the issue"
   
https://bugs.launchpad.net/bugs/2041670/+attachment/5713768/+files/reproducer.c

** Bug watch added: Linux Kernel Bug Tracker #218049
   https://bugzilla.kernel.org/show_bug.cgi?id=218049

** Also affects: linux via
   https://bugzilla.kernel.org/show_bug.cgi?id=218049
   Importance: Unknown
   Status: Unknown

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

Title:
   tmpfs: O_DIRECT | O_CREATE open reports open failure but actually
  creates a file.

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  New

Bug description:
  creating a file on tmpfs with open(filename, O_RDWR | O_DIRECT |
  O_CREAT, 0666) reports an open failure error EINVAL, but still creates
  the file. The file should not be created if we hit such an error.

  Tested and fails on:
  mantic amd64: 6.5.0-10-generic
  lunar amd64: 6.2.0-35-generic
  jammie amd64: 5.15.0-generic
  focal: 5.4.0-165-generic
  bionic: 4.15.0-213-generic
  trusty: 4.4.0-148-generic

  
  sudo mkdir /mnt/tmpfs
  sudo mount -t tmpfs -o size=1G,nr_inodes=10k,mode=777 tmpfs /mnt/tmpfs
  sudo chmod 666 /mnt/tmpfs
  gcc reproducer.c -o reproducer
  sudo ./reproducer

  Run the attached program. It reports an open failure (errno 22,
  EINVAL) but still manages to create the file.

  Note this was original discovered by running stress-ng on tmpfs with
  the open stressor: stress-ng --open 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/2041670/+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 2038768] Re: arm64: linux: stress-ng filename stressor crashes kernel

2023-10-10 Thread Colin Ian King
Unable to collect data via apport-collect due to VPN restrictions.

** Changed in: linux (Ubuntu Mantic)
   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/2038768

Title:
  arm64: linux: stress-ng filename stressor crashes kernel

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

Bug description:
  Running latest Ubuntu mantic (ext4 file system) with kernel: Linux
  mantic-arm64 6.5.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 28
  19:12:05 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

  How to reproduce:

  Fire up a 24 instance ARM64 QEMU instance with Ubuntu Mantic Server.
  Install latest stress-ng from git repo:

  sudo apt-get update
  sudo apt-get build-dep stress-ng
  git clone git://github.com/ColinIanKing/stress-ng
  cd stress-ng
  make clean
  make -j 24
  make verify-test-all

  When we reach the filename stressor the kernel crashes as follows:

  [  902.594715] kernel BUG at fs/dcache.c:2050!
  [  902.598205] Internal error: Oops - BUG: f2000800 [#1] SMP
  [  902.603127] Modules linked in: dccp_ipv4 dccp atm vfio_iommu_type1 vfio 
iommu
  fd cmac algif_rng twofish_generic twofish_common serpent_generic fcrypt 
cast6_ge
  neric cast5_generic cast_common camellia_generic blowfish_generic 
blowfish_commo
  n aes_arm64 algif_skcipher algif_hash aria_generic sm4_generic sm4_neon ccm 
aes_
  ce_ccm des_generic libdes authenc aegis128 algif_aead af_alg cfg80211 
binfmt_mis
  c nls_iso8859_1 dm_multipath drm efi_pstore dmi_sysfs qemu_fw_cfg ip_tables 
x_ta
  bles autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov 
async_memcpy
   async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 
multipa
  th linear crct10dif_ce polyval_ce polyval_generic ghash_ce sm4 sha2_ce 
sha256_ar
  m64 sha1_ce arm_smccc_trng xhci_pci virtio_rng xhci_pci_renesas aes_neon_bs 
aes_
  neon_blk aes_ce_blk aes_ce_cipher
  [  902.689941] CPU: 1 PID: 91317 Comm: stress-ng-filen Not tainted 
6.5.0-7-gener
  ic #7-Ubuntu
  [  902.699281] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015
  [  902.706902] pstate: 4045 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
  [  902.715488] pc : d_instantiate_new+0xa8/0xc8
  [  902.720889] lr : ext4_add_nondir+0x10c/0x160
  [  902.725702] sp : 80008b6d3930
  [  902.729390] x29: 80008b6d3930 x28:  x27: 
bd164e51a980
  [  902.738705] x26: 6789f3b68f20 x25: 8180 x24: 
678a541f7968
  [  902.747003] x23: 6789f3b68f00 x22: 80008b6d39b0 x21: 
678a6a25bcb0
  [  902.755776] x20: 678a36f8f028 x19:  x18: 
80008af45068
  [  902.764647] x17:  x16:  x15: 
ecececececececec
  [  902.773135] x14: ecececececececec x13: ecececececececec x12: 
ecececececececec
  [  902.781386] x11: ecececececececec x10: ecececececececec x9 : 
bd164d5990bc
  [  902.789346] x8 :  x7 :  x6 : 

  [  902.798564] x5 :  x4 :  x3 : 

  [  902.806851] x2 : bd16504e4ce0 x1 : 678a36f8f028 x0 : 
6789f3b68f00
  [  902.815544] Call trace:
  [  902.818870]  d_instantiate_new+0xa8/0xc8
  [  902.823523]  ext4_create+0x120/0x238
  [  902.827716]  lookup_open.isra.0+0x480/0x4d0
  [  902.832480]  open_last_lookups+0x160/0x3b0
  [  902.837060]  path_openat+0xa0/0x2a0
  [  902.840975]  do_filp_open+0xa8/0x180
  [  902.845582]  do_sys_openat2+0xe8/0x128
  [  902.850426]  __arm64_sys_openat+0x70/0xe0
  [  902.854952]  invoke_syscall+0x7c/0x128
  [  902.859155]  el0_svc_common.constprop.0+0x5c/0x168
  [  902.864979]  do_el0_svc+0x38/0x68
  [  902.869364]  el0_svc+0x30/0xe0
  [  902.873401]  el0t_64_sync_handler+0x148/0x158
  [  902.878336]  el0t_64_sync+0x1b0/0x1b8
  [  902.882513] Code: d282 d2800010 d2800011 d65f03c0 (d421)
  [  902.890632] ---[ end trace  ]---

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2038768/+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 2038768] Re: arm64: linux: stress-ng filename stressor crashes kernel

2023-10-10 Thread Colin Ian King
** Changed in: linux (Ubuntu Mantic)
   Status: Incomplete => New

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

Title:
  arm64: linux: stress-ng filename stressor crashes kernel

Status in linux package in Ubuntu:
  New
Status in linux source package in Mantic:
  New

Bug description:
  Running latest Ubuntu mantic (ext4 file system) with kernel: Linux
  mantic-arm64 6.5.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 28
  19:12:05 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

  How to reproduce:

  Fire up a 24 instance ARM64 QEMU instance with Ubuntu Mantic Server.
  Install latest stress-ng from git repo:

  sudo apt-get update
  sudo apt-get build-dep stress-ng
  git clone git://github.com/ColinIanKing/stress-ng
  cd stress-ng
  make clean
  make -j 24
  make verify-test-all

  When we reach the filename stressor the kernel crashes as follows:

  [  902.594715] kernel BUG at fs/dcache.c:2050!
  [  902.598205] Internal error: Oops - BUG: f2000800 [#1] SMP
  [  902.603127] Modules linked in: dccp_ipv4 dccp atm vfio_iommu_type1 vfio 
iommu
  fd cmac algif_rng twofish_generic twofish_common serpent_generic fcrypt 
cast6_ge
  neric cast5_generic cast_common camellia_generic blowfish_generic 
blowfish_commo
  n aes_arm64 algif_skcipher algif_hash aria_generic sm4_generic sm4_neon ccm 
aes_
  ce_ccm des_generic libdes authenc aegis128 algif_aead af_alg cfg80211 
binfmt_mis
  c nls_iso8859_1 dm_multipath drm efi_pstore dmi_sysfs qemu_fw_cfg ip_tables 
x_ta
  bles autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov 
async_memcpy
   async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 
multipa
  th linear crct10dif_ce polyval_ce polyval_generic ghash_ce sm4 sha2_ce 
sha256_ar
  m64 sha1_ce arm_smccc_trng xhci_pci virtio_rng xhci_pci_renesas aes_neon_bs 
aes_
  neon_blk aes_ce_blk aes_ce_cipher
  [  902.689941] CPU: 1 PID: 91317 Comm: stress-ng-filen Not tainted 
6.5.0-7-gener
  ic #7-Ubuntu
  [  902.699281] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015
  [  902.706902] pstate: 4045 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
  [  902.715488] pc : d_instantiate_new+0xa8/0xc8
  [  902.720889] lr : ext4_add_nondir+0x10c/0x160
  [  902.725702] sp : 80008b6d3930
  [  902.729390] x29: 80008b6d3930 x28:  x27: 
bd164e51a980
  [  902.738705] x26: 6789f3b68f20 x25: 8180 x24: 
678a541f7968
  [  902.747003] x23: 6789f3b68f00 x22: 80008b6d39b0 x21: 
678a6a25bcb0
  [  902.755776] x20: 678a36f8f028 x19:  x18: 
80008af45068
  [  902.764647] x17:  x16:  x15: 
ecececececececec
  [  902.773135] x14: ecececececececec x13: ecececececececec x12: 
ecececececececec
  [  902.781386] x11: ecececececececec x10: ecececececececec x9 : 
bd164d5990bc
  [  902.789346] x8 :  x7 :  x6 : 

  [  902.798564] x5 :  x4 :  x3 : 

  [  902.806851] x2 : bd16504e4ce0 x1 : 678a36f8f028 x0 : 
6789f3b68f00
  [  902.815544] Call trace:
  [  902.818870]  d_instantiate_new+0xa8/0xc8
  [  902.823523]  ext4_create+0x120/0x238
  [  902.827716]  lookup_open.isra.0+0x480/0x4d0
  [  902.832480]  open_last_lookups+0x160/0x3b0
  [  902.837060]  path_openat+0xa0/0x2a0
  [  902.840975]  do_filp_open+0xa8/0x180
  [  902.845582]  do_sys_openat2+0xe8/0x128
  [  902.850426]  __arm64_sys_openat+0x70/0xe0
  [  902.854952]  invoke_syscall+0x7c/0x128
  [  902.859155]  el0_svc_common.constprop.0+0x5c/0x168
  [  902.864979]  do_el0_svc+0x38/0x68
  [  902.869364]  el0_svc+0x30/0xe0
  [  902.873401]  el0t_64_sync_handler+0x148/0x158
  [  902.878336]  el0t_64_sync+0x1b0/0x1b8
  [  902.882513] Code: d282 d2800010 d2800011 d65f03c0 (d421)
  [  902.890632] ---[ end trace  ]---

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2038768/+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 2038768] Re: arm64: linux: stress-ng filename stressor crashes kernel

2023-10-09 Thread Colin Ian King
Did an hour of soak testing with  arm64 kernel
https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.5.6/arm64/linux-image-
unsigned-6.5.6-060506-generic_6.5.6-060506.202310061235_arm64.deb and
cannot reproduce this issue.

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

Title:
  arm64: linux: stress-ng filename stressor crashes kernel

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Mantic:
  Incomplete

Bug description:
  Running latest Ubuntu mantic (ext4 file system) with kernel: Linux
  mantic-arm64 6.5.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 28
  19:12:05 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

  How to reproduce:

  Fire up a 24 instance ARM64 QEMU instance with Ubuntu Mantic Server.
  Install latest stress-ng from git repo:

  sudo apt-get update
  sudo apt-get build-dep stress-ng
  git clone git://github.com/ColinIanKing/stress-ng
  cd stress-ng
  make clean
  make -j 24
  make verify-test-all

  When we reach the filename stressor the kernel crashes as follows:

  [  902.594715] kernel BUG at fs/dcache.c:2050!
  [  902.598205] Internal error: Oops - BUG: f2000800 [#1] SMP
  [  902.603127] Modules linked in: dccp_ipv4 dccp atm vfio_iommu_type1 vfio 
iommu
  fd cmac algif_rng twofish_generic twofish_common serpent_generic fcrypt 
cast6_ge
  neric cast5_generic cast_common camellia_generic blowfish_generic 
blowfish_commo
  n aes_arm64 algif_skcipher algif_hash aria_generic sm4_generic sm4_neon ccm 
aes_
  ce_ccm des_generic libdes authenc aegis128 algif_aead af_alg cfg80211 
binfmt_mis
  c nls_iso8859_1 dm_multipath drm efi_pstore dmi_sysfs qemu_fw_cfg ip_tables 
x_ta
  bles autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov 
async_memcpy
   async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 
multipa
  th linear crct10dif_ce polyval_ce polyval_generic ghash_ce sm4 sha2_ce 
sha256_ar
  m64 sha1_ce arm_smccc_trng xhci_pci virtio_rng xhci_pci_renesas aes_neon_bs 
aes_
  neon_blk aes_ce_blk aes_ce_cipher
  [  902.689941] CPU: 1 PID: 91317 Comm: stress-ng-filen Not tainted 
6.5.0-7-gener
  ic #7-Ubuntu
  [  902.699281] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015
  [  902.706902] pstate: 4045 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
  [  902.715488] pc : d_instantiate_new+0xa8/0xc8
  [  902.720889] lr : ext4_add_nondir+0x10c/0x160
  [  902.725702] sp : 80008b6d3930
  [  902.729390] x29: 80008b6d3930 x28:  x27: 
bd164e51a980
  [  902.738705] x26: 6789f3b68f20 x25: 8180 x24: 
678a541f7968
  [  902.747003] x23: 6789f3b68f00 x22: 80008b6d39b0 x21: 
678a6a25bcb0
  [  902.755776] x20: 678a36f8f028 x19:  x18: 
80008af45068
  [  902.764647] x17:  x16:  x15: 
ecececececececec
  [  902.773135] x14: ecececececececec x13: ecececececececec x12: 
ecececececececec
  [  902.781386] x11: ecececececececec x10: ecececececececec x9 : 
bd164d5990bc
  [  902.789346] x8 :  x7 :  x6 : 

  [  902.798564] x5 :  x4 :  x3 : 

  [  902.806851] x2 : bd16504e4ce0 x1 : 678a36f8f028 x0 : 
6789f3b68f00
  [  902.815544] Call trace:
  [  902.818870]  d_instantiate_new+0xa8/0xc8
  [  902.823523]  ext4_create+0x120/0x238
  [  902.827716]  lookup_open.isra.0+0x480/0x4d0
  [  902.832480]  open_last_lookups+0x160/0x3b0
  [  902.837060]  path_openat+0xa0/0x2a0
  [  902.840975]  do_filp_open+0xa8/0x180
  [  902.845582]  do_sys_openat2+0xe8/0x128
  [  902.850426]  __arm64_sys_openat+0x70/0xe0
  [  902.854952]  invoke_syscall+0x7c/0x128
  [  902.859155]  el0_svc_common.constprop.0+0x5c/0x168
  [  902.864979]  do_el0_svc+0x38/0x68
  [  902.869364]  el0_svc+0x30/0xe0
  [  902.873401]  el0t_64_sync_handler+0x148/0x158
  [  902.878336]  el0t_64_sync+0x1b0/0x1b8
  [  902.882513] Code: d282 d2800010 d2800011 d65f03c0 (d421)
  [  902.890632] ---[ end trace  ]---

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2038768/+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 2038768] Re: arm64: linux: stress-ng filename stressor crashes kernel

2023-10-09 Thread Colin Ian King
And can reproduce on real H/W on a 24 core "SC2A11" is a multi-core chip
with 24 cores of ARM® Cortex-A53. with Linux 6.5.0-7-generic #7-Ubuntu
SMP PREEMPT_DYNAMIC Thu Sep 28 19:12:05 UTC 2023 aarch64 aarch64 aarch64
GNU/Linux


[  201.075720] EXT4-fs (loop13): mounted filesystem 
52e32882-8b3a-47ce-8bf6-ce095960b1e7 r/w with ordered data mode. Quota mode: 
none.
[  516.665218] [ cut here ]
[  516.665249] kernel BUG at fs/dcache.c:2050!
[  516.665279] Internal error: Oops - BUG: f2000800 [#1] SMP
[  516.665301] Modules linked in: tls vhost_vsock 
vmw_vsock_virtio_transport_common vhost vhost_iotlb vsock nf_conntrack_netlink 
xfrm_user xfrm_algo xt_addrtype br_netfilter xt_CHECKSUM xt_MASQUERADE 
xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat 
nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink bridge 
stp llc overlay cfg80211 binfmt_misc zfs(PO) nls_iso8859_1 spl(O) 
snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core 
snd_hwdep snd_pcm snd_timer snd soundcore uio_pdrv_genirq uio dm_multipath 
efi_pstore dmi_sysfs ip_tables x_tables autofs4 btrfs blake2b_generic raid10 
raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor xor_neon 
raid6_pq libcrc32c raid1 raid0 multipath linear nouveau crct10dif_ce 
drm_ttm_helper polyval_ce polyval_generic ttm ghash_ce i2c_algo_bit 
drm_display_helper cec rc_core sm4 drm_kms_helper sha2_ce sha256_arm64 xhci_pci 
drm r8169 sha1_ce ahci xhci_pci_renesas realtek sdhci_f_sdh30 sdhci_pltfm sdhci 
gpio_keys
[  516.665743]  netsec gpio_mb86s7x i2c_synquacer aes_neon_bs aes_neon_blk 
aes_ce_blk aes_ce_cipher
[  516.665900] CPU: 2 PID: 17292 Comm: stress-ng-filen Tainted: P   O   
6.5.0-7-generic #7-Ubuntu
[  516.665927] Hardware name: Socionext SynQuacer E-series DeveloperBox, BIOS 
build #85 Nov  6 2020
[  516.665948] pstate: 4045 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[  516.665974] pc : d_instantiate_new+0xa8/0xc8
[  516.666006] lr : ext4_add_nondir+0x10c/0x160
[  516.666029] sp : 8000857838d0
[  516.666043] x29: 8000857838d0 x28:  x27: 8000816ea980
[  516.666076] x26: 0008119915e0 x25: 8180 x24: 000856c61ce8
[  516.666108] x23: 0008119915c0 x22: 800085783950 x21: 00080359e1c0
[  516.666140] x20: 0008561b1ce8 x19:  x18: 800085a6d068
[  516.666172] x17:  x16:  x15: 878b4681cc52c99d
[  516.666204] x14: d59de2a9feb89dca x13: 85e2878b4681cc52 x12: c99dd59de2a9feb8
[  516.666236] x11: e3b9eedbdf1c7d27 x10: 732db84fa4ef339b x9 : 8000807690bc
[  516.666268] x8 :  x7 :  x6 : 
[  516.666299] x5 :  x4 :  x3 : 
[  516.666330] x2 : 8000836b52e8 x1 : 0008561b1ce8 x0 : 0008119915c0
[  516.666362] Call trace:
[  516.666377]  d_instantiate_new+0xa8/0xc8
[  516.666401]  ext4_create+0x120/0x238
[  516.666422]  lookup_open.isra.0+0x480/0x4d0
[  516.666447]  open_last_lookups+0x160/0x3b0
[  516.666466]  path_openat+0xa0/0x2a0
[  516.666484]  do_filp_open+0xa8/0x180
[  516.666502]  do_sys_openat2+0xe8/0x128
[  516.666524]  __arm64_sys_openat+0x70/0xe0
[  516.666545]  invoke_syscall+0x7c/0x128
[  516.666566]  el0_svc_common.constprop.0+0x5c/0x168
[  516.666586]  do_el0_svc+0x38/0x68
[  516.04]  el0_svc+0x30/0xe0
[  516.26]  el0t_64_sync_handler+0x148/0x158
[  516.47]  el0t_64_sync+0x1b0/0x1b8
[  516.74] Code: d282 d2800010 d2800011 d65f03c0 (d421) 
[  516.96] ---[ end trace  ]---

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

Title:
  arm64: linux: stress-ng filename stressor crashes kernel

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Mantic:
  Incomplete

Bug description:
  Running latest Ubuntu mantic (ext4 file system) with kernel: Linux
  mantic-arm64 6.5.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 28
  19:12:05 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

  How to reproduce:

  Fire up a 24 instance ARM64 QEMU instance with Ubuntu Mantic Server.
  Install latest stress-ng from git repo:

  sudo apt-get update
  sudo apt-get build-dep stress-ng
  git clone git://github.com/ColinIanKing/stress-ng
  cd stress-ng
  make clean
  make -j 24
  make verify-test-all

  When we reach the filename stressor the kernel crashes as follows:

  [  902.594715] kernel BUG at fs/dcache.c:2050!
  [  902.598205] Internal error: Oops - BUG: f2000800 [#1] SMP
  [  902.603127] Modules linked in: dccp_ipv4 dccp atm vfio_iommu_type1 vfio 
iommu
  fd cmac algif_rng twofish_generic twofish_common serpent_generic fcrypt 
cast6_ge
  neric cast5_generic cast_common camellia_generic blowfish_generic 
blowfish_commo
  n aes_arm64 algif_skcipher 

[Kernel-packages] [Bug 2038768] Re: arm64: linux: stress-ng filename stressor crashes kernel

2023-10-09 Thread Colin Ian King
Reproduced this with mainline arm64 kernel
https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.5.5/arm64/linux-image-
unsigned-6.5.5-060505-generic_6.5.5-060505.202309230703_arm64.deb

[  219.219042] Internal error: Oops - BUG: f2000800 [#1] SMP
[  219.262013] Modules linked in: cfg80211 binfmt_misc nls_iso8859_1 dm_multipat
h drm efi_pstore dmi_sysfs qemu_fw_cfg ip_tables x_tables autofs4 btrfs blake2b_
generic raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_t
x xor xor_neon raid6_pq libcrc32c raid1 raid0 multipath linear crct10dif_ce poly
val_ce polyval_generic ghash_ce sm4 sha2_ce sha256_arm64 virtio_net sha1_ce arm_
smccc_trng virtio_rng net_failover xhci_pci failover xhci_pci_renesas aes_neon_b
s aes_neon_blk aes_ce_blk aes_ce_cipher
[  219.322456] CPU: 13 PID: 1182 Comm: stress-ng-filen Not tainted 6.5.5-060505-
generic #202309230703
[  219.332405] Hardware name: QEMU KVM Virtual Machine, BIOS 2023.05-2 09/23/202
3
[  219.340433] pstate: 4045 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[  219.348163] pc : d_instantiate_new+0xa8/0xc8
[  219.352942] lr : ext4_add_nondir+0x10c/0x160
[  219.357822] sp : 8000826ab9d0
[  219.361517] x29: 8000826ab9d0 x28:  x27: a9b65720a940
[  219.369535] x26: 1ea33582d2e0 x25: 8180 x24: 1ea3c2bb3d48
[  219.377494] x23: 1ea33582d2c0 x22: 8000826abab0 x21: 1ea3c3344930
[  219.385428] x20: 1ea324bda188 x19:  x18: 800080b4d068
[  219.393336] x17:  x16:  x15: 9afaefe7af176647
[  219.401279] x14: f302afa80109b8f3 x13: a3469afaefe7af17 x12: 6647f302afa80109
[  219.409258] x11: b4e7e46bc44fb52e x10: 4e81094291a860ce x9 : a9b6562b1b74
[  219.417639] x8 :  x7 :  x6 : 
[  219.426015] x5 :  x4 :  x3 : 
[  219.434462] x2 : a9b6591b27e8 x1 : 1ea324bda188 x0 : 1ea33582d2c0
[  219.442708] Call trace:
[  219.445901]  d_instantiate_new+0xa8/0xc8
[  219.450786]  ext4_create+0x120/0x238
[  219.454800]  lookup_open.isra.0+0x478/0x4c8
[  219.459476]  open_last_lookups+0x160/0x3b0
[  219.464060]  path_openat+0x9c/0x290
[  219.468062]  do_filp_open+0xac/0x188
[  219.472175]  do_sys_openat2+0xe4/0x120
[  219.476412]  __arm64_sys_openat+0x6c/0xd8
[  219.481300]  invoke_syscall+0x7c/0x128
[  219.485876]  el0_svc_common.constprop.0+0x5c/0x168
[  219.491561]  do_el0_svc+0x38/0x68
[  219.495523]  el0_svc+0x30/0xe0
[  219.499161]  el0t_64_sync_handler+0x148/0x158
[  219.504139]  el0t_64_sync+0x1b0/0x1b8
[  219.508320] Code: d282 d2800010 d2800011 d65f03c0 (d421) 
[  219.515430] ---[ end trace  ]---

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

Title:
  arm64: linux: stress-ng filename stressor crashes kernel

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Mantic:
  Incomplete

Bug description:
  Running latest Ubuntu mantic (ext4 file system) with kernel: Linux
  mantic-arm64 6.5.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 28
  19:12:05 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

  How to reproduce:

  Fire up a 24 instance ARM64 QEMU instance with Ubuntu Mantic Server.
  Install latest stress-ng from git repo:

  sudo apt-get update
  sudo apt-get build-dep stress-ng
  git clone git://github.com/ColinIanKing/stress-ng
  cd stress-ng
  make clean
  make -j 24
  make verify-test-all

  When we reach the filename stressor the kernel crashes as follows:

  [  902.594715] kernel BUG at fs/dcache.c:2050!
  [  902.598205] Internal error: Oops - BUG: f2000800 [#1] SMP
  [  902.603127] Modules linked in: dccp_ipv4 dccp atm vfio_iommu_type1 vfio 
iommu
  fd cmac algif_rng twofish_generic twofish_common serpent_generic fcrypt 
cast6_ge
  neric cast5_generic cast_common camellia_generic blowfish_generic 
blowfish_commo
  n aes_arm64 algif_skcipher algif_hash aria_generic sm4_generic sm4_neon ccm 
aes_
  ce_ccm des_generic libdes authenc aegis128 algif_aead af_alg cfg80211 
binfmt_mis
  c nls_iso8859_1 dm_multipath drm efi_pstore dmi_sysfs qemu_fw_cfg ip_tables 
x_ta
  bles autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov 
async_memcpy
   async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 
multipa
  th linear crct10dif_ce polyval_ce polyval_generic ghash_ce sm4 sha2_ce 
sha256_ar
  m64 sha1_ce arm_smccc_trng xhci_pci virtio_rng xhci_pci_renesas aes_neon_bs 
aes_
  neon_blk aes_ce_blk aes_ce_cipher
  [  902.689941] CPU: 1 PID: 91317 Comm: stress-ng-filen Not tainted 
6.5.0-7-gener
  ic #7-Ubuntu
  [  902.699281] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015
  [  902.706902] pstate: 4045 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
  [  902.715488] pc : d_instantiate_new+0xa8/0xc8
  [  902.720889] lr : 

[Kernel-packages] [Bug 2038768] Re: arm64: linux: stress-ng filename stressor crashes kernel

2023-10-09 Thread Colin Ian King
Reproduced this with mainline arm64 kernel
https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.5/arm64/linux-image-
unsigned-6.5.0-060500-generic_6.5.0-060500.202308271831_arm64.deb

[  184.853731] pstate: 4045 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[  184.862627] pc : d_instantiate_new+0xa8/0xc8
[  184.867973] lr : ext4_add_nondir+0xf0/0x148
[  184.872959] sp : 8000828ab950
[  184.877059] x29: 8000828ab950 x28:  x27: d975b8b9a6c0
[  184.885032] x26: 7b0094e32c20 x25: 8180 x24: 7b01432e9848
[  184.893573] x23: 8000828aba30 x22: 7b0094e32c00 x21: 7b0172d574d0
[  184.902071] x20: 7b0089fbc688 x19:  x18: 800082295068
[  184.910550] x17:  x16:  x15: 5e9ca062546ae354
[  184.919056] x14: 998c9ec3ecc3a882 x13: 24d23ffaf8b470b6 x12: 022485883b51bee2
[  184.927692] x11: 5c7ac5c18df459ab x10: 6e24d23ffaf8b470 x9 : d975b7c3d730
[  184.936212] x8 :  x7 :  x6 : 
[  184.944811] x5 :  x4 :  x3 : 
[  184.953651] x2 : d975bab42cf0 x1 : 7b0089fbc688 x0 : 7b0094e32c00
[  184.962508] Call trace:
[  184.965316]  d_instantiate_new+0xa8/0xc8
[  184.969803]  ext4_create+0x120/0x238
[  184.973910]  lookup_open.isra.0+0x478/0x4c8
[  184.978689]  open_last_lookups+0x160/0x3b0
[  184.983374]  path_openat+0x9c/0x290
[  184.987372]  do_filp_open+0xac/0x188
[  184.991444]  do_sys_openat2+0xe4/0x120
[  184.995701]  __arm64_sys_openat+0x6c/0xd8
[  185.000271]  invoke_syscall+0x7c/0x128
[  185.004520]  el0_svc_common.constprop.0+0x5c/0x168
[  185.009977]  do_el0_svc+0x38/0x68
[  185.013775]  el0_svc+0x30/0xe0
[  185.017265]  el0t_64_sync_handler+0x148/0x158
[  185.022183]  el0t_64_sync+0x1b0/0x1b8
[  185.026332] Code: d282 d2800010 d2800011 d65f03c0 (d421) 
[  185.033606] ---[ end trace  ]---

Took a while to trigger.

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

Title:
  arm64: linux: stress-ng filename stressor crashes kernel

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Mantic:
  Incomplete

Bug description:
  Running latest Ubuntu mantic (ext4 file system) with kernel: Linux
  mantic-arm64 6.5.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 28
  19:12:05 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

  How to reproduce:

  Fire up a 24 instance ARM64 QEMU instance with Ubuntu Mantic Server.
  Install latest stress-ng from git repo:

  sudo apt-get update
  sudo apt-get build-dep stress-ng
  git clone git://github.com/ColinIanKing/stress-ng
  cd stress-ng
  make clean
  make -j 24
  make verify-test-all

  When we reach the filename stressor the kernel crashes as follows:

  [  902.594715] kernel BUG at fs/dcache.c:2050!
  [  902.598205] Internal error: Oops - BUG: f2000800 [#1] SMP
  [  902.603127] Modules linked in: dccp_ipv4 dccp atm vfio_iommu_type1 vfio 
iommu
  fd cmac algif_rng twofish_generic twofish_common serpent_generic fcrypt 
cast6_ge
  neric cast5_generic cast_common camellia_generic blowfish_generic 
blowfish_commo
  n aes_arm64 algif_skcipher algif_hash aria_generic sm4_generic sm4_neon ccm 
aes_
  ce_ccm des_generic libdes authenc aegis128 algif_aead af_alg cfg80211 
binfmt_mis
  c nls_iso8859_1 dm_multipath drm efi_pstore dmi_sysfs qemu_fw_cfg ip_tables 
x_ta
  bles autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov 
async_memcpy
   async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 
multipa
  th linear crct10dif_ce polyval_ce polyval_generic ghash_ce sm4 sha2_ce 
sha256_ar
  m64 sha1_ce arm_smccc_trng xhci_pci virtio_rng xhci_pci_renesas aes_neon_bs 
aes_
  neon_blk aes_ce_blk aes_ce_cipher
  [  902.689941] CPU: 1 PID: 91317 Comm: stress-ng-filen Not tainted 
6.5.0-7-gener
  ic #7-Ubuntu
  [  902.699281] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015
  [  902.706902] pstate: 4045 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
  [  902.715488] pc : d_instantiate_new+0xa8/0xc8
  [  902.720889] lr : ext4_add_nondir+0x10c/0x160
  [  902.725702] sp : 80008b6d3930
  [  902.729390] x29: 80008b6d3930 x28:  x27: 
bd164e51a980
  [  902.738705] x26: 6789f3b68f20 x25: 8180 x24: 
678a541f7968
  [  902.747003] x23: 6789f3b68f00 x22: 80008b6d39b0 x21: 
678a6a25bcb0
  [  902.755776] x20: 678a36f8f028 x19:  x18: 
80008af45068
  [  902.764647] x17:  x16:  x15: 
ecececececececec
  [  902.773135] x14: ecececececececec x13: ecececececececec x12: 
ecececececececec
  [  902.781386] x11: ecececececececec x10: ecececececececec x9 : 
bd164d5990bc
  [  902.789346] x8 :  x7 :  x6 : 

  [  902.798564] x5 : 

[Kernel-packages] [Bug 2038768] Re: arm64: linux: stress-ng filename stressor crashes kernel

2023-10-09 Thread Colin Ian King
Can't reproduce this with mainline arm64 kernel
https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.5.6/arm64/linux-image-
unsigned-6.5.6-060506-generic_6.5.6-060506.202310061235_arm64.deb

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

Title:
  arm64: linux: stress-ng filename stressor crashes kernel

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Mantic:
  Incomplete

Bug description:
  Running latest Ubuntu mantic (ext4 file system) with kernel: Linux
  mantic-arm64 6.5.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 28
  19:12:05 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

  How to reproduce:

  Fire up a 24 instance ARM64 QEMU instance with Ubuntu Mantic Server.
  Install latest stress-ng from git repo:

  sudo apt-get update
  sudo apt-get build-dep stress-ng
  git clone git://github.com/ColinIanKing/stress-ng
  cd stress-ng
  make clean
  make -j 24
  make verify-test-all

  When we reach the filename stressor the kernel crashes as follows:

  [  902.594715] kernel BUG at fs/dcache.c:2050!
  [  902.598205] Internal error: Oops - BUG: f2000800 [#1] SMP
  [  902.603127] Modules linked in: dccp_ipv4 dccp atm vfio_iommu_type1 vfio 
iommu
  fd cmac algif_rng twofish_generic twofish_common serpent_generic fcrypt 
cast6_ge
  neric cast5_generic cast_common camellia_generic blowfish_generic 
blowfish_commo
  n aes_arm64 algif_skcipher algif_hash aria_generic sm4_generic sm4_neon ccm 
aes_
  ce_ccm des_generic libdes authenc aegis128 algif_aead af_alg cfg80211 
binfmt_mis
  c nls_iso8859_1 dm_multipath drm efi_pstore dmi_sysfs qemu_fw_cfg ip_tables 
x_ta
  bles autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov 
async_memcpy
   async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 
multipa
  th linear crct10dif_ce polyval_ce polyval_generic ghash_ce sm4 sha2_ce 
sha256_ar
  m64 sha1_ce arm_smccc_trng xhci_pci virtio_rng xhci_pci_renesas aes_neon_bs 
aes_
  neon_blk aes_ce_blk aes_ce_cipher
  [  902.689941] CPU: 1 PID: 91317 Comm: stress-ng-filen Not tainted 
6.5.0-7-gener
  ic #7-Ubuntu
  [  902.699281] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015
  [  902.706902] pstate: 4045 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
  [  902.715488] pc : d_instantiate_new+0xa8/0xc8
  [  902.720889] lr : ext4_add_nondir+0x10c/0x160
  [  902.725702] sp : 80008b6d3930
  [  902.729390] x29: 80008b6d3930 x28:  x27: 
bd164e51a980
  [  902.738705] x26: 6789f3b68f20 x25: 8180 x24: 
678a541f7968
  [  902.747003] x23: 6789f3b68f00 x22: 80008b6d39b0 x21: 
678a6a25bcb0
  [  902.755776] x20: 678a36f8f028 x19:  x18: 
80008af45068
  [  902.764647] x17:  x16:  x15: 
ecececececececec
  [  902.773135] x14: ecececececececec x13: ecececececececec x12: 
ecececececececec
  [  902.781386] x11: ecececececececec x10: ecececececececec x9 : 
bd164d5990bc
  [  902.789346] x8 :  x7 :  x6 : 

  [  902.798564] x5 :  x4 :  x3 : 

  [  902.806851] x2 : bd16504e4ce0 x1 : 678a36f8f028 x0 : 
6789f3b68f00
  [  902.815544] Call trace:
  [  902.818870]  d_instantiate_new+0xa8/0xc8
  [  902.823523]  ext4_create+0x120/0x238
  [  902.827716]  lookup_open.isra.0+0x480/0x4d0
  [  902.832480]  open_last_lookups+0x160/0x3b0
  [  902.837060]  path_openat+0xa0/0x2a0
  [  902.840975]  do_filp_open+0xa8/0x180
  [  902.845582]  do_sys_openat2+0xe8/0x128
  [  902.850426]  __arm64_sys_openat+0x70/0xe0
  [  902.854952]  invoke_syscall+0x7c/0x128
  [  902.859155]  el0_svc_common.constprop.0+0x5c/0x168
  [  902.864979]  do_el0_svc+0x38/0x68
  [  902.869364]  el0_svc+0x30/0xe0
  [  902.873401]  el0t_64_sync_handler+0x148/0x158
  [  902.878336]  el0t_64_sync+0x1b0/0x1b8
  [  902.882513] Code: d282 d2800010 d2800011 d65f03c0 (d421)
  [  902.890632] ---[ end trace  ]---

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2038768/+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 2038768] Re: arm64: linux: stress-ng filename stressor crashes kernel

2023-10-08 Thread Colin Ian King
Can't seem to trip the issue on a 24 core x86 instance, maybe this is
ARM64 specific.

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

Title:
  arm64: linux: stress-ng filename stressor crashes kernel

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Mantic:
  Incomplete

Bug description:
  Running latest Ubuntu mantic (ext4 file system) with kernel: Linux
  mantic-arm64 6.5.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 28
  19:12:05 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

  How to reproduce:

  Fire up a 24 instance ARM64 QEMU instance with Ubuntu Mantic Server.
  Install latest stress-ng from git repo:

  sudo apt-get update
  sudo apt-get build-dep stress-ng
  git clone git://github.com/ColinIanKing/stress-ng
  cd stress-ng
  make clean
  make -j 24
  make verify-test-all

  When we reach the filename stressor the kernel crashes as follows:

  [  902.594715] kernel BUG at fs/dcache.c:2050!
  [  902.598205] Internal error: Oops - BUG: f2000800 [#1] SMP
  [  902.603127] Modules linked in: dccp_ipv4 dccp atm vfio_iommu_type1 vfio 
iommu
  fd cmac algif_rng twofish_generic twofish_common serpent_generic fcrypt 
cast6_ge
  neric cast5_generic cast_common camellia_generic blowfish_generic 
blowfish_commo
  n aes_arm64 algif_skcipher algif_hash aria_generic sm4_generic sm4_neon ccm 
aes_
  ce_ccm des_generic libdes authenc aegis128 algif_aead af_alg cfg80211 
binfmt_mis
  c nls_iso8859_1 dm_multipath drm efi_pstore dmi_sysfs qemu_fw_cfg ip_tables 
x_ta
  bles autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov 
async_memcpy
   async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 
multipa
  th linear crct10dif_ce polyval_ce polyval_generic ghash_ce sm4 sha2_ce 
sha256_ar
  m64 sha1_ce arm_smccc_trng xhci_pci virtio_rng xhci_pci_renesas aes_neon_bs 
aes_
  neon_blk aes_ce_blk aes_ce_cipher
  [  902.689941] CPU: 1 PID: 91317 Comm: stress-ng-filen Not tainted 
6.5.0-7-gener
  ic #7-Ubuntu
  [  902.699281] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015
  [  902.706902] pstate: 4045 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
  [  902.715488] pc : d_instantiate_new+0xa8/0xc8
  [  902.720889] lr : ext4_add_nondir+0x10c/0x160
  [  902.725702] sp : 80008b6d3930
  [  902.729390] x29: 80008b6d3930 x28:  x27: 
bd164e51a980
  [  902.738705] x26: 6789f3b68f20 x25: 8180 x24: 
678a541f7968
  [  902.747003] x23: 6789f3b68f00 x22: 80008b6d39b0 x21: 
678a6a25bcb0
  [  902.755776] x20: 678a36f8f028 x19:  x18: 
80008af45068
  [  902.764647] x17:  x16:  x15: 
ecececececececec
  [  902.773135] x14: ecececececececec x13: ecececececececec x12: 
ecececececececec
  [  902.781386] x11: ecececececececec x10: ecececececececec x9 : 
bd164d5990bc
  [  902.789346] x8 :  x7 :  x6 : 

  [  902.798564] x5 :  x4 :  x3 : 

  [  902.806851] x2 : bd16504e4ce0 x1 : 678a36f8f028 x0 : 
6789f3b68f00
  [  902.815544] Call trace:
  [  902.818870]  d_instantiate_new+0xa8/0xc8
  [  902.823523]  ext4_create+0x120/0x238
  [  902.827716]  lookup_open.isra.0+0x480/0x4d0
  [  902.832480]  open_last_lookups+0x160/0x3b0
  [  902.837060]  path_openat+0xa0/0x2a0
  [  902.840975]  do_filp_open+0xa8/0x180
  [  902.845582]  do_sys_openat2+0xe8/0x128
  [  902.850426]  __arm64_sys_openat+0x70/0xe0
  [  902.854952]  invoke_syscall+0x7c/0x128
  [  902.859155]  el0_svc_common.constprop.0+0x5c/0x168
  [  902.864979]  do_el0_svc+0x38/0x68
  [  902.869364]  el0_svc+0x30/0xe0
  [  902.873401]  el0t_64_sync_handler+0x148/0x158
  [  902.878336]  el0t_64_sync+0x1b0/0x1b8
  [  902.882513] Code: d282 d2800010 d2800011 d65f03c0 (d421)
  [  902.890632] ---[ end trace  ]---

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2038768/+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 2038768] Re: arm64: linux: stress-ng filename stressor crashes kernel

2023-10-08 Thread Colin Ian King
** Also affects: linux (Ubuntu Mantic)
   Importance: High
   Status: Incomplete

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

Title:
  arm64: linux: stress-ng filename stressor crashes kernel

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Mantic:
  Incomplete

Bug description:
  Running latest Ubuntu mantic (ext4 file system) with kernel: Linux
  mantic-arm64 6.5.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 28
  19:12:05 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

  How to reproduce:

  Fire up a 24 instance ARM64 QEMU instance with Ubuntu Mantic Server.
  Install latest stress-ng from git repo:

  sudo apt-get update
  sudo apt-get build-dep stress-ng
  git clone git://github.com/ColinIanKing/stress-ng
  cd stress-ng
  make clean
  make -j 24
  make verify-test-all

  When we reach the filename stressor the kernel crashes as follows:

  [  902.594715] kernel BUG at fs/dcache.c:2050!
  [  902.598205] Internal error: Oops - BUG: f2000800 [#1] SMP
  [  902.603127] Modules linked in: dccp_ipv4 dccp atm vfio_iommu_type1 vfio 
iommu
  fd cmac algif_rng twofish_generic twofish_common serpent_generic fcrypt 
cast6_ge
  neric cast5_generic cast_common camellia_generic blowfish_generic 
blowfish_commo
  n aes_arm64 algif_skcipher algif_hash aria_generic sm4_generic sm4_neon ccm 
aes_
  ce_ccm des_generic libdes authenc aegis128 algif_aead af_alg cfg80211 
binfmt_mis
  c nls_iso8859_1 dm_multipath drm efi_pstore dmi_sysfs qemu_fw_cfg ip_tables 
x_ta
  bles autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov 
async_memcpy
   async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 
multipa
  th linear crct10dif_ce polyval_ce polyval_generic ghash_ce sm4 sha2_ce 
sha256_ar
  m64 sha1_ce arm_smccc_trng xhci_pci virtio_rng xhci_pci_renesas aes_neon_bs 
aes_
  neon_blk aes_ce_blk aes_ce_cipher
  [  902.689941] CPU: 1 PID: 91317 Comm: stress-ng-filen Not tainted 
6.5.0-7-gener
  ic #7-Ubuntu
  [  902.699281] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015
  [  902.706902] pstate: 4045 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
  [  902.715488] pc : d_instantiate_new+0xa8/0xc8
  [  902.720889] lr : ext4_add_nondir+0x10c/0x160
  [  902.725702] sp : 80008b6d3930
  [  902.729390] x29: 80008b6d3930 x28:  x27: 
bd164e51a980
  [  902.738705] x26: 6789f3b68f20 x25: 8180 x24: 
678a541f7968
  [  902.747003] x23: 6789f3b68f00 x22: 80008b6d39b0 x21: 
678a6a25bcb0
  [  902.755776] x20: 678a36f8f028 x19:  x18: 
80008af45068
  [  902.764647] x17:  x16:  x15: 
ecececececececec
  [  902.773135] x14: ecececececececec x13: ecececececececec x12: 
ecececececececec
  [  902.781386] x11: ecececececececec x10: ecececececececec x9 : 
bd164d5990bc
  [  902.789346] x8 :  x7 :  x6 : 

  [  902.798564] x5 :  x4 :  x3 : 

  [  902.806851] x2 : bd16504e4ce0 x1 : 678a36f8f028 x0 : 
6789f3b68f00
  [  902.815544] Call trace:
  [  902.818870]  d_instantiate_new+0xa8/0xc8
  [  902.823523]  ext4_create+0x120/0x238
  [  902.827716]  lookup_open.isra.0+0x480/0x4d0
  [  902.832480]  open_last_lookups+0x160/0x3b0
  [  902.837060]  path_openat+0xa0/0x2a0
  [  902.840975]  do_filp_open+0xa8/0x180
  [  902.845582]  do_sys_openat2+0xe8/0x128
  [  902.850426]  __arm64_sys_openat+0x70/0xe0
  [  902.854952]  invoke_syscall+0x7c/0x128
  [  902.859155]  el0_svc_common.constprop.0+0x5c/0x168
  [  902.864979]  do_el0_svc+0x38/0x68
  [  902.869364]  el0_svc+0x30/0xe0
  [  902.873401]  el0t_64_sync_handler+0x148/0x158
  [  902.878336]  el0t_64_sync+0x1b0/0x1b8
  [  902.882513] Code: d282 d2800010 d2800011 d65f03c0 (d421)
  [  902.890632] ---[ end trace  ]---

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2038768/+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 2038768] Re: arm64: linux: stress-ng filename stressor crashes kernel

2023-10-08 Thread Colin Ian King
I created a 1GB file and created a fresh ext4 file system on it and loop
back mounted it on /mnt, I created test directory /mnt/test and ran:

/stress-ng --filename 0 --temp-path /mnt/test --klog-check


Managed to trip the kernel crash again. So it appears to occur on a fresh ext4 
file system too :-(

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

Title:
  arm64: linux: stress-ng filename stressor crashes kernel

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Running latest Ubuntu mantic (ext4 file system) with kernel: Linux
  mantic-arm64 6.5.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 28
  19:12:05 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

  How to reproduce:

  Fire up a 24 instance ARM64 QEMU instance with Ubuntu Mantic Server.
  Install latest stress-ng from git repo:

  sudo apt-get update
  sudo apt-get build-dep stress-ng
  git clone git://github.com/ColinIanKing/stress-ng
  cd stress-ng
  make clean
  make -j 24
  make verify-test-all

  When we reach the filename stressor the kernel crashes as follows:

  [  902.594715] kernel BUG at fs/dcache.c:2050!
  [  902.598205] Internal error: Oops - BUG: f2000800 [#1] SMP
  [  902.603127] Modules linked in: dccp_ipv4 dccp atm vfio_iommu_type1 vfio 
iommu
  fd cmac algif_rng twofish_generic twofish_common serpent_generic fcrypt 
cast6_ge
  neric cast5_generic cast_common camellia_generic blowfish_generic 
blowfish_commo
  n aes_arm64 algif_skcipher algif_hash aria_generic sm4_generic sm4_neon ccm 
aes_
  ce_ccm des_generic libdes authenc aegis128 algif_aead af_alg cfg80211 
binfmt_mis
  c nls_iso8859_1 dm_multipath drm efi_pstore dmi_sysfs qemu_fw_cfg ip_tables 
x_ta
  bles autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov 
async_memcpy
   async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 
multipa
  th linear crct10dif_ce polyval_ce polyval_generic ghash_ce sm4 sha2_ce 
sha256_ar
  m64 sha1_ce arm_smccc_trng xhci_pci virtio_rng xhci_pci_renesas aes_neon_bs 
aes_
  neon_blk aes_ce_blk aes_ce_cipher
  [  902.689941] CPU: 1 PID: 91317 Comm: stress-ng-filen Not tainted 
6.5.0-7-gener
  ic #7-Ubuntu
  [  902.699281] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015
  [  902.706902] pstate: 4045 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
  [  902.715488] pc : d_instantiate_new+0xa8/0xc8
  [  902.720889] lr : ext4_add_nondir+0x10c/0x160
  [  902.725702] sp : 80008b6d3930
  [  902.729390] x29: 80008b6d3930 x28:  x27: 
bd164e51a980
  [  902.738705] x26: 6789f3b68f20 x25: 8180 x24: 
678a541f7968
  [  902.747003] x23: 6789f3b68f00 x22: 80008b6d39b0 x21: 
678a6a25bcb0
  [  902.755776] x20: 678a36f8f028 x19:  x18: 
80008af45068
  [  902.764647] x17:  x16:  x15: 
ecececececececec
  [  902.773135] x14: ecececececececec x13: ecececececececec x12: 
ecececececececec
  [  902.781386] x11: ecececececececec x10: ecececececececec x9 : 
bd164d5990bc
  [  902.789346] x8 :  x7 :  x6 : 

  [  902.798564] x5 :  x4 :  x3 : 

  [  902.806851] x2 : bd16504e4ce0 x1 : 678a36f8f028 x0 : 
6789f3b68f00
  [  902.815544] Call trace:
  [  902.818870]  d_instantiate_new+0xa8/0xc8
  [  902.823523]  ext4_create+0x120/0x238
  [  902.827716]  lookup_open.isra.0+0x480/0x4d0
  [  902.832480]  open_last_lookups+0x160/0x3b0
  [  902.837060]  path_openat+0xa0/0x2a0
  [  902.840975]  do_filp_open+0xa8/0x180
  [  902.845582]  do_sys_openat2+0xe8/0x128
  [  902.850426]  __arm64_sys_openat+0x70/0xe0
  [  902.854952]  invoke_syscall+0x7c/0x128
  [  902.859155]  el0_svc_common.constprop.0+0x5c/0x168
  [  902.864979]  do_el0_svc+0x38/0x68
  [  902.869364]  el0_svc+0x30/0xe0
  [  902.873401]  el0t_64_sync_handler+0x148/0x158
  [  902.878336]  el0t_64_sync+0x1b0/0x1b8
  [  902.882513] Code: d282 d2800010 d2800011 d65f03c0 (d421)
  [  902.890632] ---[ end trace  ]---

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2038768/+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 2038768] [NEW] arm64: linux: stress-ng filename stressor crashes kernel

2023-10-08 Thread Colin Ian King
Public bug reported:

Running latest Ubuntu mantic (ext4 file system) with kernel: Linux
mantic-arm64 6.5.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 28
19:12:05 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

How to reproduce:

Fire up a 24 instance ARM64 QEMU instance with Ubuntu Mantic Server.
Install latest stress-ng from git repo:

sudo apt-get update
sudo apt-get build-dep stress-ng
git clone git://github.com/ColinIanKing/stress-ng
cd stress-ng
make clean
make -j 24
make verify-test-all

When we reach the filename stressor the kernel crashes as follows:

[  902.594715] kernel BUG at fs/dcache.c:2050!
[  902.598205] Internal error: Oops - BUG: f2000800 [#1] SMP
[  902.603127] Modules linked in: dccp_ipv4 dccp atm vfio_iommu_type1 vfio iommu
fd cmac algif_rng twofish_generic twofish_common serpent_generic fcrypt cast6_ge
neric cast5_generic cast_common camellia_generic blowfish_generic blowfish_commo
n aes_arm64 algif_skcipher algif_hash aria_generic sm4_generic sm4_neon ccm aes_
ce_ccm des_generic libdes authenc aegis128 algif_aead af_alg cfg80211 binfmt_mis
c nls_iso8859_1 dm_multipath drm efi_pstore dmi_sysfs qemu_fw_cfg ip_tables x_ta
bles autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov async_memcpy
 async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 multipa
th linear crct10dif_ce polyval_ce polyval_generic ghash_ce sm4 sha2_ce sha256_ar
m64 sha1_ce arm_smccc_trng xhci_pci virtio_rng xhci_pci_renesas aes_neon_bs aes_
neon_blk aes_ce_blk aes_ce_cipher
[  902.689941] CPU: 1 PID: 91317 Comm: stress-ng-filen Not tainted 6.5.0-7-gener
ic #7-Ubuntu
[  902.699281] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015
[  902.706902] pstate: 4045 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[  902.715488] pc : d_instantiate_new+0xa8/0xc8
[  902.720889] lr : ext4_add_nondir+0x10c/0x160
[  902.725702] sp : 80008b6d3930
[  902.729390] x29: 80008b6d3930 x28:  x27: bd164e51a980
[  902.738705] x26: 6789f3b68f20 x25: 8180 x24: 678a541f7968
[  902.747003] x23: 6789f3b68f00 x22: 80008b6d39b0 x21: 678a6a25bcb0
[  902.755776] x20: 678a36f8f028 x19:  x18: 80008af45068
[  902.764647] x17:  x16:  x15: ecececececececec
[  902.773135] x14: ecececececececec x13: ecececececececec x12: ecececececececec
[  902.781386] x11: ecececececececec x10: ecececececececec x9 : bd164d5990bc
[  902.789346] x8 :  x7 :  x6 : 
[  902.798564] x5 :  x4 :  x3 : 
[  902.806851] x2 : bd16504e4ce0 x1 : 678a36f8f028 x0 : 6789f3b68f00
[  902.815544] Call trace:
[  902.818870]  d_instantiate_new+0xa8/0xc8
[  902.823523]  ext4_create+0x120/0x238
[  902.827716]  lookup_open.isra.0+0x480/0x4d0
[  902.832480]  open_last_lookups+0x160/0x3b0
[  902.837060]  path_openat+0xa0/0x2a0
[  902.840975]  do_filp_open+0xa8/0x180
[  902.845582]  do_sys_openat2+0xe8/0x128
[  902.850426]  __arm64_sys_openat+0x70/0xe0
[  902.854952]  invoke_syscall+0x7c/0x128
[  902.859155]  el0_svc_common.constprop.0+0x5c/0x168
[  902.864979]  do_el0_svc+0x38/0x68
[  902.869364]  el0_svc+0x30/0xe0
[  902.873401]  el0t_64_sync_handler+0x148/0x158
[  902.878336]  el0t_64_sync+0x1b0/0x1b8
[  902.882513] Code: d282 d2800010 d2800011 d65f03c0 (d421)
[  902.890632] ---[ end trace  ]---

** Affects: linux (Ubuntu)
 Importance: High
 Status: Incomplete

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

** Description changed:

  Running latest Ubuntu mantic with kernel: Linux mantic-arm64
  6.5.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 28 19:12:05 UTC
  2023 aarch64 aarch64 aarch64 GNU/Linux
- 
  
  How to reproduce:
  
  Fire up a 24 instance ARM64 QEMU instance with Ubuntu Mantic Server.
  Install latest stress-ng from git repo:
  
  sudo apt-get update
  sudo apt-get build-dep stress-ng
  git clone git://github.com/ColinIanKing/stress-ng
  cd stress-ng
  make clean
  make -j 24
  make verify-test-all
  
  When we reach the filename stressor the kernel crashes as follows:
  
- 
  [  902.594715] kernel BUG at fs/dcache.c:2050!
  [  902.598205] Internal error: Oops - BUG: f2000800 [#1] SMP
  [  902.603127] Modules linked in: dccp_ipv4 dccp atm vfio_iommu_type1 vfio 
iommu
  fd cmac algif_rng twofish_generic twofish_common serpent_generic fcrypt 
cast6_ge
  neric cast5_generic cast_common camellia_generic blowfish_generic 
blowfish_commo
  n aes_arm64 algif_skcipher algif_hash aria_generic sm4_generic sm4_neon ccm 
aes_
  ce_ccm des_generic libdes authenc aegis128 algif_aead af_alg cfg80211 
binfmt_mis
  c nls_iso8859_1 dm_multipath drm efi_pstore dmi_sysfs qemu_fw_cfg ip_tables 
x_ta
  bles autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov 
async_memcpy
-  async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 

[Kernel-packages] [Bug 2038768] Re: arm64: linux: stress-ng filename stressor crashes kernel

2023-10-08 Thread Colin Ian King
Note that just running stress-ng with --filename 0 will reproduce the
issue. I'm testing this now on a cleanly formatted ext4 file system

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

Title:
  arm64: linux: stress-ng filename stressor crashes kernel

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Running latest Ubuntu mantic (ext4 file system) with kernel: Linux
  mantic-arm64 6.5.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 28
  19:12:05 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

  How to reproduce:

  Fire up a 24 instance ARM64 QEMU instance with Ubuntu Mantic Server.
  Install latest stress-ng from git repo:

  sudo apt-get update
  sudo apt-get build-dep stress-ng
  git clone git://github.com/ColinIanKing/stress-ng
  cd stress-ng
  make clean
  make -j 24
  make verify-test-all

  When we reach the filename stressor the kernel crashes as follows:

  [  902.594715] kernel BUG at fs/dcache.c:2050!
  [  902.598205] Internal error: Oops - BUG: f2000800 [#1] SMP
  [  902.603127] Modules linked in: dccp_ipv4 dccp atm vfio_iommu_type1 vfio 
iommu
  fd cmac algif_rng twofish_generic twofish_common serpent_generic fcrypt 
cast6_ge
  neric cast5_generic cast_common camellia_generic blowfish_generic 
blowfish_commo
  n aes_arm64 algif_skcipher algif_hash aria_generic sm4_generic sm4_neon ccm 
aes_
  ce_ccm des_generic libdes authenc aegis128 algif_aead af_alg cfg80211 
binfmt_mis
  c nls_iso8859_1 dm_multipath drm efi_pstore dmi_sysfs qemu_fw_cfg ip_tables 
x_ta
  bles autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov 
async_memcpy
   async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 
multipa
  th linear crct10dif_ce polyval_ce polyval_generic ghash_ce sm4 sha2_ce 
sha256_ar
  m64 sha1_ce arm_smccc_trng xhci_pci virtio_rng xhci_pci_renesas aes_neon_bs 
aes_
  neon_blk aes_ce_blk aes_ce_cipher
  [  902.689941] CPU: 1 PID: 91317 Comm: stress-ng-filen Not tainted 
6.5.0-7-gener
  ic #7-Ubuntu
  [  902.699281] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015
  [  902.706902] pstate: 4045 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
  [  902.715488] pc : d_instantiate_new+0xa8/0xc8
  [  902.720889] lr : ext4_add_nondir+0x10c/0x160
  [  902.725702] sp : 80008b6d3930
  [  902.729390] x29: 80008b6d3930 x28:  x27: 
bd164e51a980
  [  902.738705] x26: 6789f3b68f20 x25: 8180 x24: 
678a541f7968
  [  902.747003] x23: 6789f3b68f00 x22: 80008b6d39b0 x21: 
678a6a25bcb0
  [  902.755776] x20: 678a36f8f028 x19:  x18: 
80008af45068
  [  902.764647] x17:  x16:  x15: 
ecececececececec
  [  902.773135] x14: ecececececececec x13: ecececececececec x12: 
ecececececececec
  [  902.781386] x11: ecececececececec x10: ecececececececec x9 : 
bd164d5990bc
  [  902.789346] x8 :  x7 :  x6 : 

  [  902.798564] x5 :  x4 :  x3 : 

  [  902.806851] x2 : bd16504e4ce0 x1 : 678a36f8f028 x0 : 
6789f3b68f00
  [  902.815544] Call trace:
  [  902.818870]  d_instantiate_new+0xa8/0xc8
  [  902.823523]  ext4_create+0x120/0x238
  [  902.827716]  lookup_open.isra.0+0x480/0x4d0
  [  902.832480]  open_last_lookups+0x160/0x3b0
  [  902.837060]  path_openat+0xa0/0x2a0
  [  902.840975]  do_filp_open+0xa8/0x180
  [  902.845582]  do_sys_openat2+0xe8/0x128
  [  902.850426]  __arm64_sys_openat+0x70/0xe0
  [  902.854952]  invoke_syscall+0x7c/0x128
  [  902.859155]  el0_svc_common.constprop.0+0x5c/0x168
  [  902.864979]  do_el0_svc+0x38/0x68
  [  902.869364]  el0_svc+0x30/0xe0
  [  902.873401]  el0t_64_sync_handler+0x148/0x158
  [  902.878336]  el0t_64_sync+0x1b0/0x1b8
  [  902.882513] Code: d282 d2800010 d2800011 d65f03c0 (d421)
  [  902.890632] ---[ end trace  ]---

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2038768/+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 2026883] Re: vector floating point registers get clobbered when running stress-ng --vecfp with more instances than CPUs

2023-07-11 Thread Colin Ian King
It may be worth trying this on real H/W to factor our the QEMU
component.

** Description changed:

  When running the stress-ng vector floating point stressor in QEMU PPC64
  virtual machines I get floating point verification errors when running
  more stressor instances than the number of virtual CPUs.
  
  How to reproduce:
  
  Create a PPC64 VM in QEMU on a x86 host with 8 virtual CPUs. Login, and
  then do:
  
  get latest stress-ng:
  
  sudo apt-get build-dep stress-ng
  git clone https://github.com/ColinIanKing/stress-ng
  cd stress-ng
  make clean; make -j $(nproc)
  ./stress-ng --vecfp 32 --verify -t 10
  
  One should get failures such as:
  stress-ng: info:  [1487] setting to a 10 second run per stressor
  stress-ng: info:  [1487] dispatching hogs: 32 vecfp
  stress-ng: fail:  [1489] vecfp: floatv64div float vector operation result 
mismatch, got 1078998925312.00, expected 180812.062500
  stress-ng: fail:  [1489] vecfp: floatv64div float vector operation result 
mismatch, got 46779686912.00, expected 13278722.00
  stress-ng: fail:  [1489] vecfp: floatv64div float vector operation result 
mismatch, got 24992688128.00, expected 26213772.00
  stress-ng: fail:  [1489] vecfp: floatv64div float vector operation result 
mismatch, got 17185787904.00, expected 39415832.00
  stress-ng: fail:  [1488] vecfp: floatv16div float vector operation result 
mismatch, got 157250576.00, expected 33576.261719
  stress-ng: fail:  [1488] vecfp: floatv16div float vector operation result 
mismatch, got 170314032.00, expected 13129044.00
  stress-ng: fail:  [1488] vecfp: floatv16div float vector operation result 
mismatch, got 183516080.00, expected 26348392.00
  stress-ng: fail:  [1488] vecfp: floatv16div float vector operation result 
mismatch, got 196647552.00, expected 39365508.00
  etc..
  
  However, running less instances than the number of CPUs this runs fine 
without any errors:
  /stress-ng --vecfp 1 --verify -t 10
  stress-ng: info:  [1521] setting to a 10 second run per stressor
  stress-ng: info:  [1521] dispatching hogs: 1 vecfp
  stress-ng: info:  [1521] passed: 1: vecfp (1)
  stress-ng: info:  [1521] failed: 0
  stress-ng: info:  [1521] skipped: 0
  stress-ng: info:  [1521] metrics untrustworthy: 0
  stress-ng: info:  [1521] successful run completed in 19.00s
  
  It appears this only fails when the number of instances of the vecfp
  stressor is more than the number of virtual CPUs.  This seems to
  indicate that vector floating point registers are being clobbered
  between processes, which could be a security exploitable issue.
  
  Reproduced with Ubuntu Lunar PPC64 VM (6.2.0-20-generic) and x86 host
- (6.2.0-21-generic + qemu-kvm  1:5.0-5ubuntu6)
+ (6.2.0-21-generic + qemu-kvm  1:5.0-5ubuntu6).
+ 
+ List of PPC64el kernels reproducers:
+ 
+ Lunar: 6.2.0-20-generic
+ Mantic: 6.3.0-7-generic
+ 
  
  Not sure if this is a kernel or KVM issue, or both.

** Information type changed from Public to Private Security

** Changed in: linux (Ubuntu Lunar)
   Importance: Undecided => High

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

** Also affects: linux (Ubuntu Mantic)
   Importance: High
   Status: New

** Description changed:

  When running the stress-ng vector floating point stressor in QEMU PPC64
  virtual machines I get floating point verification errors when running
  more stressor instances than the number of virtual CPUs.
  
  How to reproduce:
  
  Create a PPC64 VM in QEMU on a x86 host with 8 virtual CPUs. Login, and
  then do:
  
  get latest stress-ng:
  
  sudo apt-get build-dep stress-ng
  git clone https://github.com/ColinIanKing/stress-ng
  cd stress-ng
  make clean; make -j $(nproc)
  ./stress-ng --vecfp 32 --verify -t 10
  
  One should get failures such as:
  stress-ng: info:  [1487] setting to a 10 second run per stressor
  stress-ng: info:  [1487] dispatching hogs: 32 vecfp
  stress-ng: fail:  [1489] vecfp: floatv64div float vector operation result 
mismatch, got 1078998925312.00, expected 180812.062500
  stress-ng: fail:  [1489] vecfp: floatv64div float vector operation result 
mismatch, got 46779686912.00, expected 13278722.00
  stress-ng: fail:  [1489] vecfp: floatv64div float vector operation result 
mismatch, got 24992688128.00, expected 26213772.00
  stress-ng: fail:  [1489] vecfp: floatv64div float vector operation result 
mismatch, got 17185787904.00, expected 39415832.00
  stress-ng: fail:  [1488] vecfp: floatv16div float vector operation result 
mismatch, got 157250576.00, expected 33576.261719
  stress-ng: fail:  [1488] vecfp: floatv16div float vector operation result 
mismatch, got 170314032.00, expected 13129044.00
  stress-ng: fail:  [1488] vecfp: floatv16div float vector operation result 
mismatch, got 183516080.00, expected 26348392.00
  stress-ng: fail:  [1488] vecfp: floatv16div float vector operation result 
mismatch, got 

[Kernel-packages] [Bug 2026883] [NEW] vector floating point registers get clobbered when running stress-ng --vecfp with more instances than CPUs

2023-07-11 Thread Colin Ian King
*** This bug is a security vulnerability ***

Private security bug reported:

When running the stress-ng vector floating point stressor in QEMU PPC64
virtual machines I get floating point verification errors when running
more stressor instances than the number of virtual CPUs.

How to reproduce:

Create a PPC64 VM in QEMU on a x86 host with 8 virtual CPUs. Login, and
then do:

get latest stress-ng:

sudo apt-get build-dep stress-ng
git clone https://github.com/ColinIanKing/stress-ng
cd stress-ng
make clean; make -j $(nproc)
./stress-ng --vecfp 32 --verify -t 10

One should get failures such as:
stress-ng: info:  [1487] setting to a 10 second run per stressor
stress-ng: info:  [1487] dispatching hogs: 32 vecfp
stress-ng: fail:  [1489] vecfp: floatv64div float vector operation result 
mismatch, got 1078998925312.00, expected 180812.062500
stress-ng: fail:  [1489] vecfp: floatv64div float vector operation result 
mismatch, got 46779686912.00, expected 13278722.00
stress-ng: fail:  [1489] vecfp: floatv64div float vector operation result 
mismatch, got 24992688128.00, expected 26213772.00
stress-ng: fail:  [1489] vecfp: floatv64div float vector operation result 
mismatch, got 17185787904.00, expected 39415832.00
stress-ng: fail:  [1488] vecfp: floatv16div float vector operation result 
mismatch, got 157250576.00, expected 33576.261719
stress-ng: fail:  [1488] vecfp: floatv16div float vector operation result 
mismatch, got 170314032.00, expected 13129044.00
stress-ng: fail:  [1488] vecfp: floatv16div float vector operation result 
mismatch, got 183516080.00, expected 26348392.00
stress-ng: fail:  [1488] vecfp: floatv16div float vector operation result 
mismatch, got 196647552.00, expected 39365508.00
etc..

However, running less instances than the number of CPUs this runs fine without 
any errors:
/stress-ng --vecfp 1 --verify -t 10
stress-ng: info:  [1521] setting to a 10 second run per stressor
stress-ng: info:  [1521] dispatching hogs: 1 vecfp
stress-ng: info:  [1521] passed: 1: vecfp (1)
stress-ng: info:  [1521] failed: 0
stress-ng: info:  [1521] skipped: 0
stress-ng: info:  [1521] metrics untrustworthy: 0
stress-ng: info:  [1521] successful run completed in 19.00s

It appears this only fails when the number of instances of the vecfp
stressor is more than the number of virtual CPUs.  This seems to
indicate that vector floating point registers are being clobbered
between processes, which could be a security exploitable issue.

Reproduced with Ubuntu Lunar PPC64 VM (6.2.0-20-generic) and x86 host
(6.2.0-21-generic + qemu-kvm  1:5.0-5ubuntu6).

List of PPC64el kernels reproducers:

Focal: 5.4.0-148-generic
Jammy: 5.15.0-58-generic
Lunar: 6.2.0-20-generic
Mantic: 6.3.0-7-generic

Not sure if this is a kernel or KVM issue, or both.

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

** Affects: linux (Ubuntu Focal)
 Importance: High
 Status: New

** Affects: linux (Ubuntu Lunar)
 Importance: High
 Status: New

** Affects: linux (Ubuntu Mantic)
 Importance: High
 Status: New

** Also affects: linux (Ubuntu Lunar)
   Importance: Undecided
   Status: New

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

Title:
  vector floating point registers get clobbered when running stress-ng
  --vecfp with more instances than CPUs

Status in linux package in Ubuntu:
  New
Status in linux source package in Focal:
  New
Status in linux source package in Lunar:
  New
Status in linux source package in Mantic:
  New

Bug description:
  When running the stress-ng vector floating point stressor in QEMU
  PPC64 virtual machines I get floating point verification errors when
  running more stressor instances than the number of virtual CPUs.

  How to reproduce:

  Create a PPC64 VM in QEMU on a x86 host with 8 virtual CPUs. Login,
  and then do:

  get latest stress-ng:

  sudo apt-get build-dep stress-ng
  git clone https://github.com/ColinIanKing/stress-ng
  cd stress-ng
  make clean; make -j $(nproc)
  ./stress-ng --vecfp 32 --verify -t 10

  One should get failures such as:
  stress-ng: info:  [1487] setting to a 10 second run per stressor
  stress-ng: info:  [1487] dispatching hogs: 32 vecfp
  stress-ng: fail:  [1489] vecfp: floatv64div float vector operation result 
mismatch, got 1078998925312.00, expected 180812.062500
  stress-ng: fail:  [1489] vecfp: floatv64div float vector operation result 
mismatch, got 46779686912.00, expected 13278722.00
  stress-ng: fail:  [1489] vecfp: floatv64div float vector operation result 
mismatch, got 24992688128.00, expected 26213772.00
  stress-ng: fail:  [1489] vecfp: floatv64div float vector operation result 
mismatch, got 17185787904.00, expected 39415832.00
  stress-ng: fail:  [1488] vecfp: floatv16div float vector 

[Kernel-packages] [Bug 2017903] Re: LSM stacking and AppArmor for 6.2: additional fixes

2023-07-11 Thread Colin Ian King
Note that this could be triggered with stress-ng --apparmor 0;  see
https://bugs.launchpad.net/ubuntu/mantic/+source/linux/+bug/2024599

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

Title:
  LSM stacking and AppArmor for 6.2: additional fixes

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Lunar:
  Fix Released

Bug description:
  [Impact]

  We maintain custom LSM stacking and AppArmor SAUCE patches in our
  kernel to provide additional features that are not available in the
  upstream AppArmor.

  We have experienced occasional bugs in the lunar kernel (specifically
  with the environ.sh test) that can lead to system crashes / failures
  (such as potential NULL pointer dereference).

  [Test case]

  Run AppArmor autopkgtest / qa-regression-testing.

  [Fix]

  Apply the following additional fixes provided by AppArmor upstream
  maintainer:

UBUNTU: SAUCE: apparmor: fix policy_compat perms remap for file dfa
UBUNTU: SAUCE: apparmor: fix profile verification and enable it
UBUNTU: SAUCE: apparmor: fix: add missing failure check in 
compute_xmatch_perms
UBUNTU: SAUCE: apparmor: fix: kzalloc perms tables for shared dfas

  [Regression potential]

  Additional fixes are touching only AppArmor specific code, so we may
  experience regressions (bugs / behavior change) only in apparmor by
  applying them.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2017903/+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 2024599] Re: linux-image-5.15.0-1032-realtime locks up under scheduler test load

2023-07-11 Thread Colin Ian King
Thanks JJ, much appreciated :-)

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

Title:
  linux-image-5.15.0-1032-realtime locks up under scheduler test load

Status in apparmor package in Ubuntu:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in apparmor source package in Jammy:
  New
Status in linux source package in Jammy:
  Incomplete
Status in apparmor source package in Kinetic:
  New
Status in linux source package in Kinetic:
  New
Status in apparmor source package in Lunar:
  New
Status in linux source package in Lunar:
  New
Status in apparmor source package in Mantic:
  New
Status in linux source package in Mantic:
  Incomplete

Bug description:
  lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 22.04.2 LTS
  Release:  22.04
  Codename: jammy

  uname -a
  Linux jammie-amd64-efi 5.15.0-1032-realtime #35-Ubuntu SMP PREEMPT_RT Tue Jan 
24 11:45:03 UTC 2023 x86_64
  x86_64 x86_64 GNU/Linux

  free
     totalusedfree  shared  buff/cache   
available
  Mem: 4013888  200984 34390121204  373892 
3744628
  Swap:4014076   0 4014076

  Running in a kvm-qemu, 8 cpus, cpu Intel Core Processor (Skylake,
  IBRS):

  how to reproduce issue:

  git clone https://github.com/ColinIanKing/stress-ng
  sudo apt-get update
  sudo apt-get build-dep stress-ng
  sudo apt-get install libeigen3-dev libmpfr-dev libkmod-dev libxxhash-dev 
libglvnd-dev libgbm-dev
  cd stress-ng
  make clean
  make -j 8
  sudo ./stress-ng --class scheduler --all 1 -v --vmstat 1 -t 30m

  ..wait for all the stressors to get invoked, system becomes
  unresponsive, can't ^C stress-ng, can't swap consoles on the VM,
  appears to be hard locked.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2024599/+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 2024599] Re: linux-image-5.15.0-1032-realtime locks up under scheduler test load

2023-06-27 Thread Colin Ian King
And also occurs in Ubuntu Mantic with 6.3.0-7-generic

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

Title:
  linux-image-5.15.0-1032-realtime locks up under scheduler test load

Status in apparmor package in Ubuntu:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in apparmor source package in Jammy:
  New
Status in linux source package in Jammy:
  Incomplete
Status in apparmor source package in Kinetic:
  New
Status in linux source package in Kinetic:
  New
Status in apparmor source package in Lunar:
  New
Status in linux source package in Lunar:
  New
Status in apparmor source package in Mantic:
  New
Status in linux source package in Mantic:
  Incomplete

Bug description:
  lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 22.04.2 LTS
  Release:  22.04
  Codename: jammy

  uname -a
  Linux jammie-amd64-efi 5.15.0-1032-realtime #35-Ubuntu SMP PREEMPT_RT Tue Jan 
24 11:45:03 UTC 2023 x86_64
  x86_64 x86_64 GNU/Linux

  free
     totalusedfree  shared  buff/cache   
available
  Mem: 4013888  200984 34390121204  373892 
3744628
  Swap:4014076   0 4014076

  Running in a kvm-qemu, 8 cpus, cpu Intel Core Processor (Skylake,
  IBRS):

  how to reproduce issue:

  git clone https://github.com/ColinIanKing/stress-ng
  sudo apt-get update
  sudo apt-get build-dep stress-ng
  sudo apt-get install libeigen3-dev libmpfr-dev libkmod-dev libxxhash-dev 
libglvnd-dev libgbm-dev
  cd stress-ng
  make clean
  make -j 8
  sudo ./stress-ng --class scheduler --all 1 -v --vmstat 1 -t 30m

  ..wait for all the stressors to get invoked, system becomes
  unresponsive, can't ^C stress-ng, can't swap consoles on the VM,
  appears to be hard locked.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2024599/+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 2024599] Re: linux-image-5.15.0-1032-realtime locks up under scheduler test load

2023-06-27 Thread Colin Ian King
5.15.0.75 works fine, no problem, 5.19.0-45 kernel crashes, so issue
introduced between 5.15 and 5.19

** Also affects: apparmor (Ubuntu Lunar)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Lunar)
   Importance: Undecided
   Status: New

** Also affects: apparmor (Ubuntu Kinetic)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Kinetic)
   Importance: Undecided
   Status: New

** Also affects: apparmor (Ubuntu Mantic)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Mantic)
   Importance: Low
   Status: Incomplete

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

Title:
  linux-image-5.15.0-1032-realtime locks up under scheduler test load

Status in apparmor package in Ubuntu:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in apparmor source package in Jammy:
  New
Status in linux source package in Jammy:
  Incomplete
Status in apparmor source package in Kinetic:
  New
Status in linux source package in Kinetic:
  New
Status in apparmor source package in Lunar:
  New
Status in linux source package in Lunar:
  New
Status in apparmor source package in Mantic:
  New
Status in linux source package in Mantic:
  Incomplete

Bug description:
  lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 22.04.2 LTS
  Release:  22.04
  Codename: jammy

  uname -a
  Linux jammie-amd64-efi 5.15.0-1032-realtime #35-Ubuntu SMP PREEMPT_RT Tue Jan 
24 11:45:03 UTC 2023 x86_64
  x86_64 x86_64 GNU/Linux

  free
     totalusedfree  shared  buff/cache   
available
  Mem: 4013888  200984 34390121204  373892 
3744628
  Swap:4014076   0 4014076

  Running in a kvm-qemu, 8 cpus, cpu Intel Core Processor (Skylake,
  IBRS):

  how to reproduce issue:

  git clone https://github.com/ColinIanKing/stress-ng
  sudo apt-get update
  sudo apt-get build-dep stress-ng
  sudo apt-get install libeigen3-dev libmpfr-dev libkmod-dev libxxhash-dev 
libglvnd-dev libgbm-dev
  cd stress-ng
  make clean
  make -j 8
  sudo ./stress-ng --class scheduler --all 1 -v --vmstat 1 -t 30m

  ..wait for all the stressors to get invoked, system becomes
  unresponsive, can't ^C stress-ng, can't swap consoles on the VM,
  appears to be hard locked.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2024599/+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 2024599] Re: linux-image-5.15.0-1032-realtime locks up under scheduler test load

2023-06-27 Thread Colin Ian King
And with 5.19.0-45-generic:

sudo ./stress-ng --apparmor 1 --klog-check
[sudo] password for cking: 
stress-ng: info:  [1179] defaulting to a 86400 second (1 day, 0.00 secs) run 
per stressor
stress-ng: info:  [1179] dispatching hogs: 1 apparmor
stress-ng: info:  [1180] klog-check: kernel cmdline: 
'BOOT_IMAGE=/vmlinuz-5.19.0-45-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv 
ro'
stress-ng: error: [1180] klog-check: error: [93.527396] 'AppArmor DFA 
next/check upper bounds error'
stress-ng: error: [1180] klog-check: error: [93.827976] 'AppArmor DFA state 
with invalid match flags'
stress-ng: error: [1180] klog-check: error: [93.991395] 'AppArmor DFA 
next/check upper bounds error'
stress-ng: error: [1180] klog-check: error: [93.992189] 'AppArmor DFA 
next/check upper bounds error'
stress-ng: error: [1180] klog-check: error: [94.007400] 'AppArmor DFA state 
with invalid match flags'
stress-ng: error: [1180] klog-check: error: [94.059345] 'AppArmor DFA state 
with invalid match flags'
stress-ng: error: [1180] klog-check: error: [94.104414] 'AppArmor DFA 
next/check upper bounds error'
stress-ng: error: [1180] klog-check: alert: [94.128617] 'BUG: kernel NULL 
pointer dereference, address: 0130'
stress-ng: error: [1180] klog-check: alert: [94.128644] '#PF: supervisor read 
access in kernel mode'
stress-ng: error: [1180] klog-check: alert: [94.128659] '#PF: 
error_code(0x) - not-present page'
stress-ng: info:  [1180] klog-check: warning: [94.128685] 'Oops:  [#1] 
PREEMPT SMP PTI'
stress-ng: info:  [1180] klog-check: warning: [94.128698] 'CPU: 7 PID: 1185 
Comm: stress-ng-appar Not tainted 5.19.0-45-generic #46-Ubuntu'
stress-ng: info:  [1180] klog-check: warning: [94.128722] 'Hardware name: QEMU 
Standard PC (Q35 + ICH9, 2009), BIOS 1.16.0-debian-1.16.0-5 04/01/2014'
stress-ng: info:  [1180] klog-check: warning: [94.128745] 'RIP: 
0010:aa_unpack+0x11f/0x530'
stress-ng: info:  [1180] klog-check: warning: [94.128762] 'Code: 00 48 85 c0 0f 
84 15 04 00 00 48 8d 75 a8 48 8d 7d b0 4c 8b 7d c0 e8 80 ec ff ff 48 89 c3 48 
3d 00 f0 ff ff 0f 87 00 02 00 00 <4c> 8b b0 30 01 00 00 4d 85 f6 0f 84 38 01 00 
00 49 8b 86 c8 00 00'
stress-ng: info:  [1180] klog-check: warning: [94.128807] 'RSP: 
0018:b1fdc0f57ce0 EFLAGS: 00010207'
stress-ng: info:  [1180] klog-check: warning: [94.129378] 'RAX: 
 RBX:  RCX: '
stress-ng: info:  [1180] klog-check: warning: [94.129928] 'RDX: 
 RSI:  RDI: '
stress-ng: info:  [1180] klog-check: warning: [94.130443] 'RBP: 
b1fdc0f57d40 R08:  R09: '
stress-ng: info:  [1180] klog-check: warning: [94.131056] 'R10: 
 R11:  R12: b1fdc0f57da8'
stress-ng: info:  [1180] klog-check: warning: [94.131572] 'R13: 
b1fdc0f57da0 R14: 9da384835962 R15: 9da384820010'
stress-ng: info:  [1180] klog-check: warning: [94.132090] 'FS:  
7fa65a059740() GS:9da3fbdc() knlGS:'
stress-ng: info:  [1180] klog-check: warning: [94.132652] 'CS:  0010 DS:  
ES:  CR0: 80050033'
stress-ng: info:  [1180] klog-check: warning: [94.133206] 'CR2: 
0130 CR3: 00010d432006 CR4: 00370ee0'
stress-ng: info:  [1180] klog-check: warning: [94.133739] 'DR0: 
 DR1:  DR2: '
stress-ng: info:  [1180] klog-check: warning: [94.134282] 'DR3: 
 DR6: fffe0ff0 DR7: 0400'
stress-ng: info:  [1180] klog-check: warning: [94.134868] 'Call Trace:'
stress-ng: info:  [1180] klog-check: warning: [94.135388] ' '
stress-ng: info:  [1180] klog-check: warning: [94.135933] ' 
aa_replace_profiles+0xa1/0x10b0'
stress-ng: info:  [1180] klog-check: warning: [94.136471] ' ? 
check_heap_object+0x29/0x1e0'
stress-ng: info:  [1180] klog-check: warning: [94.137018] ' ? 
__check_object_size.part.0+0x4c/0xf0'
stress-ng: info:  [1180] klog-check: warning: [94.137528] ' 
policy_update+0xd0/0x170'
stress-ng: info:  [1180] klog-check: warning: [94.138061] ' 
profile_replace+0xb9/0x150'
stress-ng: info:  [1180] klog-check: warning: [94.138612] ' 
vfs_write+0xb7/0x290'
stress-ng: info:  [1180] klog-check: warning: [94.139124] ' 
ksys_write+0x73/0x100'
stress-ng: info:  [1180] klog-check: warning: [94.139616] ' 
__x64_sys_write+0x19/0x30'
stress-ng: info:  [1180] klog-check: warning: [94.140104] ' 
do_syscall_64+0x58/0x90'
stress-ng: info:  [1180] klog-check: warning: [94.140651] ' ? 
syscall_exit_to_user_mode+0x29/0x50'
stress-ng: info:  [1180] klog-check: warning: [94.141130] ' ? 
do_syscall_64+0x67/0x90'
stress-ng: info:  [1180] klog-check: warning: [94.141630] ' ? 
do_syscall_64+0x67/0x90'
stress-ng: info:  [1180] klog-check: warning: [94.142117] ' ? 
do_syscall_64+0x67/0x90'
stress-ng: info:  [1180] klog-check: warning: [94.142627] ' 
entry_SYSCALL_64_after_hwframe+0x63/0xcd'
stress-ng: info:  [1180] klog-check: warning: 

[Kernel-packages] [Bug 2024599] Re: linux-image-5.15.0-1032-realtime locks up under scheduler test load

2023-06-27 Thread Colin Ian King
On 6.2.0-21-generic I also get:

sudo ./stress-ng --apparmor 1 --klog-check

stress-ng: error: [1083] klog-check: alert: [66.442338] 'BUG: kernel NULL 
pointer dereference, address: 0030'
stress-ng: error: [1083] klog-check: alert: [66.442538] '#PF: supervisor read 
access in kernel mode'
stress-ng: error: [1083] klog-check: alert: [66.442718] '#PF: 
error_code(0x) - not-present page'
stress-ng: info:  [1083] klog-check: warning: [66.443080] 'Oops:  [#1] 
PREEMPT SMP PTI'
stress-ng: info:  [1083] klog-check: warning: [66.443256] 'CPU: 3 PID: 1088 
Comm: stress-ng-appar Not tainted 6.2.0-21-generic #21-Ubuntu'
stress-ng: info:  [1083] klog-check: warning: [66.443438] 'Hardware name: QEMU 
Standard PC (Q35 + ICH9, 2009), BIOS 1.16.0-debian-1.16.0-5 04/01/2014'
stress-ng: info:  [1083] klog-check: warning: [66.443628] 'RIP: 
0010:aafs_create.constprop.0+0x7f/0x130'
stress-ng: info:  [1083] klog-check: warning: [66.443819] 'Code: 4c 63 e0 48 83 
c4 18 4c 89 e0 5b 41 5c 41 5d 41 5e 41 5f 5d 31 d2 31 c9 31 f6 31 ff 45 31 c0 
45 31 c9 45 31 d2 c3 cc cc cc cc <4d> 8b 55 30 4d 8d ba a0 00 00 00 4c 89 55 c0 
4c 89 ff e8 8a 59 a1'
stress-ng: info:  [1083] klog-check: warning: [66.444227] 'RSP: 
0018:beb940907bd8 EFLAGS: 00010246'
stress-ng: info:  [1083] klog-check: warning: [66.33] 'RAX: 
 RBX: 41ed RCX: '
stress-ng: info:  [1083] klog-check: warning: [66.444646] 'RDX: 
 RSI:  RDI: '
stress-ng: info:  [1083] klog-check: warning: [66.444862] 'RBP: 
beb940907c18 R08:  R09: '
stress-ng: info:  [1083] klog-check: warning: [66.445074] 'R10: 
 R11:  R12: 93db8b18'
stress-ng: info:  [1083] klog-check: warning: [66.445291] 'R13: 
 R14:  R15: '
stress-ng: info:  [1083] klog-check: warning: [66.445503] 'FS:  
7f60f5c07740() GS:9578bbcc() knlGS:'
stress-ng: info:  [1083] klog-check: warning: [66.445721] 'CS:  0010 DS:  
ES:  CR0: 80050033'
stress-ng: info:  [1083] klog-check: warning: [66.445939] 'CR2: 
0030 CR3: 000124ffa004 CR4: 00370ee0'
stress-ng: info:  [1083] klog-check: warning: [66.446163] 'DR0: 
 DR1:  DR2: '
stress-ng: info:  [1083] klog-check: warning: [66.446387] 'DR3: 
 DR6: fffe0ff0 DR7: 0400'
stress-ng: info:  [1083] klog-check: warning: [66.446608] 'Call Trace:'
stress-ng: info:  [1083] klog-check: warning: [66.446829] ' '
stress-ng: info:  [1083] klog-check: warning: [66.447059] ' 
__aafs_profile_mkdir+0x3d6/0x480'
stress-ng: info:  [1083] klog-check: warning: [66.447290] ' 
aa_replace_profiles+0x862/0x1270'
stress-ng: info:  [1083] klog-check: warning: [66.447518] ' 
policy_update+0xe0/0x180'
stress-ng: info:  [1083] klog-check: warning: [66.447750] ' 
profile_replace+0xb9/0x150'
stress-ng: info:  [1083] klog-check: warning: [66.447981] ' 
vfs_write+0xc8/0x410'
stress-ng: info:  [1083] klog-check: warning: [66.448213] ' ? 
kmem_cache_free+0x1e/0x3b0'
stress-ng: info:  [1083] klog-check: warning: [66.448442] ' 
ksys_write+0x73/0x100'
stress-ng: info:  [1083] klog-check: warning: [66.448670] ' 
__x64_sys_write+0x19/0x30'
stress-ng: info:  [1083] klog-check: warning: [66.448892] ' 
do_syscall_64+0x58/0x90'
stress-ng: info:  [1083] klog-check: warning: [66.449115] ' ? 
do_syscall_64+0x67/0x90'
stress-ng: info:  [1083] klog-check: warning: [66.449337] ' ? 
do_syscall_64+0x67/0x90'
stress-ng: info:  [1083] klog-check: warning: [66.449551] ' ? 
exit_to_user_mode_loop+0xe0/0x130'
stress-ng: info:  [1083] klog-check: warning: [66.449775] ' ? 
exit_to_user_mode_prepare+0x30/0xb0'
stress-ng: info:  [1083] klog-check: warning: [66.449996] ' ? 
syscall_exit_to_user_mode+0x29/0x50'
stress-ng: info:  [1083] klog-check: warning: [66.450220] ' ? 
do_syscall_64+0x67/0x90'
stress-ng: info:  [1083] klog-check: warning: [66.450449] ' ? 
exit_to_user_mode_prepare+0x30/0xb0'
stress-ng: info:  [1083] klog-check: warning: [66.450681] ' ? 
syscall_exit_to_user_mode+0x29/0x50'
stress-ng: info:  [1083] klog-check: warning: [66.450915] ' ? 
do_syscall_64+0x67/0x90'
stress-ng: info:  [1083] klog-check: warning: [66.451151] ' ? 
do_syscall_64+0x67/0x90'
stress-ng: info:  [1083] klog-check: warning: [66.451384] ' 
entry_SYSCALL_64_after_hwframe+0x72/0xdc'
stress-ng: info:  [1083] klog-check: warning: [66.451614] 'RIP: 
0033:0x7f60f5b0b9e4'
stress-ng: info:  [1083] klog-check: warning: [66.451848] 'Code: 15 39 a4 0e 00 
f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 80 3d fd 2b 0f 
00 00 74 13 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 48 83 ec 
28 48 89 54 24 18 48'
stress-ng: info:  [1083] klog-check: warning: [66.452341] 'RSP: 
002b:7ffdaa28bfb8 EFLAGS: 0202 ORIG_RAX: 0001'
stress-ng: info: 

[Kernel-packages] [Bug 2024599] Re: linux-image-5.15.0-1032-realtime locks up under scheduler test load

2023-06-23 Thread Colin Ian King
I've managed to capture where it hangs, looks like a RCU issue, see
attached screen shot.

** Attachment added: "Screenshot from 2023-06-23 12-28-42.png"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2024599/+attachment/5681654/+files/Screenshot%20from%202023-06-23%2012-28-42.png

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

Title:
  linux-image-5.15.0-1032-realtime locks up under scheduler test load

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Jammy:
  Incomplete

Bug description:
  lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 22.04.2 LTS
  Release:  22.04
  Codename: jammy

  uname -a
  Linux jammie-amd64-efi 5.15.0-1032-realtime #35-Ubuntu SMP PREEMPT_RT Tue Jan 
24 11:45:03 UTC 2023 x86_64
  x86_64 x86_64 GNU/Linux

  free
     totalusedfree  shared  buff/cache   
available
  Mem: 4013888  200984 34390121204  373892 
3744628
  Swap:4014076   0 4014076

  Running in a kvm-qemu, 8 cpus, cpu Intel Core Processor (Skylake,
  IBRS):

  how to reproduce issue:

  git clone https://github.com/ColinIanKing/stress-ng
  sudo apt-get update
  sudo apt-get build-dep stress-ng
  sudo apt-get install libeigen3-dev libmpfr-dev libkmod-dev libxxhash-dev 
libglvnd-dev libgbm-dev
  cd stress-ng
  make clean
  make -j 8
  sudo ./stress-ng --class scheduler --all 1 -v --vmstat 1 -t 30m

  ..wait for all the stressors to get invoked, system becomes
  unresponsive, can't ^C stress-ng, can't swap consoles on the VM,
  appears to be hard locked.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2024599/+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 2024599] Re: linux-image-5.15.0-1032-realtime locks up under scheduler test load

2023-06-22 Thread Colin Ian King
I'm working through the stressors to see which ones are possibly causing
issues. I did notice that the apparmor stressor eats up memory until the
system runs out of memory. This stressor loads illegal apparmor profiles
and then removes them. Perhaps there is a memory leak in the loading of
profiles that don't pass the verification phase:

To show this issue, run the following, one can see that memory gets low
over time before the user gets kicked off due to low memory:

sudo ./stress-ng --apparmor 1 --vmstat 5
stress-ng: info:  [1339] defaulting to a 86400 second (1 day, 0.00 secs) run 
per stressor
stress-ng: info:  [1339] dispatching hogs: 1 apparmor
stress-ng: info:  [1340] vmstat:   r   b  swpd  free  buff 
cache   si   so bi bo   in   cs us sy id wa st
stress-ng: info:  [1340] vmstat:   2   1 0313824 32776
36435200 16 18 4858 9752  4 25 70  0  0
stress-ng: info:  [1340] vmstat:   5   0 0257848 32776
36652800  0   1091 4573 8435  4 23 72  0  0
stress-ng: info:  [1340] vmstat:   5   0 0198916 32784
36828800  0 20 4642 8681  4 23 71  1  0
stress-ng: info:  [1340] vmstat:   2   0 0139496 32792
37060000  0 16 4612 8500  4 23 71  1  0
stress-ng: info:  [1340] vmstat:   2   0 0 85032 32740
36391600  0   1751 4774 8710  4 23 71  1  0
stress-ng: info:  [1340] vmstat:   5   0 0 92224 32748
31054800  0   2020 5919 10123  4 24 70  1  0
stress-ng: info:  [1340] vmstat:   2   0 0 93380 30068
26848400  0 14 5590 10275  4 26 69  1  0
stress-ng: info:  [1340] vmstat:   2   0 0102152 23648
20787200  0   3346 5277 9303  4 24 70  1  0
stress-ng: info:  [1340] vmstat:   5   0 0 99184 18488
16908400 48   2180 5614 9901  4 25 71  0  0
stress-ng: info:  [1340] vmstat:   2   0 0 88068  7080
14039200359   2090 6146 11013  4 27 68  0  0
stress-ng: info:  [1340] vmstat:   2   0 0 92368   564 
8210800   3568   2534 5899 10308  4 26 67  1  0
stress-ng: info:  [1340] vmstat:   7   0 0 83784   100 
4735600  99834   4212 8540 14574  4 28 65  2  0
stress-ng: info:  [1340] vmstat:   2   0 0 76784   188 
4491600 363427   7621 16647 28448  4 37 45 12  0

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

Title:
  linux-image-5.15.0-1032-realtime locks up under scheduler test load

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Jammy:
  Incomplete

Bug description:
  lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 22.04.2 LTS
  Release:  22.04
  Codename: jammy

  uname -a
  Linux jammie-amd64-efi 5.15.0-1032-realtime #35-Ubuntu SMP PREEMPT_RT Tue Jan 
24 11:45:03 UTC 2023 x86_64
  x86_64 x86_64 GNU/Linux

  free
     totalusedfree  shared  buff/cache   
available
  Mem: 4013888  200984 34390121204  373892 
3744628
  Swap:4014076   0 4014076

  Running in a kvm-qemu, 8 cpus, cpu Intel Core Processor (Skylake,
  IBRS):

  how to reproduce issue:

  git clone https://github.com/ColinIanKing/stress-ng
  sudo apt-get update
  sudo apt-get build-dep stress-ng
  sudo apt-get install libeigen3-dev libmpfr-dev libkmod-dev libxxhash-dev 
libglvnd-dev libgbm-dev
  cd stress-ng
  make clean
  make -j 8
  sudo ./stress-ng --class scheduler --all 1 -v --vmstat 1 -t 30m

  ..wait for all the stressors to get invoked, system becomes
  unresponsive, can't ^C stress-ng, can't swap consoles on the VM,
  appears to be hard locked.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2024599/+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 2024599] [NEW] linux-image-5.15.0-1032-realtime locks up under scheduler test load

2023-06-21 Thread Colin Ian King
Public bug reported:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 22.04.2 LTS
Release:22.04
Codename:   jammy

uname -a
Linux jammie-amd64-efi 5.15.0-1032-realtime #35-Ubuntu SMP PREEMPT_RT Tue Jan 
24 11:45:03 UTC 2023 x86_64
x86_64 x86_64 GNU/Linux

free
   totalusedfree  shared  buff/cache   available
Mem: 4013888  200984 34390121204  373892 3744628
Swap:4014076   0 4014076

Running in a kvm-qemu, 8 cpus, cpu Intel Core Processor (Skylake, IBRS):

how to reproduce issue:

git clone https://github.com/ColinIanKing/stress-ng
sudo apt-get update
sudo apt-get build-dep stress-ng
sudo apt-get install libeigen3-dev libmpfr-dev libkmod-dev libxxhash-dev 
libglvnd-dev libgbm-dev
cd stress-ng
make clean
make -j 8
sudo ./stress-ng --class scheduler --all 1 -v --vmstat 1 -t 30m

..wait for all the stressors to get invoked, system becomes
unresponsive, can't ^C stress-ng, can't swap consoles on the VM, appears
to be hard locked.

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

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

** Changed in: linux (Ubuntu)
   Importance: Undecided => Low

** Also affects: linux (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Summary changed:

- linux-image-5.15.0-1032-realtime locksup under scheduler test load
+ linux-image-5.15.0-1032-realtime locks up under scheduler test load

** Description changed:

  lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 22.04.2 LTS
  Release:  22.04
  Codename: jammy
  
  uname -a
- Linux jammie-amd64-efi 5.15.0-1032-realtime #35-Ubuntu SMP PREEMPT_RT Tue Jan 
24 11:45:03 UTC 2023 x86_64 
+ Linux jammie-amd64-efi 5.15.0-1032-realtime #35-Ubuntu SMP PREEMPT_RT Tue Jan 
24 11:45:03 UTC 2023 x86_64
  x86_64 x86_64 GNU/Linux
  
  free
-totalusedfree  shared  buff/cache   
available
+    totalusedfree  shared  buff/cache   
available
  Mem: 4013888  200984 34390121204  373892 
3744628
  Swap:4014076   0 4014076
  
  Running in a kvm-qemu, 8 cpus, cpu Intel Core Processor (Skylake, IBRS):
  
  how to reproduce issue:
  
  git clone https://github.com/ColinIanKing/stress-ng
  sudo apt-get update
  sudo apt-get build-dep stress-ng
  sudo apt-get install libeigen3-dev libmpfr-dev libkmod-dev libxxhash-dev 
libglvnd-dev libgbm-dev
  cd stress-ng
  make clean
  make -j 8
  sudo ./stress-ng --class scheduler --all 1 -v --vmstat 1 -t 30m
  
  ..wait for all the stressors to get invoked, system becomes
  unresponsive, can't ^C stress-ng, can't swap consoles on the VM, appears
  to be hard locked.
- 
- cd stress-ng

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

Title:
  linux-image-5.15.0-1032-realtime locks up under scheduler test load

Status in linux package in Ubuntu:
  New
Status in linux source package in Jammy:
  New

Bug description:
  lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 22.04.2 LTS
  Release:  22.04
  Codename: jammy

  uname -a
  Linux jammie-amd64-efi 5.15.0-1032-realtime #35-Ubuntu SMP PREEMPT_RT Tue Jan 
24 11:45:03 UTC 2023 x86_64
  x86_64 x86_64 GNU/Linux

  free
     totalusedfree  shared  buff/cache   
available
  Mem: 4013888  200984 34390121204  373892 
3744628
  Swap:4014076   0 4014076

  Running in a kvm-qemu, 8 cpus, cpu Intel Core Processor (Skylake,
  IBRS):

  how to reproduce issue:

  git clone https://github.com/ColinIanKing/stress-ng
  sudo apt-get update
  sudo apt-get build-dep stress-ng
  sudo apt-get install libeigen3-dev libmpfr-dev libkmod-dev libxxhash-dev 
libglvnd-dev libgbm-dev
  cd stress-ng
  make clean
  make -j 8
  sudo ./stress-ng --class scheduler --all 1 -v --vmstat 1 -t 30m

  ..wait for all the stressors to get invoked, system becomes
  unresponsive, can't ^C stress-ng, can't swap consoles on the VM,
  appears to be hard locked.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2024599/+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 1959215] Re: unshare test in ubuntu_stress_smoke_tests triggers "BUG: unable to handle page fault for address: 0000000000001cc8" on Impish with node vought

2023-05-03 Thread Colin Ian King
** Changed in: stress-ng
   Status: New => Won't Fix

** Changed in: stress-ng
   Status: Won't Fix => Invalid

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

Title:
  unshare test in ubuntu_stress_smoke_tests triggers "BUG: unable to
  handle page fault for address: 1cc8" on Impish with node
  vought

Status in Stress-ng:
  Invalid
Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Impish:
  Won't Fix

Bug description:
  Issue found on Intel node "vought" with:
    * 5.13.0-28.31
    * 5.13.0-27
    * And possibly the 5.13.0-23 from the last cycle (this test didn't finish 
properly and marked as "Incomplete" back then, just like this cycle). For more 
earlier Impish kernels, this system was not tested with this test on them.

  The test will hang with unshare test in ubuntu_stress_smoke_tests:
  12:39:39 DEBUG| [stdout] udp RETURNED 0
  12:39:39 DEBUG| [stdout] udp PASSED
  12:39:39 DEBUG| [stdout] udp-flood STARTING
  12:39:41 DEBUG| [stdout] udp-flood RETURNED 0
  12:39:41 DEBUG| [stdout] udp-flood PASSED
  12:39:41 DEBUG| [stdout] unshare STARTING
  (Test hangs here)

  And eventually the test will be killed because of the timeout setting.

  stress-ng Test suite HEAD SHA1: b81116c

  Error can be found in dmesg:
  [ 2371.109961] BUG: unable to handle page fault for address: 1cc8
  [ 2371.110074] #PF: supervisor read access in kernel mode
  [ 2371.114323] #PF: error_code(0x) - not-present page
  [ 2371.119931] PGD 0 P4D 0
  [ 2371.125257] Oops:  [#1] SMP NOPTI
  [ 2371.129247] CPU: 51 PID: 207256 Comm: stress-ng Tainted: P   O 
 5.13.0-27-generic #29-Ubuntu
  [ 2371.133203] Hardware name: Intel Corporation S2600WFD/S2600WFD, BIOS 
SE5C620.86B.0D.01.0395.022720191340 02/27/2019
  [ 2371.135887] RIP: 0010:__next_zones_zonelist+0x6/0x50
  [ 2371.138525] Code: d0 0f 4e d0 3d ff 03 00 00 7f 0d 48 63 d2 5d 48 8b 04 d5 
60 e5 35 af c3 31 c0 5d c3 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 <8b> 4f 08 
48 89 f8 48 89 e5 48 85 d2 75 10 eb 1d 48 63 49 50 48 0f
  [ 2371.143813] RSP: 0018:a9c8b399fac0 EFLAGS: 00010282
  [ 2371.146078] RAX:  RBX:  RCX: 

  [ 2371.148293] RDX: 9c98e894ea98 RSI: 0002 RDI: 
1cc0
  [ 2371.150477] RBP: a9c8b399fb28 R08:  R09: 

  [ 2371.152650] R10: 0002 R11: d9bfbfcc5600 R12: 
00052cc0
  [ 2371.154778] R13: 0002 R14: 0001 R15: 
00152cc0
  [ 2371.156876] FS:  7fcbd141d740() GS:9cc14ccc() 
knlGS:
  [ 2371.158936] CS:  0010 DS:  ES:  CR0: 80050033
  [ 2371.160958] CR2: 1cc8 CR3: 00059f292001 CR4: 
007706e0
  [ 2371.162950] DR0:  DR1:  DR2: 

  [ 2371.164888] DR3:  DR6: fffe0ff0 DR7: 
0400
  [ 2371.166811] PKRU: 5554
  [ 2371.168694] Call Trace:
  [ 2371.170544]  ? __alloc_pages+0x2f1/0x330
  [ 2371.172386]  kmalloc_large_node+0x45/0xb0
  [ 2371.174222]  __kmalloc_node+0x276/0x300
  [ 2371.176036]  ? queue_delayed_work_on+0x39/0x60
  [ 2371.177853]  kvmalloc_node+0x5a/0x90
  [ 2371.179622]  expand_one_shrinker_info+0x82/0x190
  [ 2371.181382]  prealloc_shrinker+0x175/0x1d0
  [ 2371.183091]  alloc_super+0x2bf/0x330
  [ 2371.184764]  ? __fput_sync+0x30/0x30
  [ 2371.186384]  sget_fc+0x74/0x2e0
  [ 2371.187951]  ? set_anon_super+0x50/0x50
  [ 2371.189473]  ? mqueue_create+0x20/0x20
  [ 2371.190944]  get_tree_keyed+0x34/0xd0
  [ 2371.192363]  mqueue_get_tree+0x1c/0x20
  [ 2371.193734]  vfs_get_tree+0x2a/0xc0
  [ 2371.195105]  fc_mount+0x13/0x50
  [ 2371.196409]  mq_init_ns+0x10a/0x1b0
  [ 2371.197667]  copy_ipcs+0x130/0x220
  [ 2371.198899]  create_new_namespaces+0xa6/0x2e0
  [ 2371.200113]  unshare_nsproxy_namespaces+0x5a/0xb0
  [ 2371.201303]  ksys_unshare+0x1db/0x3c0
  [ 2371.202480]  __x64_sys_unshare+0x12/0x20
  [ 2371.203649]  do_syscall_64+0x61/0xb0
  [ 2371.204804]  ? exit_to_user_mode_loop+0xec/0x160
  [ 2371.205966]  ? exit_to_user_mode_prepare+0x37/0xb0
  [ 2371.207102]  ? syscall_exit_to_user_mode+0x27/0x50
  [ 2371.208222]  ? __x64_sys_close+0x11/0x40
  [ 2371.209336]  ? do_syscall_64+0x6e/0xb0
  [ 2371.210438]  ? asm_exc_page_fault+0x8/0x30
  [ 2371.211545]  entry_SYSCALL_64_after_hwframe+0x44/0xae
  [ 2371.212641] RIP: 0033:0x7fcbd1562c4b
  [ 2371.213698] Code: 73 01 c3 48 8b 0d e5 e1 0e 00 f7 d8 64 89 01 48 83 c8 ff 
c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b8 10 01 00 00 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d b5 e1 0e 00 f7 d8 64 89 01 48
  [ 2371.215851] RSP: 002b:7ffc5d8eb878 EFLAGS: 0246 ORIG_RAX: 
0110
  [ 2371.216846] RAX: ffda RBX: 7ffc5d8eba20 RCX: 

[Kernel-packages] [Bug 1961076] Re: linux-hwe-5.4 ADT test failure (ubuntu_stress_smoke_test) with linux-hwe-5.4/5.4.0-100.113~18.04.1

2023-05-03 Thread Colin Ian King
** Changed in: stress-ng
   Status: New => Fix Released

** Changed in: stress-ng
 Assignee: (unassigned) => Colin Ian King (colin-king)

** Changed in: stress-ng
   Importance: Undecided => Medium

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

Title:
  linux-hwe-5.4 ADT test failure (ubuntu_stress_smoke_test) with linux-
  hwe-5.4/5.4.0-100.113~18.04.1

Status in Stress-ng:
  Fix Released
Status in ubuntu-kernel-tests:
  New
Status in linux-hwe-5.4 package in Ubuntu:
  New
Status in linux-hwe-5.4 source package in Bionic:
  New

Bug description:
  The 'dev-shm' stress-ng test is failing with bionic/linux-hwe-5.4
  5.4.0-100.113~18.04.1 on ADT, only on ppc64el.

  Testing failed on:
  ppc64el: 
https://autopkgtest.ubuntu.com/results/autopkgtest-bionic/bionic/ppc64el/l/linux-hwe-5.4/20220216_115416_c1d6c@/log.gz

  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] stress-ng 0.13.11 
g48be8ff4ffc4
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] system: Linux autopkgtest 
5.4.0-100-generic #113~18.04.1-Ubuntu SMP Mon Feb 7 15:02:55 UTC 2022 ppc64le
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] RAM total: 7.9G, RAM free: 
3.3G, swap free: 1023.9M
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] 4 processors online, 4 
processors configured
  11:35:08 DEBUG| [stdout] stress-ng: info:  [26897] setting to a 5 second run 
per stressor
  11:35:08 DEBUG| [stdout] stress-ng: info:  [26897] dispatching hogs: 4 dev-shm
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] cache allocate: using 
cache maximum level L1
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] cache allocate: shared 
cache buffer size: 32K
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] starting stressors
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26899] stress-ng-dev-shm: started 
[26899] (instance 0)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26900] stress-ng-dev-shm: started 
[26900] (instance 1)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26901] stress-ng-dev-shm: started 
[26901] (instance 2)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26902] stress-ng-dev-shm: started 
[26902] (instance 3)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] 4 stressors started
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26899] stress-ng-dev-shm: 
assuming killed by OOM killer, restarting again (instance 0)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26902] stress-ng-dev-shm: 
assuming killed by OOM killer, restarting again (instance 3)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26901] stress-ng-dev-shm: 
assuming killed by OOM killer, restarting again (instance 2)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26900] stress-ng-dev-shm: 
assuming killed by OOM killer, restarting again (instance 1)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26899] 
(stress-ng-dev-shm) terminated on signal: 9 (Killed)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26899] 
(stress-ng-dev-shm) was killed by the OOM killer
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26899] terminated
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26900] 
(stress-ng-dev-shm) terminated on signal: 9 (Killed)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26900] 
(stress-ng-dev-shm) was possibly killed by the OOM killer
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26900] terminated
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26901] stress-ng-dev-shm: exited 
[26901] (instance 2)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26901] terminated
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26902] 
(stress-ng-dev-shm) terminated on signal: 9 (Killed)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26902] 
(stress-ng-dev-shm) was killed by the OOM killer
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26902] terminated
  11:35:08 DEBUG| [stdout] stress-ng: info:  [26897] successful run completed 
in 5.06s
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] dev_shm instance 0 
corrupted bogo-ops counter, 14 vs 0
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] dev_shm instance 0 hash 
error in bogo-ops counter and run flag, 2146579844 vs 0
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] dev_shm instance 1 
corrupted bogo-ops counter, 13 vs 0
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] dev_shm instance 1 hash 
error in bogo-ops counter and run flag, 1093487894 vs 0
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] dev_shm instance 3 
corrupted bogo-ops counter, 13 vs 0
  11:35:08 DEBUG| [stdout] info: 5 failures reached, aborting stress process
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] dev_shm instance 3 hash 
error in bogo-ops counter and run flag, 1093487894 vs 0
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] metr

[Kernel-packages] [Bug 1999731] Re: disk stress test failing with code 7

2023-05-03 Thread Colin Ian King
** Changed in: stress-ng
   Status: In Progress => Fix Released

** Changed in: stress-ng
 Assignee: (unassigned) => Colin Ian King (colin-king)

** Changed in: stress-ng
   Importance: Undecided => Medium

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

Title:
  disk stress test failing with code 7

Status in Stress-ng:
  Fix Released
Status in linux package in Ubuntu:
  Invalid
Status in stress-ng package in Ubuntu:
  Fix Released

Bug description:
  Since mid of November we see lots of disk stress test failing with
  multiple Ubuntu kernel e.g. bionic-hwe, focal, focal-hwe. Most of them
  are with lockofd stressor and system are still alive after stress
  test.

  05 Nov 08:51: Running stress-ng lockofd stressor for 240 seconds...
  ** stress-ng exited with code 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/stress-ng/+bug/1999731/+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 1968361] Re: rawsock test BUG: soft lockup

2023-05-03 Thread Colin Ian King
** Changed in: stress-ng
   Status: Fix Committed => Fix Released

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

Title:
  rawsock test BUG: soft lockup

Status in Linux:
  Fix Released
Status in Stress-ng:
  Fix Released
Status in linux package in Ubuntu:
  Invalid

Bug description:
  When running the rawsock stressor on large system with 32 CPUs and
  above, I always hit soft lockup in the kernel, and sometime it will
  lock up the system if running it for longtime. This issue is on all
  major OSes that I tested: Ubunutu 20.04. RHEL7,8, SUSE 15

  
  my system:
  stress-ng V0.13.03-5-g9093bce7

  #lscpu | grep CPU
  CPU(s):  64
  On-line CPU(s) list: 0-63
  NUMA node0 CPU(s):   0-63

  # ./stress-ng --rawsock 20 -t 5
  stress-ng: info:  [49748] setting to a 5 second run per stressor
  stress-ng: info:  [49748] dispatching hogs: 20 rawsock

  Message from syslogd@rain65 at Apr  8 12:18:26 ...
   kernel:watchdog: BUG: soft lockup - CPU#4 stuck for 22s! [stress-ng:49781]
  

  If I run with --timeout 60 secs, it will lock up the systems.

  The issue is lock starvation in the kernel:
  - when stressor create an instance, forking a new child/client and 
parent/server processes, recreating sockets for these processes. The kernel 
acquires the Write lock for adding them to raw sock hash table.
  - the client process immediately starts sending data in a do while {} loop. 
The kernel acquires the Read Lock for accessing raw sock hash table, and 
cloning the data packets for all raw socket processes.
  - The main stress-ng process may still continue to create the rest of 
instances. The kernel may hit the lock starvation (as error shown above)
  - similar to it, when the timeout expires, the parents would try to close 
their sockets, which the kernel also try to acquire the Write Lock, before 
sending SIGKILL to their child processes. We may hit the lock starvation, since 
clients have not closed their sockets and continue sending data.

  I'm not sure this is intended, but to avoid the kernel lock starvation
  in raw socket, I propose the simple patch attached. I has tested it a
  large system with 128 CPUs without hitting any BUG: soft lock up.

  Thanks,
  Thinh Tran

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1968361/+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 2012260] Re: Add support for Adler Lake N

2023-03-20 Thread Colin Ian King
** Changed in: thermald (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  Add support for Adler Lake N

Status in thermald package in Ubuntu:
  In Progress

Bug description:
  [Impact]

   * Support thermald on Adler Lake N CPU.

  [Test Plan]

   * Use a machine with a Adler Lake N cpu.

   * systemctl status thermald

   * Status of thermald should be `running`

  [Where problems could occur]

   * This change is to add support for Adler Lake N in thermald, which
  won't impact other hardware.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thermald/+bug/2012260/+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 2009676] Re: Add support for Raptor Lake S CPUs

2023-03-08 Thread Colin Ian King
@koba, can you test the focal version too?

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

Title:
  Add support for Raptor Lake S CPUs

Status in OEM Priority Project:
  New
Status in thermald package in Ubuntu:
  Fix Released
Status in thermald source package in Jammy:
  Fix Committed

Bug description:
  [Impact]

   * Support thermald on Raptor Lake S CPU.

  [Test Plan]

   * Use a machine with a Raptor Lake S cpu.

   * systemctl status thermald

   * Status of thermald should be `running`

  [Where problems could occur]

   * This change is to add support for Raptor Lake S in thermald, which
  won't impact other hardware.

  [Other Info]

  
https://github.com/intel/thermal_daemon/commit/e03493dc1e972374c1686492655250f8f48a15ba

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/2009676/+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 2009676] Re: Add support for Raptor Lake S CPUs

2023-03-08 Thread Colin Ian King
I believe it's useful to have RPL focal support in thermald if users use
newer HWE kernels. Plus the change is basically adding in some CPU id's
so it's a small delta for useful potential support.

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

Title:
  Add support for Raptor Lake S CPUs

Status in OEM Priority Project:
  New
Status in thermald package in Ubuntu:
  Fix Released
Status in thermald source package in Jammy:
  Fix Committed

Bug description:
  [Impact]

   * Support thermald on Raptor Lake S CPU.

  [Test Plan]

   * Use a machine with a Raptor Lake S cpu.

   * systemctl status thermald

   * Status of thermald should be `running`

  [Where problems could occur]

   * This change is to add support for Raptor Lake S in thermald, which
  won't impact other hardware.

  [Other Info]

  
https://github.com/intel/thermal_daemon/commit/e03493dc1e972374c1686492655250f8f48a15ba

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/2009676/+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 2009676] Re: Add support for Raptor Lake S CPUs

2023-03-08 Thread Colin Ian King
I've applied the patch for Jammy and uploaded a new version ready for
SRU.

thermald (2.4.9-1ubuntu0.2) jammy; urgency=medium

  * Add support for Raptor Lake S CPUs. (LP: #2009676)

Date: Wed, 8 Mar 2023 11:28:31 +
Changed-By: Colin Ian King 
Maintainer: Ubuntu Developers 
https://launchpad.net/ubuntu/+source/thermald/2.4.9-1ubuntu0.2

==

 OK: thermald_2.4.9.orig.tar.xz
 OK: thermald_2.4.9-1ubuntu0.2.debian.tar.xz
 OK: thermald_2.4.9-1ubuntu0.2.dsc
 -> Component: main Section: misc

Upload Warnings:
Redirecting ubuntu jammy to ubuntu jammy-proposed.
This upload awaits approval by a distro manager


Announcing to jammy-chan...@lists.ubuntu.com

Thank you for your contribution to Ubuntu.

** Changed in: thermald (Ubuntu)
Milestone: None => jammy-updates

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

Title:
  Add support for Raptor Lake S CPUs

Status in OEM Priority Project:
  New
Status in thermald package in Ubuntu:
  Fix Released
Status in thermald source package in Jammy:
  New

Bug description:
  [Impact]

   * Support thermald on Raptor Lake S CPU.

  [Test Plan]

   * Use a machine with a Raptor Lake S cpu.

   * systemctl status thermald

   * Status of thermald should be `running`

  [Where problems could occur]

   * This change is to add support for Raptor Lake S in thermald, which
  won't impact other hardware.

  [Other Info]

  
https://github.com/intel/thermal_daemon/commit/e03493dc1e972374c1686492655250f8f48a15ba

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/2009676/+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 1968361] Re: rawsock test BUG: soft lockup

2023-03-01 Thread Colin Ian King
Also there is a re-forking delay added to allow instances to fire up and
back off if resources get low. These changes have been tested with 256,
1024, 4096 and 8192 instances on a 24 thread system with 32GB of memory.

** Changed in: linux (Ubuntu)
   Status: New => Invalid

** Changed in: linux (Ubuntu)
   Importance: High => Low

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

Title:
  rawsock test BUG: soft lockup

Status in Linux:
  Fix Released
Status in Stress-ng:
  Fix Committed
Status in linux package in Ubuntu:
  Invalid

Bug description:
  When running the rawsock stressor on large system with 32 CPUs and
  above, I always hit soft lockup in the kernel, and sometime it will
  lock up the system if running it for longtime. This issue is on all
  major OSes that I tested: Ubunutu 20.04. RHEL7,8, SUSE 15

  
  my system:
  stress-ng V0.13.03-5-g9093bce7

  #lscpu | grep CPU
  CPU(s):  64
  On-line CPU(s) list: 0-63
  NUMA node0 CPU(s):   0-63

  # ./stress-ng --rawsock 20 -t 5
  stress-ng: info:  [49748] setting to a 5 second run per stressor
  stress-ng: info:  [49748] dispatching hogs: 20 rawsock

  Message from syslogd@rain65 at Apr  8 12:18:26 ...
   kernel:watchdog: BUG: soft lockup - CPU#4 stuck for 22s! [stress-ng:49781]
  

  If I run with --timeout 60 secs, it will lock up the systems.

  The issue is lock starvation in the kernel:
  - when stressor create an instance, forking a new child/client and 
parent/server processes, recreating sockets for these processes. The kernel 
acquires the Write lock for adding them to raw sock hash table.
  - the client process immediately starts sending data in a do while {} loop. 
The kernel acquires the Read Lock for accessing raw sock hash table, and 
cloning the data packets for all raw socket processes.
  - The main stress-ng process may still continue to create the rest of 
instances. The kernel may hit the lock starvation (as error shown above)
  - similar to it, when the timeout expires, the parents would try to close 
their sockets, which the kernel also try to acquire the Write Lock, before 
sending SIGKILL to their child processes. We may hit the lock starvation, since 
clients have not closed their sockets and continue sending data.

  I'm not sure this is intended, but to avoid the kernel lock starvation
  in raw socket, I propose the simple patch attached. I has tested it a
  large system with 128 CPUs without hitting any BUG: soft lock up.

  Thanks,
  Thinh Tran

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1968361/+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 1968361] Re: rawsock test BUG: soft lockup

2023-03-01 Thread Colin Ian King
This fix will land in the next release of stress-ng at the end of March
2023

** Changed in: stress-ng
   Status: New => Fix Committed

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

Title:
  rawsock test BUG: soft lockup

Status in Linux:
  Fix Released
Status in Stress-ng:
  Fix Committed
Status in linux package in Ubuntu:
  Invalid

Bug description:
  When running the rawsock stressor on large system with 32 CPUs and
  above, I always hit soft lockup in the kernel, and sometime it will
  lock up the system if running it for longtime. This issue is on all
  major OSes that I tested: Ubunutu 20.04. RHEL7,8, SUSE 15

  
  my system:
  stress-ng V0.13.03-5-g9093bce7

  #lscpu | grep CPU
  CPU(s):  64
  On-line CPU(s) list: 0-63
  NUMA node0 CPU(s):   0-63

  # ./stress-ng --rawsock 20 -t 5
  stress-ng: info:  [49748] setting to a 5 second run per stressor
  stress-ng: info:  [49748] dispatching hogs: 20 rawsock

  Message from syslogd@rain65 at Apr  8 12:18:26 ...
   kernel:watchdog: BUG: soft lockup - CPU#4 stuck for 22s! [stress-ng:49781]
  

  If I run with --timeout 60 secs, it will lock up the systems.

  The issue is lock starvation in the kernel:
  - when stressor create an instance, forking a new child/client and 
parent/server processes, recreating sockets for these processes. The kernel 
acquires the Write lock for adding them to raw sock hash table.
  - the client process immediately starts sending data in a do while {} loop. 
The kernel acquires the Read Lock for accessing raw sock hash table, and 
cloning the data packets for all raw socket processes.
  - The main stress-ng process may still continue to create the rest of 
instances. The kernel may hit the lock starvation (as error shown above)
  - similar to it, when the timeout expires, the parents would try to close 
their sockets, which the kernel also try to acquire the Write Lock, before 
sending SIGKILL to their child processes. We may hit the lock starvation, since 
clients have not closed their sockets and continue sending data.

  I'm not sure this is intended, but to avoid the kernel lock starvation
  in raw socket, I propose the simple patch attached. I has tested it a
  large system with 128 CPUs without hitting any BUG: soft lock up.

  Thanks,
  Thinh Tran

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1968361/+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 1968361] Re: rawsock test BUG: soft lockup

2023-03-01 Thread Colin Ian King
Added an ENOBUFS check on the sender with priority dropping on ENOBUFS
errors and also a timer backoff delay.  Added OOM killer respawning that
can be overridden using the --oomable to allow overcommitted systems to
ether respawn OOM'd rawsock instances (default) or not respawn
(--oomable).

Fix committed upstream: https://github.com/ColinIanKing/stress-
ng/commit/e4d3b90267243d7505399e7059950097d9bd50ae

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

Title:
  rawsock test BUG: soft lockup

Status in Linux:
  Fix Released
Status in Stress-ng:
  Fix Committed
Status in linux package in Ubuntu:
  Invalid

Bug description:
  When running the rawsock stressor on large system with 32 CPUs and
  above, I always hit soft lockup in the kernel, and sometime it will
  lock up the system if running it for longtime. This issue is on all
  major OSes that I tested: Ubunutu 20.04. RHEL7,8, SUSE 15

  
  my system:
  stress-ng V0.13.03-5-g9093bce7

  #lscpu | grep CPU
  CPU(s):  64
  On-line CPU(s) list: 0-63
  NUMA node0 CPU(s):   0-63

  # ./stress-ng --rawsock 20 -t 5
  stress-ng: info:  [49748] setting to a 5 second run per stressor
  stress-ng: info:  [49748] dispatching hogs: 20 rawsock

  Message from syslogd@rain65 at Apr  8 12:18:26 ...
   kernel:watchdog: BUG: soft lockup - CPU#4 stuck for 22s! [stress-ng:49781]
  

  If I run with --timeout 60 secs, it will lock up the systems.

  The issue is lock starvation in the kernel:
  - when stressor create an instance, forking a new child/client and 
parent/server processes, recreating sockets for these processes. The kernel 
acquires the Write lock for adding them to raw sock hash table.
  - the client process immediately starts sending data in a do while {} loop. 
The kernel acquires the Read Lock for accessing raw sock hash table, and 
cloning the data packets for all raw socket processes.
  - The main stress-ng process may still continue to create the rest of 
instances. The kernel may hit the lock starvation (as error shown above)
  - similar to it, when the timeout expires, the parents would try to close 
their sockets, which the kernel also try to acquire the Write Lock, before 
sending SIGKILL to their child processes. We may hit the lock starvation, since 
clients have not closed their sockets and continue sending data.

  I'm not sure this is intended, but to avoid the kernel lock starvation
  in raw socket, I propose the simple patch attached. I has tested it a
  large system with 128 CPUs without hitting any BUG: soft lock up.

  Thanks,
  Thinh Tran

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1968361/+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 1999731] Re: disk stress test failing with code 7

2023-03-01 Thread Colin Ian King
** Changed in: stress-ng (Ubuntu)
   Status: In Progress => Fix Released

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

Title:
  disk stress test failing with code 7

Status in Stress-ng:
  In Progress
Status in linux package in Ubuntu:
  In Progress
Status in stress-ng package in Ubuntu:
  Fix Released

Bug description:
  Since mid of November we see lots of disk stress test failing with
  multiple Ubuntu kernel e.g. bionic-hwe, focal, focal-hwe. Most of them
  are with lockofd stressor and system are still alive after stress
  test.

  05 Nov 08:51: Running stress-ng lockofd stressor for 240 seconds...
  ** stress-ng exited with code 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/stress-ng/+bug/1999731/+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 2007579] Re: Raptor Lake Thermald ITMT version 2 support

2023-03-01 Thread Colin Ian King
@koba, if you have access to a Dell XPS 9320 then that would be super
useful to verify too - thanks!

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

Title:
  Raptor Lake Thermald ITMT version 2 support

Status in thermald package in Ubuntu:
  Fix Released
Status in thermald source package in Bionic:
  Won't Fix
Status in thermald source package in Focal:
  Won't Fix
Status in thermald source package in Jammy:
  In Progress
Status in thermald source package in Kinetic:
  Fix Committed
Status in thermald source package in Lunar:
  Fix Released

Bug description:
  == SRU Justification Kinetic ==

  Raptor Lake system uses ITMT v2 instead of V1 for thermal
  configuration via GDDV.

  This was observed on Dell XPS 9320 system.
  Because thermald can't parse V2 table, it is not getting correct thermal 
threshold temperature and power limits.

  == The Fix ==

  This is fixed in upstream thermald by the patch:
  
https://github.com/intel/thermal_daemon/commit/90d56bc06cdcf78e7398ea7da389401516591774
  This fix is part of Thermald 2.5.2 release.

  The fix applies cleanly and this is already in Ubuntu Lunar in
  thermald 2.5.2.  The fix checks for illegal ITMT version and handles
  version 2 as a specific exceptional case.

  == Regression Risks ==

  For systems that do not used ITMT, no change in behaviour will occur.
  Systems with versions > 2 (currently not valid) will not have ITMT
  parsed anymore; this will avoid misinterpreting unsupported ITMT data.
  Finally, version 2 of ITMT will be now parsed differently and
  additional fields will be parsed and these will be ignored as
  intended.

  == Test Plan ==

  Test against a Dell XPS 9320 system. See if it handles the ITMT correctly. 
The thermald log should indicate version 2 is being used with the message: 
  "ignore dummy_str: ds d1 d2 d3 " where ds = a string, d1 .. d3 are uint64 
values that are parsed and ignored.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thermald/+bug/2007579/+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 1968361] Re: rawsock test BUG: soft lockup

2023-03-01 Thread Colin Ian King
Looks like the kernel is running out of resources and it is doing Out-
of-memory killing of various processes. I think I have ways of reducing
this from occurring.

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

Title:
  rawsock test BUG: soft lockup

Status in Linux:
  Fix Released
Status in Stress-ng:
  New
Status in linux package in Ubuntu:
  New

Bug description:
  When running the rawsock stressor on large system with 32 CPUs and
  above, I always hit soft lockup in the kernel, and sometime it will
  lock up the system if running it for longtime. This issue is on all
  major OSes that I tested: Ubunutu 20.04. RHEL7,8, SUSE 15

  
  my system:
  stress-ng V0.13.03-5-g9093bce7

  #lscpu | grep CPU
  CPU(s):  64
  On-line CPU(s) list: 0-63
  NUMA node0 CPU(s):   0-63

  # ./stress-ng --rawsock 20 -t 5
  stress-ng: info:  [49748] setting to a 5 second run per stressor
  stress-ng: info:  [49748] dispatching hogs: 20 rawsock

  Message from syslogd@rain65 at Apr  8 12:18:26 ...
   kernel:watchdog: BUG: soft lockup - CPU#4 stuck for 22s! [stress-ng:49781]
  

  If I run with --timeout 60 secs, it will lock up the systems.

  The issue is lock starvation in the kernel:
  - when stressor create an instance, forking a new child/client and 
parent/server processes, recreating sockets for these processes. The kernel 
acquires the Write lock for adding them to raw sock hash table.
  - the client process immediately starts sending data in a do while {} loop. 
The kernel acquires the Read Lock for accessing raw sock hash table, and 
cloning the data packets for all raw socket processes.
  - The main stress-ng process may still continue to create the rest of 
instances. The kernel may hit the lock starvation (as error shown above)
  - similar to it, when the timeout expires, the parents would try to close 
their sockets, which the kernel also try to acquire the Write Lock, before 
sending SIGKILL to their child processes. We may hit the lock starvation, since 
clients have not closed their sockets and continue sending data.

  I'm not sure this is intended, but to avoid the kernel lock starvation
  in raw socket, I propose the simple patch attached. I has tested it a
  large system with 128 CPUs without hitting any BUG: soft lock up.

  Thanks,
  Thinh Tran

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1968361/+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 2007579] Re: Raptor Lake Thermald ITMT version 2 support

2023-02-28 Thread Colin Ian King
I've been exercising the existing code paths of thermald for several
days now with no observable regression in behaviour. I cannot test the
new code path change for this fix as I don't have the exact same system
as that reported in the bug.

For what I can see, there is no regression on this single change for
Kinetic.

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

Title:
  Raptor Lake Thermald ITMT version 2 support

Status in thermald package in Ubuntu:
  Fix Released
Status in thermald source package in Bionic:
  Won't Fix
Status in thermald source package in Focal:
  Won't Fix
Status in thermald source package in Jammy:
  In Progress
Status in thermald source package in Kinetic:
  Fix Committed
Status in thermald source package in Lunar:
  Fix Released

Bug description:
  == SRU Justification Kinetic ==

  Raptor Lake system uses ITMT v2 instead of V1 for thermal
  configuration via GDDV.

  This was observed on Dell XPS 9320 system.
  Because thermald can't parse V2 table, it is not getting correct thermal 
threshold temperature and power limits.

  == The Fix ==

  This is fixed in upstream thermald by the patch:
  
https://github.com/intel/thermal_daemon/commit/90d56bc06cdcf78e7398ea7da389401516591774
  This fix is part of Thermald 2.5.2 release.

  The fix applies cleanly and this is already in Ubuntu Lunar in
  thermald 2.5.2.  The fix checks for illegal ITMT version and handles
  version 2 as a specific exceptional case.

  == Regression Risks ==

  For systems that do not used ITMT, no change in behaviour will occur.
  Systems with versions > 2 (currently not valid) will not have ITMT
  parsed anymore; this will avoid misinterpreting unsupported ITMT data.
  Finally, version 2 of ITMT will be now parsed differently and
  additional fields will be parsed and these will be ignored as
  intended.

  == Test Plan ==

  Test against a Dell XPS 9320 system. See if it handles the ITMT correctly. 
The thermald log should indicate version 2 is being used with the message: 
  "ignore dummy_str: ds d1 d2 d3 " where ds = a string, d1 .. d3 are uint64 
values that are parsed and ignored.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thermald/+bug/2007579/+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 2007579] Re: Raptor Lake Thermald ITMT version 2 support

2023-02-16 Thread Colin Ian King
** Changed in: thermald (Ubuntu Jammy)
   Status: Won't Fix => In Progress

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

Title:
  Raptor Lake Thermald ITMT version 2 support

Status in thermald package in Ubuntu:
  Fix Released
Status in thermald source package in Bionic:
  Won't Fix
Status in thermald source package in Focal:
  Won't Fix
Status in thermald source package in Jammy:
  In Progress
Status in thermald source package in Kinetic:
  In Progress
Status in thermald source package in Lunar:
  Fix Released

Bug description:
  == SRU Justification Kinetic ==

  Raptor Lake system uses ITMT v2 instead of V1 for thermal
  configuration via GDDV.

  This was observed on Dell XPS 9320 system.
  Because thermald can't parse V2 table, it is not getting correct thermal 
threshold temperature and power limits.

  == The Fix ==

  This is fixed in upstream thermald by the patch:
  
https://github.com/intel/thermal_daemon/commit/90d56bc06cdcf78e7398ea7da389401516591774
  This fix is part of Thermald 2.5.2 release.

  The fix applies cleanly and this is already in Ubuntu Lunar in
  thermald 2.5.2.  The fix checks for illegal ITMT version and handles
  version 2 as a specific exceptional case.

  == Regression Risks ==

  For systems that do not used ITMT, no change in behaviour will occur.
  Systems with versions > 2 (currently not valid) will not have ITMT
  parsed anymore; this will avoid misinterpreting unsupported ITMT data.
  Finally, version 2 of ITMT will be now parsed differently and
  additional fields will be parsed and these will be ignored as
  intended.

  == Test Plan ==

  Test against a Dell XPS 9320 system. See if it handles the ITMT correctly. 
The thermald log should indicate version 2 is being used with the message: 
  "ignore dummy_str: ds d1 d2 d3 " where ds = a string, d1 .. d3 are uint64 
values that are parsed and ignored.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thermald/+bug/2007579/+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 2007579] Re: Raptor Lake Thermald ITMT version 2 support

2023-02-16 Thread Colin Ian King
Jammy does not support ITMT. I won't backport the ITMT support and fix
for Jammy unless it is deemed necessary, and then that will under a new
bug as the backport is quite a bit more work.

** Description changed:

- Raptor Lake system uses ITMT v2 instead of V1 for thermal configuration via 
GDDV.
+ == SRU Justification Kinetic ==
+ 
+ Raptor Lake system uses ITMT v2 instead of V1 for thermal configuration
+ via GDDV.
+ 
  This was observed on Dell XPS 9320 system.
  Because thermald can't parse V2 table, it is not getting correct thermal 
threshold temperature and power limits.
+ 
+ == The Fix ==
  
  This is fixed in upstream thermald by the patch:
  
https://github.com/intel/thermal_daemon/commit/90d56bc06cdcf78e7398ea7da389401516591774
  This fix is part of Thermald 2.5.2 release.
  
- This request is to backport this for Ubuntu thermald releases.
+ The fix applies cleanly and this is already in Ubuntu Lunar in thermald
+ 2.5.2.  The fix checks for illegal ITMT version and handles version 2 as
+ a specific exceptional case.
+ 
+ == Regression Risks ==
+ 
+ For systems that do not used ITMT, no change in behaviour will occur.
+ Systems with versions > 2 (currently not valid) will not have ITMT
+ parsed anymore; this will avoid misinterpreting unsupported ITMT data.
+ Finally, version 2 of ITMT will be now parsed differently and additional
+ fields will be parsed and these will be ignored as intended.

** Changed in: thermald (Ubuntu Jammy)
   Status: In Progress => Won't Fix

** Description changed:

  == SRU Justification Kinetic ==
  
  Raptor Lake system uses ITMT v2 instead of V1 for thermal configuration
  via GDDV.
  
  This was observed on Dell XPS 9320 system.
  Because thermald can't parse V2 table, it is not getting correct thermal 
threshold temperature and power limits.
  
  == The Fix ==
  
  This is fixed in upstream thermald by the patch:
  
https://github.com/intel/thermal_daemon/commit/90d56bc06cdcf78e7398ea7da389401516591774
  This fix is part of Thermald 2.5.2 release.
  
  The fix applies cleanly and this is already in Ubuntu Lunar in thermald
  2.5.2.  The fix checks for illegal ITMT version and handles version 2 as
  a specific exceptional case.
  
  == Regression Risks ==
  
  For systems that do not used ITMT, no change in behaviour will occur.
  Systems with versions > 2 (currently not valid) will not have ITMT
  parsed anymore; this will avoid misinterpreting unsupported ITMT data.
  Finally, version 2 of ITMT will be now parsed differently and additional
  fields will be parsed and these will be ignored as intended.
+ 
+ == Test Plan ==
+ 
+ Test against a Dell XPS 9320 system. See if it handles the ITMT correctly. 
The thermald log should indicate version 2 is being used with the message: 
+ "ignore dummy_str: ds d1 d2 d3 " where ds = a string, d1 .. d3 are uint64 
values that are parsed and ignored.

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

Title:
  Raptor Lake Thermald ITMT version 2 support

Status in thermald package in Ubuntu:
  Fix Released
Status in thermald source package in Bionic:
  Won't Fix
Status in thermald source package in Focal:
  Won't Fix
Status in thermald source package in Jammy:
  Won't Fix
Status in thermald source package in Kinetic:
  In Progress
Status in thermald source package in Lunar:
  Fix Released

Bug description:
  == SRU Justification Kinetic ==

  Raptor Lake system uses ITMT v2 instead of V1 for thermal
  configuration via GDDV.

  This was observed on Dell XPS 9320 system.
  Because thermald can't parse V2 table, it is not getting correct thermal 
threshold temperature and power limits.

  == The Fix ==

  This is fixed in upstream thermald by the patch:
  
https://github.com/intel/thermal_daemon/commit/90d56bc06cdcf78e7398ea7da389401516591774
  This fix is part of Thermald 2.5.2 release.

  The fix applies cleanly and this is already in Ubuntu Lunar in
  thermald 2.5.2.  The fix checks for illegal ITMT version and handles
  version 2 as a specific exceptional case.

  == Regression Risks ==

  For systems that do not used ITMT, no change in behaviour will occur.
  Systems with versions > 2 (currently not valid) will not have ITMT
  parsed anymore; this will avoid misinterpreting unsupported ITMT data.
  Finally, version 2 of ITMT will be now parsed differently and
  additional fields will be parsed and these will be ignored as
  intended.

  == Test Plan ==

  Test against a Dell XPS 9320 system. See if it handles the ITMT correctly. 
The thermald log should indicate version 2 is being used with the message: 
  "ignore dummy_str: ds d1 d2 d3 " where ds = a string, d1 .. d3 are uint64 
values that are parsed and ignored.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post 

[Kernel-packages] [Bug 2007579] Re: Raptor Lake Thermald ITMT version 2 support

2023-02-16 Thread Colin Ian King
** Changed in: thermald (Ubuntu Bionic)
   Status: In Progress => Won't Fix

** Changed in: thermald (Ubuntu Focal)
   Status: In Progress => Won't Fix

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

Title:
  Raptor Lake Thermald ITMT version 2 support

Status in thermald package in Ubuntu:
  Fix Released
Status in thermald source package in Bionic:
  Won't Fix
Status in thermald source package in Focal:
  Won't Fix
Status in thermald source package in Jammy:
  In Progress
Status in thermald source package in Kinetic:
  In Progress
Status in thermald source package in Lunar:
  Fix Released

Bug description:
  == SRU Justification Kinetic ==

  Raptor Lake system uses ITMT v2 instead of V1 for thermal
  configuration via GDDV.

  This was observed on Dell XPS 9320 system.
  Because thermald can't parse V2 table, it is not getting correct thermal 
threshold temperature and power limits.

  == The Fix ==

  This is fixed in upstream thermald by the patch:
  
https://github.com/intel/thermal_daemon/commit/90d56bc06cdcf78e7398ea7da389401516591774
  This fix is part of Thermald 2.5.2 release.

  The fix applies cleanly and this is already in Ubuntu Lunar in
  thermald 2.5.2.  The fix checks for illegal ITMT version and handles
  version 2 as a specific exceptional case.

  == Regression Risks ==

  For systems that do not used ITMT, no change in behaviour will occur.
  Systems with versions > 2 (currently not valid) will not have ITMT
  parsed anymore; this will avoid misinterpreting unsupported ITMT data.
  Finally, version 2 of ITMT will be now parsed differently and
  additional fields will be parsed and these will be ignored as
  intended.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thermald/+bug/2007579/+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 2007579] Re: Raptor Lake Thermald ITMT version 2 support

2023-02-16 Thread Colin Ian King
Lunar already has this fix as it is the current latest release:
http://changelogs.ubuntu.com/changelogs/pool/main/t/thermald/thermald_2.5.2-1/changelog

This fix needs to be backported to other releases as a stable release
update, I'll do these.


** Also affects: thermald (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: thermald (Ubuntu Kinetic)
   Importance: Undecided
   Status: New

** Also affects: thermald (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Also affects: thermald (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: thermald (Ubuntu Lunar)
   Importance: High
 Assignee: Colin Ian King (colin-king)
   Status: In Progress

** Changed in: thermald (Ubuntu Lunar)
   Status: In Progress => Fix Released

** Changed in: thermald (Ubuntu Kinetic)
 Assignee: (unassigned) => Colin Ian King (colin-king)

** Changed in: thermald (Ubuntu Jammy)
 Assignee: (unassigned) => Colin Ian King (colin-king)

** Changed in: thermald (Ubuntu Focal)
 Assignee: (unassigned) => Colin Ian King (colin-king)

** Changed in: thermald (Ubuntu Bionic)
 Assignee: (unassigned) => Colin Ian King (colin-king)

** Changed in: thermald (Ubuntu Kinetic)
   Importance: Undecided => High

** Changed in: thermald (Ubuntu Bionic)
   Importance: Undecided => High

** Changed in: thermald (Ubuntu Focal)
   Importance: Undecided => High

** Changed in: thermald (Ubuntu Jammy)
   Importance: Undecided => High

** Changed in: thermald (Ubuntu Bionic)
   Status: New => In Progress

** Changed in: thermald (Ubuntu Focal)
   Status: New => In Progress

** Changed in: thermald (Ubuntu Jammy)
   Status: New => In Progress

** Changed in: thermald (Ubuntu Kinetic)
   Status: New => In Progress

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

Title:
  Raptor Lake Thermald ITMT version 2 support

Status in thermald package in Ubuntu:
  Fix Released
Status in thermald source package in Bionic:
  In Progress
Status in thermald source package in Focal:
  In Progress
Status in thermald source package in Jammy:
  In Progress
Status in thermald source package in Kinetic:
  In Progress
Status in thermald source package in Lunar:
  Fix Released

Bug description:
  Raptor Lake system uses ITMT v2 instead of V1 for thermal configuration via 
GDDV.
  This was observed on Dell XPS 9320 system.
  Because thermald can't parse V2 table, it is not getting correct thermal 
threshold temperature and power limits.

  This is fixed in upstream thermald by the patch:
  
https://github.com/intel/thermal_daemon/commit/90d56bc06cdcf78e7398ea7da389401516591774
  This fix is part of Thermald 2.5.2 release.

  This request is to backport this for Ubuntu thermald releases.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thermald/+bug/2007579/+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 2007579] Re: Raptor Lake Thermald ITMT version 2 support

2023-02-16 Thread Colin Ian King
I don't mind picking this one up.

** Changed in: thermald (Ubuntu)
 Assignee: (unassigned) => Colin Ian King (colin-king)

** Changed in: thermald (Ubuntu)
   Importance: Undecided => High

** Changed in: thermald (Ubuntu)
   Status: New => In Progress

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

Title:
  Raptor Lake Thermald ITMT version 2 support

Status in thermald package in Ubuntu:
  In Progress

Bug description:
  Raptor Lake system uses ITMT v2 instead of V1 for thermal configuration via 
GDDV.
  This was observed on Dell XPS 9320 system.
  Because thermald can't parse V2 table, it is not getting correct thermal 
threshold temperature and power limits.

  This is fixed in upstream thermald by the patch:
  
https://github.com/intel/thermal_daemon/commit/90d56bc06cdcf78e7398ea7da389401516591774
  This fix is part of Thermald 2.5.2 release.

  This request is to backport this for Ubuntu thermald releases.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thermald/+bug/2007579/+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 1999731] Re: disk stress test failing with code 7

2023-02-15 Thread Colin Ian King
the updated stress-ng is available from the stress-ng ppa:
https://launchpad.net/~colin-king/+archive/ubuntu/stress-ng/

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

Title:
  disk stress test failing with code 7

Status in Stress-ng:
  In Progress
Status in linux package in Ubuntu:
  In Progress
Status in stress-ng package in Ubuntu:
  In Progress

Bug description:
  Since mid of November we see lots of disk stress test failing with
  multiple Ubuntu kernel e.g. bionic-hwe, focal, focal-hwe. Most of them
  are with lockofd stressor and system are still alive after stress
  test.

  05 Nov 08:51: Running stress-ng lockofd stressor for 240 seconds...
  ** stress-ng exited with code 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/stress-ng/+bug/1999731/+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 1999731] Re: disk stress test failing with code 7

2023-02-15 Thread Colin Ian King
stress-ng V0.15.04 has been released with a fix for this issue.

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

Title:
  disk stress test failing with code 7

Status in Stress-ng:
  In Progress
Status in linux package in Ubuntu:
  In Progress
Status in stress-ng package in Ubuntu:
  In Progress

Bug description:
  Since mid of November we see lots of disk stress test failing with
  multiple Ubuntu kernel e.g. bionic-hwe, focal, focal-hwe. Most of them
  are with lockofd stressor and system are still alive after stress
  test.

  05 Nov 08:51: Running stress-ng lockofd stressor for 240 seconds...
  ** stress-ng exited with code 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/stress-ng/+bug/1999731/+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 1999731] Re: disk stress test failing with code 7

2023-02-03 Thread Colin Ian King
I managed to corner the bug, the termination signal on timeout was
killing the contention process with SIGKILL and this was killing the
bogo-op increment mid increment causing the internal state to be
inconsistent on the bogo-op counter. I've pushed a fix to the main repo:

commit efb0ad344e735986b29e0e1d68454edf9d793ee4 (HEAD -> master)
Author: Colin Ian King 
Date:   Fri Feb 3 17:36:09 2023 +

stress-lock{a|f|ofd}: terminate contention process with SIGALRM


This will be included in the next stress-ng release at the end of this month.

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

Title:
  disk stress test failing with code 7

Status in Stress-ng:
  In Progress
Status in linux package in Ubuntu:
  In Progress
Status in stress-ng package in Ubuntu:
  In Progress

Bug description:
  Since mid of November we see lots of disk stress test failing with
  multiple Ubuntu kernel e.g. bionic-hwe, focal, focal-hwe. Most of them
  are with lockofd stressor and system are still alive after stress
  test.

  05 Nov 08:51: Running stress-ng lockofd stressor for 240 seconds...
  ** stress-ng exited with code 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/stress-ng/+bug/1999731/+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 1999731] Re: disk stress test failing with code 7

2023-01-31 Thread Colin Ian King
Hi Ike,

I'm having difficulty reproducing this.

1. Please attach the dmesg log to the bug report when this fails
2. What file system is being used?
3. Does this occur with the latest version of stress-ng
- one can use the packages from 
https://launchpad.net/~colin-king/+archive/ubuntu/stress-ng for the latest 
version for older releases.


** Changed in: stress-ng (Ubuntu)
   Importance: Undecided => High

** Changed in: stress-ng (Ubuntu)
 Assignee: Ike Panhc (ikepanhc) => Colin Ian King (colin-king)

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

Title:
  disk stress test failing with code 7

Status in Stress-ng:
  In Progress
Status in linux package in Ubuntu:
  In Progress
Status in stress-ng package in Ubuntu:
  In Progress

Bug description:
  Since mid of November we see lots of disk stress test failing with
  multiple Ubuntu kernel e.g. bionic-hwe, focal, focal-hwe. Most of them
  are with lockofd stressor and system are still alive after stress
  test.

  05 Nov 08:51: Running stress-ng lockofd stressor for 240 seconds...
  ** stress-ng exited with code 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/stress-ng/+bug/1999731/+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 1998285] Re: 5.15.0-53-UBSAN: shift-out-of-bounds in amdgpu

2023-01-30 Thread Colin Ian King
I suspect it was fixed with:

commit b292cafe2dd02d96a07147e4b160927e8399d5cc
Author: Felix Kuehling 
Date:   Wed Sep 21 17:45:59 2022 -0400

drm/amdkfd: Fix UBSAN shift-out-of-bounds warning

This was fixed in initialize_cpsch before, but not in initialize_nocpsch.
Factor sdma bitmap initialization into a helper function to apply the
correct implementation in both cases without duplicating it.

v2: Added a range check

Reported-by: Ellis Michael 
Signed-off-by: Felix Kuehling 
Reviewed-by: Graham Sider 
Signed-off-by: Alex Deucher 


** Changed in: linux (Ubuntu)
   Importance: Undecided => High

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

Title:
  5.15.0-53-UBSAN: shift-out-of-bounds in amdgpu

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  from dmesg

   1.313665] UBSAN: shift-out-of-bounds in 
/build/linux-JjvoxS/linux-5.15.0/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c:997:32
  [1.313668] shift exponent 64 is too large for 64-bit type 'long long 
unsigned int'

  there is also a crash but i don't know if it's related.

  1.313671] Call Trace:
  [1.313672]  
  [1.313673]  show_stack+0x52/0x5c
  [1.313676]  dump_stack_lvl+0x4a/0x63
  [1.313678]  dump_stack+0x10/0x16
  [1.313679]  ubsan_epilogue+0x9/0x49
  [1.313680]  __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
  [1.313682]  initialize_nocpsch.cold+0x15/0x59 [amdgpu]
  [1.313841]  device_queue_manager_init+0x208/0x3b0 [amdgpu]
  [1.313946]  kgd2kfd_device_init.cold+0x1af/0x483 [amdgpu]
  [1.314079]  amdgpu_amdkfd_device_init+0x135/0x170 [amdgpu]
  [1.314178]  amdgpu_device_ip_init+0x681/0x6a4 [amdgpu]
  [1.314323]  amdgpu_device_init.cold+0x25b/0x7db [amdgpu]
  [1.314463]  ? do_pci_enable_device+0xdb/0x110
  [1.314466]  amdgpu_driver_load_kms+0x1e/0x270 [amdgpu]
  [1.314556]  amdgpu_pci_probe+0x1ce/0x260 [amdgpu]
  [1.314642]  local_pci_probe+0x48/0x90
  [1.314644]  pci_device_probe+0x119/0x1f0
  [1.314645]  really_probe+0x21f/0x420
  [1.314647]  __driver_probe_device+0x119/0x190
  [1.314648]  driver_probe_device+0x23/0xc0
  [1.314650]  __driver_attach+0xbd/0x1f0
  [1.314651]  ? __device_attach_driver+0x120/0x120
  [1.314652]  bus_for_each_dev+0x7c/0xd0
  [1.314654]  driver_attach+0x1e/0x30
  [1.314655]  bus_add_driver+0x148/0x220
  [1.314656]  driver_register+0x95/0x100
  [1.314657]  __pci_register_driver+0x68/0x70
  [1.314659]  amdgpu_init+0x7c/0x1000 [amdgpu]
  [1.314747]  ? 0xc0fc
  [1.314748]  do_one_initcall+0x46/0x1e0
  [1.314750]  ? kmem_cache_alloc_trace+0x19e/0x2e0
  [1.314752]  do_init_module+0x52/0x260
  [1.314753]  load_module+0xb2b/0xbc0
  [1.314754]  __do_sys_finit_module+0xbf/0x120
  [1.314756]  __x64_sys_finit_module+0x18/0x20
  [1.314757]  do_syscall_64+0x59/0xc0
  [1.314758]  ? ksys_lseek+0x85/0xc0
  [1.314759]  ? exit_to_user_mode_prepare+0x37/0xb0
  [1.314761]  ? syscall_exit_to_user_mode+0x27/0x50
  [1.314762]  ? __x64_sys_lseek+0x18/0x20
  [1.314763]  ? do_syscall_64+0x69/0xc0
  [1.314764]  entry_SYSCALL_64_after_hwframe+0x61/0xcb
  [1.314766] RIP: 0033:0x7fef87ab8a3d
  [1.314767] Code: 5b 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 89 
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d c3 a3 0f 00 f7 d8 64 89 01 48
  [1.314768] RSP: 002b:7fffe67aa7c8 EFLAGS: 0246 ORIG_RAX: 
0139
  [1.314770] RAX: ffda RBX: 55d1d00078a0 RCX: 
7fef87ab8a3d
  [1.314771] RDX:  RSI: 7fef87c4f441 RDI: 
0018
  [1.314772] RBP: 0002 R08:  R09: 
0002
  [1.314772] R10: 0018 R11: 0246 R12: 
7fef87c4f441
  [1.314773] R13: 55d1d002ea30 R14: 55d1d0011600 R15: 
55d1d002eb10
  [1.314774]  
  [1.314778] 


  
  gpu is Amd r 380 tonga 4Gb.
  I was adviced to try 6.0 series of kernel and I dont see the ubsan error 
there but I would like to get the fixes backported 5.15 series.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu82.2
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  jarkko 1322 F pulseaudio
   /dev/snd/controlC1:  jarkko 1322 F pulseaudio
  CasperMD5json: {
  CurrentDesktop: MATE
  DistroRelease: Linux Mint 21
  InstallationDate: Installed on 2022-09-19 (71 days ago)
  InstallationMedia: Linux Mint 21 "Vanessa" - Release amd64 20220726
  MachineType: ASUS System Product Name
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  Package: linux (not installed)
  

[Kernel-packages] [Bug 1999731] Re: disk stress test failing with code 7

2022-12-20 Thread Colin Ian King
It may be worth using stress-ng from https://launchpad.net/~colin-
king/+archive/ubuntu/stress-ng or building it from source using:

git clone https://github.com/ColinIanKing/stress-ng
cd stress-ng
git checkout V0.15.00
make clean
make

and then running:

./stress-ng --lockofd 0 -t 300 --vmstat 1

..and see if that causes the issue.

Then checkout V0.14.06, make clean; make and see if this causes the
issue.

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

Title:
  disk stress test failing with code 7

Status in Stress-ng:
  In Progress
Status in linux package in Ubuntu:
  In Progress
Status in stress-ng package in Ubuntu:
  In Progress

Bug description:
  Since mid of November we see lots of disk stress test failing with
  multiple Ubuntu kernel e.g. bionic-hwe, focal, focal-hwe. Most of them
  are with lockofd stressor and system are still alive after stress
  test.

  05 Nov 08:51: Running stress-ng lockofd stressor for 240 seconds...
  ** stress-ng exited with code 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/stress-ng/+bug/1999731/+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 1999731] Re: disk stress test failing with code 7

2022-12-20 Thread Colin Ian King
Return value 7 is "EXIT_METRICS_UNTRUSTWORTHY", this may mean the
stressor may have been killed manually and/or it terminated abruptly
causing it to be unable to store the bogo/ops metrics in a shared memory
segment reliably.

Only two commits have changed in the lockofd stressor since Aug 2022:

commit 6274835de403ec310b20d2771ccf21a523b94cec
Author: Colin Ian King 
Date:   Tue Nov 15 19:57:28 2022 +

stress-*: rename stress_not_implemented to stress_unimplemented

Signed-off-by: Colin Ian King 

commit 7ccc5fe9d18b7d467e8279c0a791df6453e5a451
Author: Colin Ian King 
Date:   Tue Nov 15 19:47:32 2022 +

stress-*: add more explanation about stressors being unimplmented

It's useful for users to have some idea why a stressor is not implemented
or useable on the various systems that stress-ng can build on.

Signed-off-by: Colin Ian King 

These commits didn't change the functionality of stress-ng's lockofd
stressor from what I can see.

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

Title:
  disk stress test failing with code 7

Status in Stress-ng:
  In Progress
Status in linux package in Ubuntu:
  In Progress
Status in stress-ng package in Ubuntu:
  In Progress

Bug description:
  Since mid of November we see lots of disk stress test failing with
  multiple Ubuntu kernel e.g. bionic-hwe, focal, focal-hwe. Most of them
  are with lockofd stressor and system are still alive after stress
  test.

  05 Nov 08:51: Running stress-ng lockofd stressor for 240 seconds...
  ** stress-ng exited with code 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/stress-ng/+bug/1999731/+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 1818228] Re: thunderbolt

2022-12-07 Thread Colin Ian King
** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  thunderbolt

Status in linux package in Ubuntu:
  Incomplete
Status in thunderbolt-tools package in Ubuntu:
  New

Bug description:
  [   51.501462] [ cut here ]
  [   51.501465] thunderbolt :08:00.0: interrupt for TX ring 0 is already 
disabled
  [   51.501480] WARNING: CPU: 4 PID: 82 at 
/build/linux-uQJ2um/linux-4.15.0/drivers/thunderbolt/nhi.c:106 
ring_interrupt_active+0x20c/0x270 [thunderbolt]
  [   51.501481] Modules linked in: rfcomm ccm thunderbolt cmac bnep arc4 
snd_hda_codec_hdmi nls_iso8859_1 snd_hda_codec_realtek snd_hda_codec_generic 
hid_multitouch dell_wmi dell_laptop dell_smbios wmi_bmof intel_wmi_thunderbolt 
intel_rapl mxm_wmi x86_pkg_temp_thermal intel_powerclamp coretemp 
dell_wmi_descriptor dcdbas kvm_intel dell_smm_hwmon kvm irqbypass snd_hda_intel 
crct10dif_pclmul crc32_pclmul snd_hda_codec ghash_clmulni_intel snd_hda_core 
pcbc snd_hwdep snd_pcm ath10k_pci aesni_intel ath10k_core aes_x86_64 
crypto_simd glue_helper cryptd snd_seq_midi ath uvcvideo intel_cstate 
snd_seq_midi_event snd_rawmidi intel_rapl_perf mac80211 snd_seq 
videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_seq_device snd_timer 
serio_raw videobuf2_core cdc_ether btusb usbnet videodev btrtl snd btbcm idma64 
btintel
  [   51.501517]  r8152 virt_dma media soundcore joydev rtsx_pci_ms mii 
input_leds cfg80211 bluetooth memstick ecdh_generic mei_me intel_lpss_pci 
processor_thermal_device mei shpchp intel_soc_dts_iosf intel_lpss 
intel_pch_thermal nvidia_uvm(POE) int3400_thermal int3403_thermal 
int340x_thermal_zone wmi acpi_thermal_rel mac_hid intel_hid acpi_pad 
sparse_keymap sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables 
autofs4 hid_generic usbhid ses enclosure scsi_transport_sas uas usb_storage 
nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) i915 i2c_algo_bit 
drm_kms_helper syscopyarea sysfillrect sysimgblt rtsx_pci_sdmmc fb_sys_fops 
ahci nvme ipmi_devintf psmouse drm nvme_core rtsx_pci libahci ipmi_msghandler 
i2c_hid hid video
  [   51.501552] CPU: 4 PID: 82 Comm: kworker/u16:1 Tainted: PW  OE
4.15.0-45-generic #48-Ubuntu
  [   51.501553] Hardware name: Dell Inc. XPS 15 9560/05FFDN, BIOS 1.12.1 
10/02/2018
  [   51.501556] Workqueue: kacpi_hotplug acpi_hotplug_work_fn
  [   51.501561] RIP: 0010:ring_interrupt_active+0x20c/0x270 [thunderbolt]
  [   51.501562] RSP: 0018:9eb4c1befb38 EFLAGS: 00010082
  [   51.501563] RAX:  RBX:  RCX: 
0006
  [   51.501564] RDX: 0007 RSI: 0092 RDI: 
92e47e516490
  [   51.501565] RBP: 9eb4c1befb70 R08: 0001 R09: 
0529
  [   51.501566] R10: 0040 R11:  R12: 
c1d90a1d
  [   51.501567] R13: 00038200 R14: 92e4641d3c00 R15: 
c1d90a14
  [   51.501568] FS:  () GS:92e47e50() 
knlGS:
  [   51.501569] CS:  0010 DS:  ES:  CR0: 80050033
  [   51.501570] CR2: 1fbc9e7103f8 CR3: 2660a004 CR4: 
003606e0
  [   51.501570] Call Trace:
  [   51.501575]  tb_ring_stop+0x109/0x160 [thunderbolt]
  [   51.501578]  tb_ctl_stop+0x45/0xc0 [thunderbolt]
  [   51.501582]  tb_domain_remove+0x42/0x70 [thunderbolt]
  [   51.501585]  nhi_remove+0x4b/0x60 [thunderbolt]
  [   51.501588]  pci_device_remove+0x3e/0xb0
  [   51.501590]  device_release_driver_internal+0x15b/0x240
  [   51.501592]  device_release_driver+0x12/0x20
  [   51.501594]  pci_stop_bus_device+0x7f/0xa0
  [   51.501595]  pci_stop_and_remove_bus_device+0x12/0x20
  [   51.501597]  trim_stale_devices+0x11d/0x150
  [   51.501598]  trim_stale_devices+0xa9/0x150
  [   51.501599]  trim_stale_devices+0xbb/0x150
  [   51.501600]  ? get_slot_status+0xa2/0x100
  [   51.501601]  acpiphp_check_bridge.part.7+0x100/0x140
  [   51.501602]  acpiphp_hotplug_notify+0x18e/0x220
  [   51.501603]  ? free_bridge+0x100/0x100
  [   51.501605]  acpi_device_hotplug+0xa4/0x4b0
  [   51.501607]  acpi_hotplug_work_fn+0x1e/0x30
  [   51.501609]  process_one_work+0x1de/0x410
  [   51.501610]  worker_thread+0x32/0x410
  [   51.501612]  kthread+0x121/0x140
  [   51.501613]  ? process_one_work+0x410/0x410
  [   51.501615]  ? kthread_create_worker_on_cpu+0x70/0x70
  [   51.501617]  ret_from_fork+0x35/0x40
  [   51.501618] Code: 00 48 89 55 c8 44 89 45 d4 e8 21 a0 8c ee 44 8b 45 d4 48 
8b 55 c8 4d 89 f9 4c 89 e1 48 89 c6 48 c7 c7 38 12 d9 c1 e8 b4 d8 30 ee <0f> 0b 
e9 36 ff ff ff 41 0f b6 46 78 d3 e0 09 c7 e9 cd fe ff ff 
  [   51.501644] ---[ end trace dbb8a6822d824854 ]---

To manage notifications about this bug go to:

[Kernel-packages] [Bug 1961076] Re: linux-hwe-5.4 ADT test failure (ubuntu_stress_smoke_test) with linux-hwe-5.4/5.4.0-100.113~18.04.1

2022-11-10 Thread Colin Ian King
Fix committed to stress-ng: https://github.com/ColinIanKing/stress-
ng/commit/79b54d692ea8e422efa5dee72c7c397d18b237db

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

Title:
  linux-hwe-5.4 ADT test failure (ubuntu_stress_smoke_test) with linux-
  hwe-5.4/5.4.0-100.113~18.04.1

Status in Stress-ng:
  New
Status in ubuntu-kernel-tests:
  New
Status in linux-hwe-5.4 package in Ubuntu:
  New
Status in linux-hwe-5.4 source package in Bionic:
  New

Bug description:
  The 'dev-shm' stress-ng test is failing with bionic/linux-hwe-5.4
  5.4.0-100.113~18.04.1 on ADT, only on ppc64el.

  Testing failed on:
  ppc64el: 
https://autopkgtest.ubuntu.com/results/autopkgtest-bionic/bionic/ppc64el/l/linux-hwe-5.4/20220216_115416_c1d6c@/log.gz

  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] stress-ng 0.13.11 
g48be8ff4ffc4
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] system: Linux autopkgtest 
5.4.0-100-generic #113~18.04.1-Ubuntu SMP Mon Feb 7 15:02:55 UTC 2022 ppc64le
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] RAM total: 7.9G, RAM free: 
3.3G, swap free: 1023.9M
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] 4 processors online, 4 
processors configured
  11:35:08 DEBUG| [stdout] stress-ng: info:  [26897] setting to a 5 second run 
per stressor
  11:35:08 DEBUG| [stdout] stress-ng: info:  [26897] dispatching hogs: 4 dev-shm
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] cache allocate: using 
cache maximum level L1
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] cache allocate: shared 
cache buffer size: 32K
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] starting stressors
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26899] stress-ng-dev-shm: started 
[26899] (instance 0)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26900] stress-ng-dev-shm: started 
[26900] (instance 1)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26901] stress-ng-dev-shm: started 
[26901] (instance 2)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26902] stress-ng-dev-shm: started 
[26902] (instance 3)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] 4 stressors started
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26899] stress-ng-dev-shm: 
assuming killed by OOM killer, restarting again (instance 0)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26902] stress-ng-dev-shm: 
assuming killed by OOM killer, restarting again (instance 3)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26901] stress-ng-dev-shm: 
assuming killed by OOM killer, restarting again (instance 2)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26900] stress-ng-dev-shm: 
assuming killed by OOM killer, restarting again (instance 1)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26899] 
(stress-ng-dev-shm) terminated on signal: 9 (Killed)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26899] 
(stress-ng-dev-shm) was killed by the OOM killer
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26899] terminated
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26900] 
(stress-ng-dev-shm) terminated on signal: 9 (Killed)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26900] 
(stress-ng-dev-shm) was possibly killed by the OOM killer
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26900] terminated
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26901] stress-ng-dev-shm: exited 
[26901] (instance 2)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26901] terminated
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26902] 
(stress-ng-dev-shm) terminated on signal: 9 (Killed)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26902] 
(stress-ng-dev-shm) was killed by the OOM killer
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26902] terminated
  11:35:08 DEBUG| [stdout] stress-ng: info:  [26897] successful run completed 
in 5.06s
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] dev_shm instance 0 
corrupted bogo-ops counter, 14 vs 0
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] dev_shm instance 0 hash 
error in bogo-ops counter and run flag, 2146579844 vs 0
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] dev_shm instance 1 
corrupted bogo-ops counter, 13 vs 0
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] dev_shm instance 1 hash 
error in bogo-ops counter and run flag, 1093487894 vs 0
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] dev_shm instance 3 
corrupted bogo-ops counter, 13 vs 0
  11:35:08 DEBUG| [stdout] info: 5 failures reached, aborting stress process
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] dev_shm instance 3 hash 
error in bogo-ops counter and run flag, 1093487894 vs 0
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] metrics-check: stressor 
metrics corrupted, data is compromised
  11:35:08 DEBUG| [stdout]
  11:35:08 DEBUG| [stdout] 

[Kernel-packages] [Bug 1961076] Re: linux-hwe-5.4 ADT test failure (ubuntu_stress_smoke_test) with linux-hwe-5.4/5.4.0-100.113~18.04.1

2022-11-10 Thread Colin Ian King
I'll add a OOM check wrapper around this stressor so it can detect
OOM'ing and do a sane error handling condition.

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

Title:
  linux-hwe-5.4 ADT test failure (ubuntu_stress_smoke_test) with linux-
  hwe-5.4/5.4.0-100.113~18.04.1

Status in Stress-ng:
  New
Status in ubuntu-kernel-tests:
  New
Status in linux-hwe-5.4 package in Ubuntu:
  New
Status in linux-hwe-5.4 source package in Bionic:
  New

Bug description:
  The 'dev-shm' stress-ng test is failing with bionic/linux-hwe-5.4
  5.4.0-100.113~18.04.1 on ADT, only on ppc64el.

  Testing failed on:
  ppc64el: 
https://autopkgtest.ubuntu.com/results/autopkgtest-bionic/bionic/ppc64el/l/linux-hwe-5.4/20220216_115416_c1d6c@/log.gz

  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] stress-ng 0.13.11 
g48be8ff4ffc4
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] system: Linux autopkgtest 
5.4.0-100-generic #113~18.04.1-Ubuntu SMP Mon Feb 7 15:02:55 UTC 2022 ppc64le
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] RAM total: 7.9G, RAM free: 
3.3G, swap free: 1023.9M
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] 4 processors online, 4 
processors configured
  11:35:08 DEBUG| [stdout] stress-ng: info:  [26897] setting to a 5 second run 
per stressor
  11:35:08 DEBUG| [stdout] stress-ng: info:  [26897] dispatching hogs: 4 dev-shm
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] cache allocate: using 
cache maximum level L1
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] cache allocate: shared 
cache buffer size: 32K
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] starting stressors
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26899] stress-ng-dev-shm: started 
[26899] (instance 0)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26900] stress-ng-dev-shm: started 
[26900] (instance 1)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26901] stress-ng-dev-shm: started 
[26901] (instance 2)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26902] stress-ng-dev-shm: started 
[26902] (instance 3)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] 4 stressors started
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26899] stress-ng-dev-shm: 
assuming killed by OOM killer, restarting again (instance 0)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26902] stress-ng-dev-shm: 
assuming killed by OOM killer, restarting again (instance 3)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26901] stress-ng-dev-shm: 
assuming killed by OOM killer, restarting again (instance 2)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26900] stress-ng-dev-shm: 
assuming killed by OOM killer, restarting again (instance 1)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26899] 
(stress-ng-dev-shm) terminated on signal: 9 (Killed)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26899] 
(stress-ng-dev-shm) was killed by the OOM killer
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26899] terminated
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26900] 
(stress-ng-dev-shm) terminated on signal: 9 (Killed)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26900] 
(stress-ng-dev-shm) was possibly killed by the OOM killer
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26900] terminated
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26901] stress-ng-dev-shm: exited 
[26901] (instance 2)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26901] terminated
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26902] 
(stress-ng-dev-shm) terminated on signal: 9 (Killed)
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26902] 
(stress-ng-dev-shm) was killed by the OOM killer
  11:35:08 DEBUG| [stdout] stress-ng: debug: [26897] process [26902] terminated
  11:35:08 DEBUG| [stdout] stress-ng: info:  [26897] successful run completed 
in 5.06s
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] dev_shm instance 0 
corrupted bogo-ops counter, 14 vs 0
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] dev_shm instance 0 hash 
error in bogo-ops counter and run flag, 2146579844 vs 0
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] dev_shm instance 1 
corrupted bogo-ops counter, 13 vs 0
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] dev_shm instance 1 hash 
error in bogo-ops counter and run flag, 1093487894 vs 0
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] dev_shm instance 3 
corrupted bogo-ops counter, 13 vs 0
  11:35:08 DEBUG| [stdout] info: 5 failures reached, aborting stress process
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] dev_shm instance 3 hash 
error in bogo-ops counter and run flag, 1093487894 vs 0
  11:35:08 DEBUG| [stdout] stress-ng: fail:  [26897] metrics-check: stressor 
metrics corrupted, data is compromised
  11:35:08 DEBUG| [stdout]
  11:35:08 DEBUG| [stdout] [ 

[Kernel-packages] [Bug 1994079] Re: fallocate on 32 bit boundary on 32 bit systems with setrlimit fails to generate SIGXFSZ signal

2022-10-25 Thread Colin Ian King
** Bug watch added: Linux Kernel Bug Tracker #216626
   https://bugzilla.kernel.org/show_bug.cgi?id=216626

** Also affects: linux via
   https://bugzilla.kernel.org/show_bug.cgi?id=216626
   Importance: Unknown
   Status: Unknown

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

Title:
  fallocate on 32 bit boundary on 32 bit systems with setrlimit fails to
  generate SIGXFSZ signal

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  New

Bug description:
  This is a corner case on 32 bit systems when using large file offsets,
  fallocate and setrlimit.

  Setting the RLIMIT_FSIZE with setrlimit to 0x and then
  fallocating 1 or more bytes at the offset of 0x should make
  the fallocate fail with EFBIG and generate a SIGXFSZ signal. On 64 bit
  platforms this works, on 32 bit platforms such as i386 Ubuntu bionic
  with 4.15 kernels it fails to generate EFBIG errors and SIGXFSZ.

  Attached is a test program to illustrate the problem. It sets the file
  size limit and allocates 1024 bytes at the boundary file size limit
  for 3 offsets:

  On 64 bit systems we get the expected results:
  got signal SIGXFSZ
  offset: 65536 (0x1), fallocate returned: -1
  got signal SIGXFSZ
  offset: 4294966271 (0xfbff), fallocate returned: -1
  got signal SIGXFSZ
  offset: 4294967295 (0x), fallocate returned: -1

  On 32 bit systems the code fails on the 0x offset:

  got signal SIGXFSZ
  offset: 65536 (0x1), fallocate returned: -1
  got signal SIGXFSZ
  offset: 4294966271 (0xfbff), fallocate returned: -1
  offset: 4294967295 (0x), fallocate returned: 0

  Attached is the reproducer.

  I found this while developing a file limit boundary test case in
  stress-ng and discovered it breaks on all 32 bit kernels (armhf, i386,
  etc), even with recent 5.15 kernels.

  This could be seen as a security issue; the sysadmin can set the file
  size limit and yet a 32 bit system can use a corner case like this to
  fallocate a much larger file by using the 0x offset and a huge
  fallocate size.

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1994079/+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 1994079] Re: fallocate on 32 bit boundary on 32 bit systems with setrlimit fails to generate SIGXFSZ signal

2022-10-25 Thread Colin Ian King
occurs on 6.0 i386 kernels too

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

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

Title:
  fallocate on 32 bit boundary on 32 bit systems with setrlimit fails to
  generate SIGXFSZ signal

Status in linux package in Ubuntu:
  New

Bug description:
  This is a corner case on 32 bit systems when using large file offsets,
  fallocate and setrlimit.

  Setting the RLIMIT_FSIZE with setrlimit to 0x and then
  fallocating 1 or more bytes at the offset of 0x should make
  the fallocate fail with EFBIG and generate a SIGXFSZ signal. On 64 bit
  platforms this works, on 32 bit platforms such as i386 Ubuntu bionic
  with 4.15 kernels it fails to generate EFBIG errors and SIGXFSZ.

  Attached is a test program to illustrate the problem. It sets the file
  size limit and allocates 1024 bytes at the boundary file size limit
  for 3 offsets:

  On 64 bit systems we get the expected results:
  got signal SIGXFSZ
  offset: 65536 (0x1), fallocate returned: -1
  got signal SIGXFSZ
  offset: 4294966271 (0xfbff), fallocate returned: -1
  got signal SIGXFSZ
  offset: 4294967295 (0x), fallocate returned: -1

  On 32 bit systems the code fails on the 0x offset:

  got signal SIGXFSZ
  offset: 65536 (0x1), fallocate returned: -1
  got signal SIGXFSZ
  offset: 4294966271 (0xfbff), fallocate returned: -1
  offset: 4294967295 (0x), fallocate returned: 0

  Attached is the reproducer.

  I found this while developing a file limit boundary test case in
  stress-ng and discovered it breaks on all 32 bit kernels (armhf, i386,
  etc), even with recent 5.15 kernels.

  This could be seen as a security issue; the sysadmin can set the file
  size limit and yet a 32 bit system can use a corner case like this to
  fallocate a much larger file by using the 0x offset and a huge
  fallocate size.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1994079/+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 1994079] [NEW] fallocate on 32 bit boundary on 32 bit systems with setrlimit fails to generate SIGXFSZ signal

2022-10-24 Thread Colin Ian King
Public bug reported:

This is a corner case on 32 bit systems when using large file offsets,
fallocate and setrlimit.

Setting the RLIMIT_FSIZE with setrlimit to 0x and then
fallocating 1 or more bytes at the offset of 0x should make the
fallocate fail with EFBIG and generate a SIGXFSZ signal. On 64 bit
platforms this works, on 32 bit platforms such as i386 Ubuntu bionic
with 4.15 kernels it fails to generate EFBIG errors and SIGXFSZ.

Attached is a test program to illustrate the problem. It sets the file
size limit and allocates 1024 bytes at the boundary file size limit for
3 offsets:

On 64 bit systems we get the expected results:
got signal SIGXFSZ
offset: 65536 (0x1), fallocate returned: -1
got signal SIGXFSZ
offset: 4294966271 (0xfbff), fallocate returned: -1
got signal SIGXFSZ
offset: 4294967295 (0x), fallocate returned: -1

On 32 bit systems the code fails on the 0x offset:

got signal SIGXFSZ
offset: 65536 (0x1), fallocate returned: -1
got signal SIGXFSZ
offset: 4294966271 (0xfbff), fallocate returned: -1
offset: 4294967295 (0x), fallocate returned: 0

Attached is the reproducer.

I found this while developing a file limit boundary test case in stress-
ng and discovered it breaks on all 32 bit kernels (armhf, i386, etc),
even with recent 5.15 kernels.

This could be seen as a security issue; the sysadmin can set the file
size limit and yet a 32 bit system can use a corner case like this to
fallocate a much larger file by using the 0x offset and a huge
fallocate size.

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

** Attachment added: "fallocate/file size limit reproducer C source"
   
https://bugs.launchpad.net/bugs/1994079/+attachment/5626526/+files/fallocate.c

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

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

Title:
  fallocate on 32 bit boundary on 32 bit systems with setrlimit fails to
  generate SIGXFSZ signal

Status in linux package in Ubuntu:
  New

Bug description:
  This is a corner case on 32 bit systems when using large file offsets,
  fallocate and setrlimit.

  Setting the RLIMIT_FSIZE with setrlimit to 0x and then
  fallocating 1 or more bytes at the offset of 0x should make
  the fallocate fail with EFBIG and generate a SIGXFSZ signal. On 64 bit
  platforms this works, on 32 bit platforms such as i386 Ubuntu bionic
  with 4.15 kernels it fails to generate EFBIG errors and SIGXFSZ.

  Attached is a test program to illustrate the problem. It sets the file
  size limit and allocates 1024 bytes at the boundary file size limit
  for 3 offsets:

  On 64 bit systems we get the expected results:
  got signal SIGXFSZ
  offset: 65536 (0x1), fallocate returned: -1
  got signal SIGXFSZ
  offset: 4294966271 (0xfbff), fallocate returned: -1
  got signal SIGXFSZ
  offset: 4294967295 (0x), fallocate returned: -1

  On 32 bit systems the code fails on the 0x offset:

  got signal SIGXFSZ
  offset: 65536 (0x1), fallocate returned: -1
  got signal SIGXFSZ
  offset: 4294966271 (0xfbff), fallocate returned: -1
  offset: 4294967295 (0x), fallocate returned: 0

  Attached is the reproducer.

  I found this while developing a file limit boundary test case in
  stress-ng and discovered it breaks on all 32 bit kernels (armhf, i386,
  etc), even with recent 5.15 kernels.

  This could be seen as a security issue; the sysadmin can set the file
  size limit and yet a 32 bit system can use a corner case like this to
  fallocate a much larger file by using the 0x offset and a huge
  fallocate size.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1994079/+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 1992641] Re: stress ng seal regression on K-riscv 5.19-1003

2022-10-17 Thread Colin Ian King
Which file system is that running the test on?

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

Title:
  stress ng seal regression on K-riscv 5.19-1003

Status in ubuntu-kernel-tests:
  New
Status in linux-riscv package in Ubuntu:
  New

Bug description:
  stress ng seal regression

  1800  21:47:23 DEBUG| [stdout] stress-ng: debug: [43108] invoked with 
'./stress-ng -v -t 5 --seal 4 --seal-ops 3000 --ignite-cpu --syslog --verbose 
--verify --oomable' by user 0 'root'
180121:47:23 DEBUG| [stdout] stress-ng: debug: 
[43108] stress-ng 0.14.03 g346518caffe5
180221:47:23 DEBUG| [stdout] stress-ng: debug: 
[43108] system: Linux riscv64-kinetic 5.19.0-1003-generic #3-Ubuntu SMP Mon Oct 
10 15:09:23 UTC 2022 riscv64
180321:47:23 DEBUG| [stdout] stress-ng: debug: 
[43108] RAM total: 7.8G, RAM free: 7.4G, swap free: 1021.4M
180421:47:23 DEBUG| [stdout] stress-ng: debug: 
[43108] 8 processors online, 8 processors configured
180521:47:23 DEBUG| [stdout] stress-ng: info:  
[43108] setting to a 5 second run per stressor
180621:47:23 DEBUG| [stdout] stress-ng: info:  
[43108] dispatching hogs: 4 seal
180721:47:23 DEBUG| [stdout] stress-ng: debug: 
[43108] cache allocate: using defaults, cannot determine cache level details
180821:47:23 DEBUG| [stdout] stress-ng: debug: 
[43108] cache allocate: shared cache buffer size: 2048K
180921:47:23 DEBUG| [stdout] stress-ng: debug: 
[43108] starting stressors
181021:47:23 DEBUG| [stdout] stress-ng: debug: 
[43108] 4 stressors started
181121:47:23 DEBUG| [stdout] stress-ng: debug: 
[43109] stress-ng-seal: started [43109] (instance 0)
181221:47:23 DEBUG| [stdout] stress-ng: debug: 
[43110] stress-ng-seal: started [43110] (instance 1)
181321:47:23 DEBUG| [stdout] stress-ng: debug: 
[43111] stress-ng-seal: started [43111] (instance 2)
181421:47:23 DEBUG| [stdout] stress-ng: debug: 
[43112] stress-ng-seal: started [43112] (instance 3)
181521:47:23 DEBUG| [stdout] stress-ng: fail:  
[43110] stress-ng-seal: mmap failed, errno=22 (Invalid argument)
181621:47:23 DEBUG| [stdout] stress-ng: fail:  
[43109] stress-ng-seal: mmap failed, errno=22 (Invalid argument)
181721:47:23 DEBUG| [stdout] stress-ng: fail:  
[43111] stress-ng-seal: mmap failed, errno=22 (Invalid argument)
181821:47:23 DEBUG| [stdout] stress-ng: fail:  
[43112] stress-ng-seal: mmap failed, errno=22 (Invalid argument)
181921:47:23 DEBUG| [stdout] stress-ng: debug: 
[43109] stress-ng-seal: exited [43109] (instance 0)
182021:47:23 DEBUG| [stdout] stress-ng: debug: 
[43110] stress-ng-seal: exited [43110] (instance 1)
182121:47:23 DEBUG| [stdout] stress-ng: debug: 
[43112] stress-ng-seal: exited [43112] (instance 3)
182221:47:23 DEBUG| [stdout] stress-ng: debug: 
[43111] stress-ng-seal: exited [43111] (instance 2)
182321:47:23 DEBUG| [stdout] stress-ng: error: 
[43108] process 43109 (stress-ng-seal) terminated with an error, exit status=2 
(stressor failed)
182421:47:23 DEBUG| [stdout] stress-ng: debug: 
[43108] process [43109] terminated
182521:47:23 DEBUG| [stdout] stress-ng: error: 
[43108] process 43110 (stress-ng-seal) terminated with an error, exit status=2 
(stressor failed)
182621:47:23 DEBUG| [stdout] stress-ng: debug: 
[43108] process [43110] terminated
182721:47:23 DEBUG| [stdout] stress-ng: error: 
[43108] process 43111 (stress-ng-seal) terminated with an error, exit status=2 
(stressor failed)
182821:47:23 DEBUG| [stdout] stress-ng: debug: 
[43108] process [43111] terminated
182921:47:23 DEBUG| [stdout] stress-ng: error: 
[43108] process 43112 (stress-ng-seal) terminated with an error, exit status=2 
(stressor failed)
183021:47:23 DEBUG| [stdout] stress-ng: debug: 
[43108] process [43112] terminated
183121:47:23 DEBUG| [stdout] stress-ng: debug: 
[43108] metrics-check: all stressor metrics validated and sane
183221:47:23 DEBUG| [stdout] stress-ng: info:  
[43108] unsuccessful run completed in 0.05s
183321:47:23 DEBUG| [stdout]  

  potentially related to the
  

[Kernel-packages] [Bug 1992298] Re: hfsplus truncation can crash/hang 5.19 kernels

2022-10-09 Thread Colin Ian King
Occurs also on Focal 5.4.0-126-generic.  I recommend running with at
least 8-16 stess-ng --hdd   stressor instances to trigger the crash
quickly.

** Changed in: linux (Ubuntu)
Milestone: None => jammy-updates

** Also affects: linux (Ubuntu Kinetic)
   Importance: High
   Status: Incomplete

** Also affects: linux (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Kinetic)
Milestone: jammy-updates => None

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

Title:
  hfsplus truncation can crash/hang 5.19 kernels

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Focal:
  New
Status in linux source package in Jammy:
  New
Status in linux source package in Kinetic:
  Incomplete

Bug description:
   uname -a
  Linux kinetic-amd64-efi 5.19.0-19-generic #19-Ubuntu SMP PREEMPT_DYNAMIC Tue 
Sep 27 16:03:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

  How to reproduce:

  git clone https://github.com/ColinIanKing/stress-ng
  cd stress-ng
  make clean
  make -j 8
  cd 

  pwd
  /home/cking

  dd if=/dev/zero of=test.img bs=1M count=1024
  mkfs.hfsplus test.img
  sudo mount -o loop /home/cking/test.img /mnt
  sudo ./stress-ng/stress-ng --hdd 8 --temp-path=/mnt -v --verify --klog-check 
-t 20

  An 8 concurrent hdd stressor produces the following, whereas using
  many instances (eg. 64) will crash/hang the kernel in quite a few
  tests.

  stress-ng: debug: [1243] invoked with './stress-ng/stress-ng --hdd 8 
--temp-path=/mnt -v --verify --klog-check -t 20' by user 0 'root'
  stress-ng: debug: [1243] stress-ng 0.14.06 g54f1939abd9a
  stress-ng: debug: [1243] system: Linux kinetic-amd64-efi 5.19.0-19-generic 
#19-Ubuntu SMP PREEMPT_DYNAMIC Tue Sep 27 16:03:25 UTC 2022 x86_64
  stress-ng: debug: [1243] RAM total: 3.8G, RAM free: 2.3G, swap free: 0.0
  stress-ng: debug: [1243] temporary file path: '/mnt', filesystem type: hfsplus
  stress-ng: debug: [1243] 8 processors online, 8 processors configured
  stress-ng: info:  [1243] setting to a 20 second run per stressor
  stress-ng: info:  [1243] dispatching hogs: 8 hdd
  stress-ng: debug: [1243] cache allocate: shared cache buffer size: 16384K
  stress-ng: debug: [1243] starting stressors
  stress-ng: debug: [1245] stress-ng-hdd: started [1245] (instance 0)
  stress-ng: debug: [1246] stress-ng-hdd: started [1246] (instance 1)
  stress-ng: debug: [1247] stress-ng-hdd: started [1247] (instance 2)
  stress-ng: debug: [1248] stress-ng-hdd: started [1248] (instance 3)
  stress-ng: debug: [1249] stress-ng-hdd: started [1249] (instance 4)
  stress-ng: debug: [1250] stress-ng-hdd: started [1250] (instance 5)
  stress-ng: debug: [1243] 8 stressors started
  stress-ng: debug: [1251] stress-ng-hdd: started [1251] (instance 6)
  stress-ng: debug: [1252] stress-ng-hdd: started [1252] (instance 7)
  stress-ng: info:  [1244] klog-check: warning: [485.934368] '[ cut 
here ]'
  stress-ng: info:  [1244] klog-check: warning: [485.934381] 'WARNING: CPU: 3 
PID: 1246 at fs/hfsplus/extents.c:346 hfsplus_free_extents+0x110/0x120 
[hfsplus]'
  stress-ng: info:  [1244] klog-check: warning: [485.934392] 'Modules linked 
in: nls_utf8 hfsplus cfg80211 nls_iso8859_1 snd_hda_codec_generic 
intel_rapl_msr ledtrig_audio pktcdvd intel_rapl_common snd_hda_intel 
snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec snd_hda_core snd_hwdep 
kvm_intel snd_pcm kvm snd_timer snd input_leds serio_raw soundcore joydev ppdev 
mac_hid rapl parport_pc parport dm_multipath ramoops scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua pstore_blk msr pstore_zone reed_solomon efi_pstore qemu_fw_cfg 
ip_tables x_tables autofs4 btrfs blake2b_generic raid10 raid456 
async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq 
libcrc32c raid1 raid0 multipath linear hid_generic usbhid hid crct10dif_pclmul 
qxl crc32_pclmul ghash_clmulni_intel aesni_intel drm_ttm_helper ttm virtio_rng 
crypto_simd drm_kms_helper cryptd psmouse syscopyarea sysfillrect sysimgblt 
fb_sys_fops i2c_i801 virtio_net virtio_blk ahci net_failover xhci_pci libahci 
i2c_smbus lpc_ich drm failover 
 xhci_pci_renesas'
  stress-ng: info:  [1244] klog-check: warning: [485.934470] 'CPU: 3 PID: 1246 
Comm: stress-ng Not tainted 5.19.0-19-generic #19-Ubuntu'
  stress-ng: info:  [1244] klog-check: warning: [485.934473] 'Hardware name: 
QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015'
  stress-ng: info:  [1244] klog-check: warning: [485.934475] 'RIP: 
0010:hfsplus_free_extents+0x110/0x120 [hfsplus]'
  stress-ng: info:  [1244] klog-check: warning: [485.934481] 'Code: de 73 ad 44 
29 f3 44 89 f2 4c 89 c7 01 de e8 d7 89 00 00 41 89 c7 85 c0 0f 85 aa b4 00 00 
0f cb 41 89 5c 24 04 e9 5a ff ff ff <0f> 0b e9 2e ff ff ff 66 0f 1f 84 00 00 00 
00 00 0f 1f 44 00 00 55'
  

[Kernel-packages] [Bug 1992298] Re: hfsplus truncation can crash/hang 5.19 kernels

2022-10-09 Thread Colin Ian King
Issue occurs on a Jammy 5.15.0-48 kernel, so this is not a regression
for the 5.19 kernel, but occurred earlier.

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

Title:
  hfsplus truncation can crash/hang 5.19 kernels

Status in linux package in Ubuntu:
  Incomplete

Bug description:
   uname -a
  Linux kinetic-amd64-efi 5.19.0-19-generic #19-Ubuntu SMP PREEMPT_DYNAMIC Tue 
Sep 27 16:03:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

  How to reproduce:

  git clone https://github.com/ColinIanKing/stress-ng
  cd stress-ng
  make clean
  make -j 8
  cd 

  pwd
  /home/cking

  dd if=/dev/zero of=test.img bs=1M count=1024
  mkfs.hfsplus test.img
  sudo mount -o loop /home/cking/test.img /mnt
  sudo ./stress-ng/stress-ng --hdd 8 --temp-path=/mnt -v --verify --klog-check 
-t 20

  An 8 concurrent hdd stressor produces the following, whereas using
  many instances (eg. 64) will crash/hang the kernel in quite a few
  tests.

  stress-ng: debug: [1243] invoked with './stress-ng/stress-ng --hdd 8 
--temp-path=/mnt -v --verify --klog-check -t 20' by user 0 'root'
  stress-ng: debug: [1243] stress-ng 0.14.06 g54f1939abd9a
  stress-ng: debug: [1243] system: Linux kinetic-amd64-efi 5.19.0-19-generic 
#19-Ubuntu SMP PREEMPT_DYNAMIC Tue Sep 27 16:03:25 UTC 2022 x86_64
  stress-ng: debug: [1243] RAM total: 3.8G, RAM free: 2.3G, swap free: 0.0
  stress-ng: debug: [1243] temporary file path: '/mnt', filesystem type: hfsplus
  stress-ng: debug: [1243] 8 processors online, 8 processors configured
  stress-ng: info:  [1243] setting to a 20 second run per stressor
  stress-ng: info:  [1243] dispatching hogs: 8 hdd
  stress-ng: debug: [1243] cache allocate: shared cache buffer size: 16384K
  stress-ng: debug: [1243] starting stressors
  stress-ng: debug: [1245] stress-ng-hdd: started [1245] (instance 0)
  stress-ng: debug: [1246] stress-ng-hdd: started [1246] (instance 1)
  stress-ng: debug: [1247] stress-ng-hdd: started [1247] (instance 2)
  stress-ng: debug: [1248] stress-ng-hdd: started [1248] (instance 3)
  stress-ng: debug: [1249] stress-ng-hdd: started [1249] (instance 4)
  stress-ng: debug: [1250] stress-ng-hdd: started [1250] (instance 5)
  stress-ng: debug: [1243] 8 stressors started
  stress-ng: debug: [1251] stress-ng-hdd: started [1251] (instance 6)
  stress-ng: debug: [1252] stress-ng-hdd: started [1252] (instance 7)
  stress-ng: info:  [1244] klog-check: warning: [485.934368] '[ cut 
here ]'
  stress-ng: info:  [1244] klog-check: warning: [485.934381] 'WARNING: CPU: 3 
PID: 1246 at fs/hfsplus/extents.c:346 hfsplus_free_extents+0x110/0x120 
[hfsplus]'
  stress-ng: info:  [1244] klog-check: warning: [485.934392] 'Modules linked 
in: nls_utf8 hfsplus cfg80211 nls_iso8859_1 snd_hda_codec_generic 
intel_rapl_msr ledtrig_audio pktcdvd intel_rapl_common snd_hda_intel 
snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec snd_hda_core snd_hwdep 
kvm_intel snd_pcm kvm snd_timer snd input_leds serio_raw soundcore joydev ppdev 
mac_hid rapl parport_pc parport dm_multipath ramoops scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua pstore_blk msr pstore_zone reed_solomon efi_pstore qemu_fw_cfg 
ip_tables x_tables autofs4 btrfs blake2b_generic raid10 raid456 
async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq 
libcrc32c raid1 raid0 multipath linear hid_generic usbhid hid crct10dif_pclmul 
qxl crc32_pclmul ghash_clmulni_intel aesni_intel drm_ttm_helper ttm virtio_rng 
crypto_simd drm_kms_helper cryptd psmouse syscopyarea sysfillrect sysimgblt 
fb_sys_fops i2c_i801 virtio_net virtio_blk ahci net_failover xhci_pci libahci 
i2c_smbus lpc_ich drm failover 
 xhci_pci_renesas'
  stress-ng: info:  [1244] klog-check: warning: [485.934470] 'CPU: 3 PID: 1246 
Comm: stress-ng Not tainted 5.19.0-19-generic #19-Ubuntu'
  stress-ng: info:  [1244] klog-check: warning: [485.934473] 'Hardware name: 
QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015'
  stress-ng: info:  [1244] klog-check: warning: [485.934475] 'RIP: 
0010:hfsplus_free_extents+0x110/0x120 [hfsplus]'
  stress-ng: info:  [1244] klog-check: warning: [485.934481] 'Code: de 73 ad 44 
29 f3 44 89 f2 4c 89 c7 01 de e8 d7 89 00 00 41 89 c7 85 c0 0f 85 aa b4 00 00 
0f cb 41 89 5c 24 04 e9 5a ff ff ff <0f> 0b e9 2e ff ff ff 66 0f 1f 84 00 00 00 
00 00 0f 1f 44 00 00 55'
  stress-ng: info:  [1244] klog-check: warning: [485.934483] 'RSP: 
0018:ac9700c7bcf8 EFLAGS: 00010202'
  stress-ng: info:  [1244] klog-check: warning: [485.934486] 'RAX: 
9bb79a11cc01 RBX: 0080 RCX: 0740'
  stress-ng: info:  [1244] klog-check: warning: [485.934488] 'RDX: 
0080 RSI: 9bb79a533c58 RDI: '
  stress-ng: info:  [1244] klog-check: warning: [485.934489] 'RBP: 
ac9700c7bd28 R08: 9bb78f5a5000 R09: '
  stress-ng: info:  [1244] klog-check: warning: [485.934491] 'R10: 
 

[Kernel-packages] [Bug 1992298] Re: hfsplus truncation can crash/hang 5.19 kernels

2022-10-09 Thread Colin Ian King
Seems OK on Xenial 4.4 and Bionic 4.19 kernels, no crashing there.

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

Title:
  hfsplus truncation can crash/hang 5.19 kernels

Status in linux package in Ubuntu:
  Incomplete

Bug description:
   uname -a
  Linux kinetic-amd64-efi 5.19.0-19-generic #19-Ubuntu SMP PREEMPT_DYNAMIC Tue 
Sep 27 16:03:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

  How to reproduce:

  git clone https://github.com/ColinIanKing/stress-ng
  cd stress-ng
  make clean
  make -j 8
  cd 

  pwd
  /home/cking

  dd if=/dev/zero of=test.img bs=1M count=1024
  mkfs.hfsplus test.img
  sudo mount -o loop /home/cking/test.img /mnt
  sudo ./stress-ng/stress-ng --hdd 8 --temp-path=/mnt -v --verify --klog-check 
-t 20

  An 8 concurrent hdd stressor produces the following, whereas using
  many instances (eg. 64) will crash/hang the kernel in quite a few
  tests.

  stress-ng: debug: [1243] invoked with './stress-ng/stress-ng --hdd 8 
--temp-path=/mnt -v --verify --klog-check -t 20' by user 0 'root'
  stress-ng: debug: [1243] stress-ng 0.14.06 g54f1939abd9a
  stress-ng: debug: [1243] system: Linux kinetic-amd64-efi 5.19.0-19-generic 
#19-Ubuntu SMP PREEMPT_DYNAMIC Tue Sep 27 16:03:25 UTC 2022 x86_64
  stress-ng: debug: [1243] RAM total: 3.8G, RAM free: 2.3G, swap free: 0.0
  stress-ng: debug: [1243] temporary file path: '/mnt', filesystem type: hfsplus
  stress-ng: debug: [1243] 8 processors online, 8 processors configured
  stress-ng: info:  [1243] setting to a 20 second run per stressor
  stress-ng: info:  [1243] dispatching hogs: 8 hdd
  stress-ng: debug: [1243] cache allocate: shared cache buffer size: 16384K
  stress-ng: debug: [1243] starting stressors
  stress-ng: debug: [1245] stress-ng-hdd: started [1245] (instance 0)
  stress-ng: debug: [1246] stress-ng-hdd: started [1246] (instance 1)
  stress-ng: debug: [1247] stress-ng-hdd: started [1247] (instance 2)
  stress-ng: debug: [1248] stress-ng-hdd: started [1248] (instance 3)
  stress-ng: debug: [1249] stress-ng-hdd: started [1249] (instance 4)
  stress-ng: debug: [1250] stress-ng-hdd: started [1250] (instance 5)
  stress-ng: debug: [1243] 8 stressors started
  stress-ng: debug: [1251] stress-ng-hdd: started [1251] (instance 6)
  stress-ng: debug: [1252] stress-ng-hdd: started [1252] (instance 7)
  stress-ng: info:  [1244] klog-check: warning: [485.934368] '[ cut 
here ]'
  stress-ng: info:  [1244] klog-check: warning: [485.934381] 'WARNING: CPU: 3 
PID: 1246 at fs/hfsplus/extents.c:346 hfsplus_free_extents+0x110/0x120 
[hfsplus]'
  stress-ng: info:  [1244] klog-check: warning: [485.934392] 'Modules linked 
in: nls_utf8 hfsplus cfg80211 nls_iso8859_1 snd_hda_codec_generic 
intel_rapl_msr ledtrig_audio pktcdvd intel_rapl_common snd_hda_intel 
snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec snd_hda_core snd_hwdep 
kvm_intel snd_pcm kvm snd_timer snd input_leds serio_raw soundcore joydev ppdev 
mac_hid rapl parport_pc parport dm_multipath ramoops scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua pstore_blk msr pstore_zone reed_solomon efi_pstore qemu_fw_cfg 
ip_tables x_tables autofs4 btrfs blake2b_generic raid10 raid456 
async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq 
libcrc32c raid1 raid0 multipath linear hid_generic usbhid hid crct10dif_pclmul 
qxl crc32_pclmul ghash_clmulni_intel aesni_intel drm_ttm_helper ttm virtio_rng 
crypto_simd drm_kms_helper cryptd psmouse syscopyarea sysfillrect sysimgblt 
fb_sys_fops i2c_i801 virtio_net virtio_blk ahci net_failover xhci_pci libahci 
i2c_smbus lpc_ich drm failover 
 xhci_pci_renesas'
  stress-ng: info:  [1244] klog-check: warning: [485.934470] 'CPU: 3 PID: 1246 
Comm: stress-ng Not tainted 5.19.0-19-generic #19-Ubuntu'
  stress-ng: info:  [1244] klog-check: warning: [485.934473] 'Hardware name: 
QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015'
  stress-ng: info:  [1244] klog-check: warning: [485.934475] 'RIP: 
0010:hfsplus_free_extents+0x110/0x120 [hfsplus]'
  stress-ng: info:  [1244] klog-check: warning: [485.934481] 'Code: de 73 ad 44 
29 f3 44 89 f2 4c 89 c7 01 de e8 d7 89 00 00 41 89 c7 85 c0 0f 85 aa b4 00 00 
0f cb 41 89 5c 24 04 e9 5a ff ff ff <0f> 0b e9 2e ff ff ff 66 0f 1f 84 00 00 00 
00 00 0f 1f 44 00 00 55'
  stress-ng: info:  [1244] klog-check: warning: [485.934483] 'RSP: 
0018:ac9700c7bcf8 EFLAGS: 00010202'
  stress-ng: info:  [1244] klog-check: warning: [485.934486] 'RAX: 
9bb79a11cc01 RBX: 0080 RCX: 0740'
  stress-ng: info:  [1244] klog-check: warning: [485.934488] 'RDX: 
0080 RSI: 9bb79a533c58 RDI: '
  stress-ng: info:  [1244] klog-check: warning: [485.934489] 'RBP: 
ac9700c7bd28 R08: 9bb78f5a5000 R09: '
  stress-ng: info:  [1244] klog-check: warning: [485.934491] 'R10: 
 R11:  R12: 9bb79a533c58'
 

[Kernel-packages] [Bug 1992298] [NEW] hfsplus truncation can crash/hang 5.19 kernels

2022-10-09 Thread Colin Ian King
Public bug reported:

 uname -a
Linux kinetic-amd64-efi 5.19.0-19-generic #19-Ubuntu SMP PREEMPT_DYNAMIC Tue 
Sep 27 16:03:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

How to reproduce:

git clone https://github.com/ColinIanKing/stress-ng
cd stress-ng
make clean
make -j 8
cd 

pwd
/home/cking

dd if=/dev/zero of=test.img bs=1M count=1024
mkfs.hfsplus test.img
sudo mount -o loop /home/cking/test.img /mnt
sudo ./stress-ng/stress-ng --hdd 8 --temp-path=/mnt -v --verify --klog-check -t 
20

An 8 concurrent hdd stressor produces the following, whereas using many
instances (eg. 64) will crash/hang the kernel in quite a few tests.

stress-ng: debug: [1243] invoked with './stress-ng/stress-ng --hdd 8 
--temp-path=/mnt -v --verify --klog-check -t 20' by user 0 'root'
stress-ng: debug: [1243] stress-ng 0.14.06 g54f1939abd9a
stress-ng: debug: [1243] system: Linux kinetic-amd64-efi 5.19.0-19-generic 
#19-Ubuntu SMP PREEMPT_DYNAMIC Tue Sep 27 16:03:25 UTC 2022 x86_64
stress-ng: debug: [1243] RAM total: 3.8G, RAM free: 2.3G, swap free: 0.0
stress-ng: debug: [1243] temporary file path: '/mnt', filesystem type: hfsplus
stress-ng: debug: [1243] 8 processors online, 8 processors configured
stress-ng: info:  [1243] setting to a 20 second run per stressor
stress-ng: info:  [1243] dispatching hogs: 8 hdd
stress-ng: debug: [1243] cache allocate: shared cache buffer size: 16384K
stress-ng: debug: [1243] starting stressors
stress-ng: debug: [1245] stress-ng-hdd: started [1245] (instance 0)
stress-ng: debug: [1246] stress-ng-hdd: started [1246] (instance 1)
stress-ng: debug: [1247] stress-ng-hdd: started [1247] (instance 2)
stress-ng: debug: [1248] stress-ng-hdd: started [1248] (instance 3)
stress-ng: debug: [1249] stress-ng-hdd: started [1249] (instance 4)
stress-ng: debug: [1250] stress-ng-hdd: started [1250] (instance 5)
stress-ng: debug: [1243] 8 stressors started
stress-ng: debug: [1251] stress-ng-hdd: started [1251] (instance 6)
stress-ng: debug: [1252] stress-ng-hdd: started [1252] (instance 7)
stress-ng: info:  [1244] klog-check: warning: [485.934368] '[ cut 
here ]'
stress-ng: info:  [1244] klog-check: warning: [485.934381] 'WARNING: CPU: 3 
PID: 1246 at fs/hfsplus/extents.c:346 hfsplus_free_extents+0x110/0x120 
[hfsplus]'
stress-ng: info:  [1244] klog-check: warning: [485.934392] 'Modules linked in: 
nls_utf8 hfsplus cfg80211 nls_iso8859_1 snd_hda_codec_generic intel_rapl_msr 
ledtrig_audio pktcdvd intel_rapl_common snd_hda_intel snd_intel_dspcfg 
snd_intel_sdw_acpi snd_hda_codec snd_hda_core snd_hwdep kvm_intel snd_pcm kvm 
snd_timer snd input_leds serio_raw soundcore joydev ppdev mac_hid rapl 
parport_pc parport dm_multipath ramoops scsi_dh_rdac scsi_dh_emc scsi_dh_alua 
pstore_blk msr pstore_zone reed_solomon efi_pstore qemu_fw_cfg ip_tables 
x_tables autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov 
async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 
multipath linear hid_generic usbhid hid crct10dif_pclmul qxl crc32_pclmul 
ghash_clmulni_intel aesni_intel drm_ttm_helper ttm virtio_rng crypto_simd 
drm_kms_helper cryptd psmouse syscopyarea sysfillrect sysimgblt fb_sys_fops 
i2c_i801 virtio_net virtio_blk ahci net_failover xhci_pci libahci i2c_smbus 
lpc_ich drm failover xh
 ci_pci_renesas'
stress-ng: info:  [1244] klog-check: warning: [485.934470] 'CPU: 3 PID: 1246 
Comm: stress-ng Not tainted 5.19.0-19-generic #19-Ubuntu'
stress-ng: info:  [1244] klog-check: warning: [485.934473] 'Hardware name: QEMU 
Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015'
stress-ng: info:  [1244] klog-check: warning: [485.934475] 'RIP: 
0010:hfsplus_free_extents+0x110/0x120 [hfsplus]'
stress-ng: info:  [1244] klog-check: warning: [485.934481] 'Code: de 73 ad 44 
29 f3 44 89 f2 4c 89 c7 01 de e8 d7 89 00 00 41 89 c7 85 c0 0f 85 aa b4 00 00 
0f cb 41 89 5c 24 04 e9 5a ff ff ff <0f> 0b e9 2e ff ff ff 66 0f 1f 84 00 00 00 
00 00 0f 1f 44 00 00 55'
stress-ng: info:  [1244] klog-check: warning: [485.934483] 'RSP: 
0018:ac9700c7bcf8 EFLAGS: 00010202'
stress-ng: info:  [1244] klog-check: warning: [485.934486] 'RAX: 
9bb79a11cc01 RBX: 0080 RCX: 0740'
stress-ng: info:  [1244] klog-check: warning: [485.934488] 'RDX: 
0080 RSI: 9bb79a533c58 RDI: '
stress-ng: info:  [1244] klog-check: warning: [485.934489] 'RBP: 
ac9700c7bd28 R08: 9bb78f5a5000 R09: '
stress-ng: info:  [1244] klog-check: warning: [485.934491] 'R10: 
 R11:  R12: 9bb79a533c58'
stress-ng: info:  [1244] klog-check: warning: [485.934493] 'R13: 
 R14: 0740 R15: '
stress-ng: info:  [1244] klog-check: warning: [485.934494] 'FS:  
7f7621a13680() GS:9bb7fbcc() knlGS:'
stress-ng: info:  [1244] klog-check: warning: [485.934497] 'CS:  0010 DS:  
ES:  CR0: 80050033'
stress-ng: info:  [1244] klog-check: warning: 

[Kernel-packages] [Bug 988799] Re: Precise freezes under heavy i/o

2022-10-01 Thread Colin Ian King
** Changed in: linux (Ubuntu)
 Assignee: Colin Ian King (colin-king) => (unassigned)

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

Title:
  Precise freezes under heavy i/o

Status in Linux:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released

Bug description:
  Whilst creating a VM with 20 GB persistent HD and my system froze
  until the disk was created.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: linux-image-3.2.0-23-generic 3.2.0-23.36
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
  Uname: Linux 3.2.0-23-generic x86_64
  NonfreeKernelModules: fglrx
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC2:  gema   2526 F pulseaudio
   /dev/snd/controlC0:  gema   2526 F pulseaudio
   /dev/snd/controlC1:  gema   2526 F pulseaudio
  CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 
not found.
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xfbaf8000 irq 52'
 Mixer name : 'VIA VT1708S'
 Components : 'HDA:11060397,104383c4,0010'
 Controls  : 45
 Simple ctrls  : 22
  Card1.Amixer.info:
   Card hw:1 'U0x46d0x81d'/'USB Device 0x46d:0x81d at usb-:00:1d.0-1.3, 
high speed'
 Mixer name : 'USB Mixer'
 Components : 'USB046d:081d'
 Controls  : 2
 Simple ctrls  : 1
  Card1.Amixer.values:
   Simple mixer control 'Mic',0
 Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
 Capture channels: Mono
 Limits: Capture 0 - 16
 Mono: Capture 12 [75%] [24.00dB] [on]
  Card2.Amixer.info:
   Card hw:2 'Generic'/'HD-Audio Generic at 0xfbbfc000 irq 53'
 Mixer name : 'ATI R6xx HDMI'
 Components : 'HDA:1002aa01,00aa0100,00100200'
 Controls  : 6
 Simple ctrls  : 1
  Card2.Amixer.values:
   Simple mixer control 'IEC958',0
 Capabilities: pswitch pswitch-joined penum
 Playback channels: Mono
 Mono: Playback [on]
  Date: Thu Apr 26 11:59:11 2012
  HibernationDevice: RESUME=UUID=f32abdd2-8167-48c2-9d93-61eeb2632ca0
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  IwConfig:
   lono wireless extensions.
   
   virbr0no wireless extensions.
   
   eth0  no wireless extensions.
  MachineType: System manufacturer System Product Name
  ProcEnviron:
   LANGUAGE=en_GB:en
   TERM=xterm
   PATH=(custom, user)
   LANG=en_GB.UTF-8
   SHELL=/bin/zsh
  ProcFB: 0 VESA VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-23-generic 
root=UUID=109d1e55-4f64-489e-91e8-48ff46f6ba16 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.2.0-23-generic N/A
   linux-backports-modules-3.2.0-23-generic  N/A
   linux-firmware1.79
  RfKill:
   
  SourcePackage: linux
  UpgradeStatus: Upgraded to precise on 2012-04-25 (0 days ago)
  dmi.bios.date: 03/26/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 0401
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: P7P55D-E LX
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr0401:bd03/26/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP7P55D-ELX:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/988799/+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 1920774] Re: v5.11 kernel seems to sometimes hang on unmatched board

2022-06-14 Thread Colin Ian King
** Changed in: linux-riscv (Ubuntu)
   Status: Expired => Incomplete

** Changed in: linux-riscv (Ubuntu)
   Importance: Undecided => Low

** Changed in: linux-riscv (Ubuntu)
 Assignee: (unassigned) => Dimitri John Ledkov (xnox)

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

Title:
  v5.11 kernel seems to sometimes hang on unmatched board

Status in linux-riscv package in Ubuntu:
  Incomplete

Bug description:
  v5.11 kernel seems to sometimes hang on unmatched board

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-riscv/+bug/1920774/+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 1968361] Re: rawsock test BUG: soft lockup

2022-04-27 Thread Colin Ian King
Work-aound committed to stress-ng:

commit 69328da97f04745a9da2890c90c131c2322f81e2 (HEAD -> master)
Author: Colin Ian King 
Date:   Wed Apr 27 08:49:12 2022 +

stress-rawsock: make client wait for server to start

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

Title:
  rawsock test BUG: soft lockup

Status in Linux:
  New
Status in Stress-ng:
  New
Status in linux package in Ubuntu:
  New

Bug description:
  When running the rawsock stressor on large system with 32 CPUs and
  above, I always hit soft lockup in the kernel, and sometime it will
  lock up the system if running it for longtime. This issue is on all
  major OSes that I tested: Ubunutu 20.04. RHEL7,8, SUSE 15

  
  my system:
  stress-ng V0.13.03-5-g9093bce7

  #lscpu | grep CPU
  CPU(s):  64
  On-line CPU(s) list: 0-63
  NUMA node0 CPU(s):   0-63

  # ./stress-ng --rawsock 20 -t 5
  stress-ng: info:  [49748] setting to a 5 second run per stressor
  stress-ng: info:  [49748] dispatching hogs: 20 rawsock

  Message from syslogd@rain65 at Apr  8 12:18:26 ...
   kernel:watchdog: BUG: soft lockup - CPU#4 stuck for 22s! [stress-ng:49781]
  

  If I run with --timeout 60 secs, it will lock up the systems.

  The issue is lock starvation in the kernel:
  - when stressor create an instance, forking a new child/client and 
parent/server processes, recreating sockets for these processes. The kernel 
acquires the Write lock for adding them to raw sock hash table.
  - the client process immediately starts sending data in a do while {} loop. 
The kernel acquires the Read Lock for accessing raw sock hash table, and 
cloning the data packets for all raw socket processes.
  - The main stress-ng process may still continue to create the rest of 
instances. The kernel may hit the lock starvation (as error shown above)
  - similar to it, when the timeout expires, the parents would try to close 
their sockets, which the kernel also try to acquire the Write Lock, before 
sending SIGKILL to their child processes. We may hit the lock starvation, since 
clients have not closed their sockets and continue sending data.

  I'm not sure this is intended, but to avoid the kernel lock starvation
  in raw socket, I propose the simple patch attached. I has tested it a
  large system with 128 CPUs without hitting any BUG: soft lock up.

  Thanks,
  Thinh Tran

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1968361/+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 1968361] Re: rawsock test BUG: soft lockup

2022-04-26 Thread Colin Ian King
** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

** Changed in: stress-ng
   Importance: Undecided => Low

** Changed in: stress-ng
 Assignee: (unassigned) => Colin Ian King (colin-king)

** Bug watch added: github.com/ColinIanKing/stress-ng/issues #187
   https://github.com/ColinIanKing/stress-ng/issues/187

** Also affects: linux via
   https://github.com/ColinIanKing/stress-ng/issues/187
   Importance: Unknown
   Status: Unknown

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

Title:
  rawsock test BUG: soft lockup

Status in Linux:
  Unknown
Status in Stress-ng:
  New
Status in linux package in Ubuntu:
  New

Bug description:
  When running the rawsock stressor on large system with 32 CPUs and
  above, I always hit soft lockup in the kernel, and sometime it will
  lock up the system if running it for longtime. This issue is on all
  major OSes that I tested: Ubunutu 20.04. RHEL7,8, SUSE 15

  
  my system:
  stress-ng V0.13.03-5-g9093bce7

  #lscpu | grep CPU
  CPU(s):  64
  On-line CPU(s) list: 0-63
  NUMA node0 CPU(s):   0-63

  # ./stress-ng --rawsock 20 -t 5
  stress-ng: info:  [49748] setting to a 5 second run per stressor
  stress-ng: info:  [49748] dispatching hogs: 20 rawsock

  Message from syslogd@rain65 at Apr  8 12:18:26 ...
   kernel:watchdog: BUG: soft lockup - CPU#4 stuck for 22s! [stress-ng:49781]
  

  If I run with --timeout 60 secs, it will lock up the systems.

  The issue is lock starvation in the kernel:
  - when stressor create an instance, forking a new child/client and 
parent/server processes, recreating sockets for these processes. The kernel 
acquires the Write lock for adding them to raw sock hash table.
  - the client process immediately starts sending data in a do while {} loop. 
The kernel acquires the Read Lock for accessing raw sock hash table, and 
cloning the data packets for all raw socket processes.
  - The main stress-ng process may still continue to create the rest of 
instances. The kernel may hit the lock starvation (as error shown above)
  - similar to it, when the timeout expires, the parents would try to close 
their sockets, which the kernel also try to acquire the Write Lock, before 
sending SIGKILL to their child processes. We may hit the lock starvation, since 
clients have not closed their sockets and continue sending data.

  I'm not sure this is intended, but to avoid the kernel lock starvation
  in raw socket, I propose the simple patch attached. I has tested it a
  large system with 128 CPUs without hitting any BUG: soft lock up.

  Thanks,
  Thinh Tran

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1968361/+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 1966089] Re: Update OS policy capability handshake

2022-03-23 Thread Colin Ian King
See: https://lists.ubuntu.com/archives/kernel-
team/2022-March/128871.html

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

Title:
  Update OS policy capability handshake

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  == SRU JAMMY ==

  Update int340x OS policy capability handshake; required for full
  functionality in thermald 2.4.9 to improve functionality for newer
  H/W.

  == The fix ==

  Upstream commit:

  commit c7ff29763989bd09c433f73fae3c1e1c15d9cda4
  Author: Srinivas Pandruvada 
  Date:   Mon Mar 14 15:09:37 2022 -0700

  thermal: int340x: Update OS policy capability handshake
  
  Update the firmware with OS supported policies mask, so that firmware can
  relinquish its internal controls. Without this update several Tiger Lake
  laptops gets performance limited with in few seconds of executing in
  turbo region.
  
  The existing way of enumerating firmware policies via IDSP method and
  selecting policy by directly writing those policy UUIDS via _OSC method
  is not supported in newer generation of hardware.
  
  There is a new UUID "B23BA85D-C8B7-3542-88DE-8DE2FFCFD698" is defined for
  updating policy capabilities. As part of ACPI _OSC method:
  
  Arg0 - UUID: B23BA85D-C8B7-3542-88DE-8DE2FFCFD698
  Arg1 - Rev ID: 1
  Arg2 - Count: 2
  Arg3 - Capability buffers: Array of Arg2 DWORDS
  
  DWORD1: As defined in the ACPI 5.0 Specification
  - Bit 0: Query Flag
  - Bits 1-3: Always 0
  - Bits 4-31: Reserved
  
  DWORD2 and beyond:
  - Bit0: set to 1 to indicate Intel(R) Dynamic Tuning is active, 0 to
  indicate it is disabled and legacy thermal mechanism should
  be enabled.
  - Bit1: set to 1 to indicate Intel(R) Dynamic Tuning is controlling
  active cooling, 0 to indicate bios shall enable legacy thermal
  zone with active trip point.
  - Bit2: set to 1 to indicate Intel(R) Dynamic Tuning is controlling
  passive cooling, 0 to indicate bios shall enable legacy thermal
  zone with passive trip point.
  - Bit3: set to 1 to indicate Intel(R) Dynamic Tuning is handling
  critical trip point, 0 to indicate bios shall enable legacy
  thermal zone with critical trip point.
  - Bits 4:31: Reserved
  
  From sysfs interface, there is an existing interface to update policy
  UUID using attribute "current_uuid". User space can write the same UUID
  for ACTIVE, PASSIVE and CRITICAL policy. Driver converts these UUIDs to
  DWORD2 Bit 1 to Bit 3. When any of the policy is activated by user
  space it is assumed that dynamic tuning is active.
  
  For example
  $cd /sys/bus/platform/devices/INTC1040:00/uuids
  To support active policy
  $echo "3A95C389-E4B8-4629-A526-C52C88626BAE" > current_uuid
  To support passive policy
  $echo "42A441D6-AE6A-462b-A84B-4A8CE79027D3" > current_uuid
  To support critical policy
  $echo "97C68AE7-15FA-499c-B8C9-5DA81D606E0A" > current_uuid
  
  To check all the supported policies
  $cat current_uuid
  3A95C389-E4B8-4629-A526-C52C88626BAE
  42A441D6-AE6A-462b-A84B-4A8CE79027D3
  97C68AE7-15FA-499c-B8C9-5DA81D606E0A
  
  To match the bit format for DWORD2, rearranged enum int3400_thermal_uuid
  and int3400_thermal_uuids[] by swapping current INT3400_THERMAL_ACTIVE
  and INT3400_THERMAL_PASSIVE_1.
  
  If the policies are enumerated via IDSP method then legacy method is
  used, if not the new method is used to update policy support.
  
  Signed-off-by: Srinivas Pandruvada 
  Signed-off-by: Rafael J. Wysocki 

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1966089/+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 1966089] Re: Update OS policy capability handshake

2022-03-23 Thread Colin Ian King
This fix was requested by the thermald developer Srinivas Pandruvada to
support the new version of thermald.

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

Title:
  Update OS policy capability handshake

Status in linux package in Ubuntu:
  New

Bug description:
  == SRU JAMMY ==

  Update int340x OS policy capability handshake; required for full
  functionality in thermald 2.4.9 to improve functionality for newer
  H/W.

  == The fix ==

  Upstream commit:

  commit c7ff29763989bd09c433f73fae3c1e1c15d9cda4
  Author: Srinivas Pandruvada 
  Date:   Mon Mar 14 15:09:37 2022 -0700

  thermal: int340x: Update OS policy capability handshake
  
  Update the firmware with OS supported policies mask, so that firmware can
  relinquish its internal controls. Without this update several Tiger Lake
  laptops gets performance limited with in few seconds of executing in
  turbo region.
  
  The existing way of enumerating firmware policies via IDSP method and
  selecting policy by directly writing those policy UUIDS via _OSC method
  is not supported in newer generation of hardware.
  
  There is a new UUID "B23BA85D-C8B7-3542-88DE-8DE2FFCFD698" is defined for
  updating policy capabilities. As part of ACPI _OSC method:
  
  Arg0 - UUID: B23BA85D-C8B7-3542-88DE-8DE2FFCFD698
  Arg1 - Rev ID: 1
  Arg2 - Count: 2
  Arg3 - Capability buffers: Array of Arg2 DWORDS
  
  DWORD1: As defined in the ACPI 5.0 Specification
  - Bit 0: Query Flag
  - Bits 1-3: Always 0
  - Bits 4-31: Reserved
  
  DWORD2 and beyond:
  - Bit0: set to 1 to indicate Intel(R) Dynamic Tuning is active, 0 to
  indicate it is disabled and legacy thermal mechanism should
  be enabled.
  - Bit1: set to 1 to indicate Intel(R) Dynamic Tuning is controlling
  active cooling, 0 to indicate bios shall enable legacy thermal
  zone with active trip point.
  - Bit2: set to 1 to indicate Intel(R) Dynamic Tuning is controlling
  passive cooling, 0 to indicate bios shall enable legacy thermal
  zone with passive trip point.
  - Bit3: set to 1 to indicate Intel(R) Dynamic Tuning is handling
  critical trip point, 0 to indicate bios shall enable legacy
  thermal zone with critical trip point.
  - Bits 4:31: Reserved
  
  From sysfs interface, there is an existing interface to update policy
  UUID using attribute "current_uuid". User space can write the same UUID
  for ACTIVE, PASSIVE and CRITICAL policy. Driver converts these UUIDs to
  DWORD2 Bit 1 to Bit 3. When any of the policy is activated by user
  space it is assumed that dynamic tuning is active.
  
  For example
  $cd /sys/bus/platform/devices/INTC1040:00/uuids
  To support active policy
  $echo "3A95C389-E4B8-4629-A526-C52C88626BAE" > current_uuid
  To support passive policy
  $echo "42A441D6-AE6A-462b-A84B-4A8CE79027D3" > current_uuid
  To support critical policy
  $echo "97C68AE7-15FA-499c-B8C9-5DA81D606E0A" > current_uuid
  
  To check all the supported policies
  $cat current_uuid
  3A95C389-E4B8-4629-A526-C52C88626BAE
  42A441D6-AE6A-462b-A84B-4A8CE79027D3
  97C68AE7-15FA-499c-B8C9-5DA81D606E0A
  
  To match the bit format for DWORD2, rearranged enum int3400_thermal_uuid
  and int3400_thermal_uuids[] by swapping current INT3400_THERMAL_ACTIVE
  and INT3400_THERMAL_PASSIVE_1.
  
  If the policies are enumerated via IDSP method then legacy method is
  used, if not the new method is used to update policy support.
  
  Signed-off-by: Srinivas Pandruvada 
  Signed-off-by: Rafael J. Wysocki 

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1966089/+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 1966089] [NEW] Update OS policy capability handshake

2022-03-23 Thread Colin Ian King
Public bug reported:

== SRU JAMMY ==

Update int340x OS policy capability handshake; required for full
functionality in thermald 2.4.9 to improve functionality for newer H/W.

== The fix ==

Upstream commit:

commit c7ff29763989bd09c433f73fae3c1e1c15d9cda4
Author: Srinivas Pandruvada 
Date:   Mon Mar 14 15:09:37 2022 -0700

thermal: int340x: Update OS policy capability handshake

Update the firmware with OS supported policies mask, so that firmware can
relinquish its internal controls. Without this update several Tiger Lake
laptops gets performance limited with in few seconds of executing in
turbo region.

The existing way of enumerating firmware policies via IDSP method and
selecting policy by directly writing those policy UUIDS via _OSC method
is not supported in newer generation of hardware.

There is a new UUID "B23BA85D-C8B7-3542-88DE-8DE2FFCFD698" is defined for
updating policy capabilities. As part of ACPI _OSC method:

Arg0 - UUID: B23BA85D-C8B7-3542-88DE-8DE2FFCFD698
Arg1 - Rev ID: 1
Arg2 - Count: 2
Arg3 - Capability buffers: Array of Arg2 DWORDS

DWORD1: As defined in the ACPI 5.0 Specification
- Bit 0: Query Flag
- Bits 1-3: Always 0
- Bits 4-31: Reserved

DWORD2 and beyond:
- Bit0: set to 1 to indicate Intel(R) Dynamic Tuning is active, 0 to
indicate it is disabled and legacy thermal mechanism should
be enabled.
- Bit1: set to 1 to indicate Intel(R) Dynamic Tuning is controlling
active cooling, 0 to indicate bios shall enable legacy thermal
zone with active trip point.
- Bit2: set to 1 to indicate Intel(R) Dynamic Tuning is controlling
passive cooling, 0 to indicate bios shall enable legacy thermal
zone with passive trip point.
- Bit3: set to 1 to indicate Intel(R) Dynamic Tuning is handling
critical trip point, 0 to indicate bios shall enable legacy
thermal zone with critical trip point.
- Bits 4:31: Reserved

From sysfs interface, there is an existing interface to update policy
UUID using attribute "current_uuid". User space can write the same UUID
for ACTIVE, PASSIVE and CRITICAL policy. Driver converts these UUIDs to
DWORD2 Bit 1 to Bit 3. When any of the policy is activated by user
space it is assumed that dynamic tuning is active.

For example
$cd /sys/bus/platform/devices/INTC1040:00/uuids
To support active policy
$echo "3A95C389-E4B8-4629-A526-C52C88626BAE" > current_uuid
To support passive policy
$echo "42A441D6-AE6A-462b-A84B-4A8CE79027D3" > current_uuid
To support critical policy
$echo "97C68AE7-15FA-499c-B8C9-5DA81D606E0A" > current_uuid

To check all the supported policies
$cat current_uuid
3A95C389-E4B8-4629-A526-C52C88626BAE
42A441D6-AE6A-462b-A84B-4A8CE79027D3
97C68AE7-15FA-499c-B8C9-5DA81D606E0A

To match the bit format for DWORD2, rearranged enum int3400_thermal_uuid
and int3400_thermal_uuids[] by swapping current INT3400_THERMAL_ACTIVE
and INT3400_THERMAL_PASSIVE_1.

If the policies are enumerated via IDSP method then legacy method is
used, if not the new method is used to update policy support.

Signed-off-by: Srinivas Pandruvada 
Signed-off-by: Rafael J. Wysocki 

** Affects: linux (Ubuntu)
 Importance: High
 Assignee: Andrea Righi (arighi)
 Status: New

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Andrea Righi (arighi)

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

Title:
  Update OS policy capability handshake

Status in linux package in Ubuntu:
  New

Bug description:
  == SRU JAMMY ==

  Update int340x OS policy capability handshake; required for full
  functionality in thermald 2.4.9 to improve functionality for newer
  H/W.

  == The fix ==

  Upstream commit:

  commit c7ff29763989bd09c433f73fae3c1e1c15d9cda4
  Author: Srinivas Pandruvada 
  Date:   Mon Mar 14 15:09:37 2022 -0700

  thermal: int340x: Update OS policy capability handshake
  
  Update the firmware with OS supported policies mask, so that firmware can
  relinquish its internal controls. Without this update several Tiger Lake
  laptops gets performance limited with in few seconds of executing in
  turbo region.
  
  The existing way of enumerating firmware policies via IDSP method and
  selecting policy by directly writing those policy UUIDS via _OSC method
  is not supported in newer generation of hardware.
  
  There is a new UUID "B23BA85D-C8B7-3542-88DE-8DE2FFCFD698" is defined for
  updating policy capabilities. As part of ACPI _OSC method:
  
  Arg0 - UUID: B23BA85D-C8B7-3542-88DE-8DE2FFCFD698
  Arg1 - Rev ID: 1
  Arg2 - Count: 2
  Arg3 - 

[Kernel-packages] [Bug 1962551] Re: unshare test in ubuntu_stress_smoke_tests cause "BUG: unable to handle page fault for address" on F-oem-5.14 with Intel node vought

2022-03-01 Thread Colin Ian King
Looks like a kernel bug and not a stress-ng issue to me.

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

Title:
  unshare test in ubuntu_stress_smoke_tests cause "BUG: unable to handle
  page fault for address" on F-oem-5.14 with Intel node vought

Status in Stress-ng:
  New
Status in ubuntu-kernel-tests:
  New
Status in linux-oem-5.14 package in Ubuntu:
  New

Bug description:
  Issue found on Focal OEM-5.14.0-1025.27 with Intel node vought

  The sut will stop responding after this, and the test will be killed
  in the end with the test timeout setting.

  stress-ng test suite HEAD SHA1: 48be8ff

  Mar  1 09:07:00 vought stress-ng: system: 'vought' Linux 5.14.0-1025-oem 
#27-Ubuntu SMP Thu Feb 24 09:13:19 UTC 2022 x86_64
  Mar  1 09:07:00 vought stress-ng: memory (MB): total 359934.79, free 
353583.48, shared 2.77, buffer 238.38, swap 9215.99, free swap 9214.70
  Mar  1 09:07:00 vought stress-ng: info:  [195104] setting to a 5 second run 
per stressor
  Mar  1 09:07:00 vought stress-ng: info:  [195104] dispatching hogs: 4 unshare
  Mar  1 09:07:00 vought kernel: [ 1061.465476] BUG: unable to handle page 
fault for address: 1cc8
  Mar  1 09:07:00 vought kernel: [ 1061.465554] #PF: supervisor read access in 
kernel mode
  Mar  1 09:07:00 vought kernel: [ 1061.465596] #PF: error_code(0x) - 
not-present page
  Mar  1 09:07:00 vought kernel: [ 1061.465637] PGD 0 P4D 0
  Mar  1 09:07:00 vought kernel: [ 1061.465663] Oops:  [#1] SMP NOPTI
  Mar  1 09:07:00 vought kernel: [ 1061.465698] CPU: 85 PID: 196061 Comm: 
stress-ng Tainted: P   O  5.14.0-1025-oem #27-Ubuntu
  Mar  1 09:07:00 vought kernel: [ 1061.465771] Hardware name: Intel 
Corporation S2600WFD/S2600WFD, BIOS SE5C620.86B.0D.01.0395.022720191340 
02/27/2019
  Mar  1 09:07:00 vought kernel: [ 1061.465846] RIP: 
0010:__alloc_pages+0x125/0x310
  Mar  1 09:07:00 vought kernel: [ 1061.465895] Code: ff ff 84 c0 0f 85 1b 01 
00 00 44 89 e0 48 8b 55 b0 8b 75 c4 c1 e8 0c 48 8b 7d a8 83 e0 01 88 45 c8 48 
85 d2 0f 85 3e 01 00 00 <3b> 77 08 0f 82 35 01 00 00 48 89 7d b8 48 8b 07 44 89 
e2 81 e2 00
  Mar  1 09:07:00 vought kernel: [ 1061.466030] RSP: 0018:b66fac707b50 
EFLAGS: 00010246
  Mar  1 09:07:00 vought kernel: [ 1061.466074] RAX:  RBX: 
 RCX: 
  Mar  1 09:07:00 vought kernel: [ 1061.466128] RDX:  RSI: 
0002 RDI: 1cc0
  Mar  1 09:07:00 vought kernel: [ 1061.466182] RBP: b66fac707ba8 R08: 
 R09: 
  Mar  1 09:07:00 vought kernel: [ 1061.466236] R10: 0002 R11: 
94438d0bb730 R12: 00052cc0
  Mar  1 09:07:00 vought kernel: [ 1061.466290] R13: 0002 R14: 
00052cc0 R15: 0001
  Mar  1 09:07:00 vought kernel: [ 1061.466343] FS:  7fbf1cef5380() 
GS:94438d08() knlGS:
  Mar  1 09:07:00 vought kernel: [ 1061.466406] CS:  0010 DS:  ES:  
CR0: 80050033
  Mar  1 09:07:00 vought kernel: [ 1061.466452] CR2: 1cc8 CR3: 
00bd8869a002 CR4: 007706e0
  Mar  1 09:07:00 vought kernel: [ 1061.466508] DR0:  DR1: 
 DR2: 
  Mar  1 09:07:00 vought kernel: [ 1061.466562] DR3:  DR6: 
fffe0ff0 DR7: 0400
  Mar  1 09:07:00 vought kernel: [ 1061.466616] PKRU: 5554
  Mar  1 09:07:00 vought kernel: [ 1061.466640] Call Trace:
  Mar  1 09:07:00 vought kernel: [ 1061.42]  
  Mar  1 09:07:00 vought kernel: [ 1061.466687]  kmalloc_large_node+0x45/0xb0
  Mar  1 09:07:00 vought kernel: [ 1061.466729]  __kmalloc_node+0x430/0x4f0
  Mar  1 09:07:00 vought kernel: [ 1061.466766]  ? 
queue_delayed_work_on+0x36/0x50
  Mar  1 09:07:00 vought kernel: [ 1061.466810]  kvmalloc_node+0x5c/0x90
  Mar  1 09:07:00 vought kernel: [ 1061.466843]  expand_shrinker_info+0xfa/0x230
  Mar  1 09:07:00 vought kernel: [ 1061.466884]  prealloc_shrinker+0xba/0x100
  Mar  1 09:07:00 vought kernel: [ 1061.468360]  alloc_super+0x2c3/0x340
  Mar  1 09:07:00 vought kernel: [ 1061.469786]  ? __fput_sync+0x30/0x30
  Mar  1 09:07:00 vought kernel: [ 1061.471204]  sget_fc+0x74/0x2e0
  Mar  1 09:07:00 vought kernel: [ 1061.472564]  ? compare_single+0x10/0x10
  Mar  1 09:07:00 vought kernel: [ 1061.473880]  ? mqueue_create+0x20/0x20
  Mar  1 09:07:00 vought kernel: [ 1061.475139]  vfs_get_super+0x3d/0x100
  Mar  1 09:07:00 vought kernel: [ 1061.476351]  get_tree_keyed+0x1d/0x20
  Mar  1 09:07:00 vought kernel: [ 1061.477314]  mqueue_get_tree+0x1c/0x20
  Mar  1 09:07:00 vought kernel: [ 1061.478060]  vfs_get_tree+0x2a/0xc0
  Mar  1 09:07:00 vought kernel: [ 1061.478791]  fc_mount+0x13/0x50
  Mar  1 09:07:00 vought kernel: [ 1061.479522]  mq_create_mount+0xd9/0x160
  Mar  1 09:07:00 vought kernel: [ 1061.480260]  mq_init_ns+0x3b/0x50
  Mar  1 

[Kernel-packages] [Bug 1958142] Re: port zsys generator changes from shell to C

2022-01-17 Thread Colin Ian King
If it's written in C I thoroughly recommend it is put through static
analysis and -Wall -Wextra warnings to ensure this key component is
sane.

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

Title:
  port zsys generator changes from shell to C

Status in zfs-linux package in Ubuntu:
  New
Status in zsys package in Ubuntu:
  New

Bug description:
  port zsys generator changes from shell to C

  new zfs has ported zfs mount generator from shell to C, meaning we
  need to rewrite zsys specific functionality that we patch into said
  generator from shell to C.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1958142/+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 1958142] Re: port zsys generator changes from shell to C

2022-01-17 Thread Colin Ian King
Is there a URL to the C source in question?

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

Title:
  port zsys generator changes from shell to C

Status in zfs-linux package in Ubuntu:
  New
Status in zsys package in Ubuntu:
  New

Bug description:
  port zsys generator changes from shell to C

  new zfs has ported zfs mount generator from shell to C, meaning we
  need to rewrite zsys specific functionality that we patch into said
  generator from shell to C.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1958142/+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 1950584] Re: cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline

2021-12-16 Thread Colin Ian King
Verified this on the Impish kernel on my laptop with ~40 minutes of
testing. Looks OK to me, no regressions noted.

** Tags removed: verification-needed-impish
** Tags added: verification-done-impish

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

Title:
  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and
  offline

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Hirsute:
  Fix Committed
Status in linux source package in Impish:
  Fix Committed

Bug description:
  [Impact]

  
  "Commit a365ab6b9dfb ("cpufreq: intel_pstate: Implement the
   ->adjust_perf() callback") caused intel_pstate to use nonzero HWP
   desired values in certain usage scenarios, but it did not prevent
   them from being leaked into the confugirations in which HWP desired
   is expected to be 0"

  I believe I'm seeing this issue on my laptop during suspend/resume.
  The upstream fix is:

  [Fix]

  commit dbea75fe18f60e364de6d994fc938a24ba249d81
  Author: Rafael J. Wysocki 
  Date:   Wed Nov 3 19:43:47 2021 +0100

  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline
  ---
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu73
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  cking  2316 F pulseaudio
   /dev/snd/pcmC1D0c:   cking  2316 F...m pulseaudio
   /dev/snd/controlC0:  cking  2316 F pulseaudio
   /dev/snd/pcmC0D0p:   cking  2316 F...m pulseaudio
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2021-06-07 (156 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210607)
  MachineType: LENOVO 20L5CTO1WW
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  Package: linux (not installed)
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.13.0-20-generic 
root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.13.0-20.20-generic 5.13.14
  RelatedPackageVersions:
   linux-restricted-modules-5.13.0-20-generic N/A
   linux-backports-modules-5.13.0-20-generic  N/A
   linux-firmware 1.202
  Tags:  jammy
  Uname: Linux 5.13.0-20-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo 
vboxusers
  _MarkForUpload: True
  dmi.bios.date: 01/11/2020
  dmi.bios.release: 1.30
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N24ET55W (1.30 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20L5CTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.20
  dmi.modalias: 
dmi:bvnLENOVO:bvrN24ET55W(1.30):bd01/11/2020:br1.30:efr1.20:svnLENOVO:pn20L5CTO1WW:pvrThinkPadT480:skuLENOVO_MT_20L5_BU_Think_FM_ThinkPadT480:rvnLENOVO:rn20L5CTO1WW:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrNone:
  dmi.product.family: ThinkPad T480
  dmi.product.name: 20L5CTO1WW
  dmi.product.sku: LENOVO_MT_20L5_BU_Think_FM_ThinkPad T480
  dmi.product.version: ThinkPad T480
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1950584/+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 1950584] Re: cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline

2021-12-13 Thread Colin Ian King
My old work laptop is kinda old junk now, I installed Fedora on it for
some other testing. I'll try and get this tested in the next few days,
but I need get Ubuntu onto it first.

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

Title:
  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and
  offline

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Hirsute:
  Fix Committed
Status in linux source package in Impish:
  Fix Committed

Bug description:
  [Impact]

  
  "Commit a365ab6b9dfb ("cpufreq: intel_pstate: Implement the
   ->adjust_perf() callback") caused intel_pstate to use nonzero HWP
   desired values in certain usage scenarios, but it did not prevent
   them from being leaked into the confugirations in which HWP desired
   is expected to be 0"

  I believe I'm seeing this issue on my laptop during suspend/resume.
  The upstream fix is:

  [Fix]

  commit dbea75fe18f60e364de6d994fc938a24ba249d81
  Author: Rafael J. Wysocki 
  Date:   Wed Nov 3 19:43:47 2021 +0100

  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline
  ---
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu73
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  cking  2316 F pulseaudio
   /dev/snd/pcmC1D0c:   cking  2316 F...m pulseaudio
   /dev/snd/controlC0:  cking  2316 F pulseaudio
   /dev/snd/pcmC0D0p:   cking  2316 F...m pulseaudio
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2021-06-07 (156 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210607)
  MachineType: LENOVO 20L5CTO1WW
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  Package: linux (not installed)
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.13.0-20-generic 
root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.13.0-20.20-generic 5.13.14
  RelatedPackageVersions:
   linux-restricted-modules-5.13.0-20-generic N/A
   linux-backports-modules-5.13.0-20-generic  N/A
   linux-firmware 1.202
  Tags:  jammy
  Uname: Linux 5.13.0-20-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo 
vboxusers
  _MarkForUpload: True
  dmi.bios.date: 01/11/2020
  dmi.bios.release: 1.30
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N24ET55W (1.30 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20L5CTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.20
  dmi.modalias: 
dmi:bvnLENOVO:bvrN24ET55W(1.30):bd01/11/2020:br1.30:efr1.20:svnLENOVO:pn20L5CTO1WW:pvrThinkPadT480:skuLENOVO_MT_20L5_BU_Think_FM_ThinkPadT480:rvnLENOVO:rn20L5CTO1WW:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrNone:
  dmi.product.family: ThinkPad T480
  dmi.product.name: 20L5CTO1WW
  dmi.product.sku: LENOVO_MT_20L5_BU_Think_FM_ThinkPad T480
  dmi.product.version: ThinkPad T480
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1950584/+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 1950584] Re: cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline

2021-11-22 Thread Colin Ian King
Thanks! :-)

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

Title:
  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and
  offline

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Hirsute:
  Fix Committed
Status in linux source package in Impish:
  Fix Committed

Bug description:
  [Impact]

  
  "Commit a365ab6b9dfb ("cpufreq: intel_pstate: Implement the
   ->adjust_perf() callback") caused intel_pstate to use nonzero HWP
   desired values in certain usage scenarios, but it did not prevent
   them from being leaked into the confugirations in which HWP desired
   is expected to be 0"

  I believe I'm seeing this issue on my laptop during suspend/resume.
  The upstream fix is:

  [Fix]

  commit dbea75fe18f60e364de6d994fc938a24ba249d81
  Author: Rafael J. Wysocki 
  Date:   Wed Nov 3 19:43:47 2021 +0100

  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline
  ---
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu73
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  cking  2316 F pulseaudio
   /dev/snd/pcmC1D0c:   cking  2316 F...m pulseaudio
   /dev/snd/controlC0:  cking  2316 F pulseaudio
   /dev/snd/pcmC0D0p:   cking  2316 F...m pulseaudio
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2021-06-07 (156 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210607)
  MachineType: LENOVO 20L5CTO1WW
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  Package: linux (not installed)
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.13.0-20-generic 
root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.13.0-20.20-generic 5.13.14
  RelatedPackageVersions:
   linux-restricted-modules-5.13.0-20-generic N/A
   linux-backports-modules-5.13.0-20-generic  N/A
   linux-firmware 1.202
  Tags:  jammy
  Uname: Linux 5.13.0-20-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo 
vboxusers
  _MarkForUpload: True
  dmi.bios.date: 01/11/2020
  dmi.bios.release: 1.30
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N24ET55W (1.30 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20L5CTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.20
  dmi.modalias: 
dmi:bvnLENOVO:bvrN24ET55W(1.30):bd01/11/2020:br1.30:efr1.20:svnLENOVO:pn20L5CTO1WW:pvrThinkPadT480:skuLENOVO_MT_20L5_BU_Think_FM_ThinkPadT480:rvnLENOVO:rn20L5CTO1WW:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrNone:
  dmi.product.family: ThinkPad T480
  dmi.product.name: 20L5CTO1WW
  dmi.product.sku: LENOVO_MT_20L5_BU_Think_FM_ThinkPad T480
  dmi.product.version: ThinkPad T480
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1950584/+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 1946686] Re: Fix zfs_get_data access to files with wrong generation causing panics

2021-11-20 Thread Colin Ian King
** Changed in: zfs-linux (Ubuntu Focal)
 Assignee: Colin Ian King (colin-king) => (unassigned)

** Changed in: zfs-linux (Ubuntu Focal)
 Assignee: (unassigned) => Dimitri John Ledkov (xnox)

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

Title:
  Fix zfs_get_data access to files with wrong generation causing panics

Status in zfs-linux package in Ubuntu:
  In Progress
Status in zfs-linux source package in Focal:
  Fix Committed
Status in zfs-linux source package in Hirsute:
  Fix Committed
Status in zfs-linux source package in Impish:
  Fix Released

Bug description:
  == SRU Focal/Hirsute ==

  [Impact]

  ZFS: Fix a panic while acquiring a lock.

  If TX_WRITE is create on a file, and the file is later deleted and a new
  directory is created on the same object id, it is possible that when
  zil_commit happens, zfs_get_data will be called on the new directory.
  This may result in panic as it tries to do range lock. 

  Upstream ZFS bug #10593, #11682, upstream fix:

  commit 296a4a369bc1078a694f88570972330985b3b1b8
  Author: Chunwei Chen 
  Date: Fri Mar 19 22:53:31 2021 -0700

  Fix zfs_get_data access to files with wrong generation

  This patch fixes this issue by record the generation number during
  zfs_log_write, so zfs_get_data can check if the object is valid.

  The fix is already in Ubuntu ZFS 2.0.6 in Impish. The fix is a
  relatively simple backport with only minor backporting effort required
  in moving some of the module specific upstream changes into the pre-
  renamed module specific os specific parts of the ZFS module.

  [Test Plan]

  This is difficult to reproduce, see
  https://github.com/openzfs/zfs/issues/10593

  The fix has been tested with the complete ubuntu autotest ZFS
  regression tests that exercise ZFS core functionality (smoke tests),
  file system POSIX compliance (fs tests), extra XFS tests and every
  mount option with stress-ng file I/O stress tests.

  [Where problems could occur]

  This fix could regress the ZIL (ZFS intent log) commit writes since it
  modifies this code to now checks for generation numbers. Testing with
  ZFS autotests with intent logs have not found any regressions, but
  there is a risk that the ZIL functionality is affected. This could
  lead to corruption.

  --

  As mentioned at https://answers.launchpad.net/ubuntu/+source/zfs-
  linux/+question/696659, the following pull request fixes a panic
  acquiring a lock: https://github.com/openzfs/zfs/pull/11682

  This fix does not appear to be a part of the latest Ubuntu 20.04
  release:

  zfsutils-linux:
    Installed: 0.8.3-1ubuntu12.12
    Candidate: 0.8.3-1ubuntu12.12
    Version table:
   *** 0.8.3-1ubuntu12.12 500
  500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
  100 /var/lib/dpkg/status
   0.8.3-1ubuntu12.9 500
  500 http://security.ubuntu.com/ubuntu focal-security/main amd64 
Packages
   0.8.3-1ubuntu12 500
  500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages

  Of note is this issue where the bug is reported against the Ubuntu
  0.8.3 packages: https://github.com/openzfs/zfs/issues/10642

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1946686/+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 1950584] Re: cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline

2021-11-11 Thread Colin Ian King
Thanks for picking this up, much appreciated! :-)

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

Title:
  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and
  offline

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Hirsute:
  New
Status in linux source package in Impish:
  New

Bug description:
  "Commit a365ab6b9dfb ("cpufreq: intel_pstate: Implement the
   ->adjust_perf() callback") caused intel_pstate to use nonzero HWP
   desired values in certain usage scenarios, but it did not prevent
   them from being leaked into the confugirations in which HWP desired
   is expected to be 0"

  I believe I'm seeing this issue on my laptop during suspend/resume.
  The upstream fix is:

  
  commit dbea75fe18f60e364de6d994fc938a24ba249d81
  Author: Rafael J. Wysocki 
  Date:   Wed Nov 3 19:43:47 2021 +0100

  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu73
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  cking  2316 F pulseaudio
   /dev/snd/pcmC1D0c:   cking  2316 F...m pulseaudio
   /dev/snd/controlC0:  cking  2316 F pulseaudio
   /dev/snd/pcmC0D0p:   cking  2316 F...m pulseaudio
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2021-06-07 (156 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210607)
  MachineType: LENOVO 20L5CTO1WW
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  Package: linux (not installed)
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.13.0-20-generic 
root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.13.0-20.20-generic 5.13.14
  RelatedPackageVersions:
   linux-restricted-modules-5.13.0-20-generic N/A
   linux-backports-modules-5.13.0-20-generic  N/A
   linux-firmware 1.202
  Tags:  jammy
  Uname: Linux 5.13.0-20-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo 
vboxusers
  _MarkForUpload: True
  dmi.bios.date: 01/11/2020
  dmi.bios.release: 1.30
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N24ET55W (1.30 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20L5CTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.20
  dmi.modalias: 
dmi:bvnLENOVO:bvrN24ET55W(1.30):bd01/11/2020:br1.30:efr1.20:svnLENOVO:pn20L5CTO1WW:pvrThinkPadT480:skuLENOVO_MT_20L5_BU_Think_FM_ThinkPadT480:rvnLENOVO:rn20L5CTO1WW:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrNone:
  dmi.product.family: ThinkPad T480
  dmi.product.name: 20L5CTO1WW
  dmi.product.sku: LENOVO_MT_20L5_BU_Think_FM_ThinkPad T480
  dmi.product.version: ThinkPad T480
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1950584/+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 1950584] WifiSyslog.txt

2021-11-11 Thread Colin Ian King
apport information

** Attachment added: "WifiSyslog.txt"
   
https://bugs.launchpad.net/bugs/1950584/+attachment/5540007/+files/WifiSyslog.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/1950584

Title:
  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and
  offline

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  "Commit a365ab6b9dfb ("cpufreq: intel_pstate: Implement the
   ->adjust_perf() callback") caused intel_pstate to use nonzero HWP
   desired values in certain usage scenarios, but it did not prevent
   them from being leaked into the confugirations in which HWP desired
   is expected to be 0"

  I believe I'm seeing this issue on my laptop during suspend/resume.
  The upstream fix is:

  
  commit dbea75fe18f60e364de6d994fc938a24ba249d81
  Author: Rafael J. Wysocki 
  Date:   Wed Nov 3 19:43:47 2021 +0100

  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu73
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  cking  2316 F pulseaudio
   /dev/snd/pcmC1D0c:   cking  2316 F...m pulseaudio
   /dev/snd/controlC0:  cking  2316 F pulseaudio
   /dev/snd/pcmC0D0p:   cking  2316 F...m pulseaudio
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2021-06-07 (156 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210607)
  MachineType: LENOVO 20L5CTO1WW
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  Package: linux (not installed)
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.13.0-20-generic 
root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.13.0-20.20-generic 5.13.14
  RelatedPackageVersions:
   linux-restricted-modules-5.13.0-20-generic N/A
   linux-backports-modules-5.13.0-20-generic  N/A
   linux-firmware 1.202
  Tags:  jammy
  Uname: Linux 5.13.0-20-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo 
vboxusers
  _MarkForUpload: True
  dmi.bios.date: 01/11/2020
  dmi.bios.release: 1.30
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N24ET55W (1.30 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20L5CTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.20
  dmi.modalias: 
dmi:bvnLENOVO:bvrN24ET55W(1.30):bd01/11/2020:br1.30:efr1.20:svnLENOVO:pn20L5CTO1WW:pvrThinkPadT480:skuLENOVO_MT_20L5_BU_Think_FM_ThinkPadT480:rvnLENOVO:rn20L5CTO1WW:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrNone:
  dmi.product.family: ThinkPad T480
  dmi.product.name: 20L5CTO1WW
  dmi.product.sku: LENOVO_MT_20L5_BU_Think_FM_ThinkPad T480
  dmi.product.version: ThinkPad T480
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1950584/+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 1950584] RfKill.txt

2021-11-11 Thread Colin Ian King
apport information

** Attachment added: "RfKill.txt"
   https://bugs.launchpad.net/bugs/1950584/+attachment/5540005/+files/RfKill.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/1950584

Title:
  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and
  offline

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  "Commit a365ab6b9dfb ("cpufreq: intel_pstate: Implement the
   ->adjust_perf() callback") caused intel_pstate to use nonzero HWP
   desired values in certain usage scenarios, but it did not prevent
   them from being leaked into the confugirations in which HWP desired
   is expected to be 0"

  I believe I'm seeing this issue on my laptop during suspend/resume.
  The upstream fix is:

  
  commit dbea75fe18f60e364de6d994fc938a24ba249d81
  Author: Rafael J. Wysocki 
  Date:   Wed Nov 3 19:43:47 2021 +0100

  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu73
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  cking  2316 F pulseaudio
   /dev/snd/pcmC1D0c:   cking  2316 F...m pulseaudio
   /dev/snd/controlC0:  cking  2316 F pulseaudio
   /dev/snd/pcmC0D0p:   cking  2316 F...m pulseaudio
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2021-06-07 (156 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210607)
  MachineType: LENOVO 20L5CTO1WW
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  Package: linux (not installed)
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.13.0-20-generic 
root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.13.0-20.20-generic 5.13.14
  RelatedPackageVersions:
   linux-restricted-modules-5.13.0-20-generic N/A
   linux-backports-modules-5.13.0-20-generic  N/A
   linux-firmware 1.202
  Tags:  jammy
  Uname: Linux 5.13.0-20-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo 
vboxusers
  _MarkForUpload: True
  dmi.bios.date: 01/11/2020
  dmi.bios.release: 1.30
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N24ET55W (1.30 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20L5CTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.20
  dmi.modalias: 
dmi:bvnLENOVO:bvrN24ET55W(1.30):bd01/11/2020:br1.30:efr1.20:svnLENOVO:pn20L5CTO1WW:pvrThinkPadT480:skuLENOVO_MT_20L5_BU_Think_FM_ThinkPadT480:rvnLENOVO:rn20L5CTO1WW:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrNone:
  dmi.product.family: ThinkPad T480
  dmi.product.name: 20L5CTO1WW
  dmi.product.sku: LENOVO_MT_20L5_BU_Think_FM_ThinkPad T480
  dmi.product.version: ThinkPad T480
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1950584/+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 1950584] UdevDb.txt

2021-11-11 Thread Colin Ian King
apport information

** Attachment added: "UdevDb.txt"
   https://bugs.launchpad.net/bugs/1950584/+attachment/5540006/+files/UdevDb.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/1950584

Title:
  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and
  offline

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  "Commit a365ab6b9dfb ("cpufreq: intel_pstate: Implement the
   ->adjust_perf() callback") caused intel_pstate to use nonzero HWP
   desired values in certain usage scenarios, but it did not prevent
   them from being leaked into the confugirations in which HWP desired
   is expected to be 0"

  I believe I'm seeing this issue on my laptop during suspend/resume.
  The upstream fix is:

  
  commit dbea75fe18f60e364de6d994fc938a24ba249d81
  Author: Rafael J. Wysocki 
  Date:   Wed Nov 3 19:43:47 2021 +0100

  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu73
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  cking  2316 F pulseaudio
   /dev/snd/pcmC1D0c:   cking  2316 F...m pulseaudio
   /dev/snd/controlC0:  cking  2316 F pulseaudio
   /dev/snd/pcmC0D0p:   cking  2316 F...m pulseaudio
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2021-06-07 (156 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210607)
  MachineType: LENOVO 20L5CTO1WW
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  Package: linux (not installed)
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.13.0-20-generic 
root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.13.0-20.20-generic 5.13.14
  RelatedPackageVersions:
   linux-restricted-modules-5.13.0-20-generic N/A
   linux-backports-modules-5.13.0-20-generic  N/A
   linux-firmware 1.202
  Tags:  jammy
  Uname: Linux 5.13.0-20-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo 
vboxusers
  _MarkForUpload: True
  dmi.bios.date: 01/11/2020
  dmi.bios.release: 1.30
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N24ET55W (1.30 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20L5CTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.20
  dmi.modalias: 
dmi:bvnLENOVO:bvrN24ET55W(1.30):bd01/11/2020:br1.30:efr1.20:svnLENOVO:pn20L5CTO1WW:pvrThinkPadT480:skuLENOVO_MT_20L5_BU_Think_FM_ThinkPadT480:rvnLENOVO:rn20L5CTO1WW:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrNone:
  dmi.product.family: ThinkPad T480
  dmi.product.name: 20L5CTO1WW
  dmi.product.sku: LENOVO_MT_20L5_BU_Think_FM_ThinkPad T480
  dmi.product.version: ThinkPad T480
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1950584/+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 1950584] ProcEnviron.txt

2021-11-11 Thread Colin Ian King
apport information

** Attachment added: "ProcEnviron.txt"
   
https://bugs.launchpad.net/bugs/1950584/+attachment/5540001/+files/ProcEnviron.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/1950584

Title:
  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and
  offline

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  "Commit a365ab6b9dfb ("cpufreq: intel_pstate: Implement the
   ->adjust_perf() callback") caused intel_pstate to use nonzero HWP
   desired values in certain usage scenarios, but it did not prevent
   them from being leaked into the confugirations in which HWP desired
   is expected to be 0"

  I believe I'm seeing this issue on my laptop during suspend/resume.
  The upstream fix is:

  
  commit dbea75fe18f60e364de6d994fc938a24ba249d81
  Author: Rafael J. Wysocki 
  Date:   Wed Nov 3 19:43:47 2021 +0100

  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu73
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  cking  2316 F pulseaudio
   /dev/snd/pcmC1D0c:   cking  2316 F...m pulseaudio
   /dev/snd/controlC0:  cking  2316 F pulseaudio
   /dev/snd/pcmC0D0p:   cking  2316 F...m pulseaudio
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2021-06-07 (156 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210607)
  MachineType: LENOVO 20L5CTO1WW
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  Package: linux (not installed)
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.13.0-20-generic 
root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.13.0-20.20-generic 5.13.14
  RelatedPackageVersions:
   linux-restricted-modules-5.13.0-20-generic N/A
   linux-backports-modules-5.13.0-20-generic  N/A
   linux-firmware 1.202
  Tags:  jammy
  Uname: Linux 5.13.0-20-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo 
vboxusers
  _MarkForUpload: True
  dmi.bios.date: 01/11/2020
  dmi.bios.release: 1.30
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N24ET55W (1.30 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20L5CTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.20
  dmi.modalias: 
dmi:bvnLENOVO:bvrN24ET55W(1.30):bd01/11/2020:br1.30:efr1.20:svnLENOVO:pn20L5CTO1WW:pvrThinkPadT480:skuLENOVO_MT_20L5_BU_Think_FM_ThinkPadT480:rvnLENOVO:rn20L5CTO1WW:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrNone:
  dmi.product.family: ThinkPad T480
  dmi.product.name: 20L5CTO1WW
  dmi.product.sku: LENOVO_MT_20L5_BU_Think_FM_ThinkPad T480
  dmi.product.version: ThinkPad T480
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1950584/+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 1950584] ProcInterrupts.txt

2021-11-11 Thread Colin Ian King
apport information

** Attachment added: "ProcInterrupts.txt"
   
https://bugs.launchpad.net/bugs/1950584/+attachment/5540002/+files/ProcInterrupts.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/1950584

Title:
  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and
  offline

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  "Commit a365ab6b9dfb ("cpufreq: intel_pstate: Implement the
   ->adjust_perf() callback") caused intel_pstate to use nonzero HWP
   desired values in certain usage scenarios, but it did not prevent
   them from being leaked into the confugirations in which HWP desired
   is expected to be 0"

  I believe I'm seeing this issue on my laptop during suspend/resume.
  The upstream fix is:

  
  commit dbea75fe18f60e364de6d994fc938a24ba249d81
  Author: Rafael J. Wysocki 
  Date:   Wed Nov 3 19:43:47 2021 +0100

  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu73
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  cking  2316 F pulseaudio
   /dev/snd/pcmC1D0c:   cking  2316 F...m pulseaudio
   /dev/snd/controlC0:  cking  2316 F pulseaudio
   /dev/snd/pcmC0D0p:   cking  2316 F...m pulseaudio
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2021-06-07 (156 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210607)
  MachineType: LENOVO 20L5CTO1WW
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  Package: linux (not installed)
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.13.0-20-generic 
root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.13.0-20.20-generic 5.13.14
  RelatedPackageVersions:
   linux-restricted-modules-5.13.0-20-generic N/A
   linux-backports-modules-5.13.0-20-generic  N/A
   linux-firmware 1.202
  Tags:  jammy
  Uname: Linux 5.13.0-20-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo 
vboxusers
  _MarkForUpload: True
  dmi.bios.date: 01/11/2020
  dmi.bios.release: 1.30
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N24ET55W (1.30 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20L5CTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.20
  dmi.modalias: 
dmi:bvnLENOVO:bvrN24ET55W(1.30):bd01/11/2020:br1.30:efr1.20:svnLENOVO:pn20L5CTO1WW:pvrThinkPadT480:skuLENOVO_MT_20L5_BU_Think_FM_ThinkPadT480:rvnLENOVO:rn20L5CTO1WW:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrNone:
  dmi.product.family: ThinkPad T480
  dmi.product.name: 20L5CTO1WW
  dmi.product.sku: LENOVO_MT_20L5_BU_Think_FM_ThinkPad T480
  dmi.product.version: ThinkPad T480
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1950584/+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 1950584] acpidump.txt

2021-11-11 Thread Colin Ian King
apport information

** Attachment added: "acpidump.txt"
   
https://bugs.launchpad.net/bugs/1950584/+attachment/5540008/+files/acpidump.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/1950584

Title:
  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and
  offline

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  "Commit a365ab6b9dfb ("cpufreq: intel_pstate: Implement the
   ->adjust_perf() callback") caused intel_pstate to use nonzero HWP
   desired values in certain usage scenarios, but it did not prevent
   them from being leaked into the confugirations in which HWP desired
   is expected to be 0"

  I believe I'm seeing this issue on my laptop during suspend/resume.
  The upstream fix is:

  
  commit dbea75fe18f60e364de6d994fc938a24ba249d81
  Author: Rafael J. Wysocki 
  Date:   Wed Nov 3 19:43:47 2021 +0100

  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu73
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  cking  2316 F pulseaudio
   /dev/snd/pcmC1D0c:   cking  2316 F...m pulseaudio
   /dev/snd/controlC0:  cking  2316 F pulseaudio
   /dev/snd/pcmC0D0p:   cking  2316 F...m pulseaudio
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2021-06-07 (156 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210607)
  MachineType: LENOVO 20L5CTO1WW
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  Package: linux (not installed)
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.13.0-20-generic 
root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.13.0-20.20-generic 5.13.14
  RelatedPackageVersions:
   linux-restricted-modules-5.13.0-20-generic N/A
   linux-backports-modules-5.13.0-20-generic  N/A
   linux-firmware 1.202
  Tags:  jammy
  Uname: Linux 5.13.0-20-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo 
vboxusers
  _MarkForUpload: True
  dmi.bios.date: 01/11/2020
  dmi.bios.release: 1.30
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N24ET55W (1.30 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20L5CTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.20
  dmi.modalias: 
dmi:bvnLENOVO:bvrN24ET55W(1.30):bd01/11/2020:br1.30:efr1.20:svnLENOVO:pn20L5CTO1WW:pvrThinkPadT480:skuLENOVO_MT_20L5_BU_Think_FM_ThinkPadT480:rvnLENOVO:rn20L5CTO1WW:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrNone:
  dmi.product.family: ThinkPad T480
  dmi.product.name: 20L5CTO1WW
  dmi.product.sku: LENOVO_MT_20L5_BU_Think_FM_ThinkPad T480
  dmi.product.version: ThinkPad T480
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1950584/+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 1950584] ProcModules.txt

2021-11-11 Thread Colin Ian King
apport information

** Attachment added: "ProcModules.txt"
   
https://bugs.launchpad.net/bugs/1950584/+attachment/5540003/+files/ProcModules.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/1950584

Title:
  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and
  offline

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  "Commit a365ab6b9dfb ("cpufreq: intel_pstate: Implement the
   ->adjust_perf() callback") caused intel_pstate to use nonzero HWP
   desired values in certain usage scenarios, but it did not prevent
   them from being leaked into the confugirations in which HWP desired
   is expected to be 0"

  I believe I'm seeing this issue on my laptop during suspend/resume.
  The upstream fix is:

  
  commit dbea75fe18f60e364de6d994fc938a24ba249d81
  Author: Rafael J. Wysocki 
  Date:   Wed Nov 3 19:43:47 2021 +0100

  cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu73
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  cking  2316 F pulseaudio
   /dev/snd/pcmC1D0c:   cking  2316 F...m pulseaudio
   /dev/snd/controlC0:  cking  2316 F pulseaudio
   /dev/snd/pcmC0D0p:   cking  2316 F...m pulseaudio
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2021-06-07 (156 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210607)
  MachineType: LENOVO 20L5CTO1WW
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  Package: linux (not installed)
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.13.0-20-generic 
root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 5.13.0-20.20-generic 5.13.14
  RelatedPackageVersions:
   linux-restricted-modules-5.13.0-20-generic N/A
   linux-backports-modules-5.13.0-20-generic  N/A
   linux-firmware 1.202
  Tags:  jammy
  Uname: Linux 5.13.0-20-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo 
vboxusers
  _MarkForUpload: True
  dmi.bios.date: 01/11/2020
  dmi.bios.release: 1.30
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N24ET55W (1.30 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20L5CTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.20
  dmi.modalias: 
dmi:bvnLENOVO:bvrN24ET55W(1.30):bd01/11/2020:br1.30:efr1.20:svnLENOVO:pn20L5CTO1WW:pvrThinkPadT480:skuLENOVO_MT_20L5_BU_Think_FM_ThinkPadT480:rvnLENOVO:rn20L5CTO1WW:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrNone:
  dmi.product.family: ThinkPad T480
  dmi.product.name: 20L5CTO1WW
  dmi.product.sku: LENOVO_MT_20L5_BU_Think_FM_ThinkPad T480
  dmi.product.version: ThinkPad T480
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1950584/+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


  1   2   3   4   5   6   7   8   9   10   >