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.


Mykola

>
> Jan
>
> > --- a/xen/arch/arm/Makefile
> > +++ b/xen/arch/arm/Makefile
> > @@ -100,6 +100,7 @@ $(TARGET)-syms: $(objtree)/prelink.o $(obj)/xen.lds
> >                 | $(objtree)/tools/symbols $(all_symbols) --sysv --sort \
> >                 > $(dot-target).2.S
> >         $(MAKE) $(build)=$(@D) $(dot-target).2.o
> > +       $(call compare-symbol-tables,$(dot-target).1.o,$(dot-target).2.o)
> >         $(LD) $(XEN_LDFLAGS) -T $(obj)/xen.lds $< $(build_id_linker) \
> >             $(dot-target).2.o -o $@
> >         $(NM) -pa --format=sysv $@ \
> >
> >
> >>
> >> Jan
> >
> > Best regards,
> > Mykola
>
Xen 4.22-unstable
(XEN) [    0.009681] Xen version 4.22-unstable (root@) (gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924) debug=y Thu Dec 11 15:55:28 UTC 2025
(XEN) [    0.010783] Latest ChangeSet: Thu Dec 11 17:54:28 2025 +0200 git:8d075fd66f
(XEN) [    0.011429] build-id: bd5599337274003b583226de5c7ae6761cb51457
(XEN) [    0.011976] Console output is synchronous.
(XEN) [    0.012374] Processor: 00000000412fd050: "ARM Limited", variant: 0x2, part 0xd05,rev 0x0
(XEN) [    0.013116] 64-bit Execution:
(XEN) [    0.013416]   Processor Features: 0000000011112222 0000000000000010
(XEN) [    0.014001]     Exception Levels: EL3:64+32 EL2:64+32 EL1:64+32 EL0:64+32
(XEN) [    0.014631]     Extensions: FloatingPoint AdvancedSIMD GICv3-SysReg
(XEN) [    0.015216]   Debug Features: 0000000010305408 0000000000000000
(XEN) [    0.015771]   Auxiliary Features: 0000000000000000 0000000000000000
(XEN) [    0.016356]   Memory Model Features: 0000000000101122 0000000010212122
(XEN) [    0.016964]   ISA Features:  0000100010211120 0000000000100001
(XEN) [    0.017511] 32-bit Execution:
(XEN) [    0.017811]   Processor Features: 0000000010000131:0000000010011011
(XEN) [    0.018396]     Instruction Sets: AArch32 A32 Thumb Thumb-2 Jazelle
(XEN) [    0.018981]     Extensions: GenericTimer Security
(XEN) [    0.019431]   Debug Features: 0000000004010088
(XEN) [    0.019859]   Auxiliary Features: 0000000000000000
(XEN) [    0.020316]   Memory Model Features: 0000000010201105 0000000040000000
(XEN) [    0.020924]                          0000000001260000 0000000002122211
(XEN) [    0.021531]   ISA Features: 0000000002101110 0000000013112111 0000000021232042
(XEN) [    0.022199]                 0000000001112131 0000000000011142 0000000001011121
(XEN) [    0.022871] Using SMC Calling Convention v1.5
(XEN) [    0.023291] Using PSCI v1.1
(XEN) [    0.023576] SMP: Allowing 2 CPUs
(XEN) [    0.023899] enabled workaround for: ARM erratum 1530923
(XEN) [    0.024413] Generic Timer IRQ: phys=30 hyp=26 virt=27 Freq: 24000 KHz
(XEN) [    0.025147] GICv3 initialization:
(XEN) [    0.025477]       gic_dist_addr=0x000000fe600000
(XEN) [    0.025920]       gic_maintenance_irq=25
(XEN) [    0.026303]       gic_rdist_stride=0
(XEN) [    0.026655]       gic_rdist_regions=1
(XEN) [    0.027015]       redistributor regions:
(XEN) [    0.027397]         - region 0: 0x000000fe680000 - 0x000000fe780000
(XEN) [    0.027982] GICv3: 512 lines, (IID 0201743b).
(XEN) [    0.028432] GICv3: CPU0: Found redistributor in region 0 @00000a004001c000
(XEN) [    0.029070] XSM Framework v1.0.1 initialized
(XEN) [    0.029482] xsm: Policy len = 0x0000000000010000 start at 0x0000000006000000
(XEN) [    0.030801] Using scheduler: SMP Credit Scheduler rev2 (credit2)
(XEN) [    0.031362] Initializing Credit2 scheduler
(XEN) [    0.031760]  load_precision_shift: 18
(XEN) [    0.032120]  load_window_shift: 30
(XEN) [    0.032458]  underload_balance_tolerance: 0
(XEN) [    0.032863]  overload_balance_tolerance: -3
(XEN) [    0.033268]  runqueues arrangement: socket
(XEN) [    0.033665]  cap enforcement granularity: 10ms
(XEN) [    0.034092] load tracking window length 1073741824 ns
(XEN) [    0.034703] Allocated console ring of 16 KiB.
(XEN) [    0.035124] CPU0: Guest atomics will try 4 times before pausing the domain
(XEN) [    0.035813] Bringing up CPU1
(XEN) [    0.036202] GICv3: CPU1: Found redistributor in region 0 @00000a004003c000
(XEN) [    0.036838] CPU1: Guest atomics will try 7 times before pausing the domain
(XEN) [    0.037476] Brought up 2 CPUs
(XEN) [    0.037776] CPU 1 booted.
(XEN) [    0.038150] I/O virtualisation disabled
(XEN) [    0.038524] P2M: 40-bit IPA with 40-bit PA and 16-bit VMID
(XEN) [    0.039041] 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.045455] alternatives: Patching with alt table 00000a00002eead0 -> 00000a00002f0000
(XEN) [    0.046519] SCMI: d0 init
(XEN) [    0.046911] *** LOADING DOMAIN 0 ***
(XEN) [    0.047264] Loading d0 kernel from boot module @ 0000000002000000
(XEN) [    0.047833] Loading ramdisk from boot module @ 00000000e20f2000
(XEN) [    0.048395] Grant table range: 0x00000049000000-0x00000049040000
(XEN) [    0.048957] Allocating 1:1 mappings totalling 2048MB for dom0:
(XEN) [    0.521129] BANK[0] 0x00000060000000-0x000000e0000000 (2048MB)
(XEN) [    0.534655] Allocating PPI 16 for event channel interrupt
(XEN) [    0.535315] d0: extended region 0: 0x200000->0x49000000
(XEN) [    0.535810] d0: extended region 1: 0x49200000->0x60000000
(XEN) [    0.536320] d0: extended region 2: 0x100000000->0x3fc000000
(XEN) [    0.537994] Loading zImage from 0000000002000000 to 0000000060000000-0000000064000000
(XEN) [    1.175395] Loading d0 initrd from 00000000e20f2000 to 0x0000000068200000-0x0000000072fd99e3
(XEN) [    2.897904] Loading d0 DTB to 0x0000000068000000-0x0000000068005ba6
(XEN) [    2.899656] Initial low memory virq threshold set at 0x4000 pages.
(XEN) [    2.900522] 
(XEN) [    2.900695] ****************************************
(XEN) [    2.901167] Panic on CPU 0:
(XEN) [    2.901452] test_symbols: non-zero offset (0x24) unexpected
(XEN) [    2.901977] ****************************************
(XEN) [    2.902450] 
(XEN) [    2.902623] Reboot in five seconds...

From 8d075fd66fefd46580445a73ae4de37df9701226 Mon Sep 17 00:00:00 2001
From: Mykola Kvach <[email protected]>
Date: Thu, 11 Dec 2025 17:54:28 +0200
Subject: [PATCH] arm makefile modifications

---
 xen/arch/arm/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xen/arch/arm/Makefile b/xen/arch/arm/Makefile
index 4a549a1ac0..8283f13aee 100644
--- a/xen/arch/arm/Makefile
+++ b/xen/arch/arm/Makefile
@@ -100,6 +100,7 @@ $(TARGET)-syms: $(objtree)/prelink.o $(obj)/xen.lds
 		| $(objtree)/tools/symbols $(all_symbols) --sysv --sort \
 		> $(dot-target).2.S
 	$(MAKE) $(build)=$(@D) $(dot-target).2.o
+	$(call compare-symbol-tables, $(dot-target).1.o, $(dot-target).2.o)
 	$(LD) $(XEN_LDFLAGS) -T $(obj)/xen.lds $< $(build_id_linker) \
 	    $(dot-target).2.o -o $@
 	$(NM) -pa --format=sysv $@ \
-- 
2.43.0

Reply via email to