mirror of
https://github.com/amnezia-vpn/amneziawg-linux-kernel-module.git
synced 2026-10-13 21:34:34 +00:00
[GH-ISSUE #50] Missing the function get_random_u8 #24
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amneziawg-linux-kernel-module#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Astromis on GitHub (Nov 13, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/50
Hi.
Tecnhical info of my os
Try to install amneziawg by standraed command
But the installation is crashed. The log is as follows
So it says that that installation misses the function
get_random_u8. The little investigation shows that actually this function is available in linux kernel headers right in official repo by this link.I make sure that the linux headers are installed, retried the amnezia installation and it fails again. I looked at installed headers on my system and found out that it really doesn't have the above function. Here is the code snippet in the same area as in Torvalds header.
Do you have any ideas how I can fix this?
@G2Dolphin commented on GitHub (Nov 13, 2024):
I have the same problem on the same OS and kernel versions.
@Rogov-Ilya commented on GitHub (Nov 13, 2024):
try replacing
sudo apt linux-headers-$(uname -r)withsudo apt linux-headers-5.15.0-25-generic@Astromis commented on GitHub (Nov 13, 2024):
@Rogov-Ilya, thanks for reply.
I installed the another headers and remove sourced one. Unfortunately, it seems that it somewhere got to know which kernel version is installed and tried to build the module for this and if it can't find the headers for this kernel version it just skips the building. It's interesting that installation continues.
Maybe I should try to install the particular kernel?
@vasly commented on GitHub (Nov 13, 2024):
I have the same error for Ubuntu 5.15.0-125-generic
@lisachev commented on GitHub (Nov 14, 2024):
Ubuntu 22.04.5 LTS x86_64
5.15.0-125-generic
confirmed error
@RomikB commented on GitHub (Nov 15, 2024):
Same error. Ubuntu 5.15.0-125-generic have no definition for get_random_u8.
@g0ha1 commented on GitHub (Nov 15, 2024):
same error on 5.15.0-125, tryed to install on older kernel version, like 5.15.0-25 got same error
@vprgr commented on GitHub (Nov 15, 2024):
confirmed error
@leninalive commented on GitHub (Nov 15, 2024):
Should be fixed in latest packages.