You are not logged in.

#1 2023-03-10 17:14:39

qwe8013
Member
Registered: 2020-04-08
Posts: 37

uvesafb not found

When I execute command

# mkinitcpio -p linux

I see this error:

==> ERROR: module not found: `uvesafb'

I have installed last version of uvesafb-dkms  from here: https://aur.archlinux.org/packages/uvesafb-dkms

I have tried to execute:

# dkms autoinstall

Output:

Sign command: /usr/lib/modules/6.2.2-arch1-1/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
'make' BASEDIR=/usr/lib/modules/6.2.2-arch1-1 modules...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.2.2-arch1-1 (x86_64)
Consult /var/lib/dkms/uvesafb/1.0.4/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.

In the "/var/lib/dkms/uvesafb/1.0.4/build/make.log" I see following:

DKMS make.log for uvesafb-1.0.4 for kernel 6.2.2-arch1-1 (x86_64)
Пт 10 мар 2023 19:46:52 MSK
make -C src/ modules
make[1]: вход в каталог «/var/lib/dkms/uvesafb/1.0.4/build/src»
make -C /usr/lib/modules/6.2.2-arch1-1/build M=/var/lib/dkms/uvesafb/1.0.4/build/src modules
  CC [M]  /var/lib/dkms/uvesafb/1.0.4/build/src/uvesafb.o
/var/lib/dkms/uvesafb/1.0.4/build/src/uvesafb.c: В функции «uvesafb_exec»:
/var/lib/dkms/uvesafb/1.0.4/build/src/uvesafb.c:323:18: ошибка: неявная декларация функции «prandom_u32»; имелось в виду «get_random_u32»? [-Werror=implicit-function-declaration]
  323 |         m->ack = prandom_u32();
      |                  ^~~~~~~~~~~
      |                  get_random_u32
cc1: некоторые предупреждения считаются ошибками
make[3]: *** [scripts/Makefile.build:252: /var/lib/dkms/uvesafb/1.0.4/build/src/uvesafb.o] Ошибка 1
make[2]: *** [Makefile:2021: /var/lib/dkms/uvesafb/1.0.4/build/src] Ошибка 2
make[1]: *** [Makefile:18: modules] Ошибка 2
make[1]: выход из каталога «/var/lib/dkms/uvesafb/1.0.4/build/src»
make: *** [Makefile:4: modules] Ошибка 2

something wrong with function "prandom_u32"

How to fix this error?

Offline

#2 2023-03-10 17:26:00

snakeroot
Member
Registered: 2012-10-06
Posts: 177

Re: uvesafb not found

Per comment by maintainer jghodd on the uvesafb-dkms page in aur web:

jghodd commented on 2023-02-06 22:51 (UTC) (edited on 2023-02-06 22:54 (UTC) by jghodd)

@dreieck - uvesafb is now being provided as part of the 6.1.9 kernel. we only need v86d and a hook. the current build issue comes down to 2 things - the first is the new git+https addressing protocol as pointed out below by Andreas Baumann, and the second is in uvesafb.c with the use of prandom_u32 which now must be changed to get_random_u32. but that's irrelevant, given that the module is now provided.

EDIT:

However, it appears per the config file in the vanilla Arch kernel (6.2.2.arch2-1), that "CONFIG_FB_UVESA" is not set.

Last edited by snakeroot (2023-03-10 17:30:53)

Offline

Board footer

Powered by FluxBB