On Thu, Dec 11, 2025 at 6:23 PM Jan Beulich <[email protected]> wrote:
>
> On 11.12.2025 17:05, Mykola Kvach wrote:
> > On Thu, Dec 11, 2025 at 5:59 PM Jan Beulich <[email protected]> wrote:
> >> On 11.12.2025 16:57, Mykola Kvach wrote:
> >>> On Thu, Dec 11, 2025 at 5:31 PM Jan Beulich <[email protected]> wrote:
> >>>> On 11.12.2025 13:06, Mykola Kvach wrote:
> >>>>> On Thu, Dec 11, 2025 at 1:44 PM Mykola Kvach <[email protected]>
> >>>>> wrote:
> >>>>>> I tested the issue with the provided patch, and it is still
> >>>>>> reproducible.
> >>>>>
> >>>>> I also triggered a pipeline with the patch you provided on top of my
> >>>>> changes [1],
> >>>>> and it failed there as well. In fact, it exposed additional problems
> >>>>> in other jobs.
> >>>>>
> >>>>> [1]
> >>>>> https://gitlab.com/xen-project/people/mykola_kvach/xen/-/pipelines/2209153728
> >>>>
> >>>> These are the failures we're trying to hunt down.
> >>>>
> >>>> Looking at one of the Arm build logs, I can't see any indication that
> >>>> you actually
> >>>> extended the patch to Arm's linking rule. Hence my conclusion in the
> >>>> other reply
> >>>> may be wrong - we simply still don't know what the situation is there.
> >>>
> >>> You're right, I missed the necessary changes. Would this diff be
> >>> sufficient?
> >>
> >> Yes, this looks to be what is needed.
> >
> > Unfortunately, with this diff applied the issue is still reproducible
> > on my side.
> > Please see the attached logs for details.
>
> IOW the build succeeded with the check added? You didn't provide the build
> log,
> so I feel I should double check.
I have now attached the corresponding build log.
>
> Jan
make -C xen install
make[1]: Entering directory '/build/xen'
UPD include/xen/compile.h
Xen 4.22-unstable
CHK include/headers++.chk
make[2]: Nothing to be done for 'include'.
make[2]: 'arch/arm/include/asm/asm-offsets.h' is up to date.
CC arch/arm/domain_build.o
CC common/version.o
CC arch/arm/setup.o
CC arch/arm/efi/boot.o
LD common/built_in.o
INIT_O arch/arm/domain_build.init.o
INIT_O arch/arm/efi/boot.init.o
LD arch/arm/efi/built_in.o
LD arch/arm/built_in.o
LD prelink.o
./tools/symbols --empty > ./.xen-syms.0.S
make -f ./Rules.mk obj=. ./.xen-syms.0.o
CC .xen-syms.0.o
ld -EL --no-warn-rwx-segments --fix-cortex-a53-843419 -T arch/arm/xen.lds prelink.o \
./.xen-syms.0.o -o ./.xen-syms.0
nm -pa --format=sysv ./.xen-syms.0 \
| ./tools/symbols --sysv --sort \
> ./.xen-syms.1.S
make -f ./Rules.mk obj=. ./.xen-syms.1.o
CC .xen-syms.1.o
ld -EL --no-warn-rwx-segments --fix-cortex-a53-843419 -T arch/arm/xen.lds prelink.o \
./.xen-syms.1.o -o ./.xen-syms.1
nm -pa --format=sysv ./.xen-syms.1 \
| ./tools/symbols --sysv --sort \
> ./.xen-syms.2.S
make -f ./Rules.mk obj=. ./.xen-syms.2.o
CC .xen-syms.2.o
ln -f ./.xen-syms.1.o ./.cst.$$; objdump -t ./.cst.$$ > ./.xen-syms.1.o.sym; ln -f ./.xen-syms.2.o ./.cst.$$; objdump -t ./.cst.$$ > ./.xen-syms.2.o.sym; rm -f ./.cst.$$
diff -u ./.xen-syms.1.o.sym ./.xen-syms.2.o.sym
ld -EL --no-warn-rwx-segments --fix-cortex-a53-843419 -T arch/arm/xen.lds prelink.o --build-id=sha1 \
./.xen-syms.2.o -o xen-syms
nm -pa --format=sysv xen-syms \
| ./tools/symbols --all-symbols --xensyms --sysv --sort \
> xen-syms.map
rm -f ./.xen-syms.[0-9]*
objcopy -O binary -S xen-syms xen
ln -sf xen xen.efi
[ -d /build/dist/install/boot ] || install -d -m0755 -p /build/dist/install/boot
install -m0644 -p xen /build/dist/install/boot/xen-4.22-unstable
ln -f -s xen-4.22-unstable /build/dist/install/boot/xen-4.22
ln -f -s xen-4.22-unstable /build/dist/install/boot/xen-4
ln -f -s xen-4.22-unstable /build/dist/install/boot/xen
[ -d "/build/dist/install/usr/lib/debug" ] || install -d -m0755 -p /build/dist/install/usr/lib/debug
install -m0644 -p xen-syms /build/dist/install/usr/lib/debug/xen-syms-4.22-unstable
install -m0644 -p xen-syms.map /build/dist/install/usr/lib/debug/xen-syms-4.22-unstable.map
install -m0644 -p .config /build/dist/install/boot/xen-4.22-unstable.config
install: can't preserve ownership of '/build/dist/install/boot/xen-4.22-unstable.config': Operation not permitted
if [ -r xen.efi -a -n '/usr/lib64/efi' ]; then \
[ -d /build/dist/install/usr/lib64/efi ] || install -d -m0755 -p /build/dist/install/usr/lib64/efi; \
install -m0644 -p xen.efi /build/dist/install/usr/lib64/efi/xen-4.22-unstable.efi; \
for x in map elf; do \
if [ -e xen.efi.$x ]; then \
install -m0644 -p xen.efi.$x /build/dist/install/usr/lib/debug/xen-4.22-unstable.efi.$x; \
fi; \
done; \
ln -sf xen-4.22-unstable.efi /build/dist/install/usr/lib64/efi/xen-4.22.efi; \
ln -sf xen-4.22-unstable.efi /build/dist/install/usr/lib64/efi/xen-4.efi; \
ln -sf xen-4.22-unstable.efi /build/dist/install/usr/lib64/efi/xen.efi; \
if [ -n '/boot/efi' -a -n '' ]; then \
\
install -m0644 -p xen.efi /build/dist/install/boot/efi/efi//xen-4.22-unstable.efi; \
elif [ "/build/dist/install" = "dist/install" ]; then \
echo 'EFI installation only partially done (EFI_VENDOR not set)' >&2; \
fi; \
fi
make[1]: Leaving directory '/build/xen'
(XEN) [0000000043de7125] Domain heap initialised
(XEN) [0000000043de7228] Booting using Device Tree
(XEN) [0000000043ded5f6] Platform: Generic System
(XEN) [ 0.000017] Looking for dtuart at "serial2", options ""
Xen 4.22-unstable
(XEN) [ 0.009685] Xen version 4.22-unstable (root@) (gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924) debug=y Thu Dec 11 16:08:41 UTC 2025
(XEN) [ 0.010787] Latest ChangeSet: Thu Dec 11 17:54:28 2025 +0200 git:8d075fd66f
(XEN) [ 0.011432] build-id: 27d5124680b17457df474c18f6217238da6ee4e8
(XEN) [ 0.011979] Console output is synchronous.
(XEN) [ 0.012377] Processor: 00000000412fd050: "ARM Limited", variant: 0x2, part 0xd05,rev 0x0
(XEN) [ 0.013120] 64-bit Execution:
(XEN) [ 0.013420] Processor Features: 0000000011112222 0000000000000010
(XEN) [ 0.014005] Exception Levels: EL3:64+32 EL2:64+32 EL1:64+32 EL0:64+32
(XEN) [ 0.014635] Extensions: FloatingPoint AdvancedSIMD GICv3-SysReg
(XEN) [ 0.015220] Debug Features: 0000000010305408 0000000000000000
(XEN) [ 0.015775] Auxiliary Features: 0000000000000000 0000000000000000
(XEN) [ 0.016360] Memory Model Features: 0000000000101122 0000000010212122
(XEN) [ 0.016967] ISA Features: 0000100010211120 0000000000100001
(XEN) [ 0.017514] 32-bit Execution:
(XEN) [ 0.017815] Processor Features: 0000000010000131:0000000010011011
(XEN) [ 0.018400] Instruction Sets: AArch32 A32 Thumb Thumb-2 Jazelle
(XEN) [ 0.018985] Extensions: GenericTimer Security
(XEN) [ 0.019435] Debug Features: 0000000004010088
(XEN) [ 0.019862] Auxiliary Features: 0000000000000000
(XEN) [ 0.020320] Memory Model Features: 0000000010201105 0000000040000000
(XEN) [ 0.020927] 0000000001260000 0000000002122211
(XEN) [ 0.021535] ISA Features: 0000000002101110 0000000013112111 0000000021232042
(XEN) [ 0.022202] 0000000001112131 0000000000011142 0000000001011121
(XEN) [ 0.022874] Using SMC Calling Convention v1.5
(XEN) [ 0.023293] Using PSCI v1.1
(XEN) [ 0.023579] SMP: Allowing 2 CPUs
(XEN) [ 0.023901] enabled workaround for: ARM erratum 1530923
(XEN) [ 0.024416] Generic Timer IRQ: phys=30 hyp=26 virt=27 Freq: 24000 KHz
(XEN) [ 0.025150] GICv3 initialization:
(XEN) [ 0.025480] gic_dist_addr=0x000000fe600000
(XEN) [ 0.025922] gic_maintenance_irq=25
(XEN) [ 0.026305] gic_rdist_stride=0
(XEN) [ 0.026658] gic_rdist_regions=1
(XEN) [ 0.027017] redistributor regions:
(XEN) [ 0.027400] - region 0: 0x000000fe680000 - 0x000000fe780000
(XEN) [ 0.027985] GICv3: 512 lines, (IID 0201743b).
(XEN) [ 0.028435] GICv3: CPU0: Found redistributor in region 0 @00000a004001c000
(XEN) [ 0.029073] XSM Framework v1.0.1 initialized
(XEN) [ 0.029485] xsm: Policy len = 0x0000000000010000 start at 0x0000000006000000
(XEN) [ 0.030801] Using scheduler: SMP Credit Scheduler rev2 (credit2)
(XEN) [ 0.031364] Initializing Credit2 scheduler
(XEN) [ 0.031761] load_precision_shift: 18
(XEN) [ 0.032121] load_window_shift: 30
(XEN) [ 0.032459] underload_balance_tolerance: 0
(XEN) [ 0.032864] overload_balance_tolerance: -3
(XEN) [ 0.033268] runqueues arrangement: socket
(XEN) [ 0.033666] cap enforcement granularity: 10ms
(XEN) [ 0.034094] load tracking window length 1073741824 ns
(XEN) [ 0.034704] Allocated console ring of 16 KiB.
(XEN) [ 0.035125] CPU0: Guest atomics will try 7 times before pausing the domain
(XEN) [ 0.035813] Bringing up CPU1
(XEN) [ 0.036200] GICv3: CPU1: Found redistributor in region 0 @00000a004003c000
(XEN) [ 0.036836] CPU1: Guest atomics will try 8 times before pausing the domain
(XEN) [ 0.037473] Brought up 2 CPUs
(XEN) [ 0.037773] CPU 1 booted.
(XEN) [ 0.038151] I/O virtualisation disabled
(XEN) [ 0.038525] P2M: 40-bit IPA with 40-bit PA and 16-bit VMID
(XEN) [ 0.039043] P2M: 3 levels with order-1 root, VTCR 0x00000000800a3558
(XEN) [ 0.039683] Scheduling granularity: cpu, 1 CPU per sched-resource
(XEN) [ 0.040254] Initializing Credit2 scheduler
(XEN) [ 0.040652] load_precision_shift: 18
(XEN) [ 0.041012] load_window_shift: 30
(XEN) [ 0.041349] underload_balance_tolerance: 0
(XEN) [ 0.041754] overload_balance_tolerance: -3
(XEN) [ 0.042159] runqueues arrangement: socket
(XEN) [ 0.042557] cap enforcement granularity: 10ms
(XEN) [ 0.042984] load tracking window length 1073741824 ns
(XEN) [ 0.043467] Adding cpu 0 to runqueue 0
(XEN) [ 0.043834] First cpu on runqueue, activating
(XEN) [ 0.044268] Adding cpu 1 to runqueue 0
(XEN) [ 0.044644] Using SCMI with SMC ID: 0x82000010
(XEN) [ 0.045453] alternatives: Patching with alt table 00000a00002eead0 -> 00000a00002f0000
(XEN) [ 0.046517] SCMI: d0 init
(XEN) [ 0.046911] *** LOADING DOMAIN 0 ***
(XEN) [ 0.047264] Loading d0 kernel from boot module @ 0000000002000000
(XEN) [ 0.047834] Loading ramdisk from boot module @ 00000000e20f4000
(XEN) [ 0.048395] Grant table range: 0x00000049000000-0x00000049040000
(XEN) [ 0.048958] Allocating 1:1 mappings totalling 2048MB for dom0:
(XEN) [ 0.523150] BANK[0] 0x00000060000000-0x000000e0000000 (2048MB)
(XEN) [ 0.536694] Allocating PPI 16 for event channel interrupt
(XEN) [ 0.537355] d0: extended region 0: 0x200000->0x49000000
(XEN) [ 0.537849] d0: extended region 1: 0x49200000->0x60000000
(XEN) [ 0.538360] d0: extended region 2: 0x100000000->0x3fc000000
(XEN) [ 0.540032] Loading zImage from 0000000002000000 to 0000000060000000-0000000064000000
(XEN) [ 1.177632] Loading d0 initrd from 00000000e20f4000 to 0x0000000068200000-0x0000000072fd99e3
(XEN) [ 2.902455] Loading d0 DTB to 0x0000000068000000-0x0000000068005ba6
(XEN) [ 2.904206] Initial low memory virq threshold set at 0x4000 pages.
(XEN) [ 2.905073]
(XEN) [ 2.905246] ****************************************
(XEN) [ 2.905718] Panic on CPU 0:
(XEN) [ 2.906003] test_symbols: non-zero offset (0x24) unexpected
(XEN) [ 2.906528] ****************************************
(XEN) [ 2.907001]
(XEN) [ 2.907173] Reboot in five seconds...