Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] QEMU-Virt Manager Networking
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Ja.KooLit
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2022
Posts: 118
Location: Somewhere Over There!

PostPosted: Sat Dec 28, 2024 11:07 pm    Post subject: [SOLVED] QEMU-Virt Manager Networking Reply with quote

Hello,

Few months ago, I have no issue using Qemu - Virt Manager - Libvirt

Due to work, I havent use my system for 3 months. And now I am back and after updating full, I cant get it to ran or start a vm, error occured as no network

when I start the virtual network manually, I have this error

Code:
Error starting network 'default': internal error: Failed to apply firewall command '/sbin/tc filter add dev virbr0 prio 2 protocol ip parent 1: u32 match ip dport 68 ffff action csum ip and udp': Error: Failed to load TC action module.
We have an error talking to the kernel


details:
Code:
Error starting network 'default': internal error: Failed to apply firewall command '/sbin/tc filter add dev virbr0 prio 2 protocol ip parent 1: u32 match ip dport 68 ffff action csum ip and udp': Error: Failed to load TC action module.
We have an error talking to the kernel


Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 71, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 107, in tmpcb
    callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn
    ret = fn(self, *args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/virt-manager/virtManager/object/network.py", line 69, in start
    self._backend.create()
  File "/usr/lib/python3.12/site-packages/libvirt.py", line 3569, in create
    raise libvirtError('virNetworkCreate() failed')
libvirt.libvirtError: internal error: Failed to apply firewall command '/sbin/tc filter add dev virbr0 prio 2 protocol ip parent 1: u32 match ip dport 68 ffff action csum ip and udp': Error: Failed to load TC action module.
We have an error talking to the kernel


any help is appreciated.

Thanks
_________________
Oh Yeah!!!


Last edited by Ja.KooLit on Sun Dec 29, 2024 10:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ja.KooLit
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2022
Posts: 118
Location: Somewhere Over There!

PostPosted: Sun Dec 29, 2024 10:16 pm    Post subject: Reply with quote

ok so after much tinkering

it seems that needed some modules to be enabled

Ive changed some M in kernel and wiki is to be enabled always (*)

well it works before and after reboot, it seems it works again...
_________________
Oh Yeah!!!
Back to top
View user's profile Send private message
thican
n00b
n00b


Joined: 09 Jul 2017
Posts: 10
Location: Earth

PostPosted: Tue Jan 28, 2025 8:38 pm    Post subject: Reply with quote

Ja.KooLit wrote:
Ive changed some M in kernel and wiki is to be enabled always (*)


Hello,

I have the same issue for quite some time, however I am not able to pinpoint the missing modules you are referencing to. May you please provide more details and the link of the wiki page you are referencing to so I am able to compare more accurately, I think I might missed the exact module to fix.
~~I don’t see where your star leads to.~~ (EDIT: I noticed a bit late the `(*)` in your post is the "integrated kernel option" sign and not a link to the wiki, my bad)

Thanks in advance.
Back to top
View user's profile Send private message
thican
n00b
n00b


Joined: 09 Jul 2017
Posts: 10
Location: Earth

PostPosted: Thu Jan 30, 2025 6:03 am    Post subject: Reply with quote

I finally did it too!

I also set many options as "hard" about netfilter, but it didn’t work better.

However I figured out quite later to check options under “QoS and/or fair queueing”
Code:
Location:                                         
  -> Networking support (NET [=y])               
    -> Networking options                         
      -> QoS and/or fair queueing (NET_SCHED [=y])


I only had the “action” “Traffic Policing” as seen under this menu.
And based on the error message, I might have lack support for many other actions (kernel options such as NET_ACT_[…]), and also many “Queueing/Scheduling” (NET_SCH_[…]) and classifiers (NET_CLS_[…]).

So I enabled everything, plus the previous options, and it finally worked.

What a journey.

I might try to determine a lighter set of modifications to pinpoint the exact missing option(s), so we can try to update the ebuild so other users won’t face this issue too.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum