Reading /var/log/messages seems makes it look like it's a kernel panic:
Code: Select all
Mar 15 09:28:10 gentoo-btw kernel: i915 0000:00:02.0: [drm] Registered 3 planes
with drm panic
Code: Select all
Mar 15 09:28:10 gentoo-btw kernel: i915 0000:00:02.0: [drm] Registered 3 planes
with drm panic
Code: Select all
lspci -nnk
Code: Select all
lspci -nnkI dont believe that the 6.12 config is used ... because in the output of lspci I see that the XE driver was loaded:Stormtroppy wrote:Here's 6.12 config (the working one): https://0x0.st/PL3R.txt
[...]
Here's the: https://0x0.st/PL3F.txtCode: Select all
lspci -nnk
Code: Select all
03:00.0 VGA compatible controller [0300]: Intel Corporation DG2 [Arc A750] [8086:56a1] (rev 08)
Subsystem: Device [172f:3935]
Kernel driver in use: i915
Kernel modules: i915, xeCode: Select all
# CONFIG_DRM_XE is not setCode: Select all
# CONFIG_BLK_DEV_NVME is not setCode: Select all
07:00.0 Non-Volatile memory controller [0108]: Micron/Crucial Technology P3 Plus NVMe PCIe SSD (DRAM-less) [c0a9:5421] (rev 01)
Subsystem: Micron/Crucial Technology Device [c0a9:5021]
Kernel driver in use: nvme
Kernel modules: nvmeCode: Select all
# CONFIG_X86_X2APIC is not set
# CONFIG_X86_INTEL_LPSS is not set
# CONFIG_X86_NATIVE_CPU is not set
# CONFIG_MFD_INTEL_LPSS_ACPI is not set
# CONFIG_MFD_INTEL_LPSS_PCI is not set
# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
# CONFIG_IRQ_REMAP is not setCode: Select all
CONFIG_DRM_SIMPLEDRM=yCode: Select all
CONFIG_EXTRA_FIRMWARE=""
CONFIG_DRM_I915=y

Code: Select all
CC fs/xfs/scrub/repair.o
CC fs/xfs/scrub/rmap_repair.o
CC fs/xfs/scrub/symlink_repair.o
CC fs/xfs/scrub/tempfile.o
CC fs/xfs/scrub/rtbitmap_repair.o
CC fs/xfs/scrub/rtrefcount_repair.o
CC fs/xfs/scrub/rtrmap_repair.o
CC fs/xfs/scrub/rtsummary_repair.o
CC fs/xfs/scrub/quota_repair.o
CC fs/xfs/scrub/quotacheck_repair.o
AR fs/xfs/built-in.a
AR fs/built-in.a
make[1]: *** [/usr/src/linux-6.18.12-gentoo/Makefile:2011: .] Error 2
make: *** [Makefile:248: __sub-make] Error 2

Code: Select all
uname -aCode: Select all
zless /proc/config.gzCode: Select all
zcat /proc/config.gz > myrealkernelconfig
Thank you ... it is the default configuration for our stable Gentoo distribution kernel version 6.18.8 ... I already know itStormtroppy wrote:Here's current kernel config: [...]
If you boot 6.18.8 then there is surely more in your grub.cfg ... if you need help here, please provide your grub.cfg (via wgetpaste) ... and maybe also the output of:Stormtroppy wrote:[...] Reading it the grub.cfg there's 6.12.58 and 6.12.18-old
Code: Select all
# ls -al /boot
# efibootmgrCode: Select all
System uname: Linux-6.18.8-gentoo-dist-x86_64-Intel-R-_Core-TM-_i5-9600K_CPU_@_3.70GHz-with-glibc2.42
[ 0.000000] Linux version 6.18.8-gentoo-dist (root@devbox.amd64.dev.gentoo.org) (x86_64-pc-linux-gnu-gcc (Gentoo 15.2.1_p20251122 p3) 15.2.1 20251122, GNU ld (Gentoo 2.45.1 p1) 2.45.1) #1 SMP PREEMPT_DYNAMIC Fri Jan 30 14:04:46 -00 2026
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.18.8-gentoo-dist root=UUID=5b46ba17-9698-4307-a4c4-4f94c008ff00 ro ipv6.disable=1
[ 0.000000] DMI: Micro-Star International Co., Ltd. MS-7B98/Z390-A PRO (MS-7B98), BIOS 1.E0 10/21/2022
[ 0.191749] smpboot: CPU0: Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz (family: 0x6, model: 0x9e, stepping: 0xc)
[ 1.249939] dracut: dracut-108
[ 1.595319] nvme0n1: p1 p2 p3 p4
[ 1.867787] dracut: Mounted root filesystem /dev/nvme0n1p2
[ 3.588930] r8169 0000:06:00.0 enp6s0: renamed from eth0
[ 3.950006] i915 0000:00:02.0: enabling device (0000 -> 0003)
[ 3.950162] i915 0000:00:02.0: [drm] Found coffeelake (device ID 3e98) integrated display version 9.00 stepping N/A
[ 3.955988] Loading firmware: i915/kbl_dmc_ver1_04.bin
[ 3.957682] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[ 3.958674] i915 0000:00:02.0: [drm] Registered 3 planes with drm panic
[ 3.958676] [drm] Initialized i915 1.6.0 for 0000:00:02.0 on minor 0
[ 3.996493] i915 0000:00:02.0: [drm] fb1: i915drmfb frame buffer device
[ 4.014169] i915 0000:03:00.0: [drm] Found dg2/g10 (device ID 56a1) discrete display version 13.00 stepping C0
[ 4.015340] Console: switching to colour dummy device 80x25
[ 4.015365] i915 0000:03:00.0: vgaarb: deactivate vga console
[ 4.015376] i915 0000:03:00.0: BAR 0 [mem 0x80000000-0x80ffffff 64bit]: releasing
[ 4.015379] i915 0000:03:00.0: BAR 2 [mem 0x6000000000-0x600fffffff 64bit pref]: releasing
[ 4.015447] i915 0000:03:00.0: BAR 2 [mem size 0x200000000 64bit pref]: can't assign; no space
[ 4.015448] i915 0000:03:00.0: BAR 2 [mem size 0x200000000 64bit pref]: failed to assign
[ 4.015450] i915 0000:03:00.0: BAR 0 [mem 0x80000000-0x80ffffff 64bit]: assigned
[ 4.015478] i915 0000:03:00.0: BAR 0 [mem 0x80000000-0x80ffffff 64bit]: releasing
[ 4.015480] i915 0000:03:00.0: BAR 2 [mem size 0x200000000 64bit pref]: can't assign; no space
[ 4.015481] i915 0000:03:00.0: BAR 2 [mem size 0x200000000 64bit pref]: failed to assign
[ 4.015482] i915 0000:03:00.0: BAR 0 [mem 0x80000000-0x80ffffff 64bit]: assigned
[
[ 4.015545] i915 0000:03:00.0: [drm] Failed to resize BAR2 to 8192M (-ENOSPC)
[ 4.015548] i915 0000:03:00.0: BAR 2 [mem 0x6000000000-0x600fffffff 64bit pref]: assigned
[ 4.015566] i915 0000:03:00.0: [drm] Using a reduced BAR size of 256MiB. Consider enabling 'Resizable BAR' or similar, if available in the BIOS.
[ 4.047377] Loading firmware: i915/dg2_dmc_ver2_08.bin
[ 4.051631] i915 0000:03:00.0: [drm] Finished loading DMC firmware i915/dg2_dmc_ver2_08.bin (v2.8)
[ 4.066469] Loading firmware: i915/dg2_guc_70.bin
[ 4.069081] Loading firmware: i915/dg2_huc_gsc.bin
[ 4.082862] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_fence_ops [i915])
[ 4.088330] i915 0000:03:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin version 70.53.0
[ 4.088335] i915 0000:03:00.0: [drm] GT0: HuC firmware i915/dg2_huc_gsc.bin version 7.10.16
[ 4.100048] i915 0000:03:00.0: [drm] GT0: GUC: submission enabled
[ 4.100051] i915 0000:03:00.0: [drm] GT0: GUC: SLPC enabled
[ 4.101520] i915 0000:03:00.0: [drm] GT0: GUC: RC enabled
[ 5.596045] Loading firmware: regulatory.db
[ 5.596275] faux_driver regulatory: Direct firmware load for regulatory.db failed with error -2
[ 5.596278] cfg80211: failed to load regulatory.db
[ 5.621738] Loading firmware: rtl_nic/rtl8168e-2.fw
[ 5.623681] RTL8211DN Gigabit Ethernet r8169-0-600:00: attached PHY driver (mii_bus:phy_addr=r8169-0-600:00, irq=MAC)
[ 5.903817] r8169 0000:06:00.0 enp6s0: Link is Down
[ 8.251353] r8169 0000:06:00.0 enp6s0: Link is Up - 1Gbps/Full - flow control rx/tx
Code: Select all
grep -r --exclude-dir=savedconfig --exclude-dir=repos.conf "" /etc/portageCode: Select all
cat /var/lib/portage/world
Code: Select all
grep -r --exclude-dir=savedconfig --exclude-dir=repos.conf "" /etc/portageYes, you have 8 GB ... but the kernel can only address 256 MB ... maybe you can disable the internal GPU of your CPU (just check your BIOS settings for graphics)?Stormtroppy wrote:1. I'm using intel arc, so I have 8gb of dedicated vram since it's a dedicated card
Code: Select all
[ 4.015545] i915 0000:03:00.0: [drm] Failed to resize BAR2 to 8192M (-ENOSPC)
.
[ 4.015566] i915 0000:03:00.0: [drm] Using a reduced BAR size of 256MiB. Consider enabling 'Resizable BAR' or similar, if available in the BIOS.You once installed the dist-kernel 6.18.8 on your system. Either using “emerge -1” or you uninstalled the PACKAGE afterward. However, uninstalling a kernel package does NOT mean that the kernel itself is removed (be glad - it’s the only one that can bootStormtroppy wrote:2. [...] (dist-kernel doesn't appear anywhere)
Code: Select all
-rw-r--r-- 1 root root 22395376 Feb 21 09:06 vmlinuz-6.18.8-gentoo-distCode: Select all
menuentry 'Gentoo GNU/Linux, with Linux 6.18.8-gentoo-dist (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.18.8-gentoo-dist-recovery-5b46ba17-9698-4307-a4c4-4f94c008ff00' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 5b46ba17-9698-4307-a4c4-4f94c008ff00
echo 'Loading Linux 6.18.8-gentoo-dist ...'
linux /boot/vmlinuz-6.18.8-gentoo-dist root=UUID=5b46ba17-9698-4307-a4c4-4f94c008ff00 ro single ipv6.disable=1
echo 'Loading initial ramdisk ...'
initrd /boot/amd-uc.img /boot/initramfs-6.18.8-gentoo-dist.img
}Code: Select all
[ 0.000000] Linux version 6.18.8-gentoo-dist (root@devbox.amd64.dev.gentoo.org) [...]Code: Select all
System uname: Linux-6.18.8-gentoo-dist-x86Yes, there is no dist-kernel ... anymore ... but you must have installed it at some point.Stormtroppy wrote:3. World file: https://0x0.st/P9Lt.txt
Code: Select all
sys-kernel/gentoo-sources
sys-kernel/installkernel
sys-kernel/linux-firmwareCode: Select all
# CONFIG_BLK_DEV_NVME is not setCode: Select all
[ 1.595319] nvme0n1: p1 p2 p3 p4
[ 1.867787] dracut: Mounted root filesystem /dev/nvme0n1p2
Code: Select all
CALL scripts/checksyscalls.sh
DESCEND objtool
INSTALL libsubcmd_headers
make[3]: *** No rule to make target '/var/tmp/portage/sys-kernel/gentoo-kernel-6.18.8/temp/kernel_key.pem', needed by 'certs/signing_key.x509'. Stop.
make[2]: *** [scripts/Makefile.build:544: certs] Error 2
make[1]: *** [/usr/src/linux-6.18.12-gentoo/Makefile:2011: .] Error 2
make: *** [Makefile:248: __sub-make] Error 2
IPv6 support has been usable for years in most places, and disabling it will likely come back to trouble you at some point.Stormtroppy wrote:Also I disabled ipv6 cause it doesn't work for me (doesn't help that it sucks)
It's worse than that. OP is trying to build 6.18.12, but reuse signing material from a transient build of 6.18.8. This might be the result of reusing part of a .config from the older kernel.pietinger wrote:One moment please ... I just see that you are trying to emerge 6.18,8 ... AGAIN ?? (why?)
Yes, IPv4 support will probably be phased out at some point... but my personal assessment is that this won’t happen for another 10 or 15 years. You can read why I don’t like IPv6 here:Hu wrote:IPv6 support has been usable for years in most places, and disabling it will likely come back to trouble you at some point. [...]
After sleeping on it for a night, I’ve come to the conclusion that PO probably got this Gentoo machine from someone else. The "package.use" and "package.mask" files were certainly configured by a Gentoo expert, while the fact that PO didn’t know which kernel he was booting suggests he’s a Gentoo newbie. I’m therefore going to start over from scratch ->Hu wrote:[...] It's worse than that. OP is trying to build 6.18.12, but reuse signing material from a transient build of 6.18.8. This might be the result of reusing part of a .config from the older kernel.
Code: Select all
$ su -
# emerge --syncCode: Select all
# emerge -pvD gentoo-kernel-binCode: Select all
[ebuild N ] sys-kernel/gentoo-kernel-bin-6.18.18:6.18.18::gentoo USE="initramfs -debug (-generic-uki) -modules-compress -test -verify-sig" 466.774 KiBCode: Select all
USE="dbus dist-kernel dracut opencl -pulseaudio grub vulkan X -acl -elogind -ipv6 -pipewire -gnome -systemd -wayland -xwayland"Code: Select all
# emerge gentoo-kernel-bin intel-microcodeCode: Select all
# emerge -uUDv @world
# emerge -c
Unfortunately this is my computer. I just use emerge --autounmask --autounmask-write for unmasking and custom files if the flags are manual.I’ve come to the conclusion that PO probably got this Gentoo machine from someone else. The "package.use" and "package.mask" files were certainly configured by a Gentoo expert, while the fact that PO didn’t know which kernel he was booting suggests he’s a Gentoo newbie.