Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RESOLVED] Boot freezing loading init ramdisk on new laptop
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Spinmc
n00b
n00b


Joined: 06 Sep 2010
Posts: 42
Location: Edinburgh, (UK)

PostPosted: Fri Oct 18, 2024 12:25 pm    Post subject: [RESOLVED] Boot freezing loading init ramdisk on new laptop Reply with quote

TLDR Version in case anyone sees this post finding for their solution. It seems like the hardware of this new laptop is too new for the recent kernels in the Gentoo repo, live USBs of both Gentoo and Arch fail to boot, but not Ubuntu's one hinting that Ubuntu might have more recent patches. Will keep trying more LiveCDs as they are created to monitor the status

---

Hello all,

I've been using gentoo for more than 10 years on multiple laptops and never had something like this before! I bought a new laptop with Intel(R) Core(TM) Ultra 7 155H and integrated ARC Graphics, and Samsung 990 pro NVME drives. I wanted to install Gentoo in dual boot with win 11, so the first thing I did was to disable secure-boot (Ok I could also add a signature as per docs, but I couldn't be arsed at this stage!)


Trying to load a live iso of Gentoo (2024-10-06) failed getting stuck right after loading initial ramdisk, so I decided to download a ubuntu live iso and install from there. The ubuntu live booted up correctly and I proceeded to install gentoo as usual, but on rebooting I was having the same problem as the live disk. I looked up for the issue here and noticed the advice on simple framebuffer to be enabled so I did that. After many attempts, I tried to unmask the latest kernel, just in case the hardware was not supported by the current version? So I recompliled also with 6.11.3 with this config: https://pastebin.com/Sjt8tcTD but had the same problem again.

I also tried to use the -dist kernel but I had the same problem again.

Has this ever happened to anyone else?

Disk Setup:

/dev/nvme0n1 (full disk) Windows
/dev/nvme1n1p1 EFI partition for gentoo
/dev/nvme1n1p2 /boot partition for gentoo
/dev/nvme1n1p3 LUKS partition used as LVM PV once unlocked, which contains /dev/vg1/root /dev/vg1/var and /dev/vg1/home)

Kernel installed with installkernel with default configuration in /usr/lib/kernel/install.conf

Grub installed with these flags (output from eix)

Code:
     Installed versions:  2.12-r5(2/2.12-r5)^t(08:58:55 17/10/24)(device-mapper fonts mount nls sdl themes truetype -doc -efiemu -libzfs -secureboot -test -verify-sig GRUB_PLATFORMS="efi-64 pc -coreboot -efi-32 -emu -ieee1275 -loongson -multiboot -qemu -qemu-mips -uboot -xen -xen-32 -xen-pvh")


/etc/default/grub as below:
Code:
GRUB_DISTRIBUTOR="Gentoo"
GRUB_CMDLINE_LINUX="root_trim=yes rd.luks.allow-discards rd.luks.options=discard root_delay=3 crypt_root=UUID=f9ad740f-1e94-467c-af2f-537713bf9c78:lvm real_root=/dev/mapper/vg1-root rootfstype=ext4"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_GFXMODE=640x480
GRUB_GFXPAYLOAD_LINUX="keep"
GRUB_DISABLE_LINUX_PARTUUID=false
GRUB_DISABLE_OS_PROBER=false


dracut config as below:
Code:
install_items+=" /lib/firmware/i915/mtl_dmc.bin /lib/firmware/i915/mtl_guc_70.bin /lib/firmware/i915/mtl_huc_gsc.bin /lib/firmware/i915/mtl_gsc_1.bin "
hostonly="yes"
force_drivers+=" i915 drm_display_helper drm_ttm_helper xe nvme "
add_dracutmodules+=" crypt crypt-gpg dm lvm rootfs-block "
lvmconf="yes"



Again Kernel config as here: https://pastebin.com/Sjt8tcTD

emerge --info output

Code:

Portage 3.0.65 (python 3.12.6-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-13, glibc-2.39-r6, 6.11.0-8-generic x86_64)
=================================================================
System uname: Linux-6.11.0-8-generic-x86_64-Intel-R-_Core-TM-_Ultra_7_155H-with-glibc2.39
KiB Mem:    65254284 total,  54784716 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 16 Oct 2024 13:00:00 +0000
Head commit of repository gentoo: e081e082783227007577b3ba97867ed30ff69fd1
sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.2::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.1::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.12.6_p4::gentoo
dev-lang/rust-bin:         1.80.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-apps/systemd:          255.11::gentoo
sys-devel/binutils:        2.42-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           18.1.8::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 3

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=24576 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=24576 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=24576 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=24576 -O2 -pipe"
GENTOO_MIRRORS="https://gentoo.mirror.garr.it/     http://mirror.bytemark.co.uk/gentoo/     https://www.mirrorservice.org/sites/distfiles.gentoo.org/"
LANG="C.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j21"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kf6compat kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb uxa vaapi valgrind vdpau vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


What am I missing? Thanks in advance for your help!


Last edited by Spinmc on Fri Oct 18, 2024 6:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5168
Location: Bavaria

PostPosted: Fri Oct 18, 2024 1:34 pm    Post subject: Reply with quote

Spinmc wrote:
What am I missing? Thanks in advance for your help!

I don't know if this missing option is the cause, but this module activates other modules and is therefore essential for any Intel machine.
Code:
# CONFIG_X86_INTEL_LPSS is not set

Without this, the option CONFIG_MFD_INTEL_LPSS_PCI=y would not help:

BTW: this should not be the reason for your problem, but it should be enabled also (i2c needs pinctrl):
# CONFIG_PINCTRL is not set

See also: https://wiki.gentoo.org/wiki/User:Pietinger/Experimental/Manual_Configuring_Current_Kernel#Platform_support

P.S.: Check also if these are the correct firmware binaries for your GPU:
Code:
CONFIG_EXTRA_FIRMWARE="i915/mtl_dmc.bin i915/mtl_guc_70.bin i915/mtl_huc_gsc.bin i915/mtl_gsc_1.bin"

(Here you miss also the microcode for the CPU)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Spinmc
n00b
n00b


Joined: 06 Sep 2010
Posts: 42
Location: Edinburgh, (UK)

PostPosted: Fri Oct 18, 2024 4:02 pm    Post subject: Reply with quote

Thanks pietinger for your support, really appreciated!

However, unfortunately it doesn't seem to go beyond the attempt of loading the initramfs. I am saying attempt to load the initramfs, because I'm not entirely confinced it even succeeds to do it. In fact, I tried to add rd.break to the kernel cmd line which ideally should break into the initrd shell, but it freezes without doing so.

Following your advice I loaded the microcode in the kernel and in in the initramfs.

Regarding on whether that is the right firmware for mu GPU, I am confident it should be, because frome the live usb of Ubuntu, I can see these lines in dmesg

Code:

[   14.075994] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/mtl_dmc.bin (v2.23)
[   14.316134] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/mtl_guc_70.bin version 70.29.2
[   14.339913] i915 0000:00:02.0: [drm] GT1: GuC firmware i915/mtl_guc_70.bin version 70.29.2
[   14.339917] i915 0000:00:02.0: [drm] GT1: HuC firmware i915/mtl_huc_gsc.bin version 8.5.4
[   14.515778] i915 0000:00:02.0: [drm] GT1: Loaded GSC firmware i915/mtl_gsc_1.bin (cv1.0, r102.0.10.1878, svn 1)



With the changes done, this is the diff with the previous kernel config
Code:

21c21
< CONFIG_PAHOLE_VERSION=0
---
> CONFIG_PAHOLE_VERSION=127
339c339
< # CONFIG_X86_INTEL_LPSS is not set
---
> CONFIG_X86_INTEL_LPSS=y
347c347
< # CONFIG_MCORE2 is not set
---
> CONFIG_MCORE2=y
349c349
< CONFIG_GENERIC_CPU=y
---
> # CONFIG_GENERIC_CPU is not set
351a352,354
> CONFIG_X86_INTEL_USERCOPY=y
> CONFIG_X86_USE_PPRO_CHECKSUM=y
> CONFIG_X86_P6_NOP=y
360c363
< # CONFIG_PROCESSOR_SELECT is not set
---
> CONFIG_PROCESSOR_SELECT=y
363,365c366,368
< CONFIG_CPU_SUP_HYGON=y
< CONFIG_CPU_SUP_CENTAUR=y
< CONFIG_CPU_SUP_ZHAOXIN=y
---
> # CONFIG_CPU_SUP_HYGON is not set
> # CONFIG_CPU_SUP_CENTAUR is not set
> # CONFIG_CPU_SUP_ZHAOXIN is not set
743a747
> CONFIG_ARCH_HAS_CPU_PASID=y
1054a1059
> CONFIG_IOMMU_MM_DATA=y
1565a1571
> # CONFIG_RFKILL_GPIO is not set
1628c1634
< # CONFIG_VMD is not set
---
> CONFIG_VMD=y
1700c1706
< CONFIG_EXTRA_FIRMWARE="i915/mtl_dmc.bin i915/mtl_guc_70.bin i915/mtl_huc_gsc.bin i915/mtl_gsc_1.bin"
---
> CONFIG_EXTRA_FIRMWARE="i915/mtl_dmc.bin i915/mtl_guc_70.bin i915/mtl_huc_gsc.bin i915/mtl_gsc_1.bin intel-ucode/06-aa-01 intel-ucode/06-aa-02 intel-ucode/06-aa-04"
1823a1830,1831
> CONFIG_NVME_KEYRING=m
> CONFIG_NVME_AUTH=m
1832c1840
< # CONFIG_NVME_TCP_TLS is not set
---
> CONFIG_NVME_TCP_TLS=y
1834c1842,1850
< # CONFIG_NVME_TARGET is not set
---
> CONFIG_NVME_TARGET=m
> CONFIG_NVME_TARGET_DEBUGFS=y
> CONFIG_NVME_TARGET_PASSTHRU=y
> CONFIG_NVME_TARGET_LOOP=m
> CONFIG_NVME_TARGET_FC=m
> # CONFIG_NVME_TARGET_FCLOOP is not set
> CONFIG_NVME_TARGET_TCP=m
> # CONFIG_NVME_TARGET_TCP_TLS is not set
> CONFIG_NVME_TARGET_AUTH=y
1880a1897
> # CONFIG_TI_ST is not set
1888a1906
> # CONFIG_INTEL_MEI_VSC_HW is not set
1900a1919
> # CONFIG_GP_PCI1XXXX is not set
2375a2395,2396
> # CONFIG_KEYBOARD_GPIO is not set
> # CONFIG_KEYBOARD_GPIO_POLLED is not set
2377a2399
> # CONFIG_KEYBOARD_MATRIX is not set
2411a2434
> # CONFIG_MOUSE_GPIO is not set
2463a2487
> # CONFIG_SERIO_GPIO_PS2 is not set
2533a2558
> CONFIG_SERIAL_MCTRL_GPIO=y
2581a2607
> # CONFIG_I2C_MUX_GPIO is not set
2583a2610
> # CONFIG_I2C_MUX_PCA954x is not set
2625a2653
> # CONFIG_I2C_CBUS_GPIO is not set
2628a2657
> # CONFIG_I2C_GPIO is not set
2672a2702
> # CONFIG_SPI_GPIO is not set
2678a2709
> # CONFIG_SPI_OC_TINY is not set
2733,2734c2764,2897
< # CONFIG_PINCTRL is not set
< # CONFIG_GPIOLIB is not set
---
> CONFIG_PINCTRL=y
> CONFIG_PINMUX=y
> CONFIG_PINCONF=y
> CONFIG_GENERIC_PINCONF=y
> # CONFIG_DEBUG_PINCTRL is not set
> # CONFIG_PINCTRL_AMD is not set
> # CONFIG_PINCTRL_CY8C95X0 is not set
> # CONFIG_PINCTRL_MCP23S08 is not set
> # CONFIG_PINCTRL_SX150X is not set
>
> #
> # Intel pinctrl drivers
> #
> # CONFIG_PINCTRL_BAYTRAIL is not set
> # CONFIG_PINCTRL_CHERRYVIEW is not set
> # CONFIG_PINCTRL_LYNXPOINT is not set
> CONFIG_PINCTRL_INTEL=y
> # CONFIG_PINCTRL_INTEL_PLATFORM is not set
> # CONFIG_PINCTRL_ALDERLAKE is not set
> # CONFIG_PINCTRL_BROXTON is not set
> # CONFIG_PINCTRL_CANNONLAKE is not set
> # CONFIG_PINCTRL_CEDARFORK is not set
> # CONFIG_PINCTRL_DENVERTON is not set
> # CONFIG_PINCTRL_ELKHARTLAKE is not set
> # CONFIG_PINCTRL_EMMITSBURG is not set
> # CONFIG_PINCTRL_GEMINILAKE is not set
> # CONFIG_PINCTRL_ICELAKE is not set
> # CONFIG_PINCTRL_JASPERLAKE is not set
> # CONFIG_PINCTRL_LAKEFIELD is not set
> # CONFIG_PINCTRL_LEWISBURG is not set
> CONFIG_PINCTRL_METEORLAKE=y
> CONFIG_PINCTRL_METEORPOINT=y
> # CONFIG_PINCTRL_SUNRISEPOINT is not set
> # CONFIG_PINCTRL_TIGERLAKE is not set
> # end of Intel pinctrl drivers
>
> #
> # Renesas pinctrl drivers
> #
> # end of Renesas pinctrl drivers
>
> CONFIG_GPIOLIB=y
> CONFIG_GPIOLIB_FASTPATH_LIMIT=512
> CONFIG_GPIO_ACPI=y
> CONFIG_GPIOLIB_IRQCHIP=y
> # CONFIG_DEBUG_GPIO is not set
> # CONFIG_GPIO_SYSFS is not set
> CONFIG_GPIO_CDEV=y
> CONFIG_GPIO_CDEV_V1=y
>
> #
> # Memory mapped GPIO drivers
> #
> # CONFIG_GPIO_AMDPT is not set
> # CONFIG_GPIO_DWAPB is not set
> # CONFIG_GPIO_EXAR is not set
> # CONFIG_GPIO_GENERIC_PLATFORM is not set
> # CONFIG_GPIO_GRANITERAPIDS is not set
> # CONFIG_GPIO_MB86S7X is not set
> # CONFIG_GPIO_AMD_FCH is not set
> # end of Memory mapped GPIO drivers
>
> #
> # Port-mapped I/O GPIO drivers
> #
> # CONFIG_GPIO_VX855 is not set
> # CONFIG_GPIO_F7188X is not set
> # CONFIG_GPIO_IT87 is not set
> # CONFIG_GPIO_SCH311X is not set
> # CONFIG_GPIO_WINBOND is not set
> # CONFIG_GPIO_WS16C48 is not set
> # end of Port-mapped I/O GPIO drivers
>
> #
> # I2C GPIO expanders
> #
> # CONFIG_GPIO_FXL6408 is not set
> # CONFIG_GPIO_DS4520 is not set
> # CONFIG_GPIO_MAX7300 is not set
> # CONFIG_GPIO_MAX732X is not set
> # CONFIG_GPIO_PCA953X is not set
> # CONFIG_GPIO_PCA9570 is not set
> # CONFIG_GPIO_PCF857X is not set
> # CONFIG_GPIO_TPIC2810 is not set
> # end of I2C GPIO expanders
>
> #
> # MFD GPIO expanders
> #
> # CONFIG_GPIO_ELKHARTLAKE is not set
> # end of MFD GPIO expanders
>
> #
> # PCI GPIO expanders
> #
> # CONFIG_GPIO_AMD8111 is not set
> # CONFIG_GPIO_BT8XX is not set
> # CONFIG_GPIO_ML_IOH is not set
> # CONFIG_GPIO_PCI_IDIO_16 is not set
> # CONFIG_GPIO_PCIE_IDIO_24 is not set
> # CONFIG_GPIO_RDC321X is not set
> # end of PCI GPIO expanders
>
> #
> # SPI GPIO expanders
> #
> # CONFIG_GPIO_MAX3191X is not set
> # CONFIG_GPIO_MAX7301 is not set
> # CONFIG_GPIO_MC33880 is not set
> # CONFIG_GPIO_PISOSR is not set
> # CONFIG_GPIO_XRA1403 is not set
> # end of SPI GPIO expanders
>
> #
> # USB GPIO expanders
> #
> # end of USB GPIO expanders
>
> #
> # Virtual GPIO drivers
> #
> # CONFIG_GPIO_AGGREGATOR is not set
> # CONFIG_GPIO_LATCH is not set
> # CONFIG_GPIO_MOCKUP is not set
> # CONFIG_GPIO_VIRTIO is not set
> # CONFIG_GPIO_SIM is not set
> # end of Virtual GPIO drivers
>
> #
> # GPIO Debugging utilities
> #
> # CONFIG_GPIO_VIRTUSER is not set
> # end of GPIO Debugging utilities
>
2750a2914
> # CONFIG_MANAGER_SBS is not set
2755a2920,2921
> # CONFIG_CHARGER_GPIO is not set
> # CONFIG_CHARGER_LT3651 is not set
2758a2925,2930
> # CONFIG_CHARGER_BQ24257 is not set
> # CONFIG_CHARGER_BQ24735 is not set
> # CONFIG_CHARGER_BQ2515X is not set
> # CONFIG_CHARGER_BQ25890 is not set
> # CONFIG_CHARGER_BQ25980 is not set
> # CONFIG_CHARGER_BQ256XX is not set
2761a2934
> # CONFIG_CHARGER_RT9455 is not set
2832a3006
> # CONFIG_SENSORS_LTC2992 is not set
2895a3070
> # CONFIG_SENSORS_SHT15 is not set
3054a3230
> # CONFIG_MEN_A21_WDT is not set
3077a3254
> # CONFIG_MFD_AAT2870_CORE is not set
3139a3317
> # CONFIG_TPS65010 is not set
3144a3323
> # CONFIG_MFD_TPS65910 is not set
3310a3490
> # CONFIG_VIDEO_IMX214 is not set
3334a3515
> # CONFIG_VIDEO_OV2659 is not set
3337a3519
> # CONFIG_VIDEO_OV4689 is not set
3374a3557
> # CONFIG_VIDEO_AD5820 is not set
3419a3603
> # CONFIG_VIDEO_ADV7180 is not set
3420a3605
> # CONFIG_VIDEO_ADV7604 is not set
3434a3620
> # CONFIG_VIDEO_TW9900 is not set
3642a3829
> # CONFIG_DRM_PANEL_WIDECHIPS_WS2401 is not set
3701a3889
> # CONFIG_FB_VIA is not set
3717a3906
> # CONFIG_FB_SSD1307 is not set
3747a3937,3938
> # CONFIG_LCD_L4F00242T03 is not set
> # CONFIG_LCD_LMS283GF05 is not set
3758a3950
> # CONFIG_BACKLIGHT_KTD253 is not set
3767a3960
> # CONFIG_BACKLIGHT_GPIO is not set
4019a4213,4223
> # CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH is not set
> # CONFIG_SND_SOC_INTEL_BYTCR_RT5651_MACH is not set
> # CONFIG_SND_SOC_INTEL_CHT_BSW_RT5672_MACH is not set
> # CONFIG_SND_SOC_INTEL_CHT_BSW_RT5645_MACH is not set
> # CONFIG_SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH is not set
> # CONFIG_SND_SOC_INTEL_CHT_BSW_NAU8824_MACH is not set
> # CONFIG_SND_SOC_INTEL_BYT_CHT_CX2072X_MACH is not set
> # CONFIG_SND_SOC_INTEL_BYT_CHT_DA7213_MACH is not set
> # CONFIG_SND_SOC_INTEL_BYT_CHT_ES8316_MACH is not set
> # CONFIG_SND_SOC_INTEL_BYT_CHT_NOCODEC_MACH is not set
> # CONFIG_SND_SOC_INTEL_SOF_WM8804_MACH is not set
4022a4227
> # CONFIG_SND_SOC_INTEL_SOF_PCM512x_MACH is not set
4219a4425
> # CONFIG_SND_SOC_SIMPLE_MUX is not set
4244a4451
> # CONFIG_SND_SOC_TLV320ADC3XXX is not set
4255a4463
> # CONFIG_SND_SOC_UDA1334 is not set
4260a4469
> # CONFIG_SND_SOC_WM8524 is not set
4286a4496,4497
> # CONFIG_SND_SOC_ZL38060 is not set
> # CONFIG_SND_SOC_MAX9759 is not set
4333a4545
> # CONFIG_HID_CP2112 is not set
4424a4637
> # CONFIG_HID_MCP2200 is not set
4462a4676
> # CONFIG_USB_CONN_GPIO is not set
4596a4811
> # CONFIG_USB_GPIO_VBUS is not set
4759a4975
> # CONFIG_LEDS_GPIO is not set
4760a4977
> # CONFIG_LEDS_LP3952 is not set
4767a4985
> # CONFIG_LEDS_LT3593 is not set
4801a5020
> # CONFIG_LEDS_TRIGGER_GPIO is not set
4967c5186
< # CONFIG_DW_DMAC_PCI is not set
---
> CONFIG_DW_DMAC_PCI=y
5053a5273
> # CONFIG_ASUS_TF103C_DOCK is not set
5092a5313
> # CONFIG_INTEL_INT0002_VGPIO is not set
5102a5324
> # CONFIG_MEEGOPAD_ANX7428 is not set
5106a5329,5330
> # CONFIG_PCENGINES_APU2 is not set
> # CONFIG_BARCO_P50_GPIO is not set
5165a5390,5391
> CONFIG_IOMMU_SVA=y
> CONFIG_IOMMU_IOPF=y
5169c5395
< # CONFIG_INTEL_IOMMU_SVM is not set
---
> CONFIG_INTEL_IOMMU_SVM=y
5294c5520,5530
< # CONFIG_NTB is not set
---
> CONFIG_NTB=m
> # CONFIG_NTB_MSI is not set
> # CONFIG_NTB_AMD is not set
> # CONFIG_NTB_IDT is not set
> # CONFIG_NTB_INTEL is not set
> # CONFIG_NTB_EPF is not set
> # CONFIG_NTB_SWITCHTEC is not set
> # CONFIG_NTB_PINGPONG is not set
> # CONFIG_NTB_TOOL is not set
> # CONFIG_NTB_PERF is not set
> # CONFIG_NTB_TRANSPORT is not set
5695c5931
< # CONFIG_CRYPTO_DH_RFC7919_GROUPS is not set
---
> CONFIG_CRYPTO_DH_RFC7919_GROUPS=y


For convenience this is the entire config now: https://pastebin.com/PuAVk5P5
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5168
Location: Bavaria

PostPosted: Fri Oct 18, 2024 5:24 pm    Post subject: Reply with quote

You said: "Trying to load a live iso of Gentoo (2024-10-06) failed". This could have two causes:

We had problems with a version of the LiveCD (I can't remember which one; there was a thread here), OR your machine is using very new drivers that are not yet in 6.11.3, but are already patched into Ubuntu's kernel (Ubuntu patches a lot into their kernels).

After reviewing your .config, the only thing that could/is be wrong is this:
Code:
# CONFIG_IRQ_REMAP is not set

You should deactivate this (just to be on the safe side):
Code:
CONFIG_FB_I740=y


BTW: Have another look at my article regarding this one:
Code:
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y

;-)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Spinmc
n00b
n00b


Joined: 06 Sep 2010
Posts: 42
Location: Edinburgh, (UK)

PostPosted: Fri Oct 18, 2024 6:22 pm    Post subject: Reply with quote

I tried with this other suggestion but with no success.

Quote:

OR your machine is using very new drivers that are not yet in 6.11.3, but are already patched into Ubuntu's kernel (Ubuntu patches a lot into their kernels).


Holy moly, I think you totally hit the nail in the head here! You made me wonder if that was the case, and I tried to download and dd the live usb of Arch Linux too, and guess what? That also fails to boot! 8O I guess there aren't many chances that at the same time both Arch and Gentoo might have a faulty live iso.


Ok, I guess for a few months I will have to renounce to gentoo (on this laptop) and will need to try not to feel too much the abstinence from use flags! :cry:


I'll change the subject as resolved as effectively it doesn't seem to be a kernel issue, but more of a too recent hardware. Let me know if you prefer any other status on the subject.

Thanks again for your help pietinger!
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5168
Location: Bavaria

PostPosted: Fri Oct 18, 2024 6:26 pm    Post subject: Reply with quote

Spinmc wrote:
Thanks again for your help pietinger!

You are very Welcome! :D

I'm keeping my fingers crossed that there will be a kernel version that works for you as soon as possible.

... and then: Have fun with Gentoo! 8)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
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
Page 1 of 1

 
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