View previous topic :: View next topic |
Author |
Message |
Marcus613 n00b
Joined: 28 Feb 2024 Posts: 19
|
Posted: Thu Feb 29, 2024 11:20 am Post subject: Black screen during boot (framebuffer issue ?) |
|
|
Hi
I'm trying to install gentoo on a Geekom a7 with an AMD Ryzen 9 7940HS.
I've followed the handbook to do this install since I didn't used Gentoo for like 20 years.
Grub is working and the kernel start booting.
But the screen goes black quickly during boot phase and there is no HDMI signal anymore.
My guess is that something is not working with framebuffer, but I'm not sure and don't know how to solve this. I've used genkernel to compile the 6.7.6 kernel.
I'm sharing the end of my sysklogd log in cas it can help.
Any kind of help would be much more appreciated. Don't hesitate to state the obvious since I consider myself as a newbie.
Code: | Feb 29 03:45:50 ga7 kernel: r8169 0000:01:00.0 eth0: RTL8125B, 38:f7:cd:c7:05:c2, XID 641, IRQ 44
Feb 29 03:45:50 ga7 kernel: r8169 0000:01:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
Feb 29 03:45:50 ga7 kernel: nvme nvme0: 16/0/0 default/read/poll queues
Feb 29 03:45:50 ga7 kernel: nvme0n1: p1 p2 p3
Feb 29 03:45:50 ga7 kernel: EXT4-fs (nvme0n1p2): mounted filesystem 68e66642-a052-4e67-ad82-1888feee0dd2 ro with ordered data mode. Quota mode: none.
Feb 29 03:45:50 ga7 kernel: usb 1-5: new high-speed USB device number 2 using xhci_hcd
Feb 29 03:45:50 ga7 kernel: usb 3-1: new high-speed USB device number 2 using xhci_hcd
Feb 29 03:45:50 ga7 kernel: usb 7-1: new high-speed USB device number 2 using xhci_hcd
Feb 29 03:45:50 ga7 kernel: usb 1-5: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice= 6.56
Feb 29 03:45:50 ga7 kernel: usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 29 03:45:50 ga7 kernel: usb 1-5: Product: USB2.1 Hub
Feb 29 03:45:50 ga7 kernel: usb 1-5: Manufacturer: GenesysLogic
Feb 29 03:45:50 ga7 kernel: usb 3-1: New USB device found, idVendor=13d3, idProduct=3585, bcdDevice= 1.00
Feb 29 03:45:50 ga7 kernel: usb 3-1: New USB device strings: Mfr=5, Product=6, SerialNumber=7
Feb 29 03:45:50 ga7 kernel: usb 3-1: Product: Wireless_Device
Feb 29 03:45:50 ga7 kernel: usb 3-1: Manufacturer: MediaTek Inc.
Feb 29 03:45:50 ga7 kernel: usb 3-1: SerialNumber: 000000000
Feb 29 03:45:50 ga7 kernel: usb 7-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=94.05
Feb 29 03:45:50 ga7 kernel: usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 29 03:45:50 ga7 kernel: usb 7-1: Product: USB2.1 Hub
Feb 29 03:45:50 ga7 kernel: usb 7-1: Manufacturer: GenesysLogic
Feb 29 03:45:50 ga7 kernel: hub 1-5:1.0: USB hub found
Feb 29 03:45:50 ga7 kernel: hub 1-5:1.0: 4 ports detected
Feb 29 03:45:50 ga7 kernel: hub 7-1:1.0: USB hub found
Feb 29 03:45:50 ga7 kernel: hub 7-1:1.0: 4 ports detected
Feb 29 03:45:50 ga7 kernel: usb 8-1: new SuperSpeed Plus Gen 2x1 USB device number 2 using xhci_hcd
Feb 29 03:45:51 ga7 kernel: usb 8-1: New USB device found, idVendor=05e3, idProduct=0625, bcdDevice=94.05
Feb 29 03:45:51 ga7 kernel: usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 29 03:45:51 ga7 kernel: usb 8-1: Product: USB3.2 Hub
Feb 29 03:45:51 ga7 kernel: usb 8-1: Manufacturer: GenesysLogic
Feb 29 03:45:51 ga7 kernel: hub 8-1:1.0: USB hub found
Feb 29 03:45:51 ga7 kernel: hub 8-1:1.0: 4 ports detected
Feb 29 03:45:51 ga7 kernel: usb 1-5.3: new full-speed USB device number 3 using xhci_hcd
Feb 29 03:45:51 ga7 kernel: ACPI: video: Video Device [VGA] (multi-head: yes rom: no post: no)
Feb 29 03:45:51 ga7 kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:24/LNXVIDEO:00/input/input1
Feb 29 03:45:51 ga7 kernel: pstore: Using crash dump compression: deflate
Feb 29 03:45:51 ga7 kernel: input: PC Speaker as /devices/platform/pcspkr/input/input2
Feb 29 03:45:51 ga7 kernel: pstore: Registered efi_pstore as persistent store backend
Feb 29 03:45:51 ga7 kernel: r8169 0000:01:00.0 enp1s0: renamed from eth0
Feb 29 03:45:51 ga7 kernel: ccp 0000:65:00.2: enabling device (0000 -> 0002)
Feb 29 03:45:51 ga7 kernel: piix4_smbus 0000:00:14.0: SMBus Host Controller at 0xb00, revision 0
Feb 29 03:45:51 ga7 kernel: piix4_smbus 0000:00:14.0: Using register 0x02 for SMBus port selection
Feb 29 03:45:51 ga7 kernel: ccp 0000:65:00.2: tee enabled
Feb 29 03:45:51 ga7 kernel: piix4_smbus 0000:00:14.0: Auxiliary SMBus Host Controller at 0xb20
Feb 29 03:45:51 ga7 kernel: ccp 0000:65:00.2: psp enabled
Feb 29 03:45:51 ga7 kernel: sdhci: Secure Digital Host Controller Interface driver
Feb 29 03:45:51 ga7 kernel: sdhci: Copyright(c) Pierre Ossman
Feb 29 03:45:51 ga7 kernel: RAPL PMU: API unit is 2^-32 Joules, 1 fixed counters, 163840 ms ovfl timer
Feb 29 03:45:51 ga7 kernel: RAPL PMU: hw unit of domain package 2^-16 Joules
Feb 29 03:45:51 ga7 kernel: sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver
Feb 29 03:45:51 ga7 kernel: sp5100-tco sp5100-tco: Using 0xfeb00000 for watchdog MMIO address
Feb 29 03:45:51 ga7 kernel: sp5100-tco sp5100-tco: initialized. heartbeat=60 sec (nowayout=0)
Feb 29 03:45:51 ga7 kernel: sdhci-pci 0000:03:00.0: SDHCI controller found [1217:8520] (rev 1)
Feb 29 03:45:51 ga7 kernel: sdhci-pci 0000:03:00.0: enabling device (0000 -> 0002)
Feb 29 03:45:51 ga7 kernel: mmc0: SDHCI controller on PCI [0000:03:00.0] using ADMA
Feb 29 03:45:51 ga7 kernel: ACPI: bus type drm_connector registered
Feb 29 03:45:51 ga7 kernel: Bluetooth: Core ver 2.22
Feb 29 03:45:51 ga7 kernel: NET: Registered PF_BLUETOOTH protocol family
Feb 29 03:45:51 ga7 kernel: Bluetooth: HCI device and connection manager initialized
Feb 29 03:45:51 ga7 kernel: Bluetooth: HCI socket layer initialized
Feb 29 03:45:51 ga7 kernel: Bluetooth: L2CAP socket layer initialized
Feb 29 03:45:51 ga7 kernel: Bluetooth: SCO socket layer initialized
Feb 29 03:45:51 ga7 kernel: usb 1-5.3: New USB device found, idVendor=1532, idProduct=0080, bcdDevice= 1.00
Feb 29 03:45:51 ga7 kernel: usb 1-5.3: New USB device strings: Mfr=0, Product=2, SerialNumber=3
Feb 29 03:45:51 ga7 kernel: usb 1-5.3: Product: Razer Pro Click
Feb 29 03:45:51 ga7 kernel: usb 1-5.3: SerialNumber: 000000000000
Feb 29 03:45:51 ga7 kernel: snd_hda_intel 0000:65:00.1: enabling device (0000 -> 0002)
Feb 29 03:45:51 ga7 kernel: snd_hda_intel 0000:65:00.1: Handle vga_switcheroo audio client
Feb 29 03:45:51 ga7 kernel: snd_hda_intel 0000:65:00.6: enabling device (0000 -> 0002)
Feb 29 03:45:51 ga7 kernel: kvm_amd: TSC scaling supported
Feb 29 03:45:51 ga7 kernel: kvm_amd: Nested Virtualization enabled
Feb 29 03:45:51 ga7 kernel: kvm_amd: Nested Paging enabled
Feb 29 03:45:51 ga7 kernel: kvm_amd: Virtual VMLOAD VMSAVE supported
Feb 29 03:45:51 ga7 kernel: kvm_amd: Virtual GIF supported
Feb 29 03:45:51 ga7 kernel: kvm_amd: Virtual NMI enabled
Feb 29 03:45:51 ga7 kernel: kvm_amd: LBR virtualization supported
Feb 29 03:45:51 ga7 kernel: usbcore: registered new interface driver btusb
Feb 29 03:45:51 ga7 kernel: input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:65:00.1/sound/card0/input3
Feb 29 03:45:51 ga7 kernel: input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:65:00.1/sound/card0/input4
Feb 29 03:45:51 ga7 kernel: input: HD-Audio Generic HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:08.1/0000:65:00.1/sound/card0/input5
Feb 29 03:45:51 ga7 kernel: input: HD-Audio Generic HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:08.1/0000:65:00.1/sound/card0/input6
Feb 29 03:45:51 ga7 kernel: MCE: In-kernel MCE decoding enabled.
Feb 29 03:45:51 ga7 kernel: snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC269VC: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
Feb 29 03:45:51 ga7 kernel: snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Feb 29 03:45:51 ga7 kernel: snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
Feb 29 03:45:51 ga7 kernel: snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0
Feb 29 03:45:51 ga7 kernel: snd_hda_codec_realtek hdaudioC1D0: inputs:
Feb 29 03:45:51 ga7 kernel: snd_hda_codec_realtek hdaudioC1D0: Mic=0x18
Feb 29 03:45:51 ga7 kernel: input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:08.1/0000:65:00.6/sound/card1/input7
Feb 29 03:45:51 ga7 kernel: input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:08.1/0000:65:00.6/sound/card1/input8
Feb 29 03:45:51 ga7 kernel: input: Razer Pro Click as /devices/pci0000:00/0000:00:08.1/0000:65:00.3/usb1/1-5/1-5.3/1-5.3:1.0/0003:1532:0080.0001/input/input9
Feb 29 03:45:51 ga7 kernel: hid-generic 0003:1532:0080.0001: input,hidraw0: USB HID v1.11 Mouse [Razer Pro Click] on usb-0000:65:00.3-5.3/input0
Feb 29 03:45:51 ga7 kernel: input: Razer Pro Click as /devices/pci0000:00/0000:00:08.1/0000:65:00.3/usb1/1-5/1-5.3/1-5.3:1.2/0003:1532:0080.0002/input/input10
Feb 29 03:45:51 ga7 kernel: hid-generic 0003:1532:0080.0002: input,hidraw1: USB HID v1.11 Keyboard [Razer Pro Click] on usb-0000:65:00.3-5.3/input2
Feb 29 03:45:52 ga7 kernel: input: Razer Pro Click Keyboard as /devices/pci0000:00/0000:00:08.1/0000:65:00.3/usb1/1-5/1-5.3/1-5.3:1.1/0003:1532:0080.0003/input/input11
Feb 29 03:45:52 ga7 kernel: [drm] amdgpu kernel modesetting enabled.
Feb 29 03:45:52 ga7 kernel: intel_rapl_common: Found RAPL domain package
Feb 29 03:45:52 ga7 kernel: intel_rapl_common: Found RAPL domain core
Feb 29 03:45:52 ga7 kernel: amdgpu: Virtual CRAT table created for CPU
Feb 29 03:45:52 ga7 kernel: amdgpu: Topology: Add CPU node
Feb 29 03:45:52 ga7 kernel: amdgpu 0000:65:00.0: enabling device (0006 -> 0007)
Feb 29 03:45:52 ga7 kernel: [drm] initializing kernel modesetting (IP DISCOVERY 0x1002:0x15BF 0x1002:0x0124 0xC1).
Feb 29 03:45:52 ga7 kernel: [drm] register mmio base: 0xDC600000
Feb 29 03:45:52 ga7 kernel: [drm] register mmio size: 524288
Feb 29 03:45:52 ga7 kernel: [drm] add ip block number 0 <soc21_common>
Feb 29 03:45:52 ga7 kernel: [drm] add ip block number 1 <gmc_v11_0>
Feb 29 03:45:52 ga7 kernel: [drm] add ip block number 2 <ih_v6_0>
Feb 29 03:45:52 ga7 kernel: [drm] add ip block number 3 <psp>
Feb 29 03:45:52 ga7 kernel: [drm] add ip block number 4 <smu>
Feb 29 03:45:52 ga7 kernel: [drm] add ip block number 5 <dm>
Feb 29 03:45:52 ga7 kernel: [drm] add ip block number 6 <gfx_v11_0>
Feb 29 03:45:52 ga7 kernel: [drm] add ip block number 7 <sdma_v6_0>
Feb 29 03:45:52 ga7 kernel: [drm] add ip block number 8 <vcn_v4_0>
Feb 29 03:45:52 ga7 kernel: [drm] add ip block number 9 <jpeg_v4_0>
Feb 29 03:45:52 ga7 kernel: [drm] add ip block number 10 <mes_v11_0>
Feb 29 03:45:52 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: Fetched VBIOS from VFCT
Feb 29 03:45:52 ga7 kernel: amdgpu: ATOM BIOS: 113-PHXGENERIC-001
Feb 29 03:45:52 ga7 kernel: [drm] VCN(0) encode/decode are enabled in VM mode
Feb 29 03:45:52 ga7 kernel: amdgpu 0000:65:00.0: [drm:jpeg_v4_0_early_init [amdgpu]] JPEG decode is enabled in VM mode
Feb 29 03:45:52 ga7 kernel: Console: switching to colour dummy device 80x25
Feb 29 03:45:52 ga7 kernel: amdgpu 0000:65:00.0: vgaarb: deactivate vga console
Feb 29 03:45:52 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: Trusted Memory Zone (TMZ) feature enabled
Feb 29 03:45:52 ga7 kernel: [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit
Feb 29 03:45:52 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: VRAM: 512M 0x0000008000000000 - 0x000000801FFFFFFF (512M used)
Feb 29 03:45:52 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: GART: 512M 0x00007FFF00000000 - 0x00007FFF1FFFFFFF
Feb 29 03:45:52 ga7 kernel: [drm] Detected VRAM RAM=512M, BAR=512M
Feb 29 03:45:52 ga7 kernel: [drm] RAM width 128bits DDR5
Feb 29 03:45:52 ga7 kernel: [drm] amdgpu: 512M of VRAM memory ready
Feb 29 03:45:52 ga7 kernel: [drm] amdgpu: 31798M of GTT memory ready.
Feb 29 03:45:52 ga7 kernel: [drm] GART: num cpu pages 131072, num gpu pages 131072
Feb 29 03:45:52 ga7 kernel: [drm] PCIE GART of 512M enabled (table at 0x0000008001300000).
Feb 29 03:45:52 ga7 kernel: [drm] Loading DMUB firmware via PSP: version=0x08003300
Feb 29 03:45:52 ga7 kernel: [drm] Found VCN firmware Version ENC: 1.12 DEC: 5 VEP: 0 Revision: 0
Feb 29 03:45:52 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: Will use PSP to load VCN firmware
Feb 29 03:45:52 ga7 kernel: [drm] reserve 0x4000000 from 0x8018000000 for PSP TMR
Feb 29 03:45:52 ga7 kernel: input: Razer Pro Click as /devices/pci0000:00/0000:00:08.1/0000:65:00.3/usb1/1-5/1-5.3/1-5.3:1.1/0003:1532:0080.0003/input/input12
Feb 29 03:45:52 ga7 kernel: hid-generic 0003:1532:0080.0003: input,hidraw2: USB HID v1.11 Keyboard [Razer Pro Click] on usb-0000:65:00.3-5.3/input1
Feb 29 03:45:52 ga7 kernel: usb 1-5.4: new full-speed USB device number 4 using xhci_hcd
Feb 29 03:45:52 ga7 kernel: EXT4-fs (nvme0n1p2): re-mounted 68e66642-a052-4e67-ad82-1888feee0dd2 r/w. Quota mode: none.
Feb 29 03:45:52 ga7 kernel: usb 1-5.4: New USB device found, idVendor=1532, idProduct=021e, bcdDevice= 2.00
Feb 29 03:45:52 ga7 kernel: usb 1-5.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 29 03:45:52 ga7 kernel: usb 1-5.4: Product: Razer Ornata Chroma
Feb 29 03:45:52 ga7 kernel: usb 1-5.4: Manufacturer: Razer
Feb 29 03:45:52 ga7 kernel: input: Razer Razer Ornata Chroma as /devices/pci0000:00/0000:00:08.1/0000:65:00.3/usb1/1-5/1-5.4/1-5.4:1.0/0003:1532:021E.0004/input/input13
Feb 29 03:45:52 ga7 kernel: hid-generic 0003:1532:021E.0004: input,hidraw3: USB HID v1.11 Keyboard [Razer Razer Ornata Chroma] on usb-0000:65:00.3-5.4/input0
Feb 29 03:45:52 ga7 kernel: input: Razer Razer Ornata Chroma Keyboard as /devices/pci0000:00/0000:00:08.1/0000:65:00.3/usb1/1-5/1-5.4/1-5.4:1.1/0003:1532:021E.0005/input/input14
Feb 29 03:45:52 ga7 kernel: input: Razer Razer Ornata Chroma as /devices/pci0000:00/0000:00:08.1/0000:65:00.3/usb1/1-5/1-5.4/1-5.4:1.1/0003:1532:021E.0005/input/input15
Feb 29 03:45:52 ga7 kernel: hid-generic 0003:1532:021E.0005: input,hidraw4: USB HID v1.11 Keyboard [Razer Razer Ornata Chroma] on usb-0000:65:00.3-5.4/input1
Feb 29 03:45:52 ga7 kernel: input: Razer Razer Ornata Chroma as /devices/pci0000:00/0000:00:08.1/0000:65:00.3/usb1/1-5/1-5.4/1-5.4:1.2/0003:1532:021E.0006/input/input16
Feb 29 03:45:52 ga7 kernel: hid-generic 0003:1532:021E.0006: input,hidraw5: USB HID v1.11 Mouse [Razer Razer Ornata Chroma] on usb-0000:65:00.3-5.4/input2
Feb 29 03:45:52 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: RAS: optional ras ta ucode is not available
Feb 29 03:45:52 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: RAP: optional rap ta ucode is not available
Feb 29 03:45:52 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
Feb 29 03:45:52 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: SMU is initialized successfully!
Feb 29 03:45:52 ga7 kernel: [drm] Seamless boot condition check passed
Feb 29 03:45:52 ga7 kernel: [drm] Display Core v3.2.259 initialized on DCN 3.1.4
Feb 29 03:45:52 ga7 kernel: [drm] DP-HDMI FRL PCON supported
Feb 29 03:45:52 ga7 kernel: [drm] DMUB hardware initialized: version=0x08003300
Feb 29 03:45:52 ga7 kernel: snd_hda_intel 0000:65:00.1: bound 0000:65:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
Feb 29 03:45:52 ga7 kernel: [drm] kiq ring mec 3 pipe 1 q 0
Feb 29 03:45:52 ga7 kernel: [drm] VCN decode and encode initialized successfully(under DPG Mode).
Feb 29 03:45:52 ga7 kernel: amdgpu 0000:65:00.0: [drm:jpeg_v4_0_hw_init [amdgpu]] JPEG decode initialized successfully.
Feb 29 03:45:53 ga7 kernel: amdgpu: HMM registered 512MB device memory
Feb 29 03:45:53 ga7 kernel: kfd kfd: amdgpu: Allocated 3969056 bytes on gart
Feb 29 03:45:53 ga7 kernel: kfd kfd: amdgpu: Total number of KFD nodes to be created: 1
Feb 29 03:45:53 ga7 kernel: amdgpu: Virtual CRAT table created for GPU
Feb 29 03:45:53 ga7 kernel: amdgpu: Topology: Add dGPU node [0x15bf:0x1002]
Feb 29 03:45:53 ga7 kernel: kfd kfd: amdgpu: added device 1002:15bf
Feb 29 03:45:53 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: SE 1, SH per SE 2, CU per SH 6, active_cu_number 12
Feb 29 03:45:53 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
Feb 29 03:45:53 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
Feb 29 03:45:53 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
Feb 29 03:45:53 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
Feb 29 03:45:53 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
Feb 29 03:45:53 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
Feb 29 03:45:53 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
Feb 29 03:45:53 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
Feb 29 03:45:53 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
Feb 29 03:45:53 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
Feb 29 03:45:53 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: ring vcn_unified_0 uses VM inv eng 0 on hub 8
Feb 29 03:45:53 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: ring jpeg_dec uses VM inv eng 1 on hub 8
Feb 29 03:45:53 ga7 kernel: amdgpu 0000:65:00.0: amdgpu: ring mes_kiq_3.1.0 uses VM inv eng 13 on hub 0
Feb 29 03:45:53 ga7 kernel: [drm] ring gfx_32768.1.1 was added
Feb 29 03:45:53 ga7 kernel: [drm] ring compute_32768.2.2 was added
Feb 29 03:45:53 ga7 kernel: [drm] ring sdma_32768.3.3 was added
Feb 29 03:45:53 ga7 kernel: [drm] ring gfx_32768.1.1 ib test pass
Feb 29 03:45:53 ga7 kernel: [drm] ring compute_32768.2.2 ib test pass
Feb 29 03:45:53 ga7 kernel: [drm] ring sdma_32768.3.3 ib test pass
Feb 29 03:45:53 ga7 kernel: [drm] Initialized amdgpu 3.57.0 20150101 for 0000:65:00.0 on minor 0
Feb 29 03:45:53 ga7 kernel: fbcon: amdgpudrmfb (fb0) is primary device
Feb 29 03:45:53 ga7 kernel: [drm] DSC precompute is not needed.
Feb 29 03:45:53 ga7 kernel: amdgpu 0000:65:00.0: [drm] REG_WAIT timeout 1us * 100000 tries - optc314_disable_crtc line:146
Feb 29 03:45:53 ga7 kernel: Console: switching to colour frame buffer device 215x45
Feb 29 03:45:53 ga7 kernel: amdgpu 0000:65:00.0: [drm] fb0: amdgpudrmfb frame buffer device
Feb 29 03:45:53 ga7 kernel: NET: Registered PF_INET6 protocol family
Feb 29 03:45:53 ga7 kernel: Segment Routing with IPv6
Feb 29 03:45:53 ga7 kernel: In-situ OAM (IOAM) with IPv6
Feb 29 03:45:54 ga7 kernel: 8021q: 802.1Q VLAN Support v1.8
Feb 29 03:45:55 ga7 kernel: cfg80211: Loading compiled-in X.509 certificates for regulatory database
Feb 29 03:45:55 ga7 kernel: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
Feb 29 03:45:55 ga7 kernel: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
Feb 29 03:45:55 ga7 kernel: RTL8226B_RTL8221B 2.5Gbps PHY r8169-0-100:00: attached PHY driver (mii_bus:phy_addr=r8169-0-100:00, irq=MAC)
Feb 29 03:45:55 ga7 kernel: r8169 0000:01:00.0 enp1s0: Link is Down |
Last edited by Marcus613 on Thu Feb 29, 2024 2:31 pm; edited 1 time in total |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4397 Location: Bavaria
|
|
Back to top |
|
|
Marcus613 n00b
Joined: 28 Feb 2024 Posts: 19
|
Posted: Thu Feb 29, 2024 2:00 pm Post subject: |
|
|
I've changed very few things in my kernel config (some settings in the "Power management and ACPI options" section like "AMD Processor P-State driver" as suggested in the first link you provided). But I wasn't very surprised and I had the exact same issue after this build.
I've also installed the binary kernel, and I have the same unexpected behavior with this version. |
|
Back to top |
|
|
logrusx Veteran
Joined: 22 Feb 2018 Posts: 1659
|
Posted: Thu Feb 29, 2024 2:21 pm Post subject: Re: Black screen during boot (framebuffer issue ?) |
|
|
Marcus613 wrote: | Hi
I'm trying to install gentoo on a Geekom a7 with an AMD Ryzen 9 7940HS.
I've followed the handbook to do this install since I didn't used Gentoo for like 20 years.
Grub is working and the kernel start booting.
But the screen goes black quickly during boot phase and there is no HDMI signal anymore.
My guess is that something is not working with framebuffer, but I'm not sure and don't know how to solve this. I've used genkernel to compile the 2.7.6 kernel.
I'm sharing the end of my sysklogd log in cas it can help.
Any kind of help would be much more appreciated. Don't hesitate to state the obvious since I consider myself as a newbie. |
Strange because, especially the first line:
Marcus613 wrote: | Code: |
Feb 29 03:45:53 ga7 kernel: fbcon: amdgpudrmfb (fb0) is primary device
Feb 29 03:45:53 ga7 kernel: [drm] DSC precompute is not needed.
Feb 29 03:45:53 ga7 kernel: amdgpu 0000:65:00.0: [drm] REG_WAIT timeout 1us * 100000 tries - optc314_disable_crtc line:146
Feb 29 03:45:53 ga7 kernel: Console: switching to colour frame buffer device 215x45
Feb 29 03:45:53 ga7 kernel: amdgpu 0000:65:00.0: [drm] fb0: amdgpudrmfb frame buffer device
|
|
Maybe you're missing CONFIG_FB_EFI or CONFIG_FB_VESA in your config. Better enable them both. Another possibility is you need CONFIG_SYSFB_SIMPLEFB. Since you're able to provide dmesg, I assume you're ssh-ing into the system and can provide the output of lspci -nnk. If you can boot with another distro or working kernel, the output of that command would be even better.
Also it would be helpful to share your kernel config.
p.s. there's no 2.7.6 kernel. Did you mean 6.7.2?
Best Regards,
Georgi |
|
Back to top |
|
|
Marcus613 n00b
Joined: 28 Feb 2024 Posts: 19
|
Posted: Thu Feb 29, 2024 2:48 pm Post subject: |
|
|
Sorry, I meant kernel 6.7.6 installed and compiled from sources with genkernel
I also tried kernel 6.6.16 installed from binary as suggested by pietinger.
I didn't setup any sshd, I boot with my installation usbkey to get the sysklogd file.
I've also tried to add this line in /etc/default/grub (suspecting it could be an invalid refresh rate), but it didn't worked
Code: | GRUB_CMDLINE_LINUX_DEFAULT="video=3440x1440@60" |
It looks like I can't embed my config file in my message ans get an error when posting (the message is probably too long).
I've got both options:
CONFIG_FB_EFI=y
CONFIG_FB_VESA=y
but not the last one. I'll try to recompile the kernel with this one.
# CONFIG_SYSFB_SIMPLEFB is not set |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4397 Location: Bavaria
|
Posted: Thu Feb 29, 2024 3:05 pm Post subject: |
|
|
Marcus613,
if you have the same problem with our dist-kernel then it could be that you need a very special setting. Please check if you can boot with an UbuntuLiveCD.
If yes, please check with "lsmod" (from Ubuntu) which kernel modules are loaded.
(If not then you probably have a hardware problem). _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
Marcus613 n00b
Joined: 28 Feb 2024 Posts: 19
|
Posted: Thu Feb 29, 2024 3:39 pm Post subject: |
|
|
When I enable CONFIG_SYSFB_SIMPLEFB, I have the black screen even sooner (right after the ramdisk is loaded).
I wonder how it could be an hardware problem since I'm able to boot and use the consol with the Minimal Installation CD
I can try to make an UbuntuLiveCD, but I already have the lsmod from the "Minimal Installation CD" system :
Code: | Module Size Used by
ctr 12288 2
ccm 20480 6
8021q 32768 0
ipv6 512000 46
ac 12288 0
battery 20480 0
fan 12288 0
mt7921e 16384 0
mt7921_common 65536 1 mt7921e
mt792x_lib 45056 2 mt7921e,mt7921_common
mt76_connac_lib 61440 3 mt792x_lib,mt7921e,mt7921_common
mt76 86016 4 mt792x_lib,mt7921e,mt7921_common,mt76_connac_lib
mac80211 1064960 4 mt792x_lib,mt76,mt7921_common,mt76_connac_lib
snd_hda_codec_realtek 147456 1
snd_hda_codec_generic 77824 1 snd_hda_codec_realtek
ledtrig_audio 12288 1 snd_hda_codec_generic
snd_hda_codec_hdmi 61440 1
kvm_amd 126976 0
snd_hda_intel 40960 0
snd_intel_dspcfg 12288 1 snd_hda_intel
dm_multipath 28672 0
cfg80211 954368 4 mt76,mac80211,mt7921_common,mt76_connac_lib
kvm 995328 1 kvm_amd
snd_hda_codec 122880 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
dm_mod 143360 1 dm_multipath
sdhci_pci 73728 0
snd_hda_core 86016 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
dax 32768 1 dm_mod
cqhci 20480 1 sdhci_pci
wmi_bmof 12288 0
snd_pcm 126976 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
i2c_piix4 20480 0
irqbypass 12288 1 kvm
crct10dif_pclmul 12288 1
sha512_ssse3 45056 0
sha512_generic 12288 1 sha512_ssse3
sdhci 53248 1 sdhci_pci
snd_timer 36864 1 snd_pcm
sha256_ssse3 28672 0
snd 98304 7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
rfkill 28672 2 cfg80211
sha1_ssse3 32768 0
mmc_core 167936 3 sdhci,cqhci,sdhci_pci
i2c_core 77824 1 i2c_piix4
hwmon 24576 1 mt7921_common
sha1_generic 12288 1 sha1_ssse3
soundcore 12288 1 snd
libarc4 12288 1 mac80211
video 57344 0
backlight 16384 1 video
thermal 20480 0
button 16384 0
wmi 24576 2 video,wmi_bmof
efivarfs 24576 1
usb_storage 65536 1
crc32c_intel 16384 2
aesni_intel 356352 4
r8169 94208 0
xhci_pci 16384 0
crypto_simd 12288 1 aesni_intel
realtek 28672 1
nvme 45056 2
cryptd 24576 1 crypto_simd
mdio_devres 12288 1 r8169
xhci_hcd 237568 1 xhci_pci
nvme_core 126976 3 nvme
libphy 135168 3 r8169,mdio_devres,realtek |
|
|
Back to top |
|
|
Marcus613 n00b
Joined: 28 Feb 2024 Posts: 19
|
Posted: Thu Feb 29, 2024 5:47 pm Post subject: |
|
|
lsmod sous ubuntu:
Code: | Module Size Used by
btrfs 1974272 0
blake2b_generic 24576 0
ufs 126976 0
qnx4 12288 0
hfsplus 135168 0
hfs 77824 0
minix 53248 0
ntfs 135168 0
msdos 16384 0
jfs 299008 0
xfs 2334720 0
snd_seq_dummy 12288 0
snd_hrtimer 12288 1
bnep 32768 2
binfmt_misc 24576 1
zfs 6696960 6
spl 184320 1 zfs
intel_rapl_msr 20480 0
snd_hda_codec_realtek 192512 1
intel_rapl_common 36864 1 intel_rapl_msr
snd_hda_codec_generic 122880 1 snd_hda_codec_realtek
ledtrig_audio 12288 1 snd_hda_codec_generic
snd_hda_codec_hdmi 94208 1
snd_hda_intel 61440 2
snd_intel_dspcfg 32768 1 snd_hda_intel
snd_intel_sdw_acpi 16384 1 snd_intel_dspcfg
snd_hda_codec 212992 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 147456 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep 20480 1 snd_hda_codec
mt7921e 28672 0
mt7921_common 118784 1 mt7921e
snd_pcm 196608 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
mt76_connac_lib 102400 2 mt7921e,mt7921_common
snd_seq_midi 24576 0
snd_seq_midi_event 16384 1 snd_seq_midi
mt76 135168 3 mt7921e,mt7921_common,mt76_connac_lib
snd_rawmidi 57344 1 snd_seq_midi
mac80211 1724416 3 mt76,mt7921_common,mt76_connac_lib
edac_mce_amd 40960 0
snd_seq 118784 9 snd_seq_midi,snd_seq_midi_event,snd_seq_dummy
kvm_amd 208896 0
btusb 73728 0
btrtl 32768 1 btusb
btbcm 24576 1 btusb
btintel 53248 1 btusb
btmtk 12288 1 btusb
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer 49152 3 snd_seq,snd_hrtimer,snd_pcm
bluetooth 1073152 15 btrtl,btmtk,btintel,btbcm,bnep,btusb
ecdh_generic 16384 1 bluetooth
cfg80211 1314816 4 mt76,mac80211,mt7921_common,mt76_connac_lib
kvm 1404928 1 kvm_amd
snd 143360 17 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
ecc 45056 1 ecdh_generic
input_leds 12288 0
joydev 32768 0
libarc4 12288 1 mac80211
ccp 135168 1 kvm_amd
soundcore 16384 1 snd
irqbypass 12288 1 kvm
i2c_piix4 28672 0
k10temp 16384 0
wmi_bmof 12288 0
rapl 20480 0
mac_hid 12288 0
amd_pmc 40960 0
msr 12288 0
parport_pc 53248 0
ppdev 24576 0
lp 28672 0
parport 77824 3 parport_pc,lp,ppdev
efi_pstore 12288 0
dmi_sysfs 20480 0
ip_tables 36864 0
x_tables 69632 1 ip_tables
autofs4 57344 2
overlay 196608 1
nls_iso8859_1 12288 1
raid10 77824 0
raid456 196608 0
async_raid6_recov 20480 1 raid456
async_memcpy 16384 2 raid456,async_raid6_recov
async_pq 20480 2 raid456,async_raid6_recov
async_xor 16384 3 async_pq,raid456,async_raid6_recov
async_tx 16384 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor 20480 2 async_xor,btrfs
raid6_pq 126976 4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c 12288 3 btrfs,xfs,raid456
raid1 57344 0
raid0 24576 0
multipath 16384 0
linear 16384 0
dm_mirror 24576 0
dm_region_hash 24576 1 dm_mirror
dm_log 20480 2 dm_region_hash,dm_mirror
hid_generic 12288 0
usbhid 77824 0
uas 28672 0
usb_storage 86016 2 uas
amdxcp 12288 0
iommu_v2 24576 0
drm_buddy 20480 0
gpu_sched 61440 0
i2c_algo_bit 16384 0
drm_suballoc_helper 16384 0
drm_ttm_helper 12288 0
ttm 110592 1 drm_ttm_helper
drm_display_helper 241664 0
cec 94208 1 drm_display_helper
rc_core 77824 1 cec
crct10dif_pclmul 12288 1
crc32_pclmul 12288 0
polyval_clmulni 12288 0
drm_kms_helper 270336 1 drm_display_helper
polyval_generic 12288 1 polyval_clmulni
ghash_clmulni_intel 16384 0
aesni_intel 356352 0
crypto_simd 16384 1 aesni_intel
nvme 57344 0
cryptd 24576 2 crypto_simd,ghash_clmulni_intel
sdhci_pci 90112 0
drm 761856 8 gpu_sched,drm_kms_helper,drm_suballoc_helper,drm_display_helper,drm_buddy,drm_ttm_helper,ttm,amdxcp
amd_sfh 53248 0
thunderbolt 479232 0
nvme_core 208896 1 nvme
cqhci 40960 1 sdhci_pci
r8169 114688 0
hid 180224 3 usbhid,hid_generic,amd_sfh
xhci_pci 24576 0
sdhci 90112 1 sdhci_pci
xhci_pci_renesas 20480 1 xhci_pci
nvme_common 28672 1 nvme_core
video 73728 0
realtek 36864 1
wmi 40960 2 video,wmi_bmof
|
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4397 Location: Bavaria
|
Posted: Thu Feb 29, 2024 6:30 pm Post subject: |
|
|
Marcus613 wrote: | When I enable CONFIG_SYSFB_SIMPLEFB, I have the black screen even sooner (right after the ramdisk is loaded). |
Disable CONFIG_SYSFB_SIMPLEFB (because it makes problems with some chipset).
Marcus613 wrote: | I wonder how it could be an hardware problem since I'm able to boot and use the consol with the Minimal Installation CD |
IF ... If you can boot with our Gentoo-minimalCD THEN you must be able to boot with our dist-kernel ... this means to me: You have not booted the dist-kernel (do you use grub ? Have you made a grub-mkconfig afterwards ?)
To check your system I would need your (actual) kernel .config and all 3 files of: https://wiki.gentoo.org/wiki/User:Pietinger/Overview_of_System_Information _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
Marcus613 n00b
Joined: 28 Feb 2024 Posts: 19
|
Posted: Thu Feb 29, 2024 8:13 pm Post subject: |
|
|
I didn't manage to make ssh work without any screen working.
Files are too big to be embedded in the message, here are some dropboxshare
The /var/log/message (retrieved with the "Minimal Installation CD" after booting once the system)
https://www.dropbox.com/scl/fi/7vajuknrxvphetz632pu1/messages?rlkey=jgabw9mrhjkuvla1e7fx8waho&dl=0
emerge --info:
Code: | Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.38-r10, 6.6.13-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.6.13-gentoo-x86_64-x86_64-AMD_Ryzen_9_7940HS_w-_Radeon_780M_Graphics-with-glibc2.38
KiB Mem: 65140428 total, 64353300 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Thu, 29 Feb 2024 07:30:00 +0000
Head commit of repository gentoo: bf3840abb9f8b7a7efc03bcd4c2ad8fcb5fab297
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.1_p16-r6::gentoo
dev-build/autoconf: 2.71-r6::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.27.9::gentoo
dev-build/libtool: 2.4.7-r2::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.3.1-r1::gentoo
dev-lang/perl: 5.38.2-r1::gentoo
dev-lang/python: 3.11.8_p1::gentoo, 3.12.2_p1::gentoo
sys-apps/baselayout: 2.14-r2::gentoo
sys-apps/openrc: 0.53::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc: 13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-kernel/linux-headers: 6.6::gentoo (virtual/os-headers)
sys-libs/glibc: 2.38-r10::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-metamanifest: yes
sync-rsync-verify-jobs: 1
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 3
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/17.1/x86-64
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build"
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=native -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 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=native -O2 -pipe"
GENTOO_MIRRORS="https://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="--jobs=16"
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="acl alsa amd64 bzip2 cli crypt cuda dracut dri elogind encode flac fortran ftp gd gdbm git hwaccel iconv ipv6 libtirpc lto mmap mount multilib ncurses nls opengl openmp pam pcre readline seccomp split-usr ssl test-rust threads unicode vulkan wayland wifi xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2021" 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 avx512_bf16 avx512_bitalg avx512_vbmi2 avx512_vnni avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f avx512ifma avx512vbmi avx512vl f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" 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-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, 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
|
dmesg (from "Minimal Installation CD") https://www.dropbox.com/scl/fi/t5q0qkzzoj8trby49g8fi/dmesg-gentoo-minimal.txt?rlkey=5125gtw0szsz2se7dgx0y3mrr&dl=0
lspci -nnk
Code: | 00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e8]
Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:14e8]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e9]
Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:14e9]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ea]
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ea]
00:02.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ee]
Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
Kernel driver in use: pcieport
00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ee]
Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
Kernel driver in use: pcieport
00:02.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ee]
Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
Kernel driver in use: pcieport
00:02.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ee]
Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
Kernel driver in use: pcieport
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ea]
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 19h USB4/Thunderbolt PCIe tunnel [1022:14ef]
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 19h USB4/Thunderbolt PCIe tunnel [1022:1453]
Kernel driver in use: pcieport
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ea]
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ea]
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14eb]
Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:14eb]
Kernel driver in use: pcieport
00:08.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14eb]
Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:14eb]
Kernel driver in use: pcieport
00:08.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14eb]
Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:14eb]
Kernel driver in use: pcieport
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 71)
Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b]
Kernel driver in use: piix4_smbus
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
Subsystem: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14f0]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14f1]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14f2]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14f3]
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14f4]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14f5]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14f6]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14f7]
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:0123]
Kernel driver in use: r8169
02:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:7922]
Subsystem: AzureWave MT7922 802.11ax PCI Express Wireless Network Adapter [1a3b:5911]
Kernel driver in use: mt7921e
03:00.0 SD Host controller [0805]: O2 Micro, Inc. SD/MMC Card Reader Controller [1217:8520] (rev 01)
Subsystem: O2 Micro, Inc. SD/MMC Card Reader Controller [1217:0002]
Kernel driver in use: sdhci-pci
04:00.0 Non-Volatile memory controller [0108]: Phison Electronics Corporation PS5026-E26 PCIe5 NVMe Controller [1987:5026]
Subsystem: Phison Electronics Corporation PS5026-E26 PCIe5 NVMe Controller [1987:5026]
Kernel driver in use: nvme
65:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev c1)
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:0124]
65:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
Kernel driver in use: snd_hda_intel
65:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 19h (Model 74h) CCP/PSP 3.0 Device [1022:15c7]
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 19h (Model 74h) CCP/PSP 3.0 Device [1022:15c7]
65:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b9]
Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:15b9]
Kernel driver in use: xhci_hcd
65:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15ba]
Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:15b9]
Kernel driver in use: xhci_hcd
65:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:15e3]
DeviceName: Realtek ALC256
Subsystem: Device [1f55:1001]
Kernel driver in use: snd_hda_intel
65:00.7 Signal processing controller [1180]: Advanced Micro Devices, Inc. [AMD] Device [1022:164a]
Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:164a]
66:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ec]
Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:14ec]
66:00.1 Signal processing controller [1180]: Advanced Micro Devices, Inc. [AMD] AMD IPU Device [1022:1502]
Subsystem: Advanced Micro Devices, Inc. [AMD] AMD IPU Device [1022:1502]
67:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ec]
Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:14ec]
67:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15c0]
Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:15c0]
Kernel driver in use: xhci_hcd
67:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15c1]
Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:15c1]
Kernel driver in use: xhci_hcd
67:00.5 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Pink Sardine USB4/Thunderbolt NHI controller #1 [1022:1668]
Subsystem: Advanced Micro Devices, Inc. [AMD] Pink Sardine USB4/Thunderbolt NHI controller [1022:1668]
|
|
|
Back to top |
|
|
Marcus613 n00b
Joined: 28 Feb 2024 Posts: 19
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4397 Location: Bavaria
|
Posted: Thu Feb 29, 2024 10:36 pm Post subject: |
|
|
I am confused ... you gave me the kernel .config of our LiveCD (or dist-kernel) ... here is clearly all necessary AMD GPU stuff enabled ... but you booted another kernel where you miss the AMD GPU modules:
Code: | 65:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev c1)
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:0124] |
(there is no line "Kernel driver in use:")
Do you have a swap partition (because p2 is a root partition and p1 is a FAT ... assuming your ESP) ?
Code: | [ 55.513252] EXT4-fs (nvme0n1p2): recovery complete
[ 55.514077] EXT4-fs (nvme0n1p2): mounted filesystem 68e66642-a052-4e67-ad82-1888feee0dd2 r/w with ordered data mode. Quota mode: none. |
I assume that you are using grub as bootmanager and that you have installed according to our AMD64 Handbook. Boot with whatever GentooCD and chroot (*) into your system. After you have mounted /efi we would need:
- ls -alR /boot (cut out all the grub files)
- ls -alR /efi
- ls -l /usr/src
- ls -l /usr/src/linux/arch/x86/boot/bz*
- output of "mount"
- output of "efibootmgr" (emerge it if you dont have it with "emerge efibootmgr")
- the content of /boot/grub/grub.cfg
*) https://wiki.gentoo.org/wiki/User:Pietinger/New_at_Gentoo#Pause_during_Installation
The more you tell us about what you have installed and where you stand now the easier it is to help. _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
Marcus613 n00b
Joined: 28 Feb 2024 Posts: 19
|
Posted: Thu Feb 29, 2024 11:38 pm Post subject: |
|
|
The /var/log/message have been writtent by my linux install.
The Kernel config is the one I've used to compile the kernel.
emerge --info, dmesg, lspci -nnk, I got all those output booting on my installation usbkey and chrooting to my installation: I'm didn't managed to boot my installation an make sshd work.
Code: | /boot:
total 114808
drwxr-xr-x 4 root root 4096 Jan 1 1970 .
drwxr-xr-x 21 root root 4096 Feb 25 18:38 ..
-rwxr-xr-x 1 root root 266670 Feb 29 06:44 config-6.6.16-gentoo-dist
drwxr-xr-x 3 root root 4096 Feb 29 11:42 EFI
drwxr-xr-x 6 root root 4096 Feb 29 23:46 grub
-rwxr-xr-x 1 root root 30456301 Feb 29 06:44 initramfs-6.6.16-gentoo-dist.img
-rwxr-xr-x 1 root root 11577324 Feb 29 21:46 initramfs-6.7.6-x86_64.img
-rwxr-xr-x 1 root root 12144976 Feb 29 22:48 initramfs-6.8.0-rc6-x86_64.img
-rwxr-xr-x 1 root root 9466657 Feb 29 06:44 System.map-6.6.16-gentoo-dist
-rwxr-xr-x 1 root root 6800423 Feb 29 21:35 System.map-6.7.6-x86_64
-rwxr-xr-x 1 root root 6586756 Feb 29 22:37 System.map-6.8.0-rc6-x86_64
-rwxr-xr-x 1 root root 15688816 Feb 29 06:44 vmlinuz-6.6.16-gentoo-dist
-rwxr-xr-x 1 root root 12485120 Feb 29 21:35 vmlinuz-6.7.6-x86_64
-rwxr-xr-x 1 root root 12042752 Feb 29 22:37 vmlinuz-6.8.0-rc6-x86_64
/boot/EFI:
total 12
drwxr-xr-x 3 root root 4096 Feb 29 11:42 .
drwxr-xr-x 4 root root 4096 Jan 1 1970 ..
drwxr-xr-x 2 root root 4096 Feb 29 11:42 gentoo
/boot/EFI/gentoo:
total 144
drwxr-xr-x 2 root root 4096 Feb 29 11:42 .
drwxr-xr-x 3 root root 4096 Feb 29 11:42 ..
-rwxr-xr-x 1 root root 139264 Feb 29 23:46 grubx64.efi
/boot/grub:
... |
Code: | lrwxrwxrwx 1 root root 11 Feb 29 23:52 linux -> linux-6.7.6
drwxr-xr-x 26 root root 4096 Feb 29 16:10 linux-6.6.16-gentoo-dist
drwxrwxr-x 26 root root 4096 Feb 29 21:45 linux-6.7.6
drwxrwxr-x 26 root root 4096 Feb 29 22:47 linux-6.8-rc6 |
Code: | ls -l /usr/src/linux/arch/x86/boot/bz* |
Code: | -rw-r--r-- 1 root root 12485120 Feb 29 21:35 /usr/src/linux/arch/x86/boot/bzImage |
Code: | /dev/nvme0n1p2 on / type ext4 (rw,relatime)
/dev/nvme0n1p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
udev on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=10240k,nr_inodes=8141113,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
none on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755) |
Code: | BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0000,0003,0002,0001
Boot0000* gentoo HD(1,GPT,72b6ff45-994f-154c-82eb-ea4270cde912,0x800,0x400000)/File(\EFI\gentoo\grubx64.efi)
Boot0001* UEFI: PXE IPv4 Realtek PCIe 2.5GBE Family Controller PciRoot(0x0)/Pci(0x2,0x1)/Pci(0x0,0x0)/MAC(38f7cdc705c2,0)/IPv4(0.0.0.00.0.0.0,0,0)0000424f
Boot0002* UEFI: PXE IPv6 Realtek PCIe 2.5GBE Family Controller PciRoot(0x0)/Pci(0x2,0x1)/Pci(0x0,0x0)/MAC(38f7cdc705c2,0)/IPv6([::]:<->[::]:,0,0)0000424f
Boot0003* UEFI: Samsung Type-C 1100, Partition 1 PciRoot(0x0)/Pci(0x8,0x3)/Pci(0x0,0x3)/USB(1,0)/HD(1,MBR,0x397030f3,0x800,0x1de07c00)0000424f |
Code: | cat /boot/grub/grub.cfg |
Code: | #
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 68e66642-a052-4e67-ad82-1888feee0dd2
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-68e66642-a052-4e67-ad82-1888feee0dd2' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 0B87-818E
echo 'Loading Linux 6.8.0-rc6-x86_64 ...'
linux /vmlinuz-6.8.0-rc6-x86_64 root=UUID=68e66642-a052-4e67-ad82-1888feee0dd2 ro
echo 'Loading initial ramdisk ...'
initrd /initramfs-6.8.0-rc6-x86_64.img
}
submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-68e66642-a052-4e67-ad82-1888feee0dd2' {
menuentry 'Gentoo GNU/Linux, with Linux 6.8.0-rc6-x86_64' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.8.0-rc6-x86_64-advanced-68e66642-a052-4e67-ad82-1888feee0dd2' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 0B87-818E
echo 'Loading Linux 6.8.0-rc6-x86_64 ...'
linux /vmlinuz-6.8.0-rc6-x86_64 root=UUID=68e66642-a052-4e67-ad82-1888feee0dd2 ro
echo 'Loading initial ramdisk ...'
initrd /initramfs-6.8.0-rc6-x86_64.img
}
menuentry 'Gentoo GNU/Linux, with Linux 6.8.0-rc6-x86_64 (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.8.0-rc6-x86_64-recovery-68e66642-a052-4e67-ad82-1888feee0dd2' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 0B87-818E
echo 'Loading Linux 6.8.0-rc6-x86_64 ...'
linux /vmlinuz-6.8.0-rc6-x86_64 root=UUID=68e66642-a052-4e67-ad82-1888feee0dd2 ro single
echo 'Loading initial ramdisk ...'
initrd /initramfs-6.8.0-rc6-x86_64.img
}
menuentry 'Gentoo GNU/Linux, with Linux 6.7.6-x86_64' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.7.6-x86_64-advanced-68e66642-a052-4e67-ad82-1888feee0dd2' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 0B87-818E
echo 'Loading Linux 6.7.6-x86_64 ...'
linux /vmlinuz-6.7.6-x86_64 root=UUID=68e66642-a052-4e67-ad82-1888feee0dd2 ro
echo 'Loading initial ramdisk ...'
initrd /initramfs-6.7.6-x86_64.img
}
menuentry 'Gentoo GNU/Linux, with Linux 6.7.6-x86_64 (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.7.6-x86_64-recovery-68e66642-a052-4e67-ad82-1888feee0dd2' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 0B87-818E
echo 'Loading Linux 6.7.6-x86_64 ...'
linux /vmlinuz-6.7.6-x86_64 root=UUID=68e66642-a052-4e67-ad82-1888feee0dd2 ro single
echo 'Loading initial ramdisk ...'
initrd /initramfs-6.7.6-x86_64.img
}
menuentry 'Gentoo GNU/Linux, with Linux 6.6.16-gentoo-dist' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.16-gentoo-dist-advanced-68e66642-a052-4e67-ad82-1888feee0dd2' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 0B87-818E
echo 'Loading Linux 6.6.16-gentoo-dist ...'
linux /vmlinuz-6.6.16-gentoo-dist root=UUID=68e66642-a052-4e67-ad82-1888feee0dd2 ro
echo 'Loading initial ramdisk ...'
initrd /initramfs-6.6.16-gentoo-dist.img
}
menuentry 'Gentoo GNU/Linux, with Linux 6.6.16-gentoo-dist (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.6.16-gentoo-dist-recovery-68e66642-a052-4e67-ad82-1888feee0dd2' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 0B87-818E
echo 'Loading Linux 6.6.16-gentoo-dist ...'
linux /vmlinuz-6.6.16-gentoo-dist root=UUID=68e66642-a052-4e67-ad82-1888feee0dd2 ro single
echo 'Loading initial ramdisk ...'
initrd /initramfs-6.6.16-gentoo-dist.img
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/25_bli ###
if [ "$grub_platform" = "efi" ]; then
insmod bli
fi
### END /etc/grub.d/25_bli ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
if [ "$grub_platform" = "efi" ]; then
fwsetup --is-supported
if [ "$?" = 0 ]; then
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
fi
fi
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ### |
I didn't really understood the handbook about the boot partition location. I've found this video https://youtu.be/_50MJv4Dc40?t=3354 and followed what he does at this timestamp. So I don't have an /efi folder. Is this why I have these troubles ?
I have a swap partition and this is what my nvme drive look like:
Code: | Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 4196351 4194304 2G EFI System
/dev/nvme0n1p2 4196352 3638593679 3634397328 1.7T Linux filesystem
/dev/nvme0n1p3 3638595584 3907028991 268433408 128G Linux swap |
|
|
Back to top |
|
|
Marcus613 n00b
Joined: 28 Feb 2024 Posts: 19
|
Posted: Thu Feb 29, 2024 11:51 pm Post subject: |
|
|
In case this could help to understand where I'm wrong, I've logged ever command I've used during the installation
Code: | `wpa_supplicant -iwlp2s0 -c /mnt/cdrom/root/network -B`
`dhcpcd wlp2s0`
`lsblk`
`fdisk /dev/nvme0n1`
- g command to create a new empty GPT partition table.
- n to add new partitions
- t to change partitions type
- w write table to disk and exit
```
Command (m for help): p
Disk /dev/nvme0n1: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: Corsair MP700 PRO
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: D74929AF-F5C1-7B42-98D0-F19A00684913
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 4196351 4194304 2G EFI System
/dev/nvme0n1p2 4196352 3638593679 3634397328 1.7T Linux filesystem
/dev/nvme0n1p3 3638595584 3907028991 268433408 128G Linux swap
```
`mkfs.fat -F 32 /dev/nvme0n1p1`
`mkfs.ext4 /dev/nvme0n1p2`
`mkswap /dev/nvme0n1p3`
`swapon /dev/nvme0n1p3`
`mkdir -p /mnt/gentoo`
`mount /dev/nvme0n1p2 /mnt/gentoo`
`chronyd -q`
`cd /mnt/gentoo`
`livecd /mnt/gentoo # links gentoo.org`
`livecd /mnt/gentoo # tar xpvf stage3-*.tar.xz --xattrs-include='*.*' --numeric-owner`
`nano /mnt/gentoo/etc/portage/make.conf`
```
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
# NOTE: This stage was built with the bindist Use flag enabled
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.utf8
# MAKEOPTS="--jobs=20 --load-average"
MAKEOPTS="--jobs=16"
# FEATURES="parallel-fetch parallel-install"
FEATURES="parallel-fetch"
EMERGE_DEFAULT_OPTS="--quiet-build"
USE="alsa bzip2 crypt cuda elogind encode flac ftp gd git hwaccel lto mmap mount nls opengl ssl thr>ACCEPT_LICENSE="*"
GRUB_PLATFORMS="efi-64"
GENTOO_MIRRORS="https://gentoo.mirrors.ovh.net/gentoo-distfiles/ \
http://gentoo.mirrors.ovh.net/gentoo-distfiles/"
```
`cp --dereference /etc/resolv.conf /mnt/gentoo/etc`
```
mount --types proc /proc /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --make-rslave /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
mount --make-rslave /mnt/gentoo/dev
mount --bind /run /mnt/gentoo/run
mount --make-slave /mnt/gentoo/run
```
`chroot /mnt/gentoo /bin/bash`
`source /etc/profile && export PS1="(chroot) $PS1"`
`mount /dev/nvme0n1p1 /boot`
`mkdir -p /etc/portage/repos.conf`
`cp /usr/share/portage/config/repos.conf /etc/portage/repos.conf/gentoo.conf`
`emerge-webrsync`
`emerge --sync`
`eselect profile list | less`
`eselect profile set 1`
`emerge --ask app-portage/cpuid2cpuflags`
`echo "*/* $(cpuid2cpuflags)" > /etc/portage/package.use/00cpu-flags`
`emerge --ask --verbose --update --deep --newuse @world`
`emerge --ask --depclean`
`echo "Europe/Paris" > /etc/timezone`
`emerge --config sys-libs/timezone-data`
`nano /etc/locale.gen`
```
en_US ISO-8859-1
en_US.UTF-8 UTF-8
fr_FR ISO-8859-1
fr_FR@euro ISO-8859-15
```
`locale-gen`
`eselect locale list`
`eselect locale set 6`
```
[1] C
[2] C.utf8
[3] POSIX
[4] en_US
[5] en_US.iso88591
[6] en_US.utf8 *
[7] fr_FR
[8] fr_FR.iso88591
[9] fr_FR.iso885915@euro
[10] fr_FR@euro
[ ] (free form)
```
`env-update && source /etc/profile && export PS1="(chroot) $PS1"`
`emerge --ask net-misc/openssh`
```
ssh-keygen -t rsa -b 4096 -f /etc/ssh/ssh_host_rsa_key -N ""
ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N ""
ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N ""
```
`emerge --ask www-client/links`
`cd /usr/src && links kernel.org`
`tar xvf linux-6.7.6.tar.xz`
`ln -s linux-6.7.6 linux`
`emerge --ask sys-kernel/linux-firmware`
`emerge --ask sys-apps/pciutils`
`emerge --ask sys-kernel/genkernel`
`genkernel --menuconfig --mountboot --install all`
`eselect kernel list`
`emerge --ask sys-apps/systemd-utils`
`echo "ga7" > /etc/hostname`
`emerge --ask net-misc/dhcpcd`
`rc-update add dhcpcd default`
`emerge --ask --noreplace net-misc/netifrc`
`ifconfig`
```
enp1s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 38:f7:cd:c7:05:c2 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 12 bytes 792 (792.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12 bytes 792 (792.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.20.10.2 netmask 255.255.255.240 broadcast 172.20.10.15
inet6 2a02:8440:b157:cd9:589f:318f:fd6d:d23 prefixlen 64 scopeid 0x0<global>
inet6 fe80::ba02:784b:dfaa:4bbd prefixlen 64 scopeid 0x20<link>
ether a8:41:f4:d4:4c:fc txqueuelen 1000 (Ethernet)
RX packets 995438 bytes 1375944788 (1.2 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 418908 bytes 30390711 (28.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
```
`nano /etc/conf.d/net`
```
config_enp1s0="dhcp"
```
`cd /etc/init.d`
`ln -s net.lo net.enp1s0`
`rc-update add net.enp1s0 default`
`nano /etc/hosts`
```
127.0.0.1 ga7 localhost
::1 localhost
```
`passwd`
`nano /etc/conf.d/keymaps`
```
# Use keymap to specify the default console keymap. There is a complete tree
# of keymaps in /usr/share/keymaps to choose from.
keymap="fr"
# Should we first load the 'windowkeys' console keymap? Most x86 users will
# say "yes" here. Note that non-x86 users should leave it as "no".
# Loading this keymap will enable VT switching (like ALT+Left/Right)
# using the special windows keys on the linux console.
windowkeys="YES"
# The maps to load for extended keyboards. Most users will leave this as is.
extended_keymaps=""
#extended_keymaps="backspace keypad euro2"
# Tell dumpkeys(1) to interpret character action codes to be
# from the specified character set.
# This only matters if you set unicode="yes" in /etc/rc.conf.
# For a list of valid sets, run `dumpkeys --help`
dumpkeys_charset=""
# Some fonts map AltGr-E to the currency symbol instead of the Euro.
# To fix this, set to "yes"
fix_euro="NO"
```
`emerge --ask app-admin/sysklogd`
`rc-update add sysklogd default`
`emerge --ask sys-apps/mlocate`
`updatedb`
`emerge --ask net-misc/chrony`
`rc-update add chronyd default`
`emerge --ask sys-fs/dosfstools`
`emerge --ask net-wireless/wpa_supplicant`
`emerge --ask net-wireless/wireless-tools`
`emerge --ask sys-boot/grub`
`emerge --ask sys-boot/os-prober`
`echo "GRUB_DISABLE_OS_PROBER=false" >> /etc/default/grub`
`emerge --ask sys-fs/ntfs3g`
`grub-install --target=x86_64-efi --efi-directory=/boot`
`grub-mkconfig -o /boot/grub/grub.cfg`
`exit`
`cd`
`umount -l /mnt/gentoo/dev{/shm,/pts} && umount -R /mnt/gentoo`
`reboot` |
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4397 Location: Bavaria
|
Posted: Thu Feb 29, 2024 11:59 pm Post subject: |
|
|
Marcus613 wrote: | [...] I didn't really understood the handbook about the boot partition location. I've found this video https://youtu.be/_50MJv4Dc40?t=3354 and followed what he does at this timestamp. So I don't have an /efi folder. Is this why I have these troubles ? |
No, you have problems because of two facts:
1. You have watched an outdated video ... please read this thread from today (and follow my link):
https://forums.gentoo.org/viewtopic-t-1167619-highlight-.html
2. You have a kernel you should not have: vmlinuz-6.8.0-rc6-x86_64
and this kernel is the first option in your grub; so grub tries to start this kernel ...
Now, I suggest:
1. Dont change /boot in /efi ... live with this old setting ... it doesnt harm
2. Chroot again into your Gentoo system and mount your 1st parition to /boot and clean everything in /boot EXCEPT:
- EFI
- grub
- *6.6.16-gentoo* (this is our dist-kernel)
- do again a "grub-mkconfig -o /boot/grub/grub.cfg"
- Check in /boot/grub/grub.cfg if now this kernel is the first option ... FROM: =>
Code: | ### BEGIN /etc/grub.d/10_linux ###
menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-68e66642-a052-4e67-ad82-1888feee0dd2' {
load_video
if [ "x$grub_platform" = xefi ]; then
set gfxpayload=keep
fi
insmod gzio
insmod part_gpt
insmod fat
search --no-floppy --fs-uuid --set=root 0B87-818E
echo 'Loading Linux 6.8.0-rc6-x86_64 ...'
[...] |
TO: This line should now be "Loading Linux 6.6.16"
Try to boot now this kernel. _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4397 Location: Bavaria
|
|
Back to top |
|
|
Marcus613 n00b
Joined: 28 Feb 2024 Posts: 19
|
Posted: Fri Mar 01, 2024 12:36 am Post subject: |
|
|
Yes, I've tried other kernels and used to switch from one to another with the grub menu "Advanced options for Gentoo GNU/Linux"
However, I've removed every kernels except the one installed from binary files. /boot/grub/grub.cfg have been updated by grub-mkconfig like you said. But I still get the same black screen. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4397 Location: Bavaria
|
Posted: Fri Mar 01, 2024 12:42 am Post subject: |
|
|
Marcus613 wrote: | Yes, I've tried other kernels and used to switch from one to another with the grub menu "Advanced options for Gentoo GNU/Linux"
However, I've removed every kernels except the one installed from binary files. /boot/grub/grub.cfg have been updated by grub-mkconfig like you said. But I still get the same black screen. |
This is very strange. I would like to see now the (complete) /var/log/messages (from your Gentoo system; you must not chroot into; only mount p2 to /mnt/gentoo and then go into /mnt/gentoo/var/log)... please use wgetpaste for this ... (as already said in my wiki article). _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
Marcus613 n00b
Joined: 28 Feb 2024 Posts: 19
|
Posted: Fri Mar 01, 2024 12:46 am Post subject: |
|
|
Yes, I've tested stable version 6.7.6 and the 6.8-rc6
I'll try to get and merge the sources with emerge as suggested. |
|
Back to top |
|
|
Marcus613 n00b
Joined: 28 Feb 2024 Posts: 19
|
|
Back to top |
|
|
Marcus613 n00b
Joined: 28 Feb 2024 Posts: 19
|
|
Back to top |
|
|
Marcus613 n00b
Joined: 28 Feb 2024 Posts: 19
|
Posted: Fri Mar 01, 2024 8:41 am Post subject: |
|
|
I found the solution to this problem !
In /etc/default/grub I've added a line:
Code: | GRUB_CMDLINE_LINUX_DEFAULT="nomodeset" |
and that's it
Thank you so much for the time and dedication you've put here helping me. You really helped me to understand the problem and to learn stuff. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4397 Location: Bavaria
|
Posted: Fri Mar 01, 2024 1:27 pm Post subject: |
|
|
Marcus613 wrote: | I found the solution to this problem ! |
Happy to hear that !
I have looked at the files; they must be files that were created AFTER the SUCCESSFUL boot, because there is no "nomodeset":
Code: | [ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-6.6.16-gentoo-dist root=UUID=68e66642-a052-4e67-ad82-1888feee0dd2 ro |
(I didn't find it in your grub.cfg either)
This is fine also:
Code: | 65:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev c1)
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:0124]
Kernel driver in use: amdgpu
Kernel modules: amdgpu |
Marcus613 wrote: | Thank you so much [...] |
You are very Welcome !
Have fun with Gentoo ! _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
|
|
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
|
|