/srv/irclogs.ubuntu.com/2023/11/06/#ubuntu-next.txt

=== Guest4747 is now known as ogra
ChmEarlrunning xen in noble 24.04 with kernel-6.5, I see UBSAN kernel errors in xen-blkback and xen-netback drivers when domU launch16:39
ChmEarlbut everything works16:39
ChmEarlin dmesg: UBSAN: array-index-out-of-bounds in /build/linux-D15vQj/linux-6.5.0/drivers/block/xen-blkback/blkback.c:1227:416:40
lotuspsychjeChmEarl: since noble development is still early and i dont see xen related bugs on your case, might be worth a new bug?16:44
lotuspsychjeunless some of our server testers can try to reproduce that first16:44
ChmEarllotuspsychje, ty, I was trying to see if there are any reproduce cases yet16:45
ChmEarlmy CPU is ancient, CORE2quad16:45
lotuspsychjeChmEarl: there are some other bugs with your ubsan error around though16:47
lotuspsychjebug #2002842 would be one16:47
-ubottu:#ubuntu-next- Bug 2008157 in linux (Ubuntu) "[SRU][Ubuntu 22.04.1]: Observed 'Array Index out of bounds' Call Trace multiple times on Ubuntu 22.04.1 OS during boot" [Medium, In Progress] [duplicate: 2002842] https://launchpad.net/bugs/200815716:47
ChmEarlI might try to run it on ivy-bridge soon16:47
lotuspsychjeso, not sure its noble specific?16:47
lotuspsychjeChmEarl: an idea arising could be booting a previous kernel, to see if this is kernel related16:54
ChmEarllotuspsychje, not sure if I can run a kernel from mantic? or jammy?16:56
ChmEarlthere is only 1 kernel for noble16:56
ChmEarlI was worried that its related to CPU support for stuff like: avx or aes16:57
lotuspsychjewell its only for a test, if we assume your UBSAN error would only arise from kernel 6.5 for example16:58
ChmEarlyes, thinking its specific to very recent kernel16:58
lotuspsychjeim also thinking so16:59
lotuspsychjeim seeing those UBSAN kernel errors in different bugs all over, not only xen17:00
ChmEarltrying with 4 files from lunar: 6.2.0.20.2017:19
ChmEarlnoble made no complaint17:20
lotuspsychjeok tnx for the test ChmEarl 17:23
lotuspsychjeso now to findout its really a useful warning to xen; or just an UBSAN default warning since a kernel version17:29
ChmEarllotuspsychje, the install of the lunar  6.2.0-20 packages worked, but xen/kernel-6.2 won't boot17:44
ChmEarlat least I didn't waste hardly any time trying17:44
lotuspsychjewhat you can do is messing with later mainline kernels too17:45
lotuspsychjei didnt test xen myself so cant help there17:46
ChmEarlthe XEN & UBSAN configs are the same for the 2 kernels17:49
=== tomreyn_ is now known as tomreyn
ChmEarlrequesting a kernel-6.5 build with  # CONFIG_UBSAN is not set22:15
ChmEarlor turn-off array bound checks22:15
ChmEarl xen domU is flooded with ubsan errors22:16
=== JanC is now known as Guest2259
=== JanC_ is now known as JanC

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!