Laptop hanging on black screen, when suspended and woke up!
A message that is not in the archive (sent off-list or not yet received): [email protected]/
https://bugzilla.kernel.org/show_bug.cgi?id=218092
Mario Limonciello (AMD) ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|x86-64 |Platform_x86
Assignee|platform_x86_64@kernel-bugs |drivers_platform_x86@kernel
|.osdl.org |-bugs.osdl.org
Product|Platform Specific/Hardware |DriversSignature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #1 from Mario Limonciello (AMD) ([email protected]) --- Have you already updated your BIOS to the latest BIOS?
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #2 from Mario Limonciello (AMD) ([email protected]) --- Also; please add a full dmesg and your dmidecode output.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #3 from Ertugrul Uyar ([email protected]) --- (In reply to Mario Limonciello (AMD) from comment #1)
Quoted 1 line
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
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #4 from Ertugrul Uyar ([email protected]) --- Created attachment 305343
--> https://bugzilla.kernel.org/attachment.cgi?id=305343&action=edit
dmesg
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #5 from Ertugrul Uyar ([email protected]) --- Created attachment 305344
--> https://bugzilla.kernel.org/attachment.cgi?id=305344&action=edit
dmidecode
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #6 from Ertugrul Uyar ([email protected]) --- Comment on attachment 305343
--> https://bugzilla.kernel.org/attachment.cgi?id=305343
dmesg
I used "sudo dmesg" command and result:
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #7 from Ertugrul Uyar ([email protected]) --- Comment on attachment 305344
--> https://bugzilla.kernel.org/attachment.cgi?id=305344
dmidecode
I used "sudo dmidecode" command and result:
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #8 from Ertugrul Uyar ([email protected]) --- Comment on attachment 305343
--> https://bugzilla.kernel.org/attachment.cgi?id=305343
dmesg
I used "sudo dmesg" command and result:
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #9 from Ertugrul Uyar ([email protected]) --- I am sorry for the extra comments, this is the first time for me to use this platform.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #10 from Mario Limonciello (AMD) ([email protected]) --- 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?
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #11 from Ertugrul Uyar ([email protected]) --- (In reply to Mario Limonciello (AMD) from comment #10)
Quoted 5 lines
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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #12 from Mario Limonciello (AMD) ([email protected]) --- Created attachment 305346
--> https://bugzilla.kernel.org/attachment.cgi?id=305346&action=edit
possible patch
Here's a patch that adds your system to the quirk list. Let's see if that helps.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #13 from Mario Limonciello (AMD) ([email protected]) --- 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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #14 from Ertugrul Uyar ([email protected]) --- 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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #15 from Ertugrul Uyar ([email protected]) --- Is there a instructions for the kernel patch?
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #16 from Mario Limonciello (AMD) ([email protected]) --- 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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #17 from Ertugrul Uyar ([email protected]) --- Okey, I'll try, but could you explain 7th instruction more? Thank you very much in advance for your help.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #18 from Mario Limonciello (AMD) ([email protected]) --- 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'.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #19 from Ertugrul Uyar ([email protected]) --- (In reply to Mario Limonciello (AMD) from comment #18)
Quoted 2 lines
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?
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #20 from Ertugrul Uyar ([email protected]) --- (In reply to Mario Limonciello (AMD) from comment #16)
Quoted 21 lines
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/grubto change the grub policy from "hidden" to "menu"
2) Modify/etc/default/grubto 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"
Quoted 4 lines
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"
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #21 from Ertugrul Uyar ([email protected]) --- (In reply to Ertugrul Uyar from comment #20)
Quoted 25 lines
(In reply to Mario Limonciello (AMD) from comment #16)
Quoted 8 lines
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/grubto change the grub policy from "hidden" to"menu"
Quoted 13 lines
2) Modify
/etc/default/grubto 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"Quoted 2 lines
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
Quoted 7 lines
the
Quoted 2 lines
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
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #22 from Ertugrul Uyar ([email protected]) --- (In reply to Ertugrul Uyar from comment #19)
Quoted 6 lines
(In reply to Mario Limonciello (AMD) from comment #18)
Quoted 2 lines
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
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #23 from Ertugrul Uyar ([email protected]) --- (In reply to Mario Limonciello (AMD) from comment #16)
Quoted 2 lines
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?
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #24 from Mario Limonciello (AMD) ([email protected]) --- 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
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #25 from Ertugrul Uyar ([email protected]) --- (In reply to Mario Limonciello (AMD) from comment #24)
Quoted 6 lines
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:
Quoted 2 lines
Quoted 2 lines
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"?
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #26 from Mario Limonciello (AMD) ([email protected]) ---
Quoted 3 lines
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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #27 from Ertugrul Uyar ([email protected]) --- (In reply to Mario Limonciello (AMD) from comment #26)
Quoted 8 lines
Quoted 2 lines
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
Quoted 1 line
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
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #28 from Mario Limonciello (AMD) ([email protected]) --- 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
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #29 from Ertugrul Uyar ([email protected]) --- (In reply to Mario Limonciello (AMD) from comment #28)
Quoted 8 lines
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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #30 from Ertugrul Uyar ([email protected]) --- (In reply to Ertugrul Uyar from comment #29)
Quoted 9 lines
(In reply to Mario Limonciello (AMD) from comment #28)
Quoted 5 lines
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
Quoted 2 lines
like this:
Quoted 7 lines
Quoted 1 line
# sudo apt build-dep linux-imageI 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
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #31 from Ertugrul Uyar ([email protected]) --- (In reply to Ertugrul Uyar from comment #30)
Quoted 32 lines
(In reply to Ertugrul Uyar from comment #29)
Quoted 2 lines
(In reply to Mario Limonciello (AMD) from comment #28)
Quoted 1 line
Yeah like I said, you need to install build dependencies. You can do
them
Quoted 1 line
Quoted 1 line
manually one by one or you can use 'sudo apt build-dep $SOURCE_PACKAGE'
to
Quoted 6 lines
Quoted 3 lines
do it.
I don't know the name of the source package used for Tuxedo. It's
something
Quoted 2 lines
like this:
Quoted 7 lines
Quoted 1 line
# sudo apt build-dep linux-imageI 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 .
Quoted 8 lines
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
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #32 from Ertugrul Uyar ([email protected]) --- (In reply to Ertugrul Uyar from comment #31)
Quoted 42 lines
(In reply to Ertugrul Uyar from comment #30)
Quoted 32 lines
(In reply to Ertugrul Uyar from comment #29)
Quoted 2 lines
(In reply to Mario Limonciello (AMD) from comment #28)
Quoted 1 line
Yeah like I said, you need to install build dependencies. You can do
them
Quoted 1 line
Quoted 1 line
manually one by one or you can use 'sudo apt build-dep $SOURCE_PACKAGE'
to
Quoted 6 lines
Quoted 3 lines
do it.
I don't know the name of the source package used for Tuxedo. It's
something
Quoted 2 lines
like this:
Quoted 7 lines
Quoted 1 line
# sudo apt build-dep linux-imageI 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 .Quoted 8 lines
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
Quoted 10 lines
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
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #33 from Ertugrul Uyar ([email protected]) --- (In reply to Ertugrul Uyar from comment #32)
Quoted 56 lines
(In reply to Ertugrul Uyar from comment #31)
Quoted 6 lines
(In reply to Ertugrul Uyar from comment #30)
Quoted 5 lines
(In reply to Ertugrul Uyar from comment #29)
Quoted 2 lines
(In reply to Mario Limonciello (AMD) from comment #28)
Quoted 1 line
Yeah like I said, you need to install build dependencies. You can do
them
Quoted 1 line
Quoted 1 line
manually one by one or you can use 'sudo apt build-dep
$SOURCE_PACKAGE'
Quoted 5 lines
Quoted 5 lines
to
Quoted 4 lines
Quoted 3 lines
do it.
I don't know the name of the source package used for Tuxedo. It's
something
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
like this:
# sudo apt build-dep linux-imageI 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 optionsfor
Quoted 23 lines
Quoted 14 lines
Quoted 1 line
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 .Quoted 8 lines
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 2Quoted 10 lines
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
Quoted 4 lines
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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #34 from Mario Limonciello (AMD) ([email protected]) --- 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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #35 from Ertugrul Uyar ([email protected]) --- (In reply to Mario Limonciello (AMD) from comment #34)
Quoted 2 lines
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/[email protected]/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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #36 from Ertugrul Uyar ([email protected]) --- (In reply to Mario Limonciello (AMD) from comment #34)
Quoted 2 lines
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?
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #37 from Mario Limonciello (AMD) ([email protected]) --- 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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #38 from Ertugrul Uyar ([email protected]) --- (In reply to Mario Limonciello (AMD) from comment #37)
Quoted 2 lines
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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #39 from Ertugrul Uyar ([email protected]) --- Created attachment 305347
--> https://bugzilla.kernel.org/attachment.cgi?id=305347&action=edit
Boot Config file
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #40 from Mario Limonciello (AMD) ([email protected]) --- Created attachment 305348
--> https://bugzilla.kernel.org/attachment.cgi?id=305348&action=edit
fixed up config
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #41 from Ertugrul Uyar ([email protected]) --- (In reply to Mario Limonciello (AMD) from comment #40)
Quoted 2 lines
Created attachment 305348 [details]
fixed up config
I am gonna try with this.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #42 from Ertugrul Uyar ([email protected]) --- (In reply to Mario Limonciello (AMD) from comment #40)
Quoted 2 lines
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 INSTALLdebian/linux-image/lib/modules/6.6.0/kernel/arch/x86/events/amd/amd-uncore.ko
INSTALLdebian/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 INSTALLdebian/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 SIGNdebian/linux-image/lib/modules/6.6.0/kernel/arch/x86/events/amd/amd-uncore.ko
SIGNdebian/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
SIGNdebian/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
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #43 from Ertugrul Uyar ([email protected]) --- 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=nCONFIG_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)
-----
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
Quoted 17 lines · On Fri, Nov 03, 2023 at 07:16:24AM +0000, [email protected] wrote:
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #43 from Ertugrul Uyar ([email protected]) --- 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 makemodules_sign. makemodules_signgive 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: "makemodules_sign" and "makemodules_install" and get error, so I decided to disable module signing:
https://stackoverflow.com/questions/29806414/how-to-disable-kernel-module-signing-in-linux
Quoted 8 lines
but I didn't change the value from this UI. So I manually change .config file:
CONFIG_MODULE_SIG=nCONFIG_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_ALLis not set
To use your own key pair, you need to set CONFIG_MODULE_SIG_KEY to the path of the desired key.
Quoted 10 lines
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
Quoted 8 lines
'../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.
Signature · 1 line
An old man doll... just what I always wanted! - Clara
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #44 from Bagas Sanjaya ([email protected]) ---
Quoted 20 lines · On Fri, Nov 03, 2023 at 07:16:24AM +0000, [email protected] wrote:
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #43 from Ertugrul Uyar ([email protected]) --- 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 makemodules_sign. makemodules_signgive 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: "makemodules_sign" and "makemodules_install" and get error, so I decided to disable module signing:
Quoted 10 lines
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=nCONFIG_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_ALLis not set
To use your own key pair, you need to set CONFIG_MODULE_SIG_KEY to the path of the desired key.
Quoted 10 lines
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
Quoted 8 lines
'../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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #45 from Ertugrul Uyar ([email protected]) --- (In reply to Bagas Sanjaya from comment #44)
Quoted 65 lines
Created attachment 305355 [details]
signature.ascQuoted 7 lines · On Fri, Nov 03, 2023 at 07:16:24AM +0000, [email protected] wrote:
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #43 from Ertugrul Uyar ([email protected]) --- 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
Quoted 4 lines
did make modules then make
modules_sign. makemodules_signgive error and I did
this: https://askubuntu.com/a/1178467
then, to create signature, I think, click the link:Quoted 10 lines
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: "makemodules_sign" and "makemodules_install" and get error, so I decided to disable module signing:https://stackoverflow.com/questions/29806414/how-to-disable-kernel-module-signing-in-linux
Quoted 5 lines
but I didn't change the value from this UI. So I manually change .config file:
CONFIG_MODULE_SIG=nCONFIG_MODULE_SIG_ALL=n
I was change this and copy to linux6.6/ folder and then run "make-j$(nproc)
Quoted 1 line
bindeb-pkg" then I checked the .config file while is building. In the
.config
Quoted 3 lines
file that used for last building:
CONFIG_MODULE_SIG=y
#CONFIG_MODULE_SIG_ALLis not setTo use your own key pair, you need to set
CONFIG_MODULE_SIG_KEYto the path of the desired key.Quoted 14 lines
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
Quoted 4 lines
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:
Quoted 6 lines
``` # 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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #46 from Ertugrul Uyar ([email protected]) --- (In reply to Bagas Sanjaya from comment #44)
Quoted 65 lines
Created attachment 305355 [details]
signature.ascQuoted 7 lines · On Fri, Nov 03, 2023 at 07:16:24AM +0000, [email protected] wrote:
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #43 from Ertugrul Uyar ([email protected]) --- 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
Quoted 4 lines
did make modules then make
modules_sign. makemodules_signgive error and I did
this: https://askubuntu.com/a/1178467
then, to create signature, I think, click the link:Quoted 10 lines
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: "makemodules_sign" and "makemodules_install" and get error, so I decided to disable module signing:https://stackoverflow.com/questions/29806414/how-to-disable-kernel-module-signing-in-linux
Quoted 5 lines
but I didn't change the value from this UI. So I manually change .config file:
CONFIG_MODULE_SIG=nCONFIG_MODULE_SIG_ALL=n
I was change this and copy to linux6.6/ folder and then run "make-j$(nproc)
Quoted 1 line
bindeb-pkg" then I checked the .config file while is building. In the
.config
Quoted 3 lines
file that used for last building:
CONFIG_MODULE_SIG=y
#CONFIG_MODULE_SIG_ALLis not setTo use your own key pair, you need to set
CONFIG_MODULE_SIG_KEYto the path of the desired key.Quoted 14 lines
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
Quoted 4 lines
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:
Quoted 6 lines
``` # 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
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #47 from Ertugrul Uyar ([email protected]) --- (In reply to Ertugrul Uyar from comment #46)
Quoted 168 lines
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.0Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j6 KERNELRELEASE=6.6.0 -C/lib/modules/6.6.0/buildM=/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.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/vega10_cap.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/sienna_cichlid_cap.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/navi12_cap.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/psp_14_0_0_ta.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/psp_14_0_0_toc.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/psp_13_0_6_ta.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/psp_13_0_6_sos.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/aldebaran_cap.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/aldebaran_sjt_mec2.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/aldebaran_sjt_mec.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/gc_9_4_3_rlc.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/gc_9_4_3_mec.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/gc_11_0_0_toc.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/sdma_4_4_2.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/sdma_6_1_0.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/sienna_cichlid_mes1.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/sienna_cichlid_mes.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/navi10_mes.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/gc_11_0_3_mes.binfor module amdgpu
W: Possible missing firmware/lib/firmware/amdgpu/vcn_4_0_3.binfor 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-tuxedoMemtest86+ 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)
Quoted 3 lines
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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #48 from Ertugrul Uyar ([email protected]) --- 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]
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #49 from Mario Limonciello (AMD) ([email protected]) --- The patch doesn't work for your system this means.
Quoted 1 line
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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #50 from Ertugrul Uyar ([email protected]) --- (In reply to Mario Limonciello (AMD) from comment #49)
Quoted 10 lines
The patch doesn't work for your system this means.
Quoted 1 line
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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
Bagas Sanjaya ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #51 from Bagas Sanjaya ([email protected]) --- (In reply to Ertugrul Uyar from comment #50)
Quoted 10 lines
(In reply to Mario Limonciello (AMD) from comment #49)
Quoted 9 lines
The patch doesn't work for your system this means.
Quoted 1 line
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.
Quoted 6 lines
Quoted 1 line
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!
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #52 from Ertugrul Uyar ([email protected]) --- (In reply to Bagas Sanjaya from comment #51)
Quoted 12 lines
(In reply to Ertugrul Uyar from comment #50)
Quoted 8 lines
(In reply to Mario Limonciello (AMD) from comment #49)
Quoted 7 lines
The patch doesn't work for your system this means.
Quoted 1 line
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
Quoted 2 lines
Quoted 2 lines
the patch doesn't work. It's only for systems that use s2idle.
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
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?
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #53 from Mario Limonciello (AMD) ([email protected]) --- 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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
--- Comment #54 from Ertugrul Uyar ([email protected]) --- (In reply to Mario Limonciello (AMD) from comment #53)
Quoted 2 lines
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"
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218092
Mario Limonciello (AMD) ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Platform_x86 |IOMMU
Assignee|drivers_platform_x86@kernel |[email protected]
|-bugs.osdl.org |ernel.org--- Comment #55 from Mario Limonciello (AMD) ([email protected]) --- 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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.