View previous topic :: View next topic |
Author |
Message |
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 36
|
Posted: Sun Dec 22, 2024 7:51 pm Post subject: how to use a custom initramfs and get a unified kernel image |
|
|
I have a custom initramfs with busytbox and I want to use it and create a unified kernel image. If its possible I'd like to have it done with install kernel. I've tried to use ukify but I can't get it working. Help appreciated |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5240 Location: Bavaria
|
Posted: Sun Dec 22, 2024 8:41 pm Post subject: |
|
|
Although these two pages:
https://wiki.gentoo.org/wiki/Unified_kernel_image
https://wiki.archlinux.org/title/Unified_kernel_image
say that a UKI can have a UEFI boot stub like systemd-stub:
Quote: | A unified kernel image (UKI) is a single executable which can be booted directly from UEFI firmware, or automatically sourced by boot loaders with little or no configuration. It is the combination of a UEFI boot stub program like systemd-stub(7), a Linux kernel image, an initrd, and further resources in a single UEFI PE file. |
our developers are of the opinion that it is only a UKI if it has the systemd-stub ... ... but I don't know how to name a UKI with the kernel's own stub.
I built my “UKI” 5 years ago when the term UKI didn't even exist. Of course I used the kernel's own stub ... and to this day I boot a signed (for SecureBoot) kernel image that contains everything ... it is even a monolithic kernel (=without module support).
Now if you already have a self-made initramfs (like me) then I recommend you to do everything else manually as well, because it's easier than you think (and installkernel is more complicated than you think; I even dont know if it is possible to use an own initramfs).
If you want go the manual route you have to do:
1. Ensure you have in your kernel the CPU microcode built-in (CONFIG_EXTRA_FIRMWARE) and maybe some firmware files if you need it,
2. Option for EFI-stub is enabled in your kernel (CONFIG_EFI_STUB=y),
3. Embedd your external initramfs into the kernel with these settings:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Initramfs_Overview#Special_Case:_Building_an_embedded_initramfs_with_a_CPIO_archive _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 36
|
Posted: Sun Dec 22, 2024 9:57 pm Post subject: |
|
|
okay so I've just read the article. So when you're including files they have to also exist within the initramfs file system e.g
Code: |
file /sbin/mdadm /root/initramfs/bins/sbin/mdadm 755 0 0
|
so the how does this line "This lets the initramfs be built dynamically, always using the latest files from the system" make sense? aren't you still copying the static binaries. Or is it suggesting that you should make a script to create this file? (https://wiki.gentoo.org/wiki/Custom_Initramfs#External_file_list)
Last edited by Cheesyjuggler64 on Sun Dec 22, 2024 10:53 pm; edited 2 times in total |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22867
|
Posted: Sun Dec 22, 2024 10:49 pm Post subject: |
|
|
The Wiki is a bit confusing on this point. An initramfs list will always build the initramfs as part of the kernel, using the files specified as sources as they exist at build time. You can choose to specify those files as being pulled from the main filesystem (file /sbin/mdadm /sbin/mdadm 755 0 0 would pull from live), in which case they are always current to your routine updates, or you can choose to pull them from a hand-curated directory that changes only when you want to change it (as shown in the code fragment you posted). The text describes doing the former, but the shown example does the latter. |
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 36
|
Posted: Sun Dec 22, 2024 10:54 pm Post subject: |
|
|
ah thanks maybe the wiki could do with some clarification there. Im going to try set it up now. I'm trying to build the initramfs for an encrypted btrfs root. |
|
Back to top |
|
|
zen_desu n00b
Joined: 25 Oct 2024 Posts: 68
|
Posted: Mon Dec 23, 2024 12:00 am Post subject: |
|
|
I'm not sure what a UKI helps with if the initramfs is built into the kernel itself.
Are you building that file list outside of the kernel build process? _________________ µgRD dev
Wiki writer |
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 36
|
Posted: Mon Dec 23, 2024 12:46 am Post subject: |
|
|
Ah so if I embed my intramfs into the kernel the kernel will just be a single binary and as such I can boot it directly from uefi? |
|
Back to top |
|
|
zen_desu n00b
Joined: 25 Oct 2024 Posts: 68
|
Posted: Mon Dec 23, 2024 1:03 am Post subject: |
|
|
Cheesyjuggler64 wrote: | what do you mean by outside the build process? So if I embed the initramfs I can just rename it to .efi and have it boot via uefi ? |
I mean you can use that file list with gen_init_cpio to create an actual CPIO, or you can use CONFIG_INITRAMFS_SOURCE on a directory to have the kernel pack that initramfs into the image at build time.
The initramfs exists as a "CPIO" which may be compressed if the kernel supports it. It's not directly executable.
A UKI can pack this "external" initramfs into a single file along with your kernel and more which can be booted by an EFI system. This is mostly useful if you use some initramfs generator and the CPIO is a separate file. If you pack the initramfs into the kernel directly, the UKI may handle your microcode and possibly your kernel cmdline, but these could also be built into the kernel image itself.
I think the main advantage of a UKI is it allows you to easily reuse a kernel with a new initramfs, as embedding it into the kernel generally requires at least a partial rebuild. _________________ µgRD dev
Wiki writer |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5240 Location: Bavaria
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5240 Location: Bavaria
|
Posted: Mon Dec 23, 2024 1:22 am Post subject: |
|
|
Cheesyjuggler64 wrote: | Ah so if I embed my intramfs into the kernel the kernel will just be a single binary and as such I can boot it directly from uefi? |
YES
(... if you add also your CPU microcode into the kernel) _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
zen_desu n00b
Joined: 25 Oct 2024 Posts: 68
|
Posted: Mon Dec 23, 2024 1:24 am Post subject: |
|
|
^^
If you're already building everything, you may as well build it into the kernel.
I think UKIS are mostly helpful if you're packing already made kernels/initramfs/etc into a file after the fact. If you're already going the custom route and building things into your kernel, the rest may not be necessary. _________________ µgRD dev
Wiki writer |
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 36
|
Posted: Mon Dec 23, 2024 1:48 am Post subject: |
|
|
How exactly would I add the mircocode and how can I test my init is working without building the intramfs. Is there some sort of kernel parameter? |
|
Back to top |
|
|
zen_desu n00b
Joined: 25 Oct 2024 Posts: 68
|
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 36
|
Posted: Mon Dec 23, 2024 3:08 am Post subject: |
|
|
okay so just to check I do this
Code: | mkdir --parents /usr/src/initramfs/{bin,dev,etc,lib,lib64,mnt/root,proc,root,sbin,sys}
emerge --ask --verbose sys-apps/busybox
cd /usr/src/initramfs
nano init |
Code: | nano initramfs_list |
then I go into the kernel and set CONFIG_INITRAMFS_SOURCE="/usr/src/initramfs/initramfs_list"
Code: | cd /usr/src/linux
make -j8 && make -j8 modules_install
make install
|
with the installkernel config being set as efistub
Code: |
layout="efistub"
initrd_generator=none
uki_generator=none
|
then reboot and it should work |
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 36
|
Posted: Mon Dec 23, 2024 11:17 am Post subject: |
|
|
Also is there anyway to automate grabbing the required dependencies for something like btrfs and cryptsetup? |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5240 Location: Bavaria
|
Posted: Mon Dec 23, 2024 1:15 pm Post subject: |
|
|
Cheesyjuggler64 wrote: | Also is there anyway to automate grabbing the required dependencies for something like btrfs and cryptsetup? |
No .. You have to find out with "ldd" or "lddtree. An example doing it is here:
https://wiki.gentoo.org/wiki/Initramfs_-_make_your_own#Example_List_of_Requirements
=====
Please let me add some comments:
1. You dont need this when working with a initramfs_list:
Code: | mkdir --parents /usr/src/initramfs/{bin,dev,etc,lib,lib64,mnt/root,proc,root,sbin,sys} |
You have only two files in /usr/src/initramfs: Your "init" file and the file-list file.
2. I dont know if "installkernel" works the way you want ... I really dont know.
3. Get a static Busybox:
Code: | USE="-pam static static-libs" emerge -pvD busybox |
see again: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Initramfs_Overview#Simple_Skeleton
4. My building of my signed UKI was:
4a. Manually configuring the kernel with
* efistub-support (CONFIG_EFI_STUB=y)
* CPU microcode (and all needed firmware files because I have disabled module-support and have all modules static in the kernel) in:
Code: | CONFIG_EXTRA_FIRMWARE="intel-ucode/06-b7-01 i915/adls_dmc_ver2_01.bin rtl_nic/rtl8125b-2.fw i915/tgl_guc_70.bin i915/tgl_huc.bin" |
(how to decide which microcode you need: https://forums.gentoo.org/viewtopic-t-1065464.html )
* Every Kernel command line parameters inside the kernel (so no need to configure the UEFI boot entry with parameters):
Code: | CONFIG_CMDLINE="root=PARTUUID=6979eed7-ffaf-425e-8ac7-2832f6d15e0a ro loglevel=8 lsm.debug ima_appraise=enforce quiet hardened_usercopy=1 page_alloc.shuffle=1 pti=on" |
(please be aware of: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Confusion_with_root%3DPARTUUID%3D_and_root%3DUUID%3D )
* Secured against overwriting by the UEFI boot entry:
Code: | CONFIG_CMDLINE_OVERRIDE=y |
* And of course embedding the initramfs:
Code: | General setup --->
[*] Initial RAM filesystem and RAM disk (initramfs/initrd) support
(/usr/src/initramfs/initramfs_list) Initramfs source file(s)
[*] Support initial ramdisk/ramfs compressed using gzip
Built-in initramfs compression mode (Gzip) ---> |
( see also: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration + https://wiki.gentoo.org/wiki/User:Pietinger/Experimental/Manual_Configuring_Current_Kernel )
4b. I dont use "installkernel". After building the kernel with "make -j32" I installed it with a simple copy (instead a make install):
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Boot_kernel_via_UEFI
(in reality between step 4a and 4b I also signed this stub-kernel (my "UKI") for SecureBoot:
https://forums.gentoo.org/viewtopic-p-8492354.html#8492354 ) _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5240 Location: Bavaria
|
|
Back to top |
|
|
zen_desu n00b
Joined: 25 Oct 2024 Posts: 68
|
Posted: Mon Dec 23, 2024 4:41 pm Post subject: |
|
|
Cheesyjuggler64 wrote: | Also is there anyway to automate grabbing the required dependencies for something like btrfs and cryptsetup? |
if you're really interested in automation, ugrd was designed using the custom initramfs wiki article as a reference. It more or less follows those steps in an automated manner.
If you don't want all the features and autodetection/checks ugrd offers, you can disable the "base" module and use it to simply add "dependencies"
If you define a "dependency" in ugrd, it finds the location of that binary, then runs lddtree on it and includes all required libraries: https://github.com/desultory/ugrd/blob/1.28.2/src/ugrd/base/core.py#L39
Some things may not say they use libgcc, but may use it anyways. Because of this, it's generally a good idea to include it regardless: https://github.com/desultory/ugrd/blob/1.28.2/src/ugrd/base/core.py#L166
At the very least, you always want to run ldd/lddtree on programs you're adding to the initramfs, unless they are statically compiled. This isn't a guarantee those programs have everything they need, but this is the best way to at least find libraries that binary is linked against. _________________ µgRD dev
Wiki writer |
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 36
|
Posted: Mon Dec 23, 2024 7:08 pm Post subject: |
|
|
I'll look into ugrd. In the mean time I managed to get it to boot successfully. These were my configs encase anyone else has this idea:
Code: |
GNU nano 4.8 /mnt/usr/src/initramfs/init
#!/bin/busybox sh
export PATH="/sbin:/bin:/usr/sbin:/usr/bin:${PATH}"
rescue_shell() {
echo "$@"
# The symlinks are not required but it helps tab completion
busybox --install -s
echo "Something went wrong"
exec bin/sh
}
echo "Mounting proc, sys and devtmpfs ..."
busybox mount -t devtmpfs none /dev || rescue_shell "Error: mount /devtmpfs failed !"
busybox mount -t proc none /proc || rescue_shell "Error: mount /proc failed !"
busybox mount -t sysfs none /sys || rescue_shell "Error: mount /sysfs failed !"
echo 0 > /proc/sys/kernel/printk
busybox clear
cryptsetup luksOpen /dev/nvme0n1p3 cryptroot || rescue_shell "Failed to decrypt"
wait
mount -o ro,subvol=@ /dev/mapper/cryptroot /mnt/root
umount /proc
umount /sys
umount /dev
exec /bin/busybox switch_root /mnt/root /sbin/init
|
initramfs_list
Code: |
# basic root directories
dir /bin 755 0 0
dir /dev 755 0 0
dir /etc 755 0 0
dir /lib 755 0 0
dir /lib64 755 0 0
dir /mnt 755 0 0
dir /mnt/root 755 0 0
dir /proc 755 0 0
dir /root 700 0 0
dir /sbin 755 0 0
dir /sys 755 0 0
dir /usr 755 0 0
dir /usr/bin 755 0 0
dir /usr/lib64 755 0 0
dir /var 755 0 0
dir /run 755 0 0
dir /run/cryptsetup 755 0 0
# busybox
nod /dev/random 0666 0 0 c 1 8
nod /dev/urandom 0666 0 0 c 1 9
nod /dev/console 0600 0 0 c 5 1
file /bin/busybox /bin/busybox 755 0 0
#
# fsck deps
#
file /sbin/fsck /sbin/fsck 755 0 0
file /lib64/libmount.so.1 /lib64/libmount.so.1 755 0 0
file /lib64/libblkid.so.1 /lib64/libblkid.so.1 755 0 0
file /lib64/libc.so.6 /lib64/libc.so.6 755 0 0
file /lib64/libuuid.so.1 /lib64/libuuid.so.1 755 0 0
file /lib64/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2 755 0 0
#
# fsck.ext4 and added deps
#
file /sbin/fsck.ext4 /sbin/fsck.ext4 755 0 0
file /lib64/libext2fs.so.2 /lib64/libext2fs.so.2 755 0 0
file /lib64/libcom_err.so.2 /lib64/libcom_err.so.2 755 0 0
file /lib64/libe2p.so.2 /lib64/libe2p.so.2 755 0 0
file /lib64/libpthread.so.0 /lib64/libpthread.so.0 755 0 0
#
# btrfs utils and added deps
#
file /sbin/btrfs /sbin/btrfs 755 0 0
file /sbin/btrfs-convert /sbin/btrfs-convert 755 0 0
file /sbin/btrfs-find-root /sbin/btrfs-find-root 755 0 0
file /sbin/btrfs-image /sbin/btrfs-image 755 0 0
file /sbin/btrfs-map-logical /sbin/btrfs-map-logical 755 0 0
file /sbin/btrfsck /sbin/btrfsck 755 0 0
file /sbin/btrfstune /sbin/btrfstune 755 0 0
file /sbin/mkfs.btrfs /sbin/mkfs.btrfs 755 0 0
file /lib64/libz.so.1 /lib64/libz.so.1 755 0 0
file /lib64/liblzo2.so.2 /lib64/liblzo2.so.2 755 0 0
file /usr/lib64/libzstd.so.1 /usr/lib64/libzstd.so.1 755 0 0
## cryptsetup utils
#
file /sbin/cryptsetup /sbin/cryptsetup 755 0 0
#
# init script
#
file /init /usr/src/initramfs/init 755 0 0
#
# fstab
#
file /etc/fstab /etc/fstab 644 0 0
|
I does successfully unlock the root drive but I get the following error
Code: |
Enter passphrase for /deu/nvme0n1p3:
INIT: version 3.09 booting
OpenRC 0.55.1 is starting up Gentoo Linux (x86_64)
Mounting /proc
Mounting /run ..
/run/openrc: creating directory
/run/lock: creating directory
/run/lock: correcting owner
Caching seruice dependencies ...
Service 'busybox-crond' needs non existent service 'logger'
Mounting /sys
Mounting efivarfs filesystem
Mounting devtmpfs on /dev
Mounting /dev/pts
Mounting /dev/shm
Creating list of required static device nodes for the current kernel . • •
Create Static Devices Nodes in /dev
Starting udev
Generating a rule to create a /dev/root symlink
Populating /dev with existing devices through uevents
Setting system clock using the hardware clock [UTC]
Mounting misc binary format filesystem
Loading custom binary format handlers
Checking local filesystems
fsck.fat 4.2 (2021-01-31)
/dev/nvme0n1p1: 8 files, 16946/127746 clusters
Remounting root filesystem read/write ...
Remounting filesystems
Updating /etc/mtab
Creating mtab symbolic link
Activating swap devices
Mounting local filesystems
mount: /efi: wrong fs type, bad option, bad superblock on /dev/nvme0n1p1, missing codepage or helper program, or other error.
dmesg(1) may haue more information after failed mount system call.
Some local filesystem failed to mount
Configuring kernel parameters
Creating user login records
wiping /tmp directory ...
Setting hostname to localhost from /etc/conf.d/hostname
Setting terminal encoding [UTF-8]
Setting keyboard mode [UTF-8]
Loading key mappings [us]
Bringing up network interface lo
Saving key mapping ...
Saving terminal encoding
Seeding random number generator
Seeding 256 bits and crediting
Saving 256 bits of creditable seed for next boot
Create Volatile Files and Directories ...
INIT: Entering runlevel: 3
Starting DHCP Client Daemon ...
Mounting network filesystems
Starting local ...
this is localhost (Linux x86_64 6.6.62-gentoo) 19:32:17
localhost login:
|
|
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1963
|
Posted: Mon Dec 23, 2024 7:30 pm Post subject: |
|
|
Cheesyjuggler64 wrote: | I does successfully unlock the root drive but I get the following error
Code: | Service 'busybox-crond' needs non existent service 'logger' |
Code: | Mounting local filesystems
mount: /efi: wrong fs type, bad option, bad superblock on /dev/nvme0n1p1, missing codepage or helper program, or other error.
dmesg(1) may haue more information after failed mount system call.
Some local filesystem failed to mount |
|
The only errors are listed above.
The former simply wants a logger service, such as metalog or syslog-ng, to be installed.
The latter indicates an issue with the fstab line or other mount issue that dmesg would have more of a clue of than OpenRC will. |
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 36
|
Posted: Mon Dec 23, 2024 7:37 pm Post subject: |
|
|
fstab
Code: |
# UUID=2326220a-c5da-4b72-ba25-ac54fee6a709 LABEL=Gentoo\134x20Linux
/dev/mapper/cryptroot / btrfs rw,relatime,compress=zstd:1,ssd,space_cache,subvol=/@ 0 0
# UUID=B37E-67F6
UUID=B37E-67F6 /efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
# UUID=2326220a-c5da-4b72-ba25-ac54fee6a709 LABEL=Gentoo\134x20Linux
/dev/mapper/cryptroot /home btrfs rw,relatime,compress=zstd:1,ssd,space_cache,subvol=/@home 0 0
# UUID=2326220a-c5da-4b72-ba25-ac54fee6a709 LABEL=Gentoo\134x20Linux
/dev/mapper/cryptroot /var/log btrfs rw,relatime,compress=zstd:1,ssd,space_cache,subvol=/@varlog 0 0
# UUID=2326220a-c5da-4b72-ba25-ac54fee6a709 LABEL=Gentoo\134x20Linux
/dev/mapper/cryptroot /tmp btrfs rw,relatime,compress=zstd:1,ssd,space_cache,subvol=/@tmp 0 0
# UUID=2326220a-c5da-4b72-ba25-ac54fee6a709 LABEL=Gentoo\134x20Linux
/dev/mapper/cryptroot /snapshots btrfs rw,relatime,compress=zstd:1,ssd,space_cache,subvol=/@snapshots 0 0
# UUID=e7766e84-9328-48d6-a9b3-62acf6ea381c
/dev/nvme0n1p2 none swap defaults 0 0
|
dmesg
Code: |
[ 0.270398] pci_bus 0000:00: on NUMA node 0
[ 0.270754] ACPI: PCI: Interrupt link LNKA configured for IRQ 0
[ 0.270780] ACPI: PCI: Interrupt link LNKB configured for IRQ 0
[ 0.270800] ACPI: PCI: Interrupt link LNKC configured for IRQ 0
[ 0.270827] ACPI: PCI: Interrupt link LNKD configured for IRQ 0
[ 0.270850] ACPI: PCI: Interrupt link LNKE configured for IRQ 0
[ 0.270869] ACPI: PCI: Interrupt link LNKF configured for IRQ 0
[ 0.270888] ACPI: PCI: Interrupt link LNKG configured for IRQ 0
[ 0.270907] ACPI: PCI: Interrupt link LNKH configured for IRQ 0
[ 0.271311] Low-power S0 idle used by default for system suspend
[ 0.271388] ACPI: EC: interrupt unblocked
[ 0.271390] ACPI: EC: event unblocked
[ 0.271396] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[ 0.271397] ACPI: EC: GPE=0x3
[ 0.271399] ACPI: \_SB_.PCI0.SBRG.EC0_: Boot DSDT EC initialization complete
[ 0.271401] ACPI: \_SB_.PCI0.SBRG.EC0_: EC: Used to handle transactions and events
[ 0.271416] iommu: Default domain type: Translated
[ 0.271418] iommu: DMA domain TLB invalidation policy: lazy mode
[ 0.271449] SCSI subsystem initialized
[ 0.271475] libata version 3.00 loaded.
[ 0.271484] ACPI: bus type USB registered
[ 0.271491] usbcore: registered new interface driver usbfs
[ 0.271495] usbcore: registered new interface driver hub
[ 0.271498] usbcore: registered new device driver usb
[ 0.271506] pps_core: LinuxPPS API ver. 1 registered
[ 0.271508] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.271511] PTP clock support registered
[ 0.271548] efivars: Registered efivars operations
[ 0.271566] Advanced Linux Sound Architecture Driver Initialized.
[ 0.271646] NetLabel: Initializing
[ 0.271648] NetLabel: domain hash size = 128
[ 0.271649] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.271660] NetLabel: unlabeled traffic allowed by default
[ 0.271662] PCI: Using ACPI for IRQ routing
[ 0.275839] PCI: pci_cache_line_size set to 64 bytes
[ 0.275894] e820: reserve RAM buffer [mem 0x09bff000-0x0bffffff]
[ 0.275895] e820: reserve RAM buffer [mem 0x0a200000-0x0bffffff]
[ 0.275896] e820: reserve RAM buffer [mem 0xe7c51018-0xe7ffffff]
[ 0.275897] e820: reserve RAM buffer [mem 0xe7c92018-0xe7ffffff]
[ 0.275897] e820: reserve RAM buffer [mem 0xe81a9000-0xebffffff]
[ 0.275898] e820: reserve RAM buffer [mem 0xea1a4000-0xebffffff]
[ 0.275898] e820: reserve RAM buffer [mem 0xeb006000-0xebffffff]
[ 0.275899] e820: reserve RAM buffer [mem 0xee000000-0xefffffff]
[ 0.275899] e820: reserve RAM buffer [mem 0x3ef340000-0x3efffffff]
[ 0.275930] pci 0000:01:00.0: vgaarb: setting as boot VGA device
[ 0.275932] pci 0000:01:00.0: vgaarb: bridge control possible
[ 0.275934] pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[ 0.275937] pci 0000:05:00.0: vgaarb: setting as boot VGA device (overriding previous)
[ 0.275939] pci 0000:05:00.0: vgaarb: bridge control possible
[ 0.275940] pci 0000:05:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[ 0.275942] vgaarb: loaded
[ 0.275985] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[ 0.275989] hpet0: 3 comparators, 32-bit 14.318180 MHz counter
[ 0.277056] clocksource: Switched to clocksource tsc-early
[ 0.277077] VFS: Disk quotas dquot_6.6.0
[ 0.277081] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.277087] pnp: PnP ACPI init
[ 0.277120] system 00:00: [mem 0xf0000000-0xf7ffffff] has been reserved
[ 0.277243] system 00:03: [io 0x04d0-0x04d1] has been reserved
[ 0.277246] system 00:03: [io 0x040b] has been reserved
[ 0.277247] system 00:03: [io 0x04d6] has been reserved
[ 0.277249] system 00:03: [io 0x0c00-0x0c01] has been reserved
[ 0.277250] system 00:03: [io 0x0c14] has been reserved
[ 0.277252] system 00:03: [io 0x0c50-0x0c51] has been reserved
[ 0.277253] system 00:03: [io 0x0c52] has been reserved
[ 0.277255] system 00:03: [io 0x0c6c] has been reserved
[ 0.277257] system 00:03: [io 0x0c6f] has been reserved
[ 0.277258] system 00:03: [io 0x0cd0-0x0cd1] has been reserved
[ 0.277260] system 00:03: [io 0x0cd2-0x0cd3] has been reserved
[ 0.277261] system 00:03: [io 0x0cd4-0x0cd5] has been reserved
[ 0.277263] system 00:03: [io 0x0cd6-0x0cd7] has been reserved
[ 0.277264] system 00:03: [io 0x0cd8-0x0cdf] has been reserved
[ 0.277266] system 00:03: [io 0x0800-0x089f] has been reserved
[ 0.277267] system 00:03: [io 0x0b00-0x0b0f] has been reserved
[ 0.277269] system 00:03: [io 0x0b20-0x0b3f] has been reserved
[ 0.277270] system 00:03: [io 0x0900-0x090f] has been reserved
[ 0.277272] system 00:03: [io 0x0910-0x091f] has been reserved
[ 0.277274] system 00:03: [mem 0xfec00000-0xfec00fff] could not be reserved
[ 0.277275] system 00:03: [mem 0xfec01000-0xfec01fff] could not be reserved
[ 0.277277] system 00:03: [mem 0xfedc0000-0xfedc0fff] has been reserved
[ 0.277279] system 00:03: [mem 0xfee00000-0xfee00fff] has been reserved
[ 0.277280] system 00:03: [mem 0xfed80000-0xfed8ffff] could not be reserved
[ 0.277282] system 00:03: [mem 0xfec10000-0xfec10fff] has been reserved
[ 0.277284] system 00:03: [mem 0xff000000-0xffffffff] has been reserved
[ 0.277515] pnp: PnP ACPI: found 4 devices
[ 0.282494] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 0.282536] NET: Registered PF_INET protocol family
[ 0.282770] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.286043] tcp_listen_portaddr_hash hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.286052] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.286056] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.286175] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[ 0.286249] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.286273] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
[ 0.286302] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
[ 0.286348] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.286389] RPC: Registered named UNIX socket transport module.
[ 0.286390] RPC: Registered udp transport module.
[ 0.286391] RPC: Registered tcp transport module.
[ 0.286392] RPC: Registered tcp-with-tls transport module.
[ 0.286394] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.286586] pci 0000:00:01.1: PCI bridge to [bus 01]
[ 0.286590] pci 0000:00:01.1: bridge window [io 0xf000-0xffff]
[ 0.286594] pci 0000:00:01.1: bridge window [mem 0xfb000000-0xfc0fffff]
[ 0.286596] pci 0000:00:01.1: bridge window [mem 0xfe00000000-0xff01ffffff 64bit pref]
[ 0.286600] pci 0000:00:02.1: PCI bridge to [bus 02]
[ 0.286602] pci 0000:00:02.1: bridge window [io 0xe000-0xefff]
[ 0.286605] pci 0000:00:02.1: bridge window [mem 0xfc700000-0xfc7fffff]
[ 0.286609] pci 0000:00:02.2: PCI bridge to [bus 03]
[ 0.286613] pci 0000:00:02.2: bridge window [mem 0xff20300000-0xff204fffff 64bit pref]
[ 0.286617] pci 0000:00:02.4: PCI bridge to [bus 04]
[ 0.286619] pci 0000:00:02.4: bridge window [mem 0xfc600000-0xfc6fffff]
[ 0.286625] pci 0000:00:08.1: PCI bridge to [bus 05]
[ 0.286626] pci 0000:00:08.1: bridge window [io 0xd000-0xdfff]
[ 0.286629] pci 0000:00:08.1: bridge window [mem 0xfc200000-0xfc5fffff]
[ 0.286631] pci 0000:00:08.1: bridge window [mem 0xff10000000-0xff201fffff 64bit pref]
[ 0.286636] pci_bus 0000:00: resource 4 [io 0x0000-0x03af window]
[ 0.286638] pci_bus 0000:00: resource 5 [io 0x03e0-0x0cf7 window]
[ 0.286640] pci_bus 0000:00: resource 6 [io 0x03b0-0x03df window]
[ 0.286641] pci_bus 0000:00: resource 7 [io 0x0d00-0xffff window]
[ 0.286643] pci_bus 0000:00: resource 8 [mem 0x000a0000-0x000dffff window]
[ 0.286645] pci_bus 0000:00: resource 9 [mem 0xf0000000-0xfcffffff window]
[ 0.286646] pci_bus 0000:00: resource 10 [mem 0x410000000-0xffffffffff window]
[ 0.286648] pci_bus 0000:01: resource 0 [io 0xf000-0xffff]
[ 0.286650] pci_bus 0000:01: resource 1 [mem 0xfb000000-0xfc0fffff]
[ 0.286651] pci_bus 0000:01: resource 2 [mem 0xfe00000000-0xff01ffffff 64bit pref]
[ 0.286653] pci_bus 0000:02: resource 0 [io 0xe000-0xefff]
[ 0.286655] pci_bus 0000:02: resource 1 [mem 0xfc700000-0xfc7fffff]
[ 0.286656] pci_bus 0000:03: resource 2 [mem 0xff20300000-0xff204fffff 64bit pref]
[ 0.286658] pci_bus 0000:04: resource 1 [mem 0xfc600000-0xfc6fffff]
[ 0.286660] pci_bus 0000:05: resource 0 [io 0xd000-0xdfff]
[ 0.286661] pci_bus 0000:05: resource 1 [mem 0xfc200000-0xfc5fffff]
[ 0.286663] pci_bus 0000:05: resource 2 [mem 0xff10000000-0xff201fffff 64bit pref]
[ 0.286720] pci 0000:01:00.1: extending delay after power-on from D3hot to 20 msec
[ 0.286736] pci 0000:01:00.1: D0 power state depends on 0000:01:00.0
[ 0.286796] pci 0000:05:00.1: D0 power state depends on 0000:05:00.0
[ 0.286815] pci 0000:05:00.3: extending delay after power-on from D3hot to 20 msec
[ 0.286907] pci 0000:05:00.4: extending delay after power-on from D3hot to 20 msec
[ 0.286938] PCI: CLS 64 bytes, default 64
[ 0.288760] AMD-Vi: ivrs, add hid:AMDI0020, uid:\_SB.FUR0, rdevid:160
[ 0.288765] AMD-Vi: ivrs, add hid:AMDI0020, uid:\_SB.FUR1, rdevid:160
[ 0.288767] AMD-Vi: ivrs, add hid:AMDI0020, uid:\_SB.FUR2, rdevid:160
[ 0.288768] AMD-Vi: ivrs, add hid:AMDI0020, uid:\_SB.FUR3, rdevid:160
[ 0.288769] AMD-Vi: Using global IVHD EFR:0x206d73ef22254ade, EFR2:0x0
[ 0.288826] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
[ 0.288862] pci 0000:00:01.0: Adding to iommu group 0
[ 0.288869] pci 0000:00:01.1: Adding to iommu group 1
[ 0.288878] pci 0000:00:02.0: Adding to iommu group 2
[ 0.288884] pci 0000:00:02.1: Adding to iommu group 3
[ 0.288891] pci 0000:00:02.2: Adding to iommu group 4
[ 0.288897] pci 0000:00:02.4: Adding to iommu group 5
[ 0.288904] pci 0000:00:08.0: Adding to iommu group 6
[ 0.288910] pci 0000:00:08.1: Adding to iommu group 6
[ 0.288917] pci 0000:00:14.0: Adding to iommu group 7
[ 0.288922] pci 0000:00:14.3: Adding to iommu group 7
[ 0.288937] pci 0000:00:18.0: Adding to iommu group 8
[ 0.288942] pci 0000:00:18.1: Adding to iommu group 8
[ 0.288947] pci 0000:00:18.2: Adding to iommu group 8
[ 0.288951] pci 0000:00:18.3: Adding to iommu group 8
[ 0.288956] pci 0000:00:18.4: Adding to iommu group 8
[ 0.288961] pci 0000:00:18.5: Adding to iommu group 8
[ 0.288966] pci 0000:00:18.6: Adding to iommu group 8
[ 0.288972] pci 0000:00:18.7: Adding to iommu group 8
[ 0.288980] pci 0000:01:00.0: Adding to iommu group 9
[ 0.288986] pci 0000:01:00.1: Adding to iommu group 9
[ 0.288992] pci 0000:02:00.0: Adding to iommu group 10
[ 0.288998] pci 0000:03:00.0: Adding to iommu group 11
[ 0.289004] pci 0000:04:00.0: Adding to iommu group 12
[ 0.289014] pci 0000:05:00.0: Adding to iommu group 6
[ 0.289017] pci 0000:05:00.1: Adding to iommu group 6
[ 0.289020] pci 0000:05:00.2: Adding to iommu group 6
[ 0.289023] pci 0000:05:00.3: Adding to iommu group 6
[ 0.289027] pci 0000:05:00.4: Adding to iommu group 6
[ 0.289030] pci 0000:05:00.5: Adding to iommu group 6
[ 0.289034] pci 0000:05:00.6: Adding to iommu group 6
[ 0.290388] pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
[ 0.290392] AMD-Vi: Extended features (0x206d73ef22254ade, 0x0): PPR X2APIC NX GT IA GA PC GA_vAPIC
[ 0.291108] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.291111] software IO TLB: mapped [mem 0x00000000e3c51000-0x00000000e7c51000] (64MB)
[ 0.291119] RAPL PMU: API unit is 2^-32 Joules, 1 fixed counters, 163840 ms ovfl timer
[ 0.291121] RAPL PMU: hw unit of domain package 2^-16 Joules
[ 0.291123] LVT offset 0 assigned for vector 0x400
[ 0.291127] perf: AMD IBS detected (0x000003ff)
[ 0.291129] amd_uncore: 4 amd_df counters detected
[ 0.291131] amd_uncore: 6 amd_l3 counters detected
[ 0.291134] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
[ 0.291302] Initialise system trusted keyrings
[ 0.291316] workingset: timestamp_bits=62 max_order=22 bucket_order=0
[ 0.291374] NFS: Registering the id_resolver key type
[ 0.291377] Key type id_resolver registered
[ 0.291378] Key type id_legacy registered
[ 0.300812] xor: automatically using best checksumming function avx
[ 0.300820] Key type asymmetric registered
[ 0.300822] Asymmetric key parser 'x509' registered
[ 0.300842] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.300850] io scheduler mq-deadline registered
[ 0.300851] io scheduler kyber registered
[ 0.303145] pcieport 0000:00:01.1: PME: Signaling with IRQ 35
[ 0.303210] pcieport 0000:00:02.1: PME: Signaling with IRQ 36
[ 0.303265] pcieport 0000:00:02.2: PME: Signaling with IRQ 37
[ 0.303321] pcieport 0000:00:02.4: PME: Signaling with IRQ 38
[ 0.303377] pcieport 0000:00:08.1: PME: Signaling with IRQ 39
[ 0.303427] nvidiafb_setup START
[ 0.303431] nvidiafb_probe START
[ 0.303433] nvidiafb 0000:01:00.0: enabling device (0000 -> 0003)
[ 0.303470] nvidiafb: Device ID: 10de25a2
[ 0.303471] nvidiafb: unknown NV_ARCH
[ 0.305121] ACPI: AC: AC Adapter [ACAD] (on-line)
[ 0.305155] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[ 0.305166] ACPI: button: Power Button [PWRB]
[ 0.305180] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1
[ 0.305188] ACPI: button: Sleep Button [SLPB]
[ 0.305200] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input2
[ 0.305208] ACPI: button: Lid Switch [LID0]
[ 0.305248] ACPI: video: Video Device [VGA] (multi-head: yes rom: no post: no)
[ 0.305308] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0d/LNXVIDEO:00/input/input3
[ 0.305323] Monitor-Mwait will be used to enter C-1 state
[ 0.305325] ACPI: \_SB_.PLTF.P000: Found 3 idle states
[ 0.305331] ACPI: FW issue: working around C-state latencies out of order
[ 0.305345] Warning: Processor Platform Limit event detected, but not handled.
[ 0.305346] Consider compiling CPUfreq support into your kernel.
[ 0.306158] ACPI: \_TZ_.THRM: Invalid passive threshold
[ 0.306187] ACPI BIOS Error (bug): Could not resolve symbol [\_TZ.THRM._SCP.CTYP], AE_NOT_FOUND (20230628/psargs-332)
[ 0.306191] ACPI Error: Aborting method \_TZ.THRM._SCP due to previous error (AE_NOT_FOUND) (20230628/psparse-529)
[ 0.306231] thermal LNXTHERM:00: registered as thermal_zone0
[ 0.306232] ACPI: thermal: Thermal Zone [THRM] (56 C)
[ 0.306287] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.306651] ACPI: battery: Slot [BAT1] (battery present)
[ 0.306694] Non-volatile memory driver v1.3
[ 0.306696] Linux agpgart interface v0.103
[ 0.306903] ACPI: bus type drm_connector registered
[ 0.306908] [drm] amdgpu kernel modesetting enabled.
[ 0.306912] amdgpu: vga_switcheroo: detected switching method \_SB_.PCI0.GP17.VGA_.ATPX handle
[ 0.307021] amdgpu: ATPX version 1, functions 0x00000001
[ 0.307036] amdgpu: ATPX Hybrid Graphics
[ 0.308892] amdgpu 0000:05:00.0: enabling device (0006 -> 0007)
[ 0.308922] [drm] initializing kernel modesetting (RENOIR 0x1002:0x1636 0x1043:0x11DC 0xC6).
[ 0.308967] [drm] register mmio base: 0xFC500000
[ 0.308969] [drm] register mmio size: 524288
[ 0.314201] [drm] add ip block number 0 <soc15_common>
[ 0.314206] [drm] add ip block number 1 <gmc_v9_0>
[ 0.314208] [drm] add ip block number 2 <vega10_ih>
[ 0.314209] [drm] add ip block number 3 <psp>
[ 0.314210] [drm] add ip block number 4 <smu>
[ 0.314212] [drm] add ip block number 5 <dm>
[ 0.314213] [drm] add ip block number 6 <gfx_v9_0>
[ 0.314215] [drm] add ip block number 7 <sdma_v4_0>
[ 0.314216] [drm] add ip block number 8 <vcn_v2_0>
[ 0.314217] [drm] add ip block number 9 <jpeg_v2_0>
[ 0.314230] amdgpu 0000:05:00.0: amdgpu: Fetched VBIOS from VFCT
[ 0.314233] amdgpu: ATOM BIOS: 113-RENOIR-031
[ 0.314242] Loading firmware: amdgpu/renoir_asd.bin
[ 0.317076] power_supply ACAD: power_supply_changed
[ 0.317080] power_supply ACAD: power_supply_changed_work
[ 0.317125] power_supply ACAD: power_supply_update_gen_leds 1
[ 0.318075] power_supply BAT1: power_supply_changed
[ 0.318077] power_supply BAT1: power_supply_changed_work
[ 0.318079] power_supply BAT1: power_supply_update_bat_leds 1
[ 0.338486] amdgpu 0000:05:00.0: Direct firmware load for amdgpu/renoir_asd.bin failed with error -2
[ 0.338498] [drm:0xffffffff90f00741] *ERROR* early_init of IP block <psp> failed -19
[ 0.338504] Loading firmware: amdgpu/renoir_dmcub.bin
[ 0.338508] amdgpu 0000:05:00.0: Direct firmware load for amdgpu/renoir_dmcub.bin failed with error -2
[ 0.338510] [drm:0xffffffff91167129] *ERROR* DMUB firmware loading failed: -19
[ 0.338512] [drm:0xffffffff90f00741] *ERROR* early_init of IP block <dm> failed -19
[ 0.338517] Loading firmware: amdgpu/renoir_pfp.bin
[ 0.338521] amdgpu 0000:05:00.0: Direct firmware load for amdgpu/renoir_pfp.bin failed with error -2
[ 0.338523] [drm:0xffffffff90f00741] *ERROR* early_init of IP block <gfx_v9_0> failed -19
[ 0.338526] Loading firmware: amdgpu/renoir_sdma.bin
[ 0.338530] amdgpu 0000:05:00.0: Direct firmware load for amdgpu/renoir_sdma.bin failed with error -2
[ 0.338535] [drm:0xffffffff9102fc1d] *ERROR* Failed to load sdma firmware!
[ 0.338536] [drm:0xffffffff90f00741] *ERROR* early_init of IP block <sdma_v4_0> failed -19
[ 0.338538] [drm] VCN decode is enabled in VM mode
[ 0.338540] [drm] VCN encode is enabled in VM mode
[ 0.338542] Loading firmware: amdgpu/renoir_vcn.bin
[ 0.338545] amdgpu 0000:05:00.0: Direct firmware load for amdgpu/renoir_vcn.bin failed with error -2
[ 0.338547] [drm:0xffffffff90f00741] *ERROR* early_init of IP block <vcn_v2_0> failed -19
[ 0.338549] [drm] JPEG decode is enabled in VM mode
[ 0.338550] amdgpu 0000:05:00.0: amdgpu: Fatal error during GPU init
[ 0.338553] amdgpu 0000:05:00.0: amdgpu: amdgpu: finishing device.
[ 0.339039] loop: module loaded
[ 0.339321] nvme 0000:04:00.0: platform quirk: setting simple suspend
[ 0.339346] nvme nvme0: pci function 0000:04:00.0
[ 0.347186] r8169 0000:02:00.0 eth0: RTL8168h/8111h, 50:eb:f6:32:38:41, XID 541, IRQ 44
[ 0.347199] r8169 0000:02:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[ 0.347377] xhci_hcd 0000:05:00.3: xHCI Host Controller
[ 0.347412] xhci_hcd 0000:05:00.3: new USB bus registered, assigned bus number 1
[ 0.347507] xhci_hcd 0000:05:00.3: hcc params 0x0268ffe5 hci version 0x110 quirks 0x0000020000000410
[ 0.347610] xhci_hcd 0000:05:00.3: xHCI Host Controller
[ 0.347636] xhci_hcd 0000:05:00.3: new USB bus registered, assigned bus number 2
[ 0.347643] xhci_hcd 0000:05:00.3: Host supports USB 3.1 Enhanced SuperSpeed
[ 0.347686] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[ 0.347694] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.347700] usb usb1: Product: xHCI Host Controller
[ 0.347704] usb usb1: Manufacturer: Linux 6.6.62-gentoo xhci-hcd
[ 0.347709] usb usb1: SerialNumber: 0000:05:00.3
[ 0.347814] hub 1-0:1.0: USB hub found
[ 0.347824] hub 1-0:1.0: 4 ports detected
[ 0.348272] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 0.348280] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06
[ 0.348282] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.348284] usb usb2: Product: xHCI Host Controller
[ 0.348286] usb usb2: Manufacturer: Linux 6.6.62-gentoo xhci-hcd
[ 0.348287] usb usb2: SerialNumber: 0000:05:00.3
[ 0.348318] hub 2-0:1.0: USB hub found
[ 0.348322] hub 2-0:1.0: 2 ports detected
[ 0.348461] xhci_hcd 0000:05:00.4: xHCI Host Controller
[ 0.348474] xhci_hcd 0000:05:00.4: new USB bus registered, assigned bus number 3
[ 0.348551] xhci_hcd 0000:05:00.4: hcc params 0x0268ffe5 hci version 0x110 quirks 0x0000020000000410
[ 0.348596] xhci_hcd 0000:05:00.4: xHCI Host Controller
[ 0.348606] xhci_hcd 0000:05:00.4: new USB bus registered, assigned bus number 4
[ 0.348608] xhci_hcd 0000:05:00.4: Host supports USB 3.1 Enhanced SuperSpeed
[ 0.348629] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[ 0.348631] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.348633] usb usb3: Product: xHCI Host Controller
[ 0.348634] usb usb3: Manufacturer: Linux 6.6.62-gentoo xhci-hcd
[ 0.348636] usb usb3: SerialNumber: 0000:05:00.4
[ 0.348667] hub 3-0:1.0: USB hub found
[ 0.348671] hub 3-0:1.0: 4 ports detected
[ 0.348854] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 0.348861] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06
[ 0.348864] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.348865] usb usb4: Product: xHCI Host Controller
[ 0.348867] usb usb4: Manufacturer: Linux 6.6.62-gentoo xhci-hcd
[ 0.348868] usb usb4: SerialNumber: 0000:05:00.4
[ 0.348896] hub 4-0:1.0: USB hub found
[ 0.348899] hub 4-0:1.0: 2 ports detected
[ 0.349004] usbcore: registered new interface driver usblp
[ 0.349011] usbcore: registered new interface driver usb-storage
[ 0.349022] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[ 0.349024] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 0.349994] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.350139] rtc_cmos 00:01: RTC can wake from S4
[ 0.350307] rtc_cmos 00:01: registered as rtc0
[ 0.350324] rtc_cmos 00:01: alarms up to one month, y3k, 114 bytes nvram
[ 0.350345] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[ 0.350356] efifb: probing for efifb
[ 0.350362] efifb: framebuffer at 0xff10000000, using 8100k, total 8100k
[ 0.350364] efifb: mode is 1920x1080x32, linelength=7680, pages=1
[ 0.350365] efifb: scrolling: redraw
[ 0.350366] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[ 0.351449] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
[ 0.351795] Console: switching to colour frame buffer device 240x67
[ 0.352724] nvme nvme0: Shutdown timeout set to 8 seconds
[ 0.353029] fb0: EFI VGA frame buffer device
[ 0.353048] hid: raw HID events driver (C) Jiri Kosina
[ 0.353063] usbcore: registered new interface driver usbhid
[ 0.353069] usbhid: USB HID core driver
[ 0.353165] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[ 0.353193] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 0.353249] snd_hda_intel 0000:05:00.1: enabling device (0000 -> 0002)
[ 0.353300] snd_hda_intel 0000:05:00.6: enabling device (0000 -> 0002)
[ 0.353850] Initializing XFRM netlink socket
[ 0.353872] NET: Registered PF_INET6 protocol family
[ 0.354002] Segment Routing with IPv6
[ 0.354010] In-situ OAM (IOAM) with IPv6
[ 0.354031] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 0.354141] NET: Registered PF_PACKET protocol family
[ 0.354160] Key type dns_resolver registered
[ 0.354233] microcode: microcode updated early to new patch_level=0x0860010d
[ 0.354256] microcode: CPU0: patch_level=0x0860010d
[ 0.354264] microcode: Microcode Update Driver: v2.2.
[ 0.354269] AVX2 version of gcm_enc/dec engaged.
[ 0.354293] AES CTR mode by8 optimization enabled
[ 0.355786] sched_clock: Marking stable (354496957, 575843)->(360039143, -4966343)
[ 0.355834] registered taskstats version 1
[ 0.355839] Loading compiled-in X.509 certificates
[ 0.356286] snd_hda_intel 0000:05:00.1: Cannot probe codecs, giving up
[ 0.356678] Btrfs loaded, zoned=no, fsverity=no
[ 0.356726] PM: Magic number: 4:949:243
[ 0.356784] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 0.356985] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 0.357188] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[ 0.357200] Loading firmware: regulatory.db
[ 0.357210] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 0.357224] cfg80211: failed to load regulatory.db
[ 0.359246] snd_hda_intel 0000:01:00.1: Cannot probe codecs, giving up
[ 0.365293] clk: Disabling unused clocks
[ 0.365307] ALSA device list:
[ 0.365578] No soundcards found.
[ 0.367202] nvme nvme0: allocated 64 MiB host memory buffer.
[ 0.396956] nvme nvme0: 1/0/0 default/read/poll queues
[ 0.406023] nvme0n1: p1 p2 p3
[ 0.408440] Freeing unused kernel image (initmem) memory: 7296K
[ 0.408961] Write protecting the kernel read-only data: 26624k
[ 0.409973] Freeing unused kernel image (rodata/data gap) memory: 1992K
[ 0.419780] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 0.420299] Run /init as init process
[ 0.420812] with arguments:
[ 0.420812] /init
[ 0.420813] with environment:
[ 0.420813] HOME=/
[ 0.420813] TERM=linux
[ 0.588105] usb 3-2: new high-speed USB device number 2 using xhci_hcd
[ 0.588156] usb 1-4: new high-speed USB device number 2 using xhci_hcd
[ 0.718757] usb 3-2: New USB device found, idVendor=18d1, idProduct=4ee8, bcdDevice= 4.19
[ 0.718765] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 0.718768] usb 3-2: Product: OnePlus 8T
[ 0.718770] usb 3-2: Manufacturer: OnePlus
[ 0.718772] usb 3-2: SerialNumber: b6efe981
[ 0.738296] usb 1-4: New USB device found, idVendor=322e, idProduct=202c, bcdDevice= 1.03
[ 0.738304] usb 1-4: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 0.738307] usb 1-4: Product: USB2.0 HD UVC WebCam
[ 0.738309] usb 1-4: Manufacturer: Sonix Technology Co., Ltd.
[ 0.842110] usb 3-3: new high-speed USB device number 3 using xhci_hcd
[ 0.971623] usb 3-3: New USB device found, idVendor=13d3, idProduct=3563, bcdDevice= 1.00
[ 0.971630] usb 3-3: New USB device strings: Mfr=5, Product=6, SerialNumber=7
[ 0.971633] usb 3-3: Product: Wireless_Device
[ 0.971636] usb 3-3: Manufacturer: MediaTek Inc.
[ 0.971638] usb 3-3: SerialNumber: 000000000
[ 1.322605] tsc: Refined TSC clocksource calibration: 2894.562 MHz
[ 1.322612] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x29b931f2070, max_idle_ns: 440795319138 ns
[ 1.322618] clocksource: Switched to clocksource tsc
[ 1.889872] usb 3-2: USB disconnect, device number 2
[ 2.412606] usb 3-2: new high-speed USB device number 4 using xhci_hcd
[ 2.546233] usb 3-2: New USB device found, idVendor=22d9, idProduct=276a, bcdDevice= 4.19
[ 2.546240] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.546244] usb 3-2: Product: OnePlus 8T
[ 2.546246] usb 3-2: Manufacturer: OnePlus
[ 2.546248] usb 3-2: SerialNumber: b6efe981
[ 11.275498] ext3: Unknown parameter 'subvol'
[ 11.275609] ext2: Unknown parameter 'subvol'
[ 11.275700] ext4: Unknown parameter 'subvol'
[ 11.276426] BTRFS: device label Gentoo Linux devid 1 transid 1940 /dev/mapper/cryptroot scanned by mount (136)
[ 11.276718] BTRFS info (device dm-0): first mount of filesystem 2326220a-c5da-4b72-ba25-ac54fee6a709
[ 11.276725] BTRFS info (device dm-0): using crc32c (crc32c-generic) checksum algorithm
[ 11.276735] BTRFS info (device dm-0): disk space caching is enabled
[ 11.279913] BTRFS info (device dm-0): enabling ssd optimizations
[ 11.927555] r8169 0000:02:00.0 enp2s0: renamed from eth0
[ 11.953937] mt7921e 0000:03:00.0: enabling device (0000 -> 0002)
[ 11.954024] Loading firmware: mediatek/WIFI_RAM_CODE_MT7961_1.bin
[ 11.969663] mt7921e 0000:03:00.0: ASIC revision: 79610010
[ 12.044285] Loading firmware: mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
[ 12.045342] mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20241106151007a
[ 12.303064] Loading firmware: mediatek/WIFI_RAM_CODE_MT7961_1.bin
[ 12.303318] mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20241106151045
[ 12.332257] Loading firmware: mediatek/WIFI_RAM_CODE_MT7961_1.bin
[ 13.039099] BTRFS info (device dm-0: state M): use zstd compression, level 1
[ 13.117441] Adding 10485756k swap on /dev/nvme0n1p2. Priority:-2 extents:1 across:10485756k SS
[ 13.120015] mt7921e 0000:03:00.0 wlp3s0: renamed from wlan0
[ 13.148558] FAT-fs (nvme0n1p1): IO charset iso8859-1 not found
|
the firmware loading errors are a quick fix. |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1963
|
Posted: Mon Dec 23, 2024 7:42 pm Post subject: |
|
|
Cheesyjuggler64 wrote: | fstab
Code: | # UUID=B37E-67F6
UUID=B37E-67F6 /efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2 |
dmesg
Code: | [ 13.148558] FAT-fs (nvme0n1p1): IO charset iso8859-1 not found |
|
The kernel has no support for that iocharset value. Remove it from fstab or add support to the kernel. |
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 36
|
Posted: Mon Dec 23, 2024 8:48 pm Post subject: |
|
|
okay so my new fstab
Code: |
# UUID=2326220a-c5da-4b72-ba25-ac54fee6a709 LABEL=Gentoo\134x20Linux
/dev/mapper/cryptroot / btrfs rw,relatime,compress=zstd:1,ssd,space_cache,subvol=/@ 0 0
# UUID=B37E-67F6
UUID=B37E-67F6 /efi vfat dmask=0022 0 2
# UUID=2326220a-c5da-4b72-ba25-ac54fee6a709 LABEL=Gentoo\134x20Linux
/dev/mapper/cryptroot /home btrfs rw,relatime,compress=zstd:1,ssd,space_cache,subvol=/@home 0 0
# UUID=2326220a-c5da-4b72-ba25-ac54fee6a709 LABEL=Gentoo\134x20Linux
/dev/mapper/cryptroot /var/log btrfs rw,relatime,compress=zstd:1,ssd,space_cache,subvol=/@varlog 0 0
# UUID=2326220a-c5da-4b72-ba25-ac54fee6a709 LABEL=Gentoo\134x20Linux
/dev/mapper/cryptroot /tmp btrfs rw,relatime,compress=zstd:1,ssd,space_cache,subvol=/@tmp 0 0
# UUID=2326220a-c5da-4b72-ba25-ac54fee6a709 LABEL=Gentoo\134x20Linux
/dev/mapper/cryptroot /snapshots btrfs rw,relatime,compress=zstd:1,ssd,space_cache,subvol=/@snapshots 0 0
# UUID=e7766e84-9328-48d6-a9b3-62acf6ea381c
/dev/nvme0n1p2 none swap defaults 0 0
|
new dmseg
Code: |
[ 0.319703] [drm] add ip block number 4 <smu>
[ 0.319704] [drm] add ip block number 5 <dm>
[ 0.319706] [drm] add ip block number 6 <gfx_v9_0>
[ 0.319707] [drm] add ip block number 7 <sdma_v4_0>
[ 0.319709] [drm] add ip block number 8 <vcn_v2_0>
[ 0.319710] [drm] add ip block number 9 <jpeg_v2_0>
[ 0.319722] amdgpu 0000:05:00.0: amdgpu: Fetched VBIOS from VFCT
[ 0.319725] amdgpu: ATOM BIOS: 113-RENOIR-031
[ 0.319733] Loading firmware: amdgpu/renoir_asd.bin
[ 0.323553] power_supply BAT1: power_supply_changed
[ 0.323557] power_supply ACAD: power_supply_changed
[ 0.323558] power_supply BAT1: power_supply_changed_work
[ 0.323563] power_supply BAT1: power_supply_update_bat_leds 4
[ 0.323576] power_supply ACAD: power_supply_changed_work
[ 0.323618] power_supply ACAD: power_supply_update_gen_leds 1
[ 0.349067] amdgpu 0000:05:00.0: Direct firmware load for amdgpu/renoir_asd.bin failed with error -2
[ 0.349077] [drm:0xffffffffbb502101] *ERROR* early_init of IP block <psp> failed -19
[ 0.349084] Loading firmware: amdgpu/renoir_dmcub.bin
[ 0.349089] amdgpu 0000:05:00.0: Direct firmware load for amdgpu/renoir_dmcub.bin failed with error -2
[ 0.349092] [drm:0xffffffffbb768ae9] *ERROR* DMUB firmware loading failed: -19
[ 0.349094] [drm:0xffffffffbb502101] *ERROR* early_init of IP block <dm> failed -19
[ 0.349099] Loading firmware: amdgpu/renoir_pfp.bin
[ 0.349104] amdgpu 0000:05:00.0: Direct firmware load for amdgpu/renoir_pfp.bin failed with error -2
[ 0.349106] [drm:0xffffffffbb502101] *ERROR* early_init of IP block <gfx_v9_0> failed -19
[ 0.349110] Loading firmware: amdgpu/renoir_sdma.bin
[ 0.349114] amdgpu 0000:05:00.0: Direct firmware load for amdgpu/renoir_sdma.bin failed with error -2
[ 0.349120] [drm:0xffffffffbb6315dd] *ERROR* Failed to load sdma firmware!
[ 0.349122] [drm:0xffffffffbb502101] *ERROR* early_init of IP block <sdma_v4_0> failed -19
[ 0.349125] [drm] VCN decode is enabled in VM mode
[ 0.349126] [drm] VCN encode is enabled in VM mode
[ 0.349128] Loading firmware: amdgpu/renoir_vcn.bin
[ 0.349132] amdgpu 0000:05:00.0: Direct firmware load for amdgpu/renoir_vcn.bin failed with error -2
[ 0.349134] [drm:0xffffffffbb502101] *ERROR* early_init of IP block <vcn_v2_0> failed -19
[ 0.349137] [drm] JPEG decode is enabled in VM mode
[ 0.349139] amdgpu 0000:05:00.0: amdgpu: Fatal error during GPU init
[ 0.349142] amdgpu 0000:05:00.0: amdgpu: amdgpu: finishing device.
[ 0.349688] loop: module loaded
[ 0.349782] nvme 0000:04:00.0: platform quirk: setting simple suspend
[ 0.349815] nvme nvme0: pci function 0000:04:00.0
[ 0.357195] r8169 0000:02:00.0 eth0: RTL8168h/8111h, 50:eb:f6:32:38:41, XID 541, IRQ 44
[ 0.357208] r8169 0000:02:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[ 0.357386] xhci_hcd 0000:05:00.3: xHCI Host Controller
[ 0.357420] xhci_hcd 0000:05:00.3: new USB bus registered, assigned bus number 1
[ 0.357515] xhci_hcd 0000:05:00.3: hcc params 0x0268ffe5 hci version 0x110 quirks 0x0000020000000410
[ 0.357626] xhci_hcd 0000:05:00.3: xHCI Host Controller
[ 0.357656] xhci_hcd 0000:05:00.3: new USB bus registered, assigned bus number 2
[ 0.357663] xhci_hcd 0000:05:00.3: Host supports USB 3.1 Enhanced SuperSpeed
[ 0.357707] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[ 0.357715] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.357721] usb usb1: Product: xHCI Host Controller
[ 0.357725] usb usb1: Manufacturer: Linux 6.6.62-gentoo xhci-hcd
[ 0.357729] usb usb1: SerialNumber: 0000:05:00.3
[ 0.357835] hub 1-0:1.0: USB hub found
[ 0.357845] hub 1-0:1.0: 4 ports detected
[ 0.358354] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 0.358362] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06
[ 0.358364] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.358366] usb usb2: Product: xHCI Host Controller
[ 0.358367] usb usb2: Manufacturer: Linux 6.6.62-gentoo xhci-hcd
[ 0.358369] usb usb2: SerialNumber: 0000:05:00.3
[ 0.358400] hub 2-0:1.0: USB hub found
[ 0.358403] hub 2-0:1.0: 2 ports detected
[ 0.358543] xhci_hcd 0000:05:00.4: xHCI Host Controller
[ 0.358559] xhci_hcd 0000:05:00.4: new USB bus registered, assigned bus number 3
[ 0.358636] xhci_hcd 0000:05:00.4: hcc params 0x0268ffe5 hci version 0x110 quirks 0x0000020000000410
[ 0.358680] xhci_hcd 0000:05:00.4: xHCI Host Controller
[ 0.358690] xhci_hcd 0000:05:00.4: new USB bus registered, assigned bus number 4
[ 0.358692] xhci_hcd 0000:05:00.4: Host supports USB 3.1 Enhanced SuperSpeed
[ 0.358712] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[ 0.358715] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.358716] usb usb3: Product: xHCI Host Controller
[ 0.358718] usb usb3: Manufacturer: Linux 6.6.62-gentoo xhci-hcd
[ 0.358719] usb usb3: SerialNumber: 0000:05:00.4
[ 0.358750] hub 3-0:1.0: USB hub found
[ 0.358755] hub 3-0:1.0: 4 ports detected
[ 0.358939] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 0.358947] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06
[ 0.358949] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.358951] usb usb4: Product: xHCI Host Controller
[ 0.358952] usb usb4: Manufacturer: Linux 6.6.62-gentoo xhci-hcd
[ 0.358953] usb usb4: SerialNumber: 0000:05:00.4
[ 0.358981] hub 4-0:1.0: USB hub found
[ 0.358985] hub 4-0:1.0: 2 ports detected
[ 0.359089] usbcore: registered new interface driver usblp
[ 0.359097] usbcore: registered new interface driver usb-storage
[ 0.359109] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[ 0.359111] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 0.360184] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.360370] rtc_cmos 00:01: RTC can wake from S4
[ 0.360541] rtc_cmos 00:01: registered as rtc0
[ 0.360562] rtc_cmos 00:01: alarms up to one month, y3k, 114 bytes nvram
[ 0.360583] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[ 0.360594] efifb: probing for efifb
[ 0.360600] efifb: framebuffer at 0xff10000000, using 8100k, total 8100k
[ 0.360602] efifb: mode is 1920x1080x32, linelength=7680, pages=1
[ 0.360604] efifb: scrolling: redraw
[ 0.360604] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[ 0.361347] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
[ 0.362033] Console: switching to colour frame buffer device 240x67
[ 0.363171] nvme nvme0: Shutdown timeout set to 8 seconds
[ 0.363302] fb0: EFI VGA frame buffer device
[ 0.363324] hid: raw HID events driver (C) Jiri Kosina
[ 0.363341] usbcore: registered new interface driver usbhid
[ 0.363347] usbhid: USB HID core driver
[ 0.363451] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[ 0.363483] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 0.363543] snd_hda_intel 0000:05:00.1: enabling device (0000 -> 0002)
[ 0.363607] snd_hda_intel 0000:05:00.6: enabling device (0000 -> 0002)
[ 0.364199] Initializing XFRM netlink socket
[ 0.364224] NET: Registered PF_INET6 protocol family
[ 0.364369] Segment Routing with IPv6
[ 0.364377] In-situ OAM (IOAM) with IPv6
[ 0.364401] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 0.364492] NET: Registered PF_PACKET protocol family
[ 0.364510] Key type dns_resolver registered
[ 0.364616] microcode: microcode updated early to new patch_level=0x0860010d
[ 0.364641] microcode: CPU0: patch_level=0x0860010d
[ 0.364650] microcode: Microcode Update Driver: v2.2.
[ 0.364654] AVX2 version of gcm_enc/dec engaged.
[ 0.364680] AES CTR mode by8 optimization enabled
[ 0.366492] sched_clock: Marking stable (364980036, 569606)->(370458613, -4908971)
[ 0.366544] registered taskstats version 1
[ 0.366568] Loading compiled-in X.509 certificates
[ 0.366776] snd_hda_intel 0000:05:00.1: Cannot probe codecs, giving up
[ 0.367498] Btrfs loaded, zoned=no, fsverity=no
[ 0.367637] PM: Magic number: 4:470:650
[ 0.367700] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 0.367937] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 0.368081] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[ 0.368093] Loading firmware: regulatory.db
[ 0.368104] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 0.368115] cfg80211: failed to load regulatory.db
[ 0.369848] snd_hda_intel 0000:01:00.1: Cannot probe codecs, giving up
[ 0.375869] clk: Disabling unused clocks
[ 0.375885] ALSA device list:
[ 0.376262] No soundcards found.
[ 0.377451] nvme nvme0: allocated 64 MiB host memory buffer.
[ 0.407480] nvme nvme0: 1/0/0 default/read/poll queues
[ 0.416613] nvme0n1: p1 p2 p3
[ 0.418325] Freeing unused kernel image (initmem) memory: 7300K
[ 0.419119] Write protecting the kernel read-only data: 26624k
[ 0.419940] Freeing unused kernel image (rodata/data gap) memory: 1992K
[ 0.429469] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 0.429988] Run /init as init process
[ 0.430502] with arguments:
[ 0.430502] /init
[ 0.430502] with environment:
[ 0.430503] HOME=/
[ 0.430503] TERM=linux
[ 0.597583] usb 3-2: new high-speed USB device number 2 using xhci_hcd
[ 0.597599] usb 1-4: new high-speed USB device number 2 using xhci_hcd
[ 0.730699] usb 3-2: New USB device found, idVendor=18d1, idProduct=4ee8, bcdDevice= 4.19
[ 0.730706] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 0.730709] usb 3-2: Product: OnePlus 8T
[ 0.730712] usb 3-2: Manufacturer: OnePlus
[ 0.730714] usb 3-2: SerialNumber: b6efe981
[ 0.747667] usb 1-4: New USB device found, idVendor=322e, idProduct=202c, bcdDevice= 1.03
[ 0.747669] usb 1-4: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 0.747670] usb 1-4: Product: USB2.0 HD UVC WebCam
[ 0.747671] usb 1-4: Manufacturer: Sonix Technology Co., Ltd.
[ 0.838724] usb 4-1: new SuperSpeed USB device number 2 using xhci_hcd
[ 0.851312] usb 4-1: New USB device found, idVendor=0781, idProduct=5581, bcdDevice= 1.00
[ 0.851319] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 0.851323] usb 4-1: Product: SanDisk 3.2Gen1
[ 0.851325] usb 4-1: Manufacturer: USB
[ 0.851327] usb 4-1: SerialNumber: 09012992ddadbd5acebf1a6b9413c9e045bae27d92a0ad41be49613a83a17b04a077000000000000000000001336120c001f5f2081558107532ab5c5
[ 0.851927] usb-storage 4-1:1.0: USB Mass Storage device detected
[ 0.852011] scsi host0: usb-storage 4-1:1.0
[ 0.964589] usb 3-3: new high-speed USB device number 3 using xhci_hcd
[ 1.094059] usb 3-3: New USB device found, idVendor=13d3, idProduct=3563, bcdDevice= 1.00
[ 1.094061] usb 3-3: New USB device strings: Mfr=5, Product=6, SerialNumber=7
[ 1.094063] usb 3-3: Product: Wireless_Device
[ 1.094063] usb 3-3: Manufacturer: MediaTek Inc.
[ 1.094064] usb 3-3: SerialNumber: 000000000
[ 1.323599] tsc: Refined TSC clocksource calibration: 2894.561 MHz
[ 1.323606] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x29b931186c0, max_idle_ns: 440795353010 ns
[ 1.323611] clocksource: Switched to clocksource tsc
[ 1.900617] scsi 0:0:0:0: Direct-Access USB SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6
[ 1.900800] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1.901625] sd 0:0:0:0: [sda] 60063744 512-byte logical blocks: (30.8 GB/28.6 GiB)
[ 1.902247] sd 0:0:0:0: [sda] Write Protect is off
[ 1.902253] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 1.902568] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 1.905217] sda: sda1 sda2 sda3
[ 1.905265] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 16.584626] ext3: Unknown parameter 'subvol'
[ 16.584731] ext2: Unknown parameter 'subvol'
[ 16.584822] ext4: Unknown parameter 'subvol'
[ 16.585493] BTRFS: device label Gentoo Linux devid 1 transid 2023 /dev/mapper/cryptroot scanned by mount (140)
[ 16.585768] BTRFS info (device dm-0): first mount of filesystem 2326220a-c5da-4b72-ba25-ac54fee6a709
[ 16.585775] BTRFS info (device dm-0): using crc32c (crc32c-generic) checksum algorithm
[ 16.585786] BTRFS info (device dm-0): disk space caching is enabled
[ 16.589344] BTRFS info (device dm-0): enabling ssd optimizations
[ 17.254438] r8169 0000:02:00.0 enp2s0: renamed from eth0
[ 17.272560] mt7921e 0000:03:00.0: enabling device (0000 -> 0002)
[ 17.274179] Loading firmware: mediatek/WIFI_RAM_CODE_MT7961_1.bin
[ 17.287216] mt7921e 0000:03:00.0: ASIC revision: 79610010
[ 17.361996] Loading firmware: mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
[ 17.362688] mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20241106151007a
[ 17.520785] BTRFS info (device dm-0: state M): use zstd compression, level 1
[ 17.598559] Adding 10485756k swap on /dev/nvme0n1p2. Priority:-2 extents:1 across:10485756k SS
[ 17.620298] Loading firmware: mediatek/WIFI_RAM_CODE_MT7961_1.bin
[ 17.620415] mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20241106151045
[ 17.627932] FAT-fs (nvme0n1p1): IO charset iso8859-1 not found
[ 17.648511] Loading firmware: mediatek/WIFI_RAM_CODE_MT7961_1.bin
|
its the same error. I rebuilt the kernel with make clean and then make -j8 && make modules_install; make install to make sure the initramfs had been changed but it still the same issue. I can't even mount the drive from within gentoo after logging in I get the same error even though i've updated the fstab. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5240 Location: Bavaria
|
Posted: Mon Dec 23, 2024 9:23 pm Post subject: |
|
|
maybe you have two problems ...
1. This one:
Cheesyjuggler64 wrote: | [...] I can't even mount the drive from within gentoo after logging in I get the same error even though i've updated the fstab. |
Please give us more information what happened. (error message after you tried to mount ... what?) (Here you will need help from @grknight because I am not a btrfs expert)
2. You have enabled the module for your AMD graphics statically <*> into the kernel instead as <M>odule ... so you need the firmware files ALSO in your kernel. Please read:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Driver_needs_Firmware
Excerpt from your system log:
Code: | [ 0.338486] amdgpu 0000:05:00.0: Direct firmware load for amdgpu/renoir_asd.bin failed with error -2
[ 0.338498] [drm:0xffffffff90f00741] *ERROR* early_init of IP block <psp> failed -19
[ 0.338504] Loading firmware: amdgpu/renoir_dmcub.bin
[ 0.338508] amdgpu 0000:05:00.0: Direct firmware load for amdgpu/renoir_dmcub.bin failed with error -2
[ 0.338510] [drm:0xffffffff91167129] *ERROR* DMUB firmware loading failed: -19
[ 0.338512] [drm:0xffffffff90f00741] *ERROR* early_init of IP block <dm> failed -19
[ 0.338517] Loading firmware: amdgpu/renoir_pfp.bin
[ 0.338521] amdgpu 0000:05:00.0: Direct firmware load for amdgpu/renoir_pfp.bin failed with error -2
[ 0.338523] [drm:0xffffffff90f00741] *ERROR* early_init of IP block <gfx_v9_0> failed -19
[ 0.338526] Loading firmware: amdgpu/renoir_sdma.bin
[ 0.338530] amdgpu 0000:05:00.0: Direct firmware load for amdgpu/renoir_sdma.bin failed with error -2
[ 0.338535] [drm:0xffffffff9102fc1d] *ERROR* Failed to load sdma firmware!
[ 0.338536] [drm:0xffffffff90f00741] *ERROR* early_init of IP block <sdma_v4_0> failed -19
[ 0.338538] [drm] VCN decode is enabled in VM mode
[ 0.338540] [drm] VCN encode is enabled in VM mode
[ 0.338542] Loading firmware: amdgpu/renoir_vcn.bin
[ 0.338545] amdgpu 0000:05:00.0: Direct firmware load for amdgpu/renoir_vcn.bin failed with error -2 |
_________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
Cheesyjuggler64 n00b
Joined: 16 May 2024 Posts: 36
|
Posted: Mon Dec 23, 2024 9:39 pm Post subject: |
|
|
Its the same mounting error (my nvme0n1p1 is my efi drive)
Code: |
mount: /efi wrong FS type, bad option, bad superblock on /dev/nvme0n1p1, missing code page or helper program, or other error
dmesg(1) may have more information after the failed mount call
|
Output of dmesg
Code: |
FAT-fs (nvme0n1p1): IO charset iso8859-1 not found
|
Fstab has no mention of charsets. |
|
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
|
|