Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] ThinkPad T14 Gen5 - blank screen
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 650
Location: Universe

PostPosted: Sun Jul 28, 2024 1:33 pm    Post subject: [SOLVED] ThinkPad T14 Gen5 - blank screen Reply with quote

Hi *.

I'm switching from Toshiba Dynabook i7-1165G7 to ThinkPad T14 Gen5 Ultra 7 155U. First time after switching hardware I have just freeze when booting kernel. No matter if i boot from rEFInd (last message about using secure boot and then nothing), kexec from Ubuntu Live (simply black screen) or straight from UEFI (same black screen). Tested with 6.6.38 and 6.9.10 (config » https://pastebin.com/EveAi0Zc). Tried with just two options "vga=normal nomodeset" to force text mode and see kernel panic (if it happens) - still nothing. Any ideas where to start debuging? Ubuntu live works fine, so has to be kernel-related.


Last edited by manwe_ on Sat Aug 10, 2024 9:09 pm; edited 2 times in total
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 3038

PostPosted: Sun Jul 28, 2024 1:40 pm    Post subject: Re: ThinkPad T14 Gen5 - blank screen Reply with quote

manwe_ wrote:
Hi *.

I'm switching from Toshiba Dynabook i7-1165G7 to ThinkPad T14 Gen5 Ultra 7 155U. First time switching hardware I have just freeze when booting kernel. No matter if i boot straight from rEFInd (last message about using secure boot and then nothing), kexec from Ubuntu Live (simply black screen) or straight from UEFI (same black screen). Tested with 6.6.38 and 6.9.10 (config » https://pastebin.com/EveAi0Zc). Tried with just two options "vga=normal nomodeset" to force text mode and see kernel panic (if it happens) - still nothing. Any ideas where to start debuging? Ubuntu live works fine, so has to be kernel-related.


Please post basic info, may need to use wgetpaste:

  • lspci -nnk
  • kernel & config you are trying to use, if manually compiling
Back to top
View user's profile Send private message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 650
Location: Universe

PostPosted: Sun Jul 28, 2024 1:47 pm    Post subject: Reply with quote

Here's lspci: https://bpa.st/NCVA

I've already linked kernel config, gentoo-linux-6.9.10 with two patches: add-acs-overrides and more-uarches-for-kernel-6.8-rc4+ (I'm using CONFIG_MNATIVE_INTEL=y).
Back to top
View user's profile Send private message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 650
Location: Universe

PostPosted: Sun Jul 28, 2024 2:37 pm    Post subject: Reply with quote

I'm tyring to eliminate things one by one but still nothing. Pure gentoo-linux-6.9.10 (without patches, CONFIG_GENERIC_CPU=y, config » https://paste.gentoo.zip/J7p7QVi8), without secure boot (kernel is signed, but still…) and all I have is frozen screen https://i.imgur.com/RpKe8sM.jpeg
Back to top
View user's profile Send private message
lekto
Apprentice
Apprentice


Joined: 20 Sep 2014
Posts: 207
Location: Ancient Rome

PostPosted: Sun Jul 28, 2024 3:08 pm    Post subject: Reply with quote

Maybe firmware (sys-kernel/linux-firmware) is missing or is outdated? Can you ssh into machine and look into dmesg?
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5050
Location: Bavaria

PostPosted: Sun Jul 28, 2024 4:17 pm    Post subject: Reply with quote

manwe_

I see you have a very new meteor lake ... and there is no module i915 loaded:
Code:
00:02.0 VGA compatible controller [0300]: Intel Corporation Meteor Lake-P [Intel Arc Graphics] [8086:7d55] (rev 08)
   Subsystem: Lenovo Device [17aa:2327]

... so, maybe you will need Intel Xe Graphics ?

What do you see if you boot with an UbuntuLiveCD here ?
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5050
Location: Bavaria

PostPosted: Sun Jul 28, 2024 4:26 pm    Post subject: Reply with quote

P.S.:

I've only just seen that you have the same thing as me:
Code:
# CONFIG_MODULES is not set

Then you also need KUNIT:
https://wiki.gentoo.org/wiki/User:Pietinger/Experimental/Manual_Configuring_Kernel_Version_6.8#Experimental_driver_for_Intel_Xe_series_GPUs


(I have not proofed if every necessary file is here:
Code:
CONFIG_EXTRA_FIRMWARE="amdgpu/polaris10_ce.bin amdgpu/polaris10_ce_2.bin amdgpu/polaris10_k_mc.bin amdgpu/polaris10_k_smc.bin amdgpu/polaris10_mc.bin amdgpu/polaris10_me.bin amdgpu/polaris10_me_2.bin amdgpu/polaris10_mec.bin amdgpu/polaris10_mec2.bin amdgpu/polaris10_mec2_2.bin amdgpu/polaris10_mec_2.bin amdgpu/polaris10_pfp.bin amdgpu/polaris10_pfp_2.bin amdgpu/polaris10_rlc.bin amdgpu/polaris10_sdma.bin amdgpu/polaris10_sdma1.bin amdgpu/polaris10_smc.bin amdgpu/polaris10_smc_sk.bin amdgpu/polaris10_uvd.bin amdgpu/polaris10_vce.bin i915/kbl_dmc_ver1_04.bin i915/kbl_guc_33.0.0.bin i915/kbl_huc_ver02_00_1810.bin i915/skl_dmc_ver1.bin i915/tgl_dmc_ver2_08.bin intel-ucode/06-8e-0c intel-ucode/06-9e-0d intel/ibt-11-5.ddc intel/ibt-11-5.sfi intel/ibt-12-16.ddc intel/ibt-12-16.sfi intel/ibt-17-16-1.ddc intel/ibt-17-16-1.sfi intel/ibt-18-16-1.ddc intel/ibt-18-16-1.sfi intel/ibt-19-0-4.ddc intel/ibt-19-0-4.sfi intel/ibt-20-1-3.sfi intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq intel/ibt-hw-37.8.bseq intel/sof-tplg/sof-hda-generic-2ch.tplg intel/sof/sof-cfl.ri intel/sof/sof-tgl-h.ri intel/sof/sof-tgl.ri iwlwifi-8000C-36.ucode iwlwifi-8265-36.ucode iwlwifi-9000-pu-b0-jf-b0-46.ucode iwlwifi-9260-th-b0-jf-b0-46.ucode iwlwifi-QuZ-a0-hr-b0-50.ucode iwlwifi-QuZ-a0-hr-b0-59.ucode iwlwifi-QuZ-a0-hr-b0-66.ucode iwlwifi-QuZ-a0-hr-b0-72.ucode iwlwifi-QuZ-a0-hr-b0-73.ucode iwlwifi-QuZ-a0-hr-b0-74.ucode iwlwifi-QuZ-a0-hr-b0-77.ucode iwlwifi-cc-a0-50.ucode iwlwifi-cc-a0-59.ucode iwlwifi-cc-a0-66.ucode iwlwifi-cc-a0-72.ucode iwlwifi-cc-a0-73.ucode iwlwifi-cc-a0-74.ucode iwlwifi-cc-a0-77.ucode regulatory.db regulatory.db.p7s"

_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 650
Location: Universe

PostPosted: Sun Jul 28, 2024 5:43 pm    Post subject: Reply with quote

pietinger wrote:
What do you see if you boot with an UbuntuLiveCD here ?

Ubuntu and Gentoo LiveCD are working fine.

pietinger wrote:

I've only just seen that you have the same thing as me:
Code:
# CONFIG_MODULES is not set

Then you also need KUNIT:
https://wiki.gentoo.org/wiki/User:Pietinger/Experimental/Manual_Configuring_Kernel_Version_6.8#Experimental_driver_for_Intel_Xe_series_GPUs


Yes, I'm not using modules. Enabling Xe didn't help, but what I found is that I can kexec successfuly from… Gentoo LiveCD. After that system boots fine (X shows blank screen, but one problem at a time). Here's dmesg from LiveCD https://bpa.st/CLLQ and here's dmesg from my kernel after kexec https://bpa.st/SCQQ

pietinger wrote:

(I have not proofed if every necessary file is here:

This kernel/system is being used on few PCs. All with Intel 9th gen or above, but one with AMD GPU.
Back to top
View user's profile Send private message
lekto
Apprentice
Apprentice


Joined: 20 Sep 2014
Posts: 207
Location: Ancient Rome

PostPosted: Sun Jul 28, 2024 5:47 pm    Post subject: Reply with quote

Code:
[    3.223519] i915 0000:00:02.0: Direct firmware load for i915/mtl_dmc.bin failed with error -2
[    3.223521] i915 0000:00:02.0: [drm] Failed to load DMC firmware i915/mtl_dmc.bin. Disabling runtime power management.
[    3.223522] i915 0000:00:02.0: [drm] DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[    3.247998] ACPI: battery: Slot [BAT0] (battery present)
[    3.310174] Loading firmware: i915/mtl_guc_70.bin
[    3.310186] i915 0000:00:02.0: [drm] *ERROR* GT0: GuC firmware i915/mtl_guc_70.bin: fetch failed -ENOENT
[    3.310189] i915 0000:00:02.0: [drm] GT0: GuC firmware(s) can be downloaded from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[    3.311175] Loading firmware: i915/mtl_guc_70.bin
[    3.311183] i915 0000:00:02.0: [drm] *ERROR* GT1: GuC firmware i915/mtl_guc_70.bin: fetch failed -ENOENT
[    3.311184] i915 0000:00:02.0: [drm] GT1: GuC firmware(s) can be downloaded from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[    3.312039] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/mtl_guc_70.bin version 0.0.0
[    3.312115] i915 0000:00:02.0: [drm] *ERROR* GT0: GuC initialization failed -ENOENT
[    3.312117] i915 0000:00:02.0: [drm] *ERROR* GT0: Enabling uc failed (-5)
[    3.312118] i915 0000:00:02.0: [drm] *ERROR* GT0: Failed to initialize GPU, declaring it wedged!
(…)
[    6.138857] Bluetooth: hci0: Failed to load Intel firmware file intel/ibt-0180-0041.sfi (-2)


Looks like you are missing some firmware.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5050
Location: Bavaria

PostPosted: Sun Jul 28, 2024 5:52 pm    Post subject: Reply with quote

manwe_ wrote:
pietinger wrote:
What do you see if you boot with an UbuntuLiveCD here ?

Ubuntu and Gentoo LiveCD are working fine.

Sorry I was imprecise; I meant: Which module does ubuntu show in lspci -n for the graphics card ? (I guess: Also i915)

NOW ... I see more in the dmesg:
Code:
[    3.223508] Loading firmware: i915/mtl_dmc.bin
[    3.223519] i915 0000:00:02.0: Direct firmware load for i915/mtl_dmc.bin failed with error -2
[    3.223521] i915 0000:00:02.0: [drm] Failed to load DMC firmware i915/mtl_dmc.bin. Disabling runtime power management.
[    3.223522] i915 0000:00:02.0: [drm] DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[    3.247998] ACPI: battery: Slot [BAT0] (battery present)
[    3.310174] Loading firmware: i915/mtl_guc_70.bin
[    3.310186] i915 0000:00:02.0: [drm] *ERROR* GT0: GuC firmware i915/mtl_guc_70.bin: fetch failed -ENOENT

_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 650
Location: Universe

PostPosted: Sun Jul 28, 2024 6:52 pm    Post subject: Reply with quote

That's fucked up… With this firmware file system freezes the same way even via Gentoo LiveCD kexec. Without it kexec works fine. Only difference is "i915/mtl_guc_70.bin" (linux-firmware-20240709-r1) in CONFIG_EXTRA_FIRMWARE https://paste.gentoo.zip/kugMwZ2j

So looks like it's definitely related to GPU. But what mixeup of options should I make, no idea. Tomorrow I'll check ubuntu live cd (works every time, even X) what drivers are being used.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5050
Location: Bavaria

PostPosted: Sun Jul 28, 2024 7:00 pm    Post subject: Reply with quote

What happens if you give these kernel command line parameters (together WITH firmware files):
Code:
i915.enable_guc=2 i915.enable_psr=0

?
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 650
Location: Universe

PostPosted: Mon Jul 29, 2024 4:11 pm    Post subject: Reply with quote

I've checked ubuntu live with 6.8 kernel. It loads few other files for i915:
Code:
i915/mtl_dmc.bin
i915/mtl_guc_70.bin
i915/mtl_gsc_1.bin
i915/mtl_huc_gsc.bin

so I've added all, but still doesn't work. With or without
Code:
i915.enable_guc=2 i915.enable_psr=0


But maybe it's not i915/xe related? Gentoo live cd doesn't mention i915 at dmesg at all, it uses efifb driver.

-- update:

Same with 6.10.2
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5050
Location: Bavaria

PostPosted: Mon Jul 29, 2024 5:42 pm    Post subject: Reply with quote

manwe_

maybe check in Ubuntu if the i915 module was loaded (->udev) with special parameters ?

(keep all firmware modules you have seen in Ubuntu in your CONFIG_EXTRA_FIRMWARE=)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 650
Location: Universe

PostPosted: Mon Jul 29, 2024 6:46 pm    Post subject: Reply with quote

pietinger wrote:
maybe check in Ubuntu if the i915 module was loaded (->udev) with special parameters ?


Not sure how to do it. Here's from Ubuntu
udevadm info -a -p /sys/class/net/fb0: https://bpa.st/FKDA
lsmod: https://bpa.st/TBDA
dmesg: https://bpa.st/QVUA

Looks like Ubuntu is loading xe despite only i915 showing up in dmesg, so I've tried kernel with i915 + xe + all files mentioned in firmware loading. Nothing… Here's that config for 6.10.2: https://paste.gentoo.zip/uUW6hb8P
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3938
Location: Hamburg

PostPosted: Mon Jul 29, 2024 7:26 pm    Post subject: Reply with quote

I do still run a rather old kernel at my 1 1/2 years old P14s Thinkpad: 6.6.43 w/o problems (amd64/23.0/split-usr/hardened, KDE): https://paste.gentoo.zip/IocFQDHY
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5050
Location: Bavaria

PostPosted: Mon Jul 29, 2024 7:45 pm    Post subject: Reply with quote

What happens if you:
1. delete the kernel command line parms I have given you, AND
2. enable: # CONFIG_INTEL_MEI_GSC and # CONFIG_INTEL_MEI_GSC_PROXY

... yes, I have read somewhere (cannot remember) that the new graphics from intel wants MEI ... and I have seen this in the Ubuntu syslog:
Code:
[   12.218163] i915 0000:00:02.0: [drm] VT-d active for gfx access
[   12.232593] i915 0000:00:02.0: vgaarb: deactivate vga console
[   12.232621] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[   12.246405] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   12.270206] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/mtl_dmc.bin (v2.21)

[   12.340657] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/mtl_guc_70.bin version 70.20.0
[   12.360430] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[   12.360442] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[   12.360649] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled

=>

[   12.373128] mei_gsc_proxy 0000:00:16.0-0f73db04-97ab-4125-b893-e904ad0d5464: bound 0000:00:02.0 (ops i915_gsc_proxy_component_ops [i915])

<=

[   12.373675] i915 0000:00:02.0: [drm] GT1: GuC firmware i915/mtl_guc_70.bin version 70.20.0
[   12.373680] i915 0000:00:02.0: [drm] GT1: HuC firmware i915/mtl_huc_gsc.bin version 8.5.4
[   12.426253] i915 0000:00:02.0: [drm] GT1: HuC: authenticated for clear media
[   12.426754] i915 0000:00:02.0: [drm] GT1: GUC: submission enabled
[   12.426756] i915 0000:00:02.0: [drm] GT1: GUC: SLPC enabled
[   12.426827] i915 0000:00:02.0: [drm] GT1: GUC: RC enabled
[   12.431271] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized

[   12.574481] i915 0000:00:02.0: [drm] GT1: Loaded GSC firmware i915/mtl_gsc_1.bin (cv1.0, r102.0.0.1655, svn 1)
[   12.594862] i915 0000:00:02.0: [drm] GT1: HuC: authenticated for all workloads

I think these are the relevant modules:
Code:
mei                   172032  3 mei_gsc_proxy,mei_me

xe                   2707456  0
drm_gpuvm              45056  1 xe
drm_exec               16384  2 drm_gpuvm,xe
gpu_sched              61440  1 xe
drm_suballoc_helper    16384  1 xe
drm_ttm_helper         12288  1 xe

i915                 4272128  15

_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5050
Location: Bavaria

PostPosted: Mon Jul 29, 2024 11:58 pm    Post subject: Reply with quote

P.S.: Maybe you will need also PXP:
Code:
Device Drivers  --->
    Misc devices  --->
        [*]Intel Management Engine Interface
        [*] Intel PXP services of ME Interface

    Graphics support  --->
        [*] Enable Intel PXP support

_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 650
Location: Universe

PostPosted: Tue Jul 30, 2024 5:39 pm    Post subject: Reply with quote

pietinger wrote:
What happens if you:
1. delete the kernel command line parms I have given you, AND
2. enable: # CONFIG_INTEL_MEI_GSC and # CONFIG_INTEL_MEI_GSC_PROXY


First of all, thank you for your patience. Because I'm running out of :wink:

Unfortunately did not help. I've tried two configs, with XE (https://paste.gentoo.zip/3mL52Y8B) and without (https://paste.gentoo.zip/initygTE).

I've tried netconsole to catch kernel panic if there's any, but nothing shows up on the second host. Just freezes after this: https://i.imgur.com/zRUCuw9.jpeg
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5050
Location: Bavaria

PostPosted: Tue Jul 30, 2024 7:55 pm    Post subject: Reply with quote

manwe_ wrote:
First of all, thank you for your patience. Because I'm running out of :wink:

You are very Welcome ! :D

manwe_ wrote:
Just freezes after this: https://i.imgur.com/zRUCuw9.jpeg

I can not open this.

manwe_ wrote:
Unfortunately did not help.

I have now checked your whole .config ... and the only option I miss (but I am unsure if it is the reason) is this:
Code:
# CONFIG_IRQ_REMAP is not set

(It is strongly recommended to enable it).

All others are correct (also both SIMPLE_* are correctly disabled) - with the exception you have not tried PXP:
Code:
CONFIG_X86_INTEL_LPSS=y

# CONFIG_SYSFB_SIMPLEFB is not set

CONFIG_INTEL_MEI=y
CONFIG_INTEL_MEI_ME=y
CONFIG_INTEL_MEI_GSC=y
CONFIG_INTEL_MEI_HDCP=y
----> ? --->  # CONFIG_INTEL_MEI_PXP is not set
CONFIG_INTEL_MEI_GSC_PROXY=y

CONFIG_PINCTRL_SUNRISEPOINT=y
CONFIG_PINCTRL_TIGERLAKE=y

CONFIG_MFD_INTEL_LPSS=y
CONFIG_MFD_INTEL_LPSS_ACPI=y
CONFIG_MFD_INTEL_LPSS_PCI=y

CONFIG_AGP_INTEL=y
CONFIG_INTEL_GTT=y
CONFIG_DRM_FBDEV_EMULATION=y

CONFIG_DRM_I915=y

# CONFIG_DRM_SIMPLEDRM is not set

CONFIG_FB_EFI=y

CONFIG_FRAMEBUFFER_CONSOLE=y

CONFIG_INTEL_IOMMU=y

If this does not help ... then ... I am running out of ideas ... :(

I guess you have much experience with a manually configured kernel, so it would be senseless to ask if you really boot the kernel you think you boot ... and if you have checked if the firmware files are really added to the kernel image (you should see a message if not) ... could be only if there was no update of linux-firmware for a long time ...

... so, maybe your initramfs (/usr/src/initrd.cpio) is doing something it shouldn't be doing.

My last idea would be to simply use the Ubuntu kernel (with its initramfs) if our dist kernel does not work ...
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 650
Location: Universe

PostPosted: Wed Jul 31, 2024 9:57 am    Post subject: Reply with quote

pietinger wrote:

manwe_ wrote:
Just freezes after this: https://i.imgur.com/zRUCuw9.jpeg

I can not open this.


How about this? https://imgur.com/zRUCuw9

pietinger wrote:

If this does not help ... then ... I am running out of ideas ... :(


Tried with CONFIG_IRQ_REMAP and CONFIG_INTEL_MEI_PXP, same story.

pietinger wrote:
I guess you have much experience with a manually configured kernel

Been using Gentoo for 20 years with my own initramfs, etc. I know a thing or two :wink:

pietinger wrote:
so it would be senseless to ask if you really boot the kernel you think you boot ... and if you have checked if the firmware files are really added to the kernel image (you should see a message if not) ... could be only if there was no update of linux-firmware for a long time ...

Nah, I boot proper kernel file, and without those firmware files it works with Gentoo LiveCD + kexec. I'm guessing that because LiveCD is using efifb and i915 in my kernel fails without firmware, it somehow stays in that efifb "state". Firmware files are up 2 date, 20240709-r1.

pietinger wrote:
... so, maybe your initramfs (/usr/src/initrd.cpio) is doing something it shouldn't be doing.

I have my own initrd embedded in kernel, but I don't know how I can mess with anything. With debug loglevel I should be able to see at least messages from kernel, before it even touches the initramfs. Same exact kernel works on two PCs (one with 9th gen Intel CPU + GPU and one with AMD GPU) and Toshiba with Intel 11th gen CPU + GPU.

pietinger wrote:
My last idea would be to simply use the Ubuntu kernel (with its initramfs) if our dist kernel does not work ...

Ubuntu kernel uses their own initrd, I need my because it does few important things like decrypting root partition :wink:

-- update:
Just out of curiosity I've tried without initramfs, to be stuck on "cannot mount root partition", but of course it didn't help.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5050
Location: Bavaria

PostPosted: Wed Jul 31, 2024 10:33 am    Post subject: Reply with quote

manwe_ wrote:
How about this? https://imgur.com/zRUCuw9

Also no chance ... :(
(even with javascript enabled)

Last thing we could do is to use (all) these kernel command line parameters and hope to see more:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Kernel_Commandline_Parameter#Parameter:_earlycon.3Defifb_and_others
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 650
Location: Universe

PostPosted: Wed Jul 31, 2024 4:00 pm    Post subject: Reply with quote

We've got something! Those params worked at least to some degree. Unfortunately it scrolls to quick, I'll try to record slo-mo movie. Here's where boot process ends. No panic, no nothing, just stops. https://postimg.cc/3kKL3jxY I don't have anything RAID-related in that laptop, one nVME with GPT partition table.

-- update:
One step further. Function raid6_select_algo was caused by CONFIG_RAID6_PQ=y, which was selected by BTRFS, so I've removed BTRFS from kernel. Now it stops few lines further: https://postimg.cc/xNXYCky1

Here's shitty quality (thank you, Samsung) slo-mo of the first boot, with RAID6: https://photos.app.goo.gl/9e68PZdFcP43HUPb8

-- update2:
with "acpi=off acpi_osi=" it scrolls until i915: https://postimg.cc/sQV7tzPc
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5050
Location: Bavaria

PostPosted: Wed Jul 31, 2024 6:17 pm    Post subject: Reply with quote

manwe_ wrote:
Here's shitty quality (thank you, Samsung) slo-mo of the first boot, with RAID6: https://photos.app.goo.gl/9e68PZdFcP43HUPb8

This I can not open.

manwe_ wrote:
-- update2:
with "acpi=off acpi_osi=" it scrolls until i915: https://postimg.cc/sQV7tzPc

And have your tried to enable # CONFIG_TRANSPARENT_HUGEPAGE is not set ?

(I use: CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y )

(TBH: It is hard to believe that this is such a problem ... 8O )
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 650
Location: Universe

PostPosted: Fri Aug 02, 2024 12:10 pm    Post subject: Reply with quote

Not much difference with hugepages, it just says
Code:
i915 0000:00:02.0: [drm] Using Transparent Hugepages

in the last line and than stops.

Quote:

(TBH: It is hard to believe that this is such a problem ... 8O )

Me neither. Never had such problems with kernel. Out of curiosity, could you share your moduleless config? Maybe it'll work for me and I can go from there.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum