* [REGRESSION] vsocket timeout with kata containers agent 3.2.0 and kernel 6.1.63 @ 2023-12-11 4:05 Simon Kaegi 2023-12-11 6:46 ` Greg KH 2023-12-11 8:38 ` Stefano Garzarella 0 siblings, 2 replies; 6+ messages in thread From: Simon Kaegi @ 2023-12-11 4:05 UTC (permalink / raw) To: stable Cc: regressions, Bobby Eshleman, Stefano Garzarella, David S. Miller, Sasha Levin, jpiotrowski #regzbot introduced v6.1.62..v6.1.63 #regzbot introduced: baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 We hit this regression when updating our guest vm kernel from 6.1.62 to 6.1.63 -- bisecting, this problem was introduced in baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 -- virtio/vsock: replace virtio_vsock_pkt with sk_buff -- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.63&id=baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 We're getting a timeout when trying to connect to the vsocket in the guest VM when launching a kata containers 3.2.0 agent. We haven't done much more to understand the problem at this point. We can reproduce 100% of the time but don't currently have a simple reproducer as the problem was found in our build service which uses kata-containers (with cloud-hypervisor). We have not checked the mainline as we currently are tied to 6.1.x. -Simon ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [REGRESSION] vsocket timeout with kata containers agent 3.2.0 and kernel 6.1.63 2023-12-11 4:05 [REGRESSION] vsocket timeout with kata containers agent 3.2.0 and kernel 6.1.63 Simon Kaegi @ 2023-12-11 6:46 ` Greg KH 2023-12-11 8:38 ` Stefano Garzarella 1 sibling, 0 replies; 6+ messages in thread From: Greg KH @ 2023-12-11 6:46 UTC (permalink / raw) To: Simon Kaegi Cc: stable, regressions, Bobby Eshleman, Stefano Garzarella, David S. Miller, Sasha Levin, jpiotrowski On Sun, Dec 10, 2023 at 11:05:37PM -0500, Simon Kaegi wrote: > #regzbot introduced v6.1.62..v6.1.63 > #regzbot introduced: baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 > > We hit this regression when updating our guest vm kernel from 6.1.62 to > 6.1.63 -- bisecting, this problem was introduced > in baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 -- virtio/vsock: replace > virtio_vsock_pkt with sk_buff -- > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.63&id=baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 > > We're getting a timeout when trying to connect to the vsocket in the > guest VM when launching a kata containers 3.2.0 agent. We haven't done > much more to understand the problem at this point. > > We can reproduce 100% of the time but don't currently have a simple > reproducer as the problem was found in our build service which uses > kata-containers (with cloud-hypervisor). > > We have not checked the mainline as we currently are tied to 6.1.x. What is "tieing" you to the old 6.1.y tree? Also, can you try 6.1.66? Numerous fixes have gone into there as well. thanks, greg k-h ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [REGRESSION] vsocket timeout with kata containers agent 3.2.0 and kernel 6.1.63 2023-12-11 4:05 [REGRESSION] vsocket timeout with kata containers agent 3.2.0 and kernel 6.1.63 Simon Kaegi 2023-12-11 6:46 ` Greg KH @ 2023-12-11 8:38 ` Stefano Garzarella 2023-12-11 14:20 ` Simon Kaegi 1 sibling, 1 reply; 6+ messages in thread From: Stefano Garzarella @ 2023-12-11 8:38 UTC (permalink / raw) To: Simon Kaegi Cc: stable, regressions, Bobby Eshleman, David S. Miller, Sasha Levin, jpiotrowski, Michael Tsirkin On Mon, Dec 11, 2023 at 5:05 AM Simon Kaegi <simon.kaegi@gmail.com> wrote: > > #regzbot introduced v6.1.62..v6.1.63 > #regzbot introduced: baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 > > We hit this regression when updating our guest vm kernel from 6.1.62 to > 6.1.63 -- bisecting, this problem was introduced > in baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 -- virtio/vsock: replace > virtio_vsock_pkt with sk_buff -- > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.63&id=baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 > > We're getting a timeout when trying to connect to the vsocket in the > guest VM when launching a kata containers 3.2.0 agent. We haven't done > much more to understand the problem at this point. It looks like the same issue described here: https://github.com/rust-vmm/vm-virtio/issues/204 In summary that patch also contains a performance improvement, because by switching to sk_buffs, we can use only one descriptor for the whole packet (header + payload), whereas before we used two for each packet. Some devices (e.g. rust-vmm's vsock) mistakenly always expect 2 descriptors, but this is a violation of the VIRTIO specification. Which device are you using? Can you confirm that your device conforms to the specification? Stefano > > We can reproduce 100% of the time but don't currently have a simple > reproducer as the problem was found in our build service which uses > kata-containers (with cloud-hypervisor). > > We have not checked the mainline as we currently are tied to 6.1.x. > > -Simon > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [REGRESSION] vsocket timeout with kata containers agent 3.2.0 and kernel 6.1.63 2023-12-11 8:38 ` Stefano Garzarella @ 2023-12-11 14:20 ` Simon Kaegi 2023-12-11 15:23 ` Stefano Garzarella 0 siblings, 1 reply; 6+ messages in thread From: Simon Kaegi @ 2023-12-11 14:20 UTC (permalink / raw) To: Stefano Garzarella Cc: stable, regressions, Bobby Eshleman, David S. Miller, Sasha Levin, jpiotrowski, Michael Tsirkin Thanks Greg, Stefano, tldr; withdrawing the regression -- rust-vmm vsock mistake -- We're not strictly tied to the 6.1.x tree but generally stick with the long term releases because we patch every week or so and want less to change if possible. I think you're exactly right re: rust-vmm's vsock. We're using cloud hypervisor and just tried updating to a fixed version and everything is working as expected. https://github.com/rust-vmm/vm-virtio/issues/204 (thanks Stefano) Thanks all... nothing to see. - Simon On Mon, Dec 11, 2023 at 3:39 AM Stefano Garzarella <sgarzare@redhat.com> wrote: > > On Mon, Dec 11, 2023 at 5:05 AM Simon Kaegi <simon.kaegi@gmail.com> wrote: > > > > #regzbot introduced v6.1.62..v6.1.63 > > #regzbot introduced: baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 > > > > We hit this regression when updating our guest vm kernel from 6.1.62 to > > 6.1.63 -- bisecting, this problem was introduced > > in baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 -- virtio/vsock: replace > > virtio_vsock_pkt with sk_buff -- > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.63&id=baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 > > > > We're getting a timeout when trying to connect to the vsocket in the > > guest VM when launching a kata containers 3.2.0 agent. We haven't done > > much more to understand the problem at this point. > > It looks like the same issue described here: > https://github.com/rust-vmm/vm-virtio/issues/204 > > In summary that patch also contains a performance improvement, because > by switching to sk_buffs, we can use only one descriptor for the whole > packet (header + payload), whereas before we used two for each packet. > Some devices (e.g. rust-vmm's vsock) mistakenly always expect 2 > descriptors, but this is a violation of the VIRTIO specification. > > Which device are you using? > > Can you confirm that your device conforms to the specification? > > Stefano > > > > > We can reproduce 100% of the time but don't currently have a simple > > reproducer as the problem was found in our build service which uses > > kata-containers (with cloud-hypervisor). > > > > We have not checked the mainline as we currently are tied to 6.1.x. > > > > -Simon > > > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [REGRESSION] vsocket timeout with kata containers agent 3.2.0 and kernel 6.1.63 2023-12-11 14:20 ` Simon Kaegi @ 2023-12-11 15:23 ` Stefano Garzarella 2023-12-15 9:38 ` Linux regression tracking #update (Thorsten Leemhuis) 0 siblings, 1 reply; 6+ messages in thread From: Stefano Garzarella @ 2023-12-11 15:23 UTC (permalink / raw) To: Simon Kaegi Cc: stable, regressions, Bobby Eshleman, David S. Miller, Sasha Levin, jpiotrowski, Michael Tsirkin On Mon, Dec 11, 2023 at 3:20 PM Simon Kaegi <simon.kaegi@gmail.com> wrote: > > Thanks Greg, Stefano, > > tldr; withdrawing the regression -- rust-vmm vsock mistake > -- > > We're not strictly tied to the 6.1.x tree but generally stick with the > long term releases because we patch every week or so and want less to > change if possible. > > I think you're exactly right re: rust-vmm's vsock. We're using cloud > hypervisor and just tried updating to a fixed version and everything > is working as expected. > https://github.com/rust-vmm/vm-virtio/issues/204 (thanks Stefano) Cool, thanks for confirming! Stefano > > Thanks all... nothing to see. > - Simon > > On Mon, Dec 11, 2023 at 3:39 AM Stefano Garzarella <sgarzare@redhat.com> wrote: > > > > On Mon, Dec 11, 2023 at 5:05 AM Simon Kaegi <simon.kaegi@gmail.com> wrote: > > > > > > #regzbot introduced v6.1.62..v6.1.63 > > > #regzbot introduced: baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 > > > > > > We hit this regression when updating our guest vm kernel from 6.1.62 to > > > 6.1.63 -- bisecting, this problem was introduced > > > in baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 -- virtio/vsock: replace > > > virtio_vsock_pkt with sk_buff -- > > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.63&id=baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 > > > > > > We're getting a timeout when trying to connect to the vsocket in the > > > guest VM when launching a kata containers 3.2.0 agent. We haven't done > > > much more to understand the problem at this point. > > > > It looks like the same issue described here: > > https://github.com/rust-vmm/vm-virtio/issues/204 > > > > In summary that patch also contains a performance improvement, because > > by switching to sk_buffs, we can use only one descriptor for the whole > > packet (header + payload), whereas before we used two for each packet. > > Some devices (e.g. rust-vmm's vsock) mistakenly always expect 2 > > descriptors, but this is a violation of the VIRTIO specification. > > > > Which device are you using? > > > > Can you confirm that your device conforms to the specification? > > > > Stefano > > > > > > > > We can reproduce 100% of the time but don't currently have a simple > > > reproducer as the problem was found in our build service which uses > > > kata-containers (with cloud-hypervisor). > > > > > > We have not checked the mainline as we currently are tied to 6.1.x. > > > > > > -Simon > > > > > > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [REGRESSION] vsocket timeout with kata containers agent 3.2.0 and kernel 6.1.63 2023-12-11 15:23 ` Stefano Garzarella @ 2023-12-15 9:38 ` Linux regression tracking #update (Thorsten Leemhuis) 0 siblings, 0 replies; 6+ messages in thread From: Linux regression tracking #update (Thorsten Leemhuis) @ 2023-12-15 9:38 UTC (permalink / raw) To: regressions; +Cc: stable [TLDR: This mail in primarily relevant for Linux kernel regression tracking. See link in footer if these mails annoy you.] On 11.12.23 16:23, Stefano Garzarella wrote: > On Mon, Dec 11, 2023 at 3:20 PM Simon Kaegi <simon.kaegi@gmail.com> wrote: >> Thanks Greg, Stefano, >> >> tldr; withdrawing the regression -- rust-vmm vsock mistake In that case: #regzbot resolve: reporter withdrawed the report #regzbot ignore-activity Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr That page also explains what to do if mails like this annoy you. >> Thanks all... nothing to see. >> - Simon >> >> On Mon, Dec 11, 2023 at 3:39 AM Stefano Garzarella <sgarzare@redhat.com> wrote: >>> >>> On Mon, Dec 11, 2023 at 5:05 AM Simon Kaegi <simon.kaegi@gmail.com> wrote: >>>> >>>> #regzbot introduced v6.1.62..v6.1.63 >>>> #regzbot introduced: baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 >>>> >>>> We hit this regression when updating our guest vm kernel from 6.1.62 to >>>> 6.1.63 -- bisecting, this problem was introduced >>>> in baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 -- virtio/vsock: replace >>>> virtio_vsock_pkt with sk_buff -- >>>> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.63&id=baddcc2c71572968cdaeee1c4ab3dc0ad90fa765 >>>> >>>> We're getting a timeout when trying to connect to the vsocket in the >>>> guest VM when launching a kata containers 3.2.0 agent. We haven't done >>>> much more to understand the problem at this point. >>> >>> It looks like the same issue described here: >>> https://github.com/rust-vmm/vm-virtio/issues/204 >>> >>> In summary that patch also contains a performance improvement, because >>> by switching to sk_buffs, we can use only one descriptor for the whole >>> packet (header + payload), whereas before we used two for each packet. >>> Some devices (e.g. rust-vmm's vsock) mistakenly always expect 2 >>> descriptors, but this is a violation of the VIRTIO specification. >>> >>> Which device are you using? >>> >>> Can you confirm that your device conforms to the specification? >>> >>> Stefano >>> >>>> >>>> We can reproduce 100% of the time but don't currently have a simple >>>> reproducer as the problem was found in our build service which uses >>>> kata-containers (with cloud-hypervisor). >>>> >>>> We have not checked the mainline as we currently are tied to 6.1.x. >>>> >>>> -Simon >>>> >>> >> > > > ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-12-15 9:38 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-12-11 4:05 [REGRESSION] vsocket timeout with kata containers agent 3.2.0 and kernel 6.1.63 Simon Kaegi 2023-12-11 6:46 ` Greg KH 2023-12-11 8:38 ` Stefano Garzarella 2023-12-11 14:20 ` Simon Kaegi 2023-12-11 15:23 ` Stefano Garzarella 2023-12-15 9:38 ` Linux regression tracking #update (Thorsten Leemhuis)
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox