Dracut module loading issue

I have seen that recently dracut is used and i dont known what it does or how. I search a little on arch wiki and it seem it handle what mkinitcpio was doing before. My issue is that some stuff doesnt load and i dont known how to accede the config of that tool. Everywhere i should have a config files i have non of them. My principal concern is loading amd-ucode and btusb, im not knwoledgebale enough to know what s missing

Kernel: 6.6.2-AMD-znver3 arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: hpet available: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-amd-znver3
root=UUID=61948177-a3b3-4b12-941f-f5b21febe7f5 rw rootflags=subvol=@
quiet resume=UUID=8dfa610f-7554-4173-b2c6-1951b938f62c loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.9 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2
dm: SDDM Distro: Garuda Linux base: Arch Linux
Type: Laptop System: HUAWEI product: CREM-WXX9 v: M1010
serial: <superuser required>
Mobo: HUAWEI model: CREM-WXX9-PCB-B1 v: M1010 serial: <superuser required>
UEFI: HUAWEI v: 2.26 date: 05/13/2022
ID-1: BATT charge: 71.8 Wh (100.0%) condition: 71.8/83.1 Wh (86.3%)
volts: 12.9 min: 11.5 model: DYNAPACK HB9790T7ECW-32T0 type: Li-ion
serial: <filter> status: full cycles: 252
Device-1: ps-controller-battery-d0:27:88:69:39:8b model: N/A serial: N/A
charge: N/A status: discharging
Info: model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
microcode: 0xA50000C
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 689 high: 2602 min/max: 400/4463 scaling:
driver: amd-pstate-epp governor: powersave cores: 1: 400 2: 400 3: 400
4: 400 5: 400 6: 400 7: 400 8: 400 9: 1645 10: 400 11: 400 12: 400 13: 400
14: 1588 15: 2602 16: 400 bogomips: 102247
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Device-1: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
vendor: Wingtech driver: amdgpu v: kernel arch: GCN-5 code: Vega
process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s ports: active: eDP-1
empty: DP-1,DP-2,HDMI-A-1 bus-ID: 03:00.0 chip-ID: 1002:1638
class-ID: 0300 temp: 44.0 C
Device-2: ShineTech HD Camera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:3 chip-ID: 3277:0003
class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.9 with: Xwayland v: 23.2.2
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 2520x1680 s-dpi: 96 s-size: 666x444mm (26.22x17.48")
s-diag: 800mm (31.51")
Monitor-1: eDP-1 mapped: eDP model: BOE Display 0x092f serial: <filter>
built: 2021 res: 2520x1680 hz: 60 dpi: 189 gamma: 1.2
size: 338x226mm (13.31x8.9") diag: 407mm (16") ratio: 3:2 modes:
max: 2520x1680 min: 640x480
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi x11:
drv: radeonsi inactive: wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.2.1-arch1.2
glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (renoir LLVM
16.0.6 DRM 3.54 6.6.2-AMD-znver3) device-ID: 1002:1638 memory: 500 MiB
unified: no
API: Vulkan v: 1.3.269 layers: 14 device: 0 type: integrated-gpu name: AMD
Radeon Graphics (RADV RENOIR) driver: mesa radv v: 23.2.1-arch1.2
device-ID: 1002:1638 surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
(LLVM 16.0.6 256 bits) driver: mesa llvmpipe v: 23.2.1-arch1.2 (LLVM
16.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Device-1: AMD Renoir Radeon High Definition Audio vendor: Wingtech
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.1 chip-ID: 1002:1637
class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Wingtech
driver: N/A alternate: snd_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x,
snd_acp_pci pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
speed: 16 GT/s bus-ID: 03:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio vendor: Wingtech
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.6 chip-ID: 1022:15e3
class-ID: 0403
API: ALSA v: k6.6.2-AMD-znver3 status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
Server-2: PipeWire v: 0.3.85 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
vendor: & Tele RSH driver: rtw_8822ce v: kernel modules: rtw88_8822ce pcie:
gen: 1 speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 01:00.0
chip-ID: 10ec:c822 class-ID: 0280
IF: wlp1s0 state: up mac: <filter>
Device-1: Realtek 802.11ac WLAN Adapter driver: btusb v: 0.81 type: USB
rev: 1.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4:4 chip-ID: 1358:c123
class-ID: e001 serial: <filter>
Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.1
lmp-v: 10 status: discoverable: no pairing: no class-ID: 7c010c
Local Storage: total: 476.94 GiB used: 391.04 GiB (82.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
model: PC SN730 SDBPNTY-512G size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 11120000 temp: 42.9 C scheme: GPT
ID-1: / raw-size: 460.16 GiB size: 460.16 GiB (100.00%)
used: 391.04 GiB (85.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 460.16 GiB size: 460.16 GiB (100.00%)
used: 391.04 GiB (85.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 460.16 GiB size: 460.16 GiB (100.00%)
used: 391.04 GiB (85.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 460.16 GiB size: 460.16 GiB (100.00%)
used: 391.04 GiB (85.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 15 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16 dev: /dev/zram0
ID-2: swap-2 type: partition size: 16.48 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
System Temperatures: cpu: 52.0 C mobo: N/A gpu: amdgpu temp: 45.0 C
Fan Speeds (rpm): fan-1: 2051 fan-2: 1954
Processes: 376 Uptime: 2h 10m wakeups: 1 Memory: total: 16 GiB note: est.
available: 15 GiB used: 6.67 GiB (44.5%) Init: systemd v: 254
default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
Packages: pm: pacman pkgs: 1807 libs: 543 tools: octopi,pamac,paru
Shell: fish v: 3.6.1 running-in: yakuake inxi: 3.3.31
Garuda (2.6.19-2):
System install date:     2023-11-22
Last full system update: 2023-11-25
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       No/Undetected
Failed units:

I dont have this files present


that should do most of the config

and when i tried to build one i get that error

dracut: Executing: /usr/bin/dracut
dracut: Can't write to /boot/efi/d6fc98c8133142e7841c99556eef1a57/6.6.2-AMD-znver3: Directory /boot/efi/d6fc98c8133142e7841c99556eef1a57/6.6.2-AMD-znver3 does not exist or is not accessible.

Try reinstalling garuda-dracut-support

What do you mean exactly here?
You created the file and?
You should run

sudo dracut-rebuild
1 Like

I didnt create any files since i dont know what im supposed to put inside and dont known the default config. All i know is that before dracut i dont have the issue i have right now.
Also since it touch the init im not sure what to do but i know if i mess it will be super painfull to boot again

Dracut typically does not require user configuration.
If you are sure that those modules should be added, you’ll have to create that configuration file following the Arch wiki and using the man pages to make sure you call the names correctly. Then build with the command linked above.
Again, when do you get that error?
If you need further information on dracut, you should read the upstream site.


im sure my bluetooth isnt working without that module and i didnt check other one. I known that before my grub menu put that ucode into kernel boot option and i dont have it anymore.
I known how to use mkinit but this one i dont known and more i read more it s overlly complex and does multiple stuff.
I m just perplexe how it s not automated since i came from a clean install.
And also before the switch everything work great and now i have several issue that take way too long to just find the root of them.
i might just switch on something that work when u boot on clean install
idk how it doesnt herit some config from mkinit but that s just too much hastle specially since i have a long series of issue where everything came from that one piece of softwar

Filo is right, usually dracut does not require any configuration. You can still manually add modules if needed though; try manually adding your Bluetooth module to see if it helps with the issue.

sudo micro /etc/dracut.conf.d/bluetooth.conf

Paste into the file:

add_drivers+=" btusb "

Save and exit the file, then regenerate the initramfs:

sudo dracut-rebuild

it does work thanks,
do u know if the microcode for amd cpu ( amd-ucode ) is taken by this ?

Microcode should be included in the image automatically, but you can check with lsinitrd to make sure.

sudo lsinitrd /boot/initramfs-linux-zen.img | grep microcode

Replace initramfs-linux-zen.img with the image you would like to examine (check ls /boot to see what the initramfs images are named if you are not sure).

Edit: Yes, it looks like dracut takes care of this automatically: https://wiki.archlinux.org/title/microcode#Microcode_built_in_the_initramfs

Microcode built in the initramfs

One can prepend the microcode cpio into the initramfs. Some initramfs generators, like dracut (see dracut.conf(5) § DESCRIPTION), do this by default. This makes #Early loading and #Late loading unnecessary.

sudo lsinitrd /boot/initramfs-linux-zen.img | grep microcode
[sudo] Mot de passe de serial :
drwxr-xr-x   1 root     root            0 Nov 26 03:05 kernel/x86/microcode
-rw-r--r--   1 root     root        39172 Nov 26 03:05 kernel/x86/microcode/AuthenticAMD.bin

i think it work
thank u very much.
it s funny that on the other distro i test live i had the same issue.
it s so stupid but yet so painfull.
u might check that issue on the next iso releases since that happen on a clean install. mb it just touch some hardware and not the other but i would be suprise if im the only one having this issue.
im not aware how it wirks but my bluetooth receptor is the same as wifi mb it s responsible for that behavipour

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.