$ uname -a
Linux debian-riscv 4.20.11 #2 SMP Thu Feb 21 14:49:16 GMT 2019 riscv64 GNU/Linux
$ lscpu
Architecture: riscv64
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 4
I added a some modules most in network and when I try to insert them, I see the following messages:
$ sudo modprobe openvswitch
modprobe: ERROR: could not insert 'openvswitch': Invalid argument
[ 69.716000] openvswitch: target ffffffe000033720 can not be addressed by the 32-bit offset from PC = 000000002964b5db
I see something similar on trying to list iptables rules:
$ sudo iptables -L
iptables: Operation not supported.
nf_tables: target ffffffe000033720 can not be addressed by the 32-bit offset from PC = 000000009420663f
[ 120.828000] nf_tables: target ffffffe000033720 can not be addressed by the 32-bit offset from PC = 00000000abd60238
[ 120.888000] nf_tables: target ffffffe000033720 can not be addressed by the 32-bit offset from PC = 000000002acc798b
[ 120.944000] nf_tables: target ffffffe000033720 can not be addressed by the 32-bit offset from PC = 000000000ebbaeb7
[ 121.008000] nf_tables: target ffffffe000033720 can not be addressed by the 32-bit offset from PC = 0000000030564cd6
I’ve started looking into some development in Risc-V and set a Qemu VM locally. I followed the documentation from Debian (https://wiki.debian.org/RISC-V#Setting_up_a_riscv64_virtual_machine) and built my own Kernel version 4.20.11 from upstream repo (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git).
I added a some modules most in network and when I try to insert them, I see the following messages:
I see something similar on trying to list iptables rules:
In the Fedora images (https://fedoraproject.org/wiki/Architectures/RISC-V/Installing#Download_the_latest_disk_image), I've been able to run
iptables -L
so maybe I missed some config but themodprobe openvswitch
failed as well.I don’t know if this is the correct place to post this but point me if I should open an issue somewhere else.