Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel Panic when using a Network Bridge interface inside VM #21

Open
tiehfood opened this issue Jun 22, 2021 · 0 comments
Open

Kernel Panic when using a Network Bridge interface inside VM #21

tiehfood opened this issue Jun 22, 2021 · 0 comments

Comments

@tiehfood
Copy link

When I try using a bridge interface, I always end up with the following kernel panic. Something I miss?

Debin 10
Kernel 5.12

[    1.672712] vmbr0: port 1(enp0s1) entered disabled state
[    1.672824] ------------[ cut here ]------------
[    1.672959] kernel BUG at drivers/net/virtio_net.c:1664!
[    1.673029] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
[    1.673082] Modules linked in: bridge stp llc bonding fuse crct10dif_ce sha3_ce sha3_generic sha512_ce vhost_net vhost tap vhost_iotlb ip_tables x_tables ipv6 dm_mod
[    1.673266] CPU: 5 PID: 421 Comm: ip Tainted: G        W         5.12.12 #1
[    1.673332] pstate: 60400005 (nZCv daif +PAN -UAO -TCO BTYPE=--)
[    1.673436] pc : virtnet_send_command+0x150/0x158
[    1.673487] lr : virtnet_send_command+0x50/0x158
[    1.673551] sp : ffff8000223db160
[    1.673568] x29: ffff8000223db160 x28: 0000000000000000 
[    1.673603] x27: ffff8000223db790 x26: ffff000035430610 
[    1.673667] x25: 0000000000000005 x24: 0000000000000000 
[    1.673704] x23: ffff8000223db248 x22: ffff80001149f948 
[    1.673756] x21: ffff0000386e3400 x20: ffff80001149f948 
[    1.673804] x19: ffff0000347f78c0 x18: 0000000000000010 
[    1.673885] x17: 0000000000000000 x16: 0000000000000000 
[    1.673950] x15: 000067afc46594a2 x14: 00000000000000da 
[    1.674023] x13: 000000000000006b x12: ffff80001149f948 
[    1.674142] x11: ffff8000223db238 x10: ffff8000223db280 
[    1.674312] x9 : ffff0000347f7000 x8 : ffff0000347f70b0 
[    1.674470] x7 : 0000000000000000 x6 : ffff0000347f7000 
[    1.674493] x5 : ffff000039cc3000 x4 : ffff800011596ae8 
[    1.674539] x3 : ffff800011596ca0 x2 : 0000000000000011 
[    1.674632] x1 : 0000000000000011 x0 : 00000005300119ab 
[    1.674686] Call trace:
[    1.674722]  virtnet_send_command+0x150/0x158
[    1.674800]  virtnet_set_guest_offloads+0x58/0xa8
[    1.674849]  virtnet_set_features+0x44/0x70
[    1.674898]  __netdev_update_features+0x1d8/0x6e0
[    1.674987]  netdev_update_features+0x2c/0x68
[    1.675074]  dev_disable_lro+0x24/0x120
[    1.675135]  br_add_if+0x4b8/0x750 [bridge]
[    1.675287]  br_add_slave+0x14/0x20 [bridge]
[    1.675358]  do_set_master+0x90/0xb8
[    1.675415]  do_setlink+0x32c/0xde0
[    1.675489]  __rtnl_newlink+0x3e8/0x798
[    1.675526]  rtnl_newlink+0x4c/0x78
[    1.675567]  rtnetlink_rcv_msg+0x120/0x338
[    1.675613]  netlink_rcv_skb+0x5c/0x120
[    1.675654]  rtnetlink_rcv+0x18/0x28
[    1.675719]  netlink_unicast+0x1b8/0x278
[    1.675748]  netlink_sendmsg+0x1ac/0x3b8
[    1.675770]  ____sys_sendmsg+0x210/0x250
[    1.675787]  ___sys_sendmsg+0x84/0xc8
[    1.675824]  __sys_sendmsg+0x5c/0xa8
[    1.675876]  __arm64_sys_sendmsg+0x24/0x30
[    1.675897]  do_el0_svc+0xe0/0x158
[    1.675927]  el0_svc+0x30/0x98
[    1.675955]  el0_sync_handler+0x90/0xd0
[    1.675978]  el0_sync+0x160/0x180
[    1.676041] Code: f94023f9 a8cc7bfd d50323bf d65f03c0 (d4210000) 
[    1.676099] ---[ end trace ad1cc8642fef743a ]---
[    1.676160] note: ip[421] exited with preempt_count 1
[    1.676298] ------------[ cut here ]------------
[    1.676435] WARNING: CPU: 5 PID: 0 at kernel/rcu/tree.c:637 rcu_eqs_enter.isra.82+0x84/0x90
[    1.676597] Modules linked in: bridge stp llc bonding fuse crct10dif_ce sha3_ce sha3_generic sha512_ce vhost_net vhost tap vhost_iotlb ip_tables x_tables ipv6 dm_mod
[    1.676851] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G      D W         5.12.12 #1
[    1.676902] pstate: 204003c5 (nzCv DAIF +PAN -UAO -TCO BTYPE=--)
[    1.677002] pc : rcu_eqs_enter.isra.82+0x84/0x90
[    1.677042] lr : rcu_idle_enter+0x10/0x20
[    1.677076] sp : ffff800011863f10
[    1.677120] x29: ffff800011863f10 x28: 0000000000000000 
[    1.677207] x27: 0000000000000000 x26: ffff0000340ce000 
[    1.677277] x25: 0000000000000000 x24: ffff80001149fadc 
[    1.677325] x23: ffff8000112d78b8 x22: ffff80001149f948 
[    1.677375] x21: ffff80001149fab8 x20: 0000000000000020 
[    1.677469] x19: ffff80001149f9e0 x18: 0000000000000010 
[    1.677516] x17: 0000000000000000 x16: 0000000000000000 
[    1.677550] x15: 00009435f592f5c0 x14: 0000000000000000 
[    1.677620] x13: 0000000000000000 x12: 0000000000000002 
[    1.677676] x11: 0000000000000000 x10: ffff0000351a5800 
[    1.677705] x9 : 000000000000001f x8 : 0000000000000001 
[    1.677777] x7 : 0000000000000000 x6 : 00000160ac8446e7 
[    1.677839] x5 : 00ffffffffffffff x4 : ffff8000116145f0 
[    1.677894] x3 : 4000000000000002 x2 : 4000000000000000 
[    1.677951] x1 : ffff8000112d96c0 x0 : ffff0000afe916c0 
[    1.677990] Call trace:
[    1.678045]  rcu_eqs_enter.isra.82+0x84/0x90
[    1.678091]  rcu_idle_enter+0x10/0x20
[    1.678135]  default_idle_call+0x20/0x5c
[    1.678181]  do_idle+0x204/0x278
[    1.678230]  cpu_startup_entry+0x24/0x68
[    1.678260]  secondary_start_kernel+0x178/0x188
[    1.678291] ---[ end trace ad1cc8642fef743b ]---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant