Bug 218092 - Laptop hanging on black screen, when suspended and woke up!
Summary: Laptop hanging on black screen, when suspended and woke up!
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: IOMMU (show other bugs)
Hardware: AMD Linux
: P3 normal
Assignee: drivers_iommu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-31 12:11 UTC by Ertugrul Uyar
Modified: 2023-11-03 19:38 UTC (History)
4 users (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg (71.06 KB, text/plain)
2023-10-31 18:35 UTC, Ertugrul Uyar
Details
dmidecode (19.24 KB, text/plain)
2023-10-31 18:35 UTC, Ertugrul Uyar
Details
possible patch (1.31 KB, patch)
2023-10-31 20:48 UTC, Mario Limonciello (AMD)
Details | Diff
Boot Config file (274.47 KB, text/plain)
2023-11-02 16:30 UTC, Ertugrul Uyar
Details
fixed up config (274.48 KB, text/plain)
2023-11-02 16:48 UTC, Mario Limonciello (AMD)
Details
signature.asc (228 bytes, application/pgp-signature)
2023-11-03 09:19 UTC, Bagas Sanjaya
Details

Description Ertugrul Uyar 2023-10-31 12:11:01 UTC
I have had the problem for a long time. I'am using Lenovo Thinkbook 15 Gen2 ARE 20VG006XTX. 
I only find these solutions worked:
https://lucraymond.net/2021/07/09/fixing-suspend-resume-on-lenovo-thinkbook-15-g2-are-laptop-with-amd-in-linux/
https://lucraymond.net/2022/10/04/linux-fixing-suspend-resume-on-amd-renoir-lenovo-thinkbook-g2-are-on-kernel-5-19-6-0-and-up/
memsleep_default=deep doesn't work. Only the amd_iommu=soft (for older kernels) and amd_iommu=off (kernel 6.0+) works. Is this (https://www.phoronix.com/news/Linux-6.6-Fixes-9-Lenovo-Laptop) fix this issue for my laptop? Please help me, I'am waiting very very long time for get rid of this issue.
This is the distro and kernel info that I using now:
OS: TUXEDO OS 2 x86_64
Host: LENOVO LNVNB161216
Kernel: 6.5.0-10006-tuxedo
Uptime: 16 mins
Packages: 2177 (dpkg), 67 (flatpak)
Shell: bash 5.1.16
Resolution: 1920x1080
DE: Plasma 5.27.8 (Wayland)
WM: kwin_wayland_wr
Theme: [Plasma], Breeze [GTK2/3]
Icons: [Plasma], breeze [GTK2/3]
Terminal: konsole
CPU: AMD Ryzen 5 4500U with Radeon Graphics (6) @ 2.375GHz
GPU: AMD ATI Renoir
Memory: 4314MiB / 6790MiB
Comment 1 Mario Limonciello (AMD) 2023-10-31 13:02:51 UTC
Have you already updated your BIOS to the latest BIOS?
Comment 2 Mario Limonciello (AMD) 2023-10-31 15:49:23 UTC
Also; please add a full dmesg and your dmidecode output.
Comment 3 Ertugrul Uyar 2023-10-31 18:25:02 UTC
(In reply to Mario Limonciello (AMD) from comment #1)
> Have you already updated your BIOS to the latest BIOS?

I have latest BIOS, it's version: https://pcsupport.lenovo.com/tr/tr/products/laptops-and-netbooks/thinkbook-series/thinkbook-15-g2-are/downloads/driver-list/component?name=BIOS&id=5AC6A815-321D-440E-8833-B07A93E0428C
Comment 4 Ertugrul Uyar 2023-10-31 18:35:20 UTC
Created attachment 305343 [details]
dmesg
Comment 5 Ertugrul Uyar 2023-10-31 18:35:44 UTC
Created attachment 305344 [details]
dmidecode
Comment 6 Ertugrul Uyar 2023-10-31 18:38:35 UTC
Comment on attachment 305343 [details]
dmesg

I used "sudo dmesg" command and result:
Comment 7 Ertugrul Uyar 2023-10-31 18:40:45 UTC
Comment on attachment 305344 [details]
dmidecode

I used "sudo dmidecode" command and result:
Comment 8 Ertugrul Uyar 2023-10-31 18:40:59 UTC
Comment on attachment 305343 [details]
dmesg

I used "sudo dmesg" command and result:
Comment 9 Ertugrul Uyar 2023-10-31 18:45:07 UTC
I am sorry for the extra comments, this is the first time for me to use this platform.
Comment 10 Mario Limonciello (AMD) 2023-10-31 19:25:27 UTC
We can try doing that same quirk as the other bug with the Lenovo Mendocino laptops to see if it helps.

But it needs testing for us to merge it.
If I got you a patch could you handle building a kernel for it?
Comment 11 Ertugrul Uyar 2023-10-31 20:13:25 UTC
(In reply to Mario Limonciello (AMD) from comment #10)
> We can try doing that same quirk as the other bug with the Lenovo Mendocino
> laptops to see if it helps.
> 
> But it needs testing for us to merge it.
> If I got you a patch could you handle building a kernel for it?

Thank you.
If it's easy, I'll try to do it with the instructions, but if it's risky because I'm going to start writing a thesis and I only have a laptop, I can't do it.
Comment 12 Mario Limonciello (AMD) 2023-10-31 20:48:32 UTC
Created attachment 305346 [details]
possible patch

Here's a patch that adds your system to the quirk list.  Let's see if that helps.
Comment 13 Mario Limonciello (AMD) 2023-10-31 20:53:13 UTC
Most distributions let you pick different kernels from the bootloader, so when you build it you should be able to revert back to your inbox kernel if it doesn't work.
Comment 14 Ertugrul Uyar 2023-11-01 09:11:13 UTC
When my laptop booting, there is no grub screen, it's loading immediately. I think, I should change something to show this screen or press a button. Am I right? And I also have to remove amd_iommu=off from my grub conf too.
Comment 15 Ertugrul Uyar 2023-11-01 09:11:52 UTC
Is there a instructions for the kernel patch?
Comment 16 Mario Limonciello (AMD) 2023-11-01 17:08:25 UTC
I'm not personally familiar with Tuxedo OS.  I can point you at generic kernel build instructions.  It seems to be built from an Ubuntu base so I think generic debian kernels should work.  

Here's some generic instructions off the top of my head.  Apologies if I made any mistakes.

1) Modify /etc/default/grub to change the grub policy from "hidden" to "menu"
2) Modify /etc/default/grub to change the grub timeout from 0 to 5
3) run 'sudo update-grub'
4) Reboot machine
5) Make sure that you see a GRUB menu.

6) Download kernel 6.6 (tarball or git) from https://www.kernel.org/
7) Apply the patch from this bug.
8) Copy your existing kernel config from /boot to the file .config in the kernel directory.
9) Install build dependencies for building the kernel ("apt build-dep linux-image" should hopefully help here)
10) Build the kernel using "make -j$(nproc) bindeb-pkg"

If that works you'll get a .deb package at the end that you can install and pick from the grub menu on the next boot.  See if this package works for the issue at hand.  If it does we'll carry forward with submitting this patch.  If it doesn't then we have a different issue than we've seen in the past.
Comment 17 Ertugrul Uyar 2023-11-01 18:01:37 UTC
Okey, I'll try, but could you explain 7th instruction more?
Thank you very much in advance for your help.
Comment 18 Mario Limonciello (AMD) 2023-11-01 18:02:47 UTC
If you do a git checkout then it would be 'git am foo.patch'.
If you download a tarball it would be 'patch -p1 < foo.patch'.
Comment 19 Ertugrul Uyar 2023-11-02 06:38:43 UTC
(In reply to Mario Limonciello (AMD) from comment #18)
> If you do a git checkout then it would be 'git am foo.patch'.
> If you download a tarball it would be 'patch -p1 < foo.patch'.

I quess, I am gonna extract tarball then open it and open terminal on it. Then I use 'patch -p1 < foo.patch' command. Am I right?
Comment 20 Ertugrul Uyar 2023-11-02 06:52:23 UTC
(In reply to Mario Limonciello (AMD) from comment #16)
> I'm not personally familiar with Tuxedo OS.  I can point you at generic
> kernel build instructions.  It seems to be built from an Ubuntu base so I
> think generic debian kernels should work.  
> 
> Here's some generic instructions off the top of my head.  Apologies if I
> made any mistakes.
> 
> 1) Modify /etc/default/grub to change the grub policy from "hidden" to "menu"
> 2) Modify /etc/default/grub to change the grub timeout from 0 to 5
> 3) run 'sudo update-grub'
> 4) Reboot machine
> 5) Make sure that you see a GRUB menu.
> 
> 6) Download kernel 6.6 (tarball or git) from https://www.kernel.org/
> 7) Apply the patch from this bug.
> 8) Copy your existing kernel config from /boot to the file .config in the
> kernel directory.
> 9) Install build dependencies for building the kernel ("apt build-dep
> linux-image" should hopefully help here)
> 10) Build the kernel using "make -j$(nproc) bindeb-pkg"
> 
> If that works you'll get a .deb package at the end that you can install and
> pick from the grub menu on the next boot.  See if this package works for the
> issue at hand.  If it does we'll carry forward with submitting this patch. 
> If it doesn't then we have a different issue than we've seen in the past.

I am gonna also remove amd_iommu=off from grub conf. 
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amd_iommu=off" --> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Comment 21 Ertugrul Uyar 2023-11-02 06:53:20 UTC
(In reply to Ertugrul Uyar from comment #20)
> (In reply to Mario Limonciello (AMD) from comment #16)
> > I'm not personally familiar with Tuxedo OS.  I can point you at generic
> > kernel build instructions.  It seems to be built from an Ubuntu base so I
> > think generic debian kernels should work.  
> > 
> > Here's some generic instructions off the top of my head.  Apologies if I
> > made any mistakes.
> > 
> > 1) Modify /etc/default/grub to change the grub policy from "hidden" to
> "menu"
> > 2) Modify /etc/default/grub to change the grub timeout from 0 to 5
> > 3) run 'sudo update-grub'
> > 4) Reboot machine
> > 5) Make sure that you see a GRUB menu.
> > 
> > 6) Download kernel 6.6 (tarball or git) from https://www.kernel.org/
> > 7) Apply the patch from this bug.
> > 8) Copy your existing kernel config from /boot to the file .config in the
> > kernel directory.
> > 9) Install build dependencies for building the kernel ("apt build-dep
> > linux-image" should hopefully help here)
> > 10) Build the kernel using "make -j$(nproc) bindeb-pkg"
> > 
> > If that works you'll get a .deb package at the end that you can install and
> > pick from the grub menu on the next boot.  See if this package works for
> the
> > issue at hand.  If it does we'll carry forward with submitting this patch. 
> > If it doesn't then we have a different issue than we've seen in the past.
> 
> I am gonna also remove amd_iommu=off from grub conf. 
> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amd_iommu=off" -->
> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

Also, I did this:
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=5
Comment 22 Ertugrul Uyar 2023-11-02 07:08:44 UTC
(In reply to Ertugrul Uyar from comment #19)
> (In reply to Mario Limonciello (AMD) from comment #18)
> > If you do a git checkout then it would be 'git am foo.patch'.
> > If you download a tarball it would be 'patch -p1 < foo.patch'.
> 
> I quess, I am gonna extract tarball then open it and open terminal on it.
> Then I use 'patch -p1 < foo.patch' command. Am I right?

This is the result:
~/Desktop/linux-6.6$ patch -p1 < /home/ertugruluyar/Desktop/0001-platform-x86-amd-pmc-Add-ThinkBook-15-G2-ARE-to-NVME.patch 
patching file drivers/platform/x86/amd/pmc/pmc-quirks.c
Comment 23 Ertugrul Uyar 2023-11-02 07:24:25 UTC
(In reply to Mario Limonciello (AMD) from comment #16)
> 8) Copy your existing kernel config from /boot to the file .config in the
> kernel directory.


There is no file that has extension .config in linux.6.6/kernel folder or linux6.6. folder. There is a linux-6.6/kernel/configs/ folder. In linux-6.6/kernel/configs/ folder:
debug.config
kvm_quest.config
nopm.config
rust.config
tiny-base.config
tiny.config
x86_debug.config
xen.config


Also, for this: "Copy your existing kernel config from /boot to the file .config in the kernel directory."
Should I copy /boot/config-6.5.0-10006-tuxedo file or copy config-6.5.0-10006-tuxedo file's content to the file's content .config in the kernel directory?
Comment 24 Mario Limonciello (AMD) 2023-11-02 13:27:00 UTC
The reason to copy the config is to give you a shortcut to have the same config you're already using without having to learn the entire kernel config system and what your system actually needs.  It's literally the filename ".config".  So:

# cp /boot/config-6.5.0-10006-tuxedo .config
Comment 25 Ertugrul Uyar 2023-11-02 13:44:32 UTC
(In reply to Mario Limonciello (AMD) from comment #24)
> The reason to copy the config is to give you a shortcut to have the same
> config you're already using without having to learn the entire kernel config
> system and what your system actually needs.  It's literally the filename
> ".config".  So:
> 
> # cp /boot/config-6.5.0-10006-tuxedo .config

Thank you. I did this. But then I didn't do this:
> > 9) Install build dependencies for building the kernel ("apt build-dep
> > linux-image" should hopefully help here)
Because, I tried "sudo apt install apt build-dep linux-image" --> it didn't find build-dep and show all linux-image* for different versions. Should I try to "make -j$(nproc) bindeb-pkg"?
Comment 26 Mario Limonciello (AMD) 2023-11-02 13:46:04 UTC
> Because, I tried "sudo apt install apt build-dep linux-image" --> it didn't
> find build-dep and show all linux-image* for different versions. Should I try
> to "make -j$(nproc) bindeb-pkg"?

If you build and it's missing dependencies it will mention that, fail the build and you have to find them.  The apt build-dep command I suggested was to give you another shortcut.
Comment 27 Ertugrul Uyar 2023-11-02 13:53:55 UTC
(In reply to Mario Limonciello (AMD) from comment #26)
> > Because, I tried "sudo apt install apt build-dep linux-image" --> it didn't
> > find build-dep and show all linux-image* for different versions. Should I
> try
> > to "make -j$(nproc) bindeb-pkg"?
> 
> If you build and it's missing dependencies it will mention that, fail the
> build and you have to find them.  The apt build-dep command I suggested was
> to give you another shortcut.

ertugruluyar@ertugruluyar-pc:~/Desktop/linux-6.6$ make -j$(nproc) bindeb-pkg
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[1]: *** [/home/ertugruluyar/Desktop/linux-6.6/Makefile:784: .config] Error 1
make: *** [Makefile:234: __sub-make] Error 2

THEN I move .config file that I copied to linux-6.6/kernel/ folder to the linux-6.6/ folder. and I run this:

ertugruluyar@ertugruluyar-pc:~/Desktop/linux-6.6$ make -j$(nproc) bindeb-pkg
  SYNC    include/config/auto.conf.cmd
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
  LEX     scripts/kconfig/lexer.lex.c
/bin/sh: 1: flex: not found
  YACC    scripts/kconfig/parser.tab.[ch]
/bin/sh: 1: bison: not found
make[3]: *** [scripts/Makefile.host:9: scripts/kconfig/lexer.lex.c] Error 127
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.host:17: scripts/kconfig/parser.tab.h] Error 127
  HOSTCC  scripts/kconfig/menu.o
make[2]: *** [Makefile:697: syncconfig] Error 2
make[1]: *** [/home/ertugruluyar/Desktop/linux-6.6/Makefile:798: include/config/auto.conf.cmd] Error 2
make: *** [Makefile:234: __sub-make] Error 2
Comment 28 Mario Limonciello (AMD) 2023-11-02 13:58:27 UTC
Yeah like I said, you need to install build dependencies.  You can do them manually one by one or you can use 'sudo apt build-dep $SOURCE_PACKAGE' to do it.

I don't know the name of the source package used for Tuxedo.  It's something like this:

# sudo apt build-dep linux-image
Comment 29 Ertugrul Uyar 2023-11-02 14:09:15 UTC
(In reply to Mario Limonciello (AMD) from comment #28)
> Yeah like I said, you need to install build dependencies.  You can do them
> manually one by one or you can use 'sudo apt build-dep $SOURCE_PACKAGE' to
> do it.
> 
> I don't know the name of the source package used for Tuxedo.  It's something
> like this:
> 
> # sudo apt build-dep linux-image

I tried this: https://phoenixnap.com/kb/build-linux-kernel
sudo apt-get install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison
And it's start to build. Then I keep enter to choose default options for questions.
Comment 30 Ertugrul Uyar 2023-11-02 14:11:46 UTC
(In reply to Ertugrul Uyar from comment #29)
> (In reply to Mario Limonciello (AMD) from comment #28)
> > Yeah like I said, you need to install build dependencies.  You can do them
> > manually one by one or you can use 'sudo apt build-dep $SOURCE_PACKAGE' to
> > do it.
> > 
> > I don't know the name of the source package used for Tuxedo.  It's
> something
> > like this:
> > 
> > # sudo apt build-dep linux-image
> 
> I tried this: https://phoenixnap.com/kb/build-linux-kernel
> sudo apt-get install git fakeroot build-essential ncurses-dev xz-utils
> libssl-dev bc flex libelf-dev bison
> And it's start to build. Then I keep enter to choose default options for
> questions.

Then I get this and installed the missing deppendency.

dpkg-buildpackage --build=binary --no-pre-clean --unsigned-changes --rules-file='make -f debian/rules' --jobs=1 -r'fakeroot -u' -a$(cat debian/arch)
dpkg-buildpackage: info: source package linux-upstream
dpkg-buildpackage: info: source version 6.6.0-1
dpkg-buildpackage: info: source distribution jammy
dpkg-buildpackage: info: source changed by ertugruluyar <ertugruluyar@ertugruluyar-pc>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
make[2]: *** [scripts/Makefile.package:146: bindeb-pkg] Error 3
make[1]: *** [/home/ertugruluyar/Desktop/linux-6.6/Makefile:1538: bindeb-pkg] Error 2
make: *** [Makefile:234: __sub-make] Error 2
Comment 31 Ertugrul Uyar 2023-11-02 14:18:21 UTC
(In reply to Ertugrul Uyar from comment #30)
> (In reply to Ertugrul Uyar from comment #29)
> > (In reply to Mario Limonciello (AMD) from comment #28)
> > > Yeah like I said, you need to install build dependencies.  You can do
> them
> > > manually one by one or you can use 'sudo apt build-dep $SOURCE_PACKAGE'
> to
> > > do it.
> > > 
> > > I don't know the name of the source package used for Tuxedo.  It's
> > something
> > > like this:
> > > 
> > > # sudo apt build-dep linux-image
> > 
> > I tried this: https://phoenixnap.com/kb/build-linux-kernel
> > sudo apt-get install git fakeroot build-essential ncurses-dev xz-utils
> > libssl-dev bc flex libelf-dev bison
> > And it's start to build. Then I keep enter to choose default options for
> > questions.
> 
> Then I get this and installed the missing deppendency.
> 
> dpkg-buildpackage --build=binary --no-pre-clean --unsigned-changes
> --rules-file='make -f debian/rules' --jobs=1 -r'fakeroot -u' -a$(cat
> debian/arch)
> dpkg-buildpackage: info: source package linux-upstream
> dpkg-buildpackage: info: source version 6.6.0-1
> dpkg-buildpackage: info: source distribution jammy
> dpkg-buildpackage: info: source changed by ertugruluyar
> <ertugruluyar@ertugruluyar-pc>
> dpkg-buildpackage: info: host architecture amd64
>  dpkg-source --before-build .
> dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper
> dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied;
> aborting
> dpkg-buildpackage: warning: (Use -d flag to override.)
> make[2]: *** [scripts/Makefile.package:146: bindeb-pkg] Error 3
> make[1]: *** [/home/ertugruluyar/Desktop/linux-6.6/Makefile:1538:
> bindeb-pkg] Error 2
> make: *** [Makefile:234: __sub-make] Error 2

It did things that start CC ... then I get error a few minutes later:
make[5]: *** [Makefile:1913: .] Error 2
make[4]: *** [Makefile:359: __build_one_by_one] Error 2
make[3]: *** [debian/rules:25: build-arch] Error 2
dpkg-buildpackage: error: make -f debian/rules binary subprocess returned exit status 2
make[2]: *** [scripts/Makefile.package:146: bindeb-pkg] Error 2
make[1]: *** [/home/ertugruluyar/Desktop/linux-6.6/Makefile:1538: bindeb-pkg] Error 2
make: *** [Makefile:234: __sub-make] Error 2
Comment 32 Ertugrul Uyar 2023-11-02 14:25:04 UTC
(In reply to Ertugrul Uyar from comment #31)
> (In reply to Ertugrul Uyar from comment #30)
> > (In reply to Ertugrul Uyar from comment #29)
> > > (In reply to Mario Limonciello (AMD) from comment #28)
> > > > Yeah like I said, you need to install build dependencies.  You can do
> > them
> > > > manually one by one or you can use 'sudo apt build-dep $SOURCE_PACKAGE'
> > to
> > > > do it.
> > > > 
> > > > I don't know the name of the source package used for Tuxedo.  It's
> > > something
> > > > like this:
> > > > 
> > > > # sudo apt build-dep linux-image
> > > 
> > > I tried this: https://phoenixnap.com/kb/build-linux-kernel
> > > sudo apt-get install git fakeroot build-essential ncurses-dev xz-utils
> > > libssl-dev bc flex libelf-dev bison
> > > And it's start to build. Then I keep enter to choose default options for
> > > questions.
> > 
> > Then I get this and installed the missing deppendency.
> > 
> > dpkg-buildpackage --build=binary --no-pre-clean --unsigned-changes
> > --rules-file='make -f debian/rules' --jobs=1 -r'fakeroot -u' -a$(cat
> > debian/arch)
> > dpkg-buildpackage: info: source package linux-upstream
> > dpkg-buildpackage: info: source version 6.6.0-1
> > dpkg-buildpackage: info: source distribution jammy
> > dpkg-buildpackage: info: source changed by ertugruluyar
> > <ertugruluyar@ertugruluyar-pc>
> > dpkg-buildpackage: info: host architecture amd64
> >  dpkg-source --before-build .
> > dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper
> > dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied;
> > aborting
> > dpkg-buildpackage: warning: (Use -d flag to override.)
> > make[2]: *** [scripts/Makefile.package:146: bindeb-pkg] Error 3
> > make[1]: *** [/home/ertugruluyar/Desktop/linux-6.6/Makefile:1538:
> > bindeb-pkg] Error 2
> > make: *** [Makefile:234: __sub-make] Error 2
> 
> It did things that start CC ... then I get error a few minutes later:
> make[5]: *** [Makefile:1913: .] Error 2
> make[4]: *** [Makefile:359: __build_one_by_one] Error 2
> make[3]: *** [debian/rules:25: build-arch] Error 2
> dpkg-buildpackage: error: make -f debian/rules binary subprocess returned
> exit status 2
> make[2]: *** [scripts/Makefile.package:146: bindeb-pkg] Error 2
> make[1]: *** [/home/ertugruluyar/Desktop/linux-6.6/Makefile:1538:
> bindeb-pkg] Error 2
> make: *** [Makefile:234: __sub-make] Error 2

Then I did this:
https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
sudo apt-get install libncurses-dev gawk flex bison openssl libssl-dev dkms libelf-dev libudev-dev libpci-dev libiberty-dev autoconf llvm
Comment 33 Ertugrul Uyar 2023-11-02 14:32:59 UTC
(In reply to Ertugrul Uyar from comment #32)
> (In reply to Ertugrul Uyar from comment #31)
> > (In reply to Ertugrul Uyar from comment #30)
> > > (In reply to Ertugrul Uyar from comment #29)
> > > > (In reply to Mario Limonciello (AMD) from comment #28)
> > > > > Yeah like I said, you need to install build dependencies.  You can do
> > > them
> > > > > manually one by one or you can use 'sudo apt build-dep
> $SOURCE_PACKAGE'
> > > to
> > > > > do it.
> > > > > 
> > > > > I don't know the name of the source package used for Tuxedo.  It's
> > > > something
> > > > > like this:
> > > > > 
> > > > > # sudo apt build-dep linux-image
> > > > 
> > > > I tried this: https://phoenixnap.com/kb/build-linux-kernel
> > > > sudo apt-get install git fakeroot build-essential ncurses-dev xz-utils
> > > > libssl-dev bc flex libelf-dev bison
> > > > And it's start to build. Then I keep enter to choose default options
> for
> > > > questions.
> > > 
> > > Then I get this and installed the missing deppendency.
> > > 
> > > dpkg-buildpackage --build=binary --no-pre-clean --unsigned-changes
> > > --rules-file='make -f debian/rules' --jobs=1 -r'fakeroot -u' -a$(cat
> > > debian/arch)
> > > dpkg-buildpackage: info: source package linux-upstream
> > > dpkg-buildpackage: info: source version 6.6.0-1
> > > dpkg-buildpackage: info: source distribution jammy
> > > dpkg-buildpackage: info: source changed by ertugruluyar
> > > <ertugruluyar@ertugruluyar-pc>
> > > dpkg-buildpackage: info: host architecture amd64
> > >  dpkg-source --before-build .
> > > dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper
> > > dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied;
> > > aborting
> > > dpkg-buildpackage: warning: (Use -d flag to override.)
> > > make[2]: *** [scripts/Makefile.package:146: bindeb-pkg] Error 3
> > > make[1]: *** [/home/ertugruluyar/Desktop/linux-6.6/Makefile:1538:
> > > bindeb-pkg] Error 2
> > > make: *** [Makefile:234: __sub-make] Error 2
> > 
> > It did things that start CC ... then I get error a few minutes later:
> > make[5]: *** [Makefile:1913: .] Error 2
> > make[4]: *** [Makefile:359: __build_one_by_one] Error 2
> > make[3]: *** [debian/rules:25: build-arch] Error 2
> > dpkg-buildpackage: error: make -f debian/rules binary subprocess returned
> > exit status 2
> > make[2]: *** [scripts/Makefile.package:146: bindeb-pkg] Error 2
> > make[1]: *** [/home/ertugruluyar/Desktop/linux-6.6/Makefile:1538:
> > bindeb-pkg] Error 2
> > make: *** [Makefile:234: __sub-make] Error 2
> 
> Then I did this:
> https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
> sudo apt-get install libncurses-dev gawk flex bison openssl libssl-dev dkms
> libelf-dev libudev-dev libpci-dev libiberty-dev autoconf llvm

I got the same error.
Comment 34 Mario Limonciello (AMD) 2023-11-02 14:46:17 UTC
You'll need to scroll up and look at the error to find out what's wrong.
It's not in the tail of the stuff you shared.
Comment 35 Ertugrul Uyar 2023-11-02 15:35:25 UTC
(In reply to Mario Limonciello (AMD) from comment #34)
> You'll need to scroll up and look at the error to find out what's wrong.
> It's not in the tail of the stuff you shared.

I did this: https://www.mail-archive.com/kernelnewbies@kernelnewbies.org/msg21536.html
I run this command: scripts/config --disable SYSTEM_TRUSTED_KEYS 
It's asked me question again and I press enter for default. Then start again the build. this time it take 30 minutes around. Then give this error (I think, it's the same error.): 
make[5]: *** [Makefile:1913: .] Error 2
make[4]: *** [Makefile:359: __build_one_by_one] Error 2
make[3]: *** [debian/rules:25: build-arch] Error 2
dpkg-buildpackage: error: make -f debian/rules binary subprocess returned exit status 2
make[2]: *** [scripts/Makefile.package:146: bindeb-pkg] Error 2
make[1]: *** [/home/ertugruluyar/Desktop/linux-6.6/Makefile:1538: bindeb-pkg] Error 2
make: *** [Makefile:234: __sub-make] Error 2


I can't scroll too much, at some point it's stop, I can't see all outputs.
Comment 36 Ertugrul Uyar 2023-11-02 15:42:25 UTC
(In reply to Mario Limonciello (AMD) from comment #34)
> You'll need to scroll up and look at the error to find out what's wrong.
> It's not in the tail of the stuff you shared.

I change my console setting to show unlimeted lines from 1000 lines. But I need to build again to see errors.
If I give you my boot/ conf file, could you build the kernel and send me via google drive sharing?
Comment 37 Mario Limonciello (AMD) 2023-11-02 15:51:48 UTC
Can you share your kernel config to the bug?  Maybe one of us can figure out what needs to be torn out for it to be able to build.
Comment 38 Ertugrul Uyar 2023-11-02 16:29:08 UTC
(In reply to Mario Limonciello (AMD) from comment #37)
> Can you share your kernel config to the bug?  Maybe one of us can figure out
> what needs to be torn out for it to be able to build.

Okey, thank you.
Comment 39 Ertugrul Uyar 2023-11-02 16:30:17 UTC
Created attachment 305347 [details]
Boot Config file
Comment 40 Mario Limonciello (AMD) 2023-11-02 16:48:39 UTC
Created attachment 305348 [details]
fixed up config
Comment 41 Ertugrul Uyar 2023-11-02 17:46:04 UTC
(In reply to Mario Limonciello (AMD) from comment #40)
> Created attachment 305348 [details]
> fixed up config

I am gonna try with this.
Comment 42 Ertugrul Uyar 2023-11-02 18:04:13 UTC
(In reply to Mario Limonciello (AMD) from comment #40)
> Created attachment 305348 [details]
> fixed up config

It take about 15 minutes and give this error at the end:

  LD [M]  net/vmw_vsock/hv_sock.ko
  LD [M]  net/vmw_vsock/vsock_loopback.ko
  LD [M]  net/nsh/nsh.ko
  LD [M]  net/hsr/hsr.ko
  LD [M]  net/qrtr/qrtr.ko
  LD [M]  net/qrtr/qrtr-smd.ko
  LD [M]  net/qrtr/qrtr-tun.ko
  LD [M]  net/qrtr/qrtr-mhi.ko
  LD [M]  virt/lib/irqbypass.ko
make -f ./Makefile ARCH=x86 \
KERNELRELEASE=6.6.0 \
run-command KBUILD_RUN_COMMAND=+./scripts/package/builddeb
  SYMLINK debian/linux-image/lib/modules/6.6.0/build
  INSTALL debian/linux-image/lib/modules/6.6.0/modules.order
  INSTALL debian/linux-image/lib/modules/6.6.0/modules.builtin
  INSTALL debian/linux-image/lib/modules/6.6.0/modules.builtin.modinfo
  INSTALL debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/events/amd/amd-uncore.ko
  INSTALL debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/events/intel/intel-cstate.ko
  INSTALL debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/events/rapl.ko
  INSTALL debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/kernel/cpu/mce/mce-inject.ko
  INSTALL debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/kernel/msr.ko
  SIGN    debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/events/amd/amd-uncore.ko
  SIGN    debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/events/intel/intel-cstate.ko
  SIGN    debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/events/rapl.ko
  SIGN    debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/kernel/cpu/mce/mce-inject.ko
  SIGN    debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/kernel/msr.ko
  INSTALL debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/kernel/cpuid.ko
  SIGN    debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/kernel/cpuid.ko
At main.c:170:
- SSL error:1E08010C:DECODER routines::unsupported: ../crypto/encode_decode/decoder_lib.c:101
sign-file: ./
At main.c:170:
- SSL error:1E08010C:DECODER routines::unsupported: ../crypto/encode_decode/decoder_lib.c:101
sign-file: ./
At main.c:170:
- SSL error:1E08010C:DECODER routines::unsupported: ../crypto/encode_decode/decoder_lib.c:101
sign-file: ./
At main.c:170:
- SSL error:1E08010C:DECODER routines::unsupported: ../crypto/encode_decode/decoder_lib.c:101
sign-file: ./
At main.c:170:
- SSL error:1E08010C:DECODER routines::unsupported: ../crypto/encode_decode/decoder_lib.c:101
sign-file: ./
At main.c:170:
- SSL error:1E08010C:DECODER routines::unsupported: ../crypto/encode_decode/decoder_lib.c:101
sign-file: ./
make[6]: *** [scripts/Makefile.modinst:121: debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/events/amd/amd-uncore.ko] Error 1
make[6]: *** Deleting file 'debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/events/amd/amd-uncore.ko'
make[6]: *** Waiting for unfinished jobs....
make[6]: *** [scripts/Makefile.modinst:121: debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/events/intel/intel-cstate.ko] Error 1
make[6]: *** Deleting file 'debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/events/intel/intel-cstate.ko'
make[6]: *** [scripts/Makefile.modinst:121: debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/events/rapl.ko] Error 1
make[6]: *** Deleting file 'debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/events/rapl.ko'
make[6]: *** [scripts/Makefile.modinst:121: debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/kernel/cpu/mce/mce-inject.ko] Error 1
make[6]: *** Deleting file 'debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/kernel/cpu/mce/mce-inject.ko'
make[6]: *** [scripts/Makefile.modinst:121: debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/kernel/msr.ko] Error 1
make[6]: *** Deleting file 'debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/kernel/msr.ko'
make[6]: *** [scripts/Makefile.modinst:121: debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/kernel/cpuid.ko] Error 1
make[6]: *** Deleting file 'debian/linux-image/lib/modules/6.6.0/kernel/arch/x86/kernel/cpuid.ko'
make[5]: *** [Makefile:1821: modules_install] Error 2
make[4]: *** [Makefile:2036: run-command] Error 2
make[3]: *** [debian/rules:17: binary-arch] Error 2
dpkg-buildpackage: error: make -f debian/rules binary subprocess returned exit status 2
make[2]: *** [scripts/Makefile.package:146: bindeb-pkg] Error 2
make[1]: *** [/home/ertugruluyar/Desktop/linux-6.6/Makefile:1538: bindeb-pkg] Error 2
make: *** [Makefile:234: __sub-make] Error 2
Comment 43 Ertugrul Uyar 2023-11-03 07:16:24 UTC
I don't know what happened exactly but it's building .deb files now. I dıd this things:
https://github.com/openssl/openssl/issues/20293#issuecomment-1461877599 --> I did make modules then make modules_sign. make modules_sign give error and I did this: https://askubuntu.com/a/1178467
then, to create signature, I think, click the link: https://superuser.com/a/1322832 --> In this, I did this: 
"In your linux kernel root folder that you're compiling go to the certs folder and run:"
openssl req -new -nodes -utf8 -sha512 -days 36500 -batch -x509 -config x509.genkey -outform DER -out signing_key.x509 -keyout signing_key.pem
Then I tried this: "make modules_sign" and "make modules_install" and get error, so I decided to disable module signing: https://stackoverflow.com/questions/29806414/how-to-disable-kernel-module-signing-in-linux but I didn't change the value from this UI. So I manually change .config file:
CONFIG_MODULE_SIG=n
CONFIG_MODULE_SIG_ALL=n
I was change this and copy to linux6.6/ folder and then run "make -j$(nproc) bindeb-pkg" then I checked the .config file while is building. In the .config file that used for last building: 
CONFIG_MODULE_SIG=y
# CONFIG_MODULE_SIG_ALL is not set

NOW, I have this .deb file. How I am gonna install this, do I have to use command or I just click and open with KDE Discover. And which file should I install?
-----
dpkg-deb: building package 'linux-image-6.6.0' in '../linux-image-6.6.0_6.6.0-6_amd64.deb'.
dpkg-deb: building package 'linux-libc-dev' in '../linux-libc-dev_6.6.0-6_amd64.deb'.
dpkg-deb: building package 'linux-headers-6.6.0' in '../linux-headers-6.6.0_6.6.0-6_amd64.deb'.
dpkg-deb: building package 'linux-image-6.6.0-dbg' in '../linux-image-6.6.0-dbg_6.6.0-6_amd64.deb'.
 dpkg-genbuildinfo --build=binary -O../linux-upstream_6.6.0-6_amd64.buildinfo
 dpkg-genchanges --build=binary -O../linux-upstream_6.6.0-6_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
-----
Comment 44 Bagas Sanjaya 2023-11-03 09:19:43 UTC
Created attachment 305355 [details]
signature.asc

On Fri, Nov 03, 2023 at 07:16:24AM +0000, bugzilla-daemon@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=218092
> 
> --- Comment #43 from Ertugrul Uyar (ertugruluyar.personal@gmail.com) ---
> I don't know what happened exactly but it's building .deb files now. I dıd
> this
> things:
> https://github.com/openssl/openssl/issues/20293#issuecomment-1461877599 --> I
> did make modules then make modules_sign. make modules_sign give error and I
> did
> this: https://askubuntu.com/a/1178467
> then, to create signature, I think, click the link:
> https://superuser.com/a/1322832 --> In this, I did this: 
> "In your linux kernel root folder that you're compiling go to the certs
> folder
> and run:"
> openssl req -new -nodes -utf8 -sha512 -days 36500 -batch -x509 -config
> x509.genkey -outform DER -out signing_key.x509 -keyout signing_key.pem
> Then I tried this: "make modules_sign" and "make modules_install" and get
> error, so I decided to disable module signing:
>
> https://stackoverflow.com/questions/29806414/how-to-disable-kernel-module-signing-in-linux
> but I didn't change the value from this UI. So I manually change .config
> file:
> CONFIG_MODULE_SIG=n
> CONFIG_MODULE_SIG_ALL=n
> I was change this and copy to linux6.6/ folder and then run "make -j$(nproc)
> bindeb-pkg" then I checked the .config file while is building. In the .config
> file that used for last building: 
> CONFIG_MODULE_SIG=y
> # CONFIG_MODULE_SIG_ALL is not set

To use your own key pair, you need to set CONFIG_MODULE_SIG_KEY to the path
of the desired key.

> 
> NOW, I have this .deb file. How I am gonna install this, do I have to use
> command or I just click and open with KDE Discover. And which file should I
> install?
> -----
> dpkg-deb: building package 'linux-image-6.6.0' in
> '../linux-image-6.6.0_6.6.0-6_amd64.deb'.
> dpkg-deb: building package 'linux-libc-dev' in
> '../linux-libc-dev_6.6.0-6_amd64.deb'.
> dpkg-deb: building package 'linux-headers-6.6.0' in
> '../linux-headers-6.6.0_6.6.0-6_amd64.deb'.
> dpkg-deb: building package 'linux-image-6.6.0-dbg' in
> '../linux-image-6.6.0-dbg_6.6.0-6_amd64.deb'.
>  dpkg-genbuildinfo --build=binary -O../linux-upstream_6.6.0-6_amd64.buildinfo
>  dpkg-genchanges --build=binary -O../linux-upstream_6.6.0-6_amd64.changes
> dpkg-genchanges: info: binary-only upload (no source code included)
>  dpkg-source --after-build .
> dpkg-buildpackage: info: binary-only upload (no source included)

Use apt (the package manager). Only kernel headers and images are needed
to get the kernel running:

```
# apt install ../linux-headers-6.6.0_6.6.0-6_amd64.deb ../linux-image-6.6.0_6.6.0-6_amd64.deb
```

Thanks.
Comment 45 Ertugrul Uyar 2023-11-03 11:36:01 UTC
(In reply to Bagas Sanjaya from comment #44)
> Created attachment 305355 [details]
> signature.asc
> 
> On Fri, Nov 03, 2023 at 07:16:24AM +0000, bugzilla-daemon@kernel.org wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=218092
> > 
> > --- Comment #43 from Ertugrul Uyar (ertugruluyar.personal@gmail.com) ---
> > I don't know what happened exactly but it's building .deb files now. I dıd
> > this
> > things:
> > https://github.com/openssl/openssl/issues/20293#issuecomment-1461877599 -->
> I
> > did make modules then make modules_sign. make modules_sign give error and I
> > did
> > this: https://askubuntu.com/a/1178467
> > then, to create signature, I think, click the link:
> > https://superuser.com/a/1322832 --> In this, I did this: 
> > "In your linux kernel root folder that you're compiling go to the certs
> > folder
> > and run:"
> > openssl req -new -nodes -utf8 -sha512 -days 36500 -batch -x509 -config
> > x509.genkey -outform DER -out signing_key.x509 -keyout signing_key.pem
> > Then I tried this: "make modules_sign" and "make modules_install" and get
> > error, so I decided to disable module signing:
> >
> >
> https://stackoverflow.com/questions/29806414/how-to-disable-kernel-module-signing-in-linux
> > but I didn't change the value from this UI. So I manually change .config
> > file:
> > CONFIG_MODULE_SIG=n
> > CONFIG_MODULE_SIG_ALL=n
> > I was change this and copy to linux6.6/ folder and then run "make
> -j$(nproc)
> > bindeb-pkg" then I checked the .config file while is building. In the
> .config
> > file that used for last building: 
> > CONFIG_MODULE_SIG=y
> > # CONFIG_MODULE_SIG_ALL is not set
> 
> To use your own key pair, you need to set CONFIG_MODULE_SIG_KEY to the path
> of the desired key.
> 
> > 
> > NOW, I have this .deb file. How I am gonna install this, do I have to use
> > command or I just click and open with KDE Discover. And which file should I
> > install?
> > -----
> > dpkg-deb: building package 'linux-image-6.6.0' in
> > '../linux-image-6.6.0_6.6.0-6_amd64.deb'.
> > dpkg-deb: building package 'linux-libc-dev' in
> > '../linux-libc-dev_6.6.0-6_amd64.deb'.
> > dpkg-deb: building package 'linux-headers-6.6.0' in
> > '../linux-headers-6.6.0_6.6.0-6_amd64.deb'.
> > dpkg-deb: building package 'linux-image-6.6.0-dbg' in
> > '../linux-image-6.6.0-dbg_6.6.0-6_amd64.deb'.
> >  dpkg-genbuildinfo --build=binary
> -O../linux-upstream_6.6.0-6_amd64.buildinfo
> >  dpkg-genchanges --build=binary -O../linux-upstream_6.6.0-6_amd64.changes
> > dpkg-genchanges: info: binary-only upload (no source code included)
> >  dpkg-source --after-build .
> > dpkg-buildpackage: info: binary-only upload (no source included)
> 
> Use apt (the package manager). Only kernel headers and images are needed
> to get the kernel running:
> 
> ```
> # apt install ../linux-headers-6.6.0_6.6.0-6_amd64.deb
> ../linux-image-6.6.0_6.6.0-6_amd64.deb
> ```
> 
> Thanks.

Thank you.
Comment 46 Ertugrul Uyar 2023-11-03 11:42:51 UTC
(In reply to Bagas Sanjaya from comment #44)
> Created attachment 305355 [details]
> signature.asc
> 
> On Fri, Nov 03, 2023 at 07:16:24AM +0000, bugzilla-daemon@kernel.org wrote:
> > https://bugzilla.kernel.org/show_bug.cgi?id=218092
> > 
> > --- Comment #43 from Ertugrul Uyar (ertugruluyar.personal@gmail.com) ---
> > I don't know what happened exactly but it's building .deb files now. I dıd
> > this
> > things:
> > https://github.com/openssl/openssl/issues/20293#issuecomment-1461877599 -->
> I
> > did make modules then make modules_sign. make modules_sign give error and I
> > did
> > this: https://askubuntu.com/a/1178467
> > then, to create signature, I think, click the link:
> > https://superuser.com/a/1322832 --> In this, I did this: 
> > "In your linux kernel root folder that you're compiling go to the certs
> > folder
> > and run:"
> > openssl req -new -nodes -utf8 -sha512 -days 36500 -batch -x509 -config
> > x509.genkey -outform DER -out signing_key.x509 -keyout signing_key.pem
> > Then I tried this: "make modules_sign" and "make modules_install" and get
> > error, so I decided to disable module signing:
> >
> >
> https://stackoverflow.com/questions/29806414/how-to-disable-kernel-module-signing-in-linux
> > but I didn't change the value from this UI. So I manually change .config
> > file:
> > CONFIG_MODULE_SIG=n
> > CONFIG_MODULE_SIG_ALL=n
> > I was change this and copy to linux6.6/ folder and then run "make
> -j$(nproc)
> > bindeb-pkg" then I checked the .config file while is building. In the
> .config
> > file that used for last building: 
> > CONFIG_MODULE_SIG=y
> > # CONFIG_MODULE_SIG_ALL is not set
> 
> To use your own key pair, you need to set CONFIG_MODULE_SIG_KEY to the path
> of the desired key.
> 
> > 
> > NOW, I have this .deb file. How I am gonna install this, do I have to use
> > command or I just click and open with KDE Discover. And which file should I
> > install?
> > -----
> > dpkg-deb: building package 'linux-image-6.6.0' in
> > '../linux-image-6.6.0_6.6.0-6_amd64.deb'.
> > dpkg-deb: building package 'linux-libc-dev' in
> > '../linux-libc-dev_6.6.0-6_amd64.deb'.
> > dpkg-deb: building package 'linux-headers-6.6.0' in
> > '../linux-headers-6.6.0_6.6.0-6_amd64.deb'.
> > dpkg-deb: building package 'linux-image-6.6.0-dbg' in
> > '../linux-image-6.6.0-dbg_6.6.0-6_amd64.deb'.
> >  dpkg-genbuildinfo --build=binary
> -O../linux-upstream_6.6.0-6_amd64.buildinfo
> >  dpkg-genchanges --build=binary -O../linux-upstream_6.6.0-6_amd64.changes
> > dpkg-genchanges: info: binary-only upload (no source code included)
> >  dpkg-source --after-build .
> > dpkg-buildpackage: info: binary-only upload (no source included)
> 
> Use apt (the package manager). Only kernel headers and images are needed
> to get the kernel running:
> 
> ```
> # apt install ../linux-headers-6.6.0_6.6.0-6_amd64.deb
> ../linux-image-6.6.0_6.6.0-6_amd64.deb
> ```
> 
> Thanks.

I think, something doesn't work:

ertugruluyar@ertugruluyar-pc:~/Desktop/linux-6.6$ sudo apt install ../linux-headers-6.6.0_6.6.0-6_amd64.deb ../linux-image-6.6.0_6.6.0-6_amd64.deb
[sudo] password for ertugruluyar: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'linux-headers-6.6.0' instead of '../linux-headers-6.6.0_6.6.0-6_amd64.deb'
Note, selecting 'linux-image-6.6.0' instead of '../linux-image-6.6.0_6.6.0-6_amd64.deb'
The following NEW packages will be installed:
  linux-headers-6.6.0 linux-image-6.6.0
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1.799 MB of archives.
After this operation, 1.874 MB of additional disk space will be used.
Get:1 /home/ertugruluyar/Desktop/linux-headers-6.6.0_6.6.0-6_amd64.deb linux-headers-6.6.0 amd64 6.6.0-6 [9.750 kB]
Get:2 /home/ertugruluyar/Desktop/linux-image-6.6.0_6.6.0-6_amd64.deb linux-image-6.6.0 amd64 6.6.0-6 [1.789 MB]                           
Selecting previously unselected package linux-headers-6.6.0.                                                                              
(Reading database ... 334966 files and directories currently installed.)
Preparing to unpack .../linux-headers-6.6.0_6.6.0-6_amd64.deb ...
Unpacking linux-headers-6.6.0 (6.6.0-6) ...
Selecting previously unselected package linux-image-6.6.0.
Preparing to unpack .../linux-image-6.6.0_6.6.0-6_amd64.deb ...
Unpacking linux-image-6.6.0 (6.6.0-6) ...
Setting up linux-image-6.6.0 (6.6.0-6) ...
 * dkms: running auto installation service for kernel 6.6.0                                                                                
Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j6 KERNELRELEASE=6.6.0 -C /lib/modules/6.6.0/build M=/var/lib/dkms/r8125/9.011.01/build......
Signing module:
Secure Boot not enabled on this system.
cleaning build area...

r8125.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.6.0/updates/dkms/

depmod........

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j6 KERNELRELEASE=6.6.0 KDIR=/lib/modules/6.6.0/build....
Signing module:
Secure Boot not enabled on this system.
cleaning build area...

tuxedo_keyboard.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.6.0/updates/dkms/

clevo_wmi.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.6.0/updates/dkms/

clevo_acpi.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.6.0/updates/dkms/

tuxedo_io.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.6.0/updates/dkms/

uniwill_wmi.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.6.0/updates/dkms/

depmod.........
                                                                                                                                    [ OK ]
update-initramfs: Generating /boot/initrd.img-6.6.0
W: Possible missing firmware /lib/firmware/amdgpu/ip_discovery.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega10_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_14_0_0_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_14_0_0_toc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_6_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_6_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_sjt_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_sjt_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_9_4_3_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_9_4_3_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_0_toc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sdma_4_4_2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sdma_6_1_0.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vcn_4_0_3.bin for module amdgpu
I: The initramfs will attempt to resume from /dev/nvme0n1p3
I: (UUID=7d6d065d-987c-406a-904d-0709695ab9e6)
I: Set the RESUME variable to override this.
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Sourcing file `/etc/default/grub.d/tuxedo-theme.cfg'
Sourcing file `/etc/default/grub.d/tuxedo.cfg'
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/tuxedo/theme.txt
Found linux image: /boot/vmlinuz-6.6.0
Found initrd image: /boot/initrd.img-6.6.0
Found linux image: /boot/vmlinuz-6.5.0-10006-tuxedo
Found initrd image: /boot/initrd.img-6.5.0-10006-tuxedo
Found linux image: /boot/vmlinuz-6.5.0-10005-tuxedo
Found initrd image: /boot/initrd.img-6.5.0-10005-tuxedo
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
done
Setting up linux-headers-6.6.0 (6.6.0-6) ...
N: Download is performed unsandboxed as root as file '/home/ertugruluyar/Desktop/linux-headers-6.6.0_6.6.0-6_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
ertugruluyar@ertugruluyar-pc:~/Desktop/linux-6.6$ uname -a
Linux ertugruluyar-pc 6.5.0-10006-tuxedo #6 SMP PREEMPT_DYNAMIC Fri Oct 13 22:06:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Comment 47 Ertugrul Uyar 2023-11-03 11:48:23 UTC
(In reply to Ertugrul Uyar from comment #46)
> 
> I think, something doesn't work:
> 
> ertugruluyar@ertugruluyar-pc:~/Desktop/linux-6.6$ sudo apt install
> ../linux-headers-6.6.0_6.6.0-6_amd64.deb
> ../linux-image-6.6.0_6.6.0-6_amd64.deb
> [sudo] password for ertugruluyar: 
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Note, selecting 'linux-headers-6.6.0' instead of
> '../linux-headers-6.6.0_6.6.0-6_amd64.deb'
> Note, selecting 'linux-image-6.6.0' instead of
> '../linux-image-6.6.0_6.6.0-6_amd64.deb'
> The following NEW packages will be installed:
>   linux-headers-6.6.0 linux-image-6.6.0
> 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0 B/1.799 MB of archives.
> After this operation, 1.874 MB of additional disk space will be used.
> Get:1 /home/ertugruluyar/Desktop/linux-headers-6.6.0_6.6.0-6_amd64.deb
> linux-headers-6.6.0 amd64 6.6.0-6 [9.750 kB]
> Get:2 /home/ertugruluyar/Desktop/linux-image-6.6.0_6.6.0-6_amd64.deb
> linux-image-6.6.0 amd64 6.6.0-6 [1.789 MB]                           
> Selecting previously unselected package linux-headers-6.6.0.                
> 
> (Reading database ... 334966 files and directories currently installed.)
> Preparing to unpack .../linux-headers-6.6.0_6.6.0-6_amd64.deb ...
> Unpacking linux-headers-6.6.0 (6.6.0-6) ...
> Selecting previously unselected package linux-image-6.6.0.
> Preparing to unpack .../linux-image-6.6.0_6.6.0-6_amd64.deb ...
> Unpacking linux-image-6.6.0 (6.6.0-6) ...
> Setting up linux-image-6.6.0 (6.6.0-6) ...
>  * dkms: running auto installation service for kernel 6.6.0                 
> 
> Kernel preparation unnecessary for this kernel. Skipping...
> 
> Building module:
> cleaning build area...
> make -j6 KERNELRELEASE=6.6.0 -C /lib/modules/6.6.0/build
> M=/var/lib/dkms/r8125/9.011.01/build......
> Signing module:
> Secure Boot not enabled on this system.
> cleaning build area...
> 
> r8125.ko.zst:
> Running module version sanity check.
>  - Original module
>    - No original module exists within this kernel
>  - Installation
>    - Installing to /lib/modules/6.6.0/updates/dkms/
> 
> depmod........
> 
> Kernel preparation unnecessary for this kernel. Skipping...
> 
> Building module:
> cleaning build area...
> make -j6 KERNELRELEASE=6.6.0 KDIR=/lib/modules/6.6.0/build....
> Signing module:
> Secure Boot not enabled on this system.
> cleaning build area...
> 
> tuxedo_keyboard.ko.zst:
> Running module version sanity check.
>  - Original module
>    - No original module exists within this kernel
>  - Installation
>    - Installing to /lib/modules/6.6.0/updates/dkms/
> 
> clevo_wmi.ko.zst:
> Running module version sanity check.
>  - Original module
>    - No original module exists within this kernel
>  - Installation
>    - Installing to /lib/modules/6.6.0/updates/dkms/
> 
> clevo_acpi.ko.zst:
> Running module version sanity check.
>  - Original module
>    - No original module exists within this kernel
>  - Installation
>    - Installing to /lib/modules/6.6.0/updates/dkms/
> 
> tuxedo_io.ko.zst:
> Running module version sanity check.
>  - Original module
>    - No original module exists within this kernel
>  - Installation
>    - Installing to /lib/modules/6.6.0/updates/dkms/
> 
> uniwill_wmi.ko.zst:
> Running module version sanity check.
>  - Original module
>    - No original module exists within this kernel
>  - Installation
>    - Installing to /lib/modules/6.6.0/updates/dkms/
> 
> depmod.........
>                                                                             
> [ OK ]
> update-initramfs: Generating /boot/initrd.img-6.6.0
> W: Possible missing firmware /lib/firmware/amdgpu/ip_discovery.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/vega10_cap.bin for module
> amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_cap.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/navi12_cap.bin for module
> amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/psp_14_0_0_ta.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/psp_14_0_0_toc.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_6_ta.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_6_sos.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_cap.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_sjt_mec2.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_sjt_mec.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/gc_9_4_3_rlc.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/gc_9_4_3_mec.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_0_toc.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/sdma_4_4_2.bin for module
> amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/sdma_6_1_0.bin for module
> amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes1.bin
> for module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module
> amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mes.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/vcn_4_0_3.bin for module
> amdgpu
> I: The initramfs will attempt to resume from /dev/nvme0n1p3
> I: (UUID=7d6d065d-987c-406a-904d-0709695ab9e6)
> I: Set the RESUME variable to override this.
> Sourcing file `/etc/default/grub'
> Sourcing file `/etc/default/grub.d/init-select.cfg'
> Sourcing file `/etc/default/grub.d/tuxedo-theme.cfg'
> Sourcing file `/etc/default/grub.d/tuxedo.cfg'
> Generating grub configuration file ...
> Found theme: /usr/share/grub/themes/tuxedo/theme.txt
> Found linux image: /boot/vmlinuz-6.6.0
> Found initrd image: /boot/initrd.img-6.6.0
> Found linux image: /boot/vmlinuz-6.5.0-10006-tuxedo
> Found initrd image: /boot/initrd.img-6.5.0-10006-tuxedo
> Found linux image: /boot/vmlinuz-6.5.0-10005-tuxedo
> Found initrd image: /boot/initrd.img-6.5.0-10005-tuxedo
> Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
> Warning: os-prober will be executed to detect other bootable partitions.
> Its output will be used to detect bootable binaries on them and create new
> boot entries.
> Adding boot menu entry for UEFI Firmware Settings ...
> done
> Setting up linux-headers-6.6.0 (6.6.0-6) ...
> N: Download is performed unsandboxed as root as file
> '/home/ertugruluyar/Desktop/linux-headers-6.6.0_6.6.0-6_amd64.deb' couldn't
> be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
> ertugruluyar@ertugruluyar-pc:~/Desktop/linux-6.6$ uname -a
> Linux ertugruluyar-pc 6.5.0-10006-tuxedo #6 SMP PREEMPT_DYNAMIC Fri Oct 13
> 22:06:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

I think, it is installed, I just need reboot:

ertugruluyar@ertugruluyar-pc:~/Desktop/linux-6.6$ sudo apt install ../linux-headers-6.6.0_6.6.0-6_amd64.deb ../linux-image-6.6.0_6.6.0-6_amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'linux-headers-6.6.0' instead of '../linux-headers-6.6.0_6.6.0-6_amd64.deb'
Note, selecting 'linux-image-6.6.0' instead of '../linux-image-6.6.0_6.6.0-6_amd64.deb'
linux-headers-6.6.0 is already the newest version (6.6.0-6).
linux-image-6.6.0 is already the newest version (6.6.0-6).
The following packages were automatically installed and are no longer required:
  linux-headers-6.5.0-10005-tuxedo linux-image-6.5.0-10005-tuxedo linux-modules-6.5.0-10005-tuxedo linux-modules-extra-6.5.0-10005-tuxedo
  linux-tuxedo-6.5-headers-6.5.0-10005
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Comment 48 Ertugrul Uyar 2023-11-03 12:01:42 UTC
Before trying to sleep, I want to share some conf:

ertugruluyar@ertugruluyar-pc:~$ uname -a
Linux ertugruluyar-pc 6.6.0 #6 SMP PREEMPT_DYNAMIC Fri Nov  3 09:49:44 +03 2023 x86_64 x86_64 x86_64 GNU/Linux
ertugruluyar@ertugruluyar-pc:~$ sudo cat /sys/power/mem_sleep
[sudo] password for ertugruluyar: 
s2idle [deep]
ertugruluyar@ertugruluyar-pc:~$ cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"


Suspend result:
I tried both sleep button that KDE's app menu and closed my laptop lid (which is set to suspend). The result is issue happening like before. My laptop toke a bit more time to open, but not too much.

Should I try hibernate etc. options?
Is the issue related with this?:
ertugruluyar@ertugruluyar-pc:~$ sudo cat /sys/power/mem_sleep
[sudo] password for ertugruluyar: 
s2idle [deep]
Comment 49 Mario Limonciello (AMD) 2023-11-03 12:05:09 UTC
The patch doesn't work for your system this means.

> ertugruluyar@ertugruluyar-pc:~$ sudo cat /sys/power/mem_sleep
[sudo] password for ertugruluyar: 
s2idle [deep]

From you above logs your system uses S3 by default, so it's not surprising the patch doesn't work. It's only for systems that use s2idle.

So there is some other problem than we have observed in the past.
Comment 50 Ertugrul Uyar 2023-11-03 13:36:56 UTC
(In reply to Mario Limonciello (AMD) from comment #49)
> The patch doesn't work for your system this means.
> 
> > ertugruluyar@ertugruluyar-pc:~$ sudo cat /sys/power/mem_sleep
> [sudo] password for ertugruluyar: 
> s2idle [deep]
> 
> From you above logs your system uses S3 by default, so it's not surprising
> the patch doesn't work. It's only for systems that use s2idle.
> 
> So there is some other problem than we have observed in the past.

Okey, then, should I change to s2idle or remove the kernel that patched. I am on tuxedo's kernel by choose on grub menu. What do you suggest to me, should I just add amd_iommu=off to my grub config? Thank you for your helps by the way.
Comment 51 Bagas Sanjaya 2023-11-03 13:58:58 UTC
(In reply to Ertugrul Uyar from comment #50)
> (In reply to Mario Limonciello (AMD) from comment #49)
> > The patch doesn't work for your system this means.
> > 
> > > ertugruluyar@ertugruluyar-pc:~$ sudo cat /sys/power/mem_sleep
> > [sudo] password for ertugruluyar: 
> > s2idle [deep]
> > 
> > From you above logs your system uses S3 by default, so it's not surprising
> > the patch doesn't work. It's only for systems that use s2idle.
> > 
> > So there is some other problem than we have observed in the past.
> 
> Okey, then, should I change to s2idle or remove the kernel that patched. I
> am on tuxedo's kernel by choose on grub menu. What do you suggest to me,
> should I just add amd_iommu=off to my grub config? Thank you for your helps
> by the way.

Try that!
Comment 52 Ertugrul Uyar 2023-11-03 14:04:15 UTC
(In reply to Bagas Sanjaya from comment #51)
> (In reply to Ertugrul Uyar from comment #50)
> > (In reply to Mario Limonciello (AMD) from comment #49)
> > > The patch doesn't work for your system this means.
> > > 
> > > > ertugruluyar@ertugruluyar-pc:~$ sudo cat /sys/power/mem_sleep
> > > [sudo] password for ertugruluyar: 
> > > s2idle [deep]
> > > 
> > > From you above logs your system uses S3 by default, so it's not
> surprising
> > > the patch doesn't work. It's only for systems that use s2idle.
> > > 
> > > So there is some other problem than we have observed in the past.
> > 
> > Okey, then, should I change to s2idle or remove the kernel that patched. I
> > am on tuxedo's kernel by choose on grub menu. What do you suggest to me,
> > should I just add amd_iommu=off to my grub config? Thank you for your helps
> > by the way.
> 
> Try that!

How can I change to s2idle?
Comment 53 Mario Limonciello (AMD) 2023-11-03 14:10:17 UTC
It's in the BIOS if it's offered for your system. Lenovo calls it sleep mode.
If you have it set it to Windows.
Comment 54 Ertugrul Uyar 2023-11-03 14:55:37 UTC
(In reply to Mario Limonciello (AMD) from comment #53)
> It's in the BIOS if it's offered for your system. Lenovo calls it sleep mode.
> If you have it set it to Windows.

My BIOS is restricted, I can't access all options. There is a custom UI. And I looked, but there is no option that sleep mode.
Should I try this: https://www.reddit.com/r/pop_os/comments/fwfehh/comment/fmoih9d/ --> sudo kernelstub -a "mem_sleep_default=deep"
OR
https://bbs.archlinux.org/viewtopic.php?pid=1917280#p1917280 --> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem_sleep_default=s2idle" and "sudo apt update-grub" and "reboot".

Also should I try this with tuxedo's kernel? --> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem_sleep_default=s2idle"
Comment 55 Mario Limonciello (AMD) 2023-11-03 16:31:53 UTC
No; if the BIOS doesn't support it you won't be able to do it in Linux.

For now I suggest you keep using the kernel command line option that turns off the IOMMU.
Comment 56 Ertugrul Uyar 2023-11-03 17:37:49 UTC
(In reply to Mario Limonciello (AMD) from comment #55)
> No; if the BIOS doesn't support it you won't be able to do it in Linux.
> 
> For now I suggest you keep using the kernel command line option that turns
> off the IOMMU.

Okey, thanks. Should I remove patched kernel and use tuxedo's kernel?
Comment 57 Mario Limonciello (AMD) 2023-11-03 17:38:53 UTC
Yes, the patch does nothing for you.
Comment 58 Ertugrul Uyar 2023-11-03 19:38:18 UTC
(In reply to Mario Limonciello (AMD) from comment #57)
> Yes, the patch does nothing for you.

I used this command to remove kernel:
sudo apt-get purge linux-image-6.6.0

Thank you all, for your helps. I hope this issue fixed in future.

Note You need to log in before you can comment on or make changes to this bug.