Thread View: muc.lists.freebsd.bugs
3 messages
3 total messages
Started by bugzilla-noreply
Tue, 01 Dec 2026 20:52
[Bug 301386] Random network data corruption on Skylake VMs on 15.2-RC1
Author: bugzilla-noreply
Date: Tue, 01 Dec 2026 20:52
Date: Tue, 01 Dec 2026 20:52
93 lines
5831 bytes
5831 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301386
Bug ID: 301386
Summary: Random network data corruption on Skylake VMs on
15.2-RC1
Product: Base System
Version: 15.2-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: mandrews@bit0.com
I'm trying to slowly roll out FreeBSD 15.2 BETA2, BETA3, and RC1 on some test
systems to see how it goes. Most systems are, as usual, taking the minor
update without any incident. But on some very specific systems, our web
servers and RabbitMQ servers, I'm getting some really weird sporadic data
corruption issues. Doing a ZFS rollback back to 15.1-p7 makes the system
behave perfectly again.
Specifically: on Vultr (which uses KVM for hypervisor), New Jersey, general
purpose VM type like vc2-6c-16gb, which most of the time gives underlying
hardware of Broadwell or Skylake at random. If and ONLY if it's Skylake, we
are seeing random errors on MariaDB queries from our custom Perl web app.
Broadwell is fine. Using a high performance VM type like vhp-8c-16gb-intel
(usually Cascade Lake) or vhp-8c-16gb-amd (usually Rome or Milan) also runs
perfectly fine.
It's only necessary to upgrade the kernel to 15.2-RC1 to exhibit the
Skylake-VM-only issue, keeping the 15.1-p7 userland and ports/packages.
Upgrading userland makes no difference. Packages are built from our own
Poudriere, and everything was built with CPUTYPE+=x86-64-v3. I've tried
x86-64-v2, I've tried commenting CPUTYPE out entirely, with both a 15.1
Poudriere and 15.2 Poudriere, and none of that makes any difference either.
CPUTYPE was the first thing that came to mind as a potential issue since it
appeared to be specific to underlying VM hardware. Kernel and userland are not
built from Poudriere, they are stock pkgbase from the stock FreeBSD repo,
including FreeBSD-kernel-generic, so obviously CPUTYPE isn't a factor with the
kernel. Changing hw.mds_disable or vm.pmap.pti doesn't make a difference.
So far I've had no issues with VMs running on AWS (t3a.medium mostly, which is
AMD Rome), or on Proxmox, or on bare metal (Intel Rocket Lake, Coffee Lake,
Haswell, Denverton, or AMD Rome)
The specifics of the MariaDB issue: at random, maybe a few times an hour out of
many thousands of queries, some will fail with "Unknown command". MariaDB
packets normally start with a 3 byte length, a 1 byte sequence ID, a 1 byte
command code, and then the SQL text. The command code is usually 0x03. On the
"unknown command" failures, the command code and the first byte of the SQL text
are replaced with apparently random garbage, according to tcpdump running on
the DB server side (the server is a separate bare metal Vultr system, still on
15.1-p7).
If I update our RabbitMQ servers, also Vultr NJ Skylake VMs but smaller
(vc2-2c-4gb) they start corrupting queue entries at random. I don't yet have
binary dumps of that happening so I haven't been able to analyze the specifics
of the corruption.
It's possible there are other data corruption cases beyond just those two.
Those are the most common though.
I made a small DB test script to try to isolate the issue outside of our app
environment. Running that script within it did eventually trigger the error,
but it sometimes takes a few hours. I'm trying to run it in a totally stock
Skylake VM with a fresh 15.1-upgraded-to-15.2 install and none of our app on
it... and have been unable to reproduce it there... yet.
This is REALLY weird.
--
You are receiving this mail because:
You are the assignee for the bug.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
[Bug 301386] Random network data corruption on Skylake VMs on 15.2-RC1
Author: bugzilla-noreply
Date: Tue, 01 Dec 2026 21:18
Date: Tue, 01 Dec 2026 21:18
29 lines
2996 bytes
2996 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301386 --- Comment #1 from Mike Andrews <mandrews@bit0.com> --- I am trying to build 15-stable kernels from each month since 15.1-RELEASE to try to narrow down a date range and commit range. Had a coworker run it through Claude (yeah, yeah, I know) and it has a specific commit in mind as the possible culprit, but I want to verify that with my own kernel builds around that date range first before I go blindly trusting bots. So far I have it narrowed down to Nov 1 works and Nov 4 doesn't. Claude thinks the problem is commit 6695c6bd0bf248927f34479a9ea2e13a6bf7db3d from Nov 3, so as much as I hate to admit it, it might be onto something. I'm in the process of building kernels right before and right after that to verify. -- You are receiving this mail because: You are the assignee for the bug. -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
[Bug 301386] Random network data corruption on Skylake VMs on 15.2-RC1
Author: bugzilla-noreply
Date: Tue, 01 Dec 2026 22:19
Date: Tue, 01 Dec 2026 22:19
17 lines
2577 bytes
2577 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301386
Mark Linimon <linimon@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |regression
Assignee|bugs@FreeBSD.org |virtualization@FreeBSD.org
--
You are receiving this mail because:
You are the assignee for the bug.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads