Mailing List Archive

possible UBSAN problems with xen drivers in kernel-6.5 in Noble (ub-24.04), please test a domU
Hello,

Looking for feedback from anyone running the latest devel ubuntu, 24.04. I
did a domU install from debootstrap
and installed the default linux-image-virtual, 6.5.0-9.

I am getting a steady stream of UBSAN errors in dmesg from
xen-netfront
xen-blkfront

My dom0 is bookworm with xen-4.17.2.

I've reported this to #ubuntu-kernel on libera IRC and they don't believe
that the kernel in Noble is any different than
the kernel in Jammy. They both have the same UBSAN kernel config. Somehow
the xen drivers in 6.5.0-9 are behaving
very different, giving off far too many errors, although the domU works as
normal.

I've requested they recompile with the UBSAN config turned off, which is
what Debian does with kernel-6.5.0-x in bookworm-backports.

I suspect that once folks start installing the xen packages for dom0 the
fan will blow a foul wind.

cheers,
PryMar56
Re: possible UBSAN problems with xen drivers in kernel-6.5 in Noble (ub-24.04), please test a domU [ In reply to ]
There are 4 recent distros using the kernel-6.5, that might be used with
Xen dom0/domU, I've attached a table with their
UBSAN status.

On Wed, Nov 8, 2023 at 8:53?PM Pry Mar <pryorm09@gmail.com> wrote:

> Hello,
>
> Looking for feedback from anyone running the latest devel ubuntu, 24.04. I
> did a domU install from debootstrap
> and installed the default linux-image-virtual, 6.5.0-9.
>
> I am getting a steady stream of UBSAN errors in dmesg from
> xen-netfront
> xen-blkfront
>
> My dom0 is bookworm with xen-4.17.2.
>
> I've reported this to #ubuntu-kernel on libera IRC and they don't believe
> that the kernel in Noble is any different than
> the kernel in Jammy. They both have the same UBSAN kernel config. Somehow
> the xen drivers in 6.5.0-9 are behaving
> very different, giving off far too many errors, although the domU works as
> normal.
>
> I've requested they recompile with the UBSAN config turned off, which is
> what Debian does with kernel-6.5.0-x in bookworm-backports.
>
> I suspect that once folks start installing the xen packages for dom0 the
> fan will blow a foul wind.
>
> cheers,
> PryMar56
>
Re: possible UBSAN problems with xen drivers in kernel-6.5 in Noble (ub-24.04), please test a domU [ In reply to ]
the UBSAN config is below:
Kernel hacking -> Generic Kernel Dubugging Instruments -> Undefined
Behavior xxyy

On Sat, Nov 11, 2023 at 9:08?AM Pry Mar <pryorm09@gmail.com> wrote:

> There are 4 recent distros using the kernel-6.5, that might be used with
> Xen dom0/domU, I've attached a table with their
> UBSAN status.
>
> On Wed, Nov 8, 2023 at 8:53?PM Pry Mar <pryorm09@gmail.com> wrote:
>
>> Hello,
>>
>> Looking for feedback from anyone running the latest devel ubuntu, 24.04.
>> I did a domU install from debootstrap
>> and installed the default linux-image-virtual, 6.5.0-9.
>>
>> I am getting a steady stream of UBSAN errors in dmesg from
>> xen-netfront
>> xen-blkfront
>>
>> My dom0 is bookworm with xen-4.17.2.
>>
>> I've reported this to #ubuntu-kernel on libera IRC and they don't believe
>> that the kernel in Noble is any different than
>> the kernel in Jammy. They both have the same UBSAN kernel config. Somehow
>> the xen drivers in 6.5.0-9 are behaving
>> very different, giving off far too many errors, although the domU works
>> as normal.
>>
>> I've requested they recompile with the UBSAN config turned off, which is
>> what Debian does with kernel-6.5.0-x in bookworm-backports.
>>
>> I suspect that once folks start installing the xen packages for dom0 the
>> fan will blow a foul wind.
>>
>> cheers,
>> PryMar56
>>
>