focal kvm virtio_net set_features failed (-22)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
qemu (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Setup linux-modules-
When using virtio as network driver it is failing with:
net eth0: Fail to set guest offload.
virtio_net virtio1 eth0: set_features() failed (-22); wanted 0x0000008000174a29, left 0x0
00000800017ca29
followed by further kern log entries:
------------[ cut here ]------------
netdevice: br0: failed to disable 0x0000000000008000 on eth0!
WARNING: CPU: 0 PID: 1048 at net/core/dev.c:8683 __netdev_
Modules linked in: macvlan virtio_gpu ttm drm_kms_helper fb_sys_fops input_leds syscopyarea joydev sysfillrect serio_raw sysimgblt mac_hid sch_fq_codel 9p fscache 9pnet_virtio 9pnet bridge stp llc drm virtio_rng ip_tables x_tables autofs4 dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio libcrc32c psmouse virtio_net i2c_piix4 virtio_blk net_failover failover pata_acpi floppy
CPU: 0 PID: 1048 Comm: brctl Tainted: G W 5.4.0-88-generic #99-Ubuntu
Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
RIP: 0010:__
Code: c7 c2 9b 30 9b a0 4c 8b 4d 88 48 85 c0 4d 0f 44 d4 4d 89 f0 48 8d 4d b8 4c 89 ca 4c 89 d6 48 c7 c7 d0 94 a3 a0 e8 dc 2d 19 00 <0f> 0b e9 5b fe ff ff 8b 45 9c 85 c0 0f 84 96 00 00 00 8b 45 9c f7
RSP: 0018:ffffbf1840
RAX: 0000000000000000 RBX: 000000000000000f RCX: 0000000000000006
RDX: 0000000000000007 RSI: 0000000000000082 RDI: ffff9c2c13a178c0
RBP: ffffbf1840e0bb10 R08: 00000000000002d1 R09: 0000000000000004
R10: 0000000000000000 R11: 0000000000000001 R12: ffff9c2c0b258000
R13: ffff9c2c0b2580c0 R14: ffff9c2c0615a000 R15: 000000000000000f
FS: 00007f98be55858
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fffc24a1080 CR3: 000000030b3e4000 CR4: 00000000000006f0
Call Trace:
netdev_
br_device_
notifier_
raw_notifier_
call_
netdev_
dev_disable_
br_add_
add_del_
br_dev_
dev_ifsioc+
? _cond_resched+
dev_ioctl+
sock_
? evict+0x14c/0x1b0
sock_
? _cond_resched+
? get_max_
do_vfs_
ksys_
__x64_
do_syscall_
entry_
RIP: 0033:0x7f98be47c50b
Code: 0f 1e fa 48 8b 05 85 39 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 55 39 0d 00 f7 d8 64 89 01 48
RSP: 002b:00007ffd78
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f98be47c50b
RDX: 00007ffd78332210 RSI: 00000000000089a2 RDI: 0000000000000003
RBP: 00007ffd78332210 R08: 0000000000000020 R09: fefefeff77686d74
R10: 00007ffd78333e80 R11: 0000000000000246 R12: 00007ffd78333e7e
R13: 00007ffd78333e7e R14: 0000000000000000 R15: 0000000000000000
---[ end trace 240d361752e8f3f0 ]---
------------[ cut here ]------------
Temporary solution is to return to the old rtl8139 driver and slow network down
description: | updated |
description: | updated |
affects: | qemu-kvm (Ubuntu) → qemu (Ubuntu) |
It is affecting kernel linux-image- 5.4.0-88- generic within guest and ocured after upgrading to focal. I returned to kernel Linux version 4.15.0-159-generic (bionic) within guest and virtio_net functions as expected. /bugs.freebsd. org/bugzilla/ show_bug. cgi?id= 165059# c21 did not solve the problem.
The idea from https:/