UNIHIKERGeneral

Universal TUN/TAP driver is not loading

userHead Igor.Polupan 2023-12-01 23:04:38 548 Views1 Replies

Good afternoon!

My UNIHIKER has an OS image installed: unihiker_v 0.3.5.md5.9acbf38210ef954d5e9a0c1389830732.img downloaded from the official website https://www.unihiker.com/

For my DiY project, I need to use the tun module (Universal TUN/TAP driver), but the module does not load into the Linux kernel.

How can the problem be solved?

 

Information from my UNIHIKER SSH terminal:

root@unihiker:~# uname -a

Linux unihiker 4.4.143-67-rockchip-g01bbbc5d1312 #376 SMP PREEMPT Thu Feb 23 17:38:05 CST 2023 aarch64 GNU/Linux

---

root@unihiker:~# modinfo tun

filename:       /lib/modules/4.4.143-67-rockchip-g01bbbc5d1312/kernel/drivers/net/tun.ko

alias:          devname:net/tun

alias:          char-major-10-200

license:        GPL

author:         (C) 1999-2004 Max Krasnyansky <[email protected]>

description:    Universal TUN/TAP device driver

depends:

intree:         Y

vermagic:       4.4.143-67-rockchip-g01bbbc5d1312 SMP preempt mod_unload aarch64

---

root@unihiker:~# insmod /lib/modules/4.4.143-67-rockchip-g01bbbc5d1312/kernel/drivers/net/tun.ko

insmod: ERROR: could not insert module /lib/modules/4.4.143-67-rockchip-g01bbbc5d1312/kernel/drivers/net/tun.ko: Unknown symbol in module

---

root@unihiker:~# modprobe tun

modprobe: ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg)

---

root@unihiker:~# dmesg | grep tun

[256366.290863] tun: Unknown symbol security_tun_dev_create (err 0)

[256366.291588] tun: Unknown symbol nf_conntrack_destroy (err 0)

[256366.292312] tun: Unknown symbol security_tun_dev_attach_queue (err 0)

[256366.293048] tun: Unknown symbol make_kuid (err 0)

[256366.293678] tun: Unknown symbol security_tun_dev_free_security (err 0)

[256366.294472] tun: Unknown symbol security_tun_dev_attach (err 0)

[256366.295085] tun: Unknown symbol make_kgid (err 0)

[256366.295628] tun: Unknown symbol from_kgid_munged (err 0)

[256366.296183] tun: Unknown symbol security_tun_dev_open (err 0)

[256366.296883] tun: Unknown symbol from_kuid_munged (err 0)

[256366.297473] tun: Unknown symbol security_tun_dev_alloc_security (err 0)

2023-12-06 12:22:54

It appears that the tun.ko built into Unihiker has some issues. We have sent you the latest tun.ko file via email. Future Unihiker image releases (*.img) will integrate this corrected file.

userHeadPic LL