You are not logged in.

#1 2024-01-18 05:12:26

rodolfoser
Member
Registered: 2023-06-08
Posts: 5

systemd-vconsole error

Hey,

since lat update i receive the following error when trying to change the font in Initramfs stage:

Jan 1archlinux systemd-vconsole-setup[156]: KD_FONT_OP_GET failed while trying to get the font metadata: Invalid argument
Jan 1archlinux systemd-vconsole-setup[156]: Fonts will not be copied to remaining consoles

my vconsole.conf:

# Written by systemd-localed(8) or systemd-firstboot(1), read by systemd-localed
# and systemd-vconsole-setup(8). Use localectl(1) to update this file.
KEYMAP=us
FONT=latarcyrheb-sun32
XKBLAYOUT=us

my mkinitcpio.conf

MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm i915)
BINARIES=()
FILES=()
HOOKS=(base systemd autodetect keyboard sd-vconsole numlock modconf block ccid-pcscd-opensc-p11kit sd-encrypt lvm2 filesystems fsck)
COMPRESSION="cat"

Any idea why this happens?
Kernel 6.7.0-arch3-1
systemd 255.2-2

Offline

#2 2024-01-18 08:27:10

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 1,918
Website

Re: systemd-vconsole error

# pacman -Qikk kbd
$ sha256sum /usr/share/kbd/consolefonts/latarcyrheb-sun32.psfu.gz # should yield 8989ea60971cbcbda1ff462ab094f1edff2b07807c57ceeb7015be96beb56770

Edit
Strike that. I get this warning, too:

Jan 18 08:49:49 archlinux systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.
Jan 18 08:49:49 archlinux systemd[1]: Stopped Virtual Console Setup.
Jan 18 08:49:49 archlinux systemd[1]: Stopping Virtual Console Setup...
Jan 18 08:49:49 archlinux systemd[1]: Starting Virtual Console Setup...
Jan 18 08:49:49 archlinux systemd[1]: Finished Virtual Console Setup.
Jan 18 08:50:06 der-geraet systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.
Jan 18 08:50:06 der-geraet systemd[1]: Stopped Virtual Console Setup.
Jan 18 08:50:06 der-geraet systemd[1]: Stopping Virtual Console Setup...
Jan 18 08:50:06 der-geraet systemd[1]: Starting Virtual Console Setup...
Jan 18 08:50:06 der-geraet systemd-vconsole-setup[750]: KD_FONT_OP_GET failed while trying to get the font metadata: Das Argument ist ungültig
Jan 18 08:50:06 der-geraet systemd-vconsole-setup[750]: Fonts will not be copied to remaining consoles
Jan 18 08:50:07 der-geraet systemd[1]: Finished Virtual Console Setup.

And I don't even set any font explicitly.

~> cat /etc/vconsole.conf                                                                                                                                                                                                                                                                                                                                                2024-01-18T09:29:16
KEYMAP=de-latin1
~>                                                                                                                                                                                                                                                                                                                                                                       2024-01-18T09:29:54

Last edited by schard (2024-01-18 08:30:23)

Offline

#3 2024-01-18 17:00:01

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,637
Website

Re: systemd-vconsole error

Is the font actually set correctly?

https://github.com/systemd/systemd/issues/16406 is marked as fixed but perhaps it has regressed.

Offline

#4 2024-01-31 13:02:41

rodolfoser
Member
Registered: 2023-06-08
Posts: 5

Re: systemd-vconsole error

Even if i dont set any font on the vconsole.conf the error appears.
This bug should be reported to systemd or kbd package?

Offline

#5 2024-02-01 16:08:07

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,637
Website

Re: systemd-vconsole error

The error is from systemd-vconsole-setup.service so systemd is responsible.

I think it's just log spam though. If you set a custom font is it set correctly?

Offline

Board footer

Powered by FluxBB