vireshk

Untitled

Sep 8th, 2026
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.88 KB | None | 0 0
  1. /home/vireshk/work/repos/virtio/qemu/build/qemu-system-aarch64 -M virt,virtualization=true,gic-version=3 -cpu cortex-a57 -smp 8 -m 8G -nographic -device virtio-net-pci,netdev=net0 -netdev user,id=net0,hostfwd=tcp::8022-:22 -kernel /home/vireshk/work/repos/virtio/xen/xen/xen -append "dom0_mem=5G,max:5G dom0_max_vcpus=7 loglvl=all guest_loglvl=all" -device guest-loader,addr=0x60000000,kernel=/home/vireshk/work/repos/kernel/barm64t/arch/arm64/boot/Image,bootargs="root=/dev/sda2 console=hvc0 earlyprintk=xen" -device virtio-scsi-pci -drive file=/home/vireshk/work/repos/virtio/host-qemu/debian-bullseye-arm64.qcow2,index=0,id=hd0,if=none,format=qcow2 -device scsi-hd,drive=hd0
  2.  
  3. (DOM0 boots)
  4.  
  5. root@debian:~# cat uboot.conf
  6. name="uboot"
  7. kernel="/root/u-boot.bin"
  8. memory=2048
  9. vcpus=2
  10.  
  11. disk = [ 'format=raw,vdev=xvda,access=rw,target=/root/buildroot-disk.img' ]
  12.  
  13. root@debian:~# xl create -c uboot.conf
  14. Parsing config from uboot.conf
  15. (XEN) common/memory.c:363:d0v0 Could not allocate order=18 extent: id=1 memflags=0xc0 (1 of 2)
  16. (XEN) common/memory.c:363:d0v0 Could not allocate order=18 extent: id=1 memflags=0xc0 (0 of 1)
  17. [ 102.046183] loop0: detected capacity change from 0 to 524288
  18. Core: 7 devices, 5 uclasses, devicetree: board
  19. PVBLOCK: [ 107.326858] xen-blkback: backend/vbd/1/51712: using 1 queues, protocol 1 (arm-abi)
  20. (XEN) gnttab_mark_dirty not implemented yet
  21. pvblock: 0
  22. Loading Environment from <NULL>... OK
  23. In: hypervisor
  24. Out: hypervisor
  25. Err: hypervisor
  26. xenguest# ext4load pvblock 0 0x90000000 /boot/Image
  27. 62208512 bytes read in 7005 ms (8.5 MiB/s)
  28. xenguest#
  29.  
  30.  
  31. xenguest# bootefi 0x90000000
  32. Cannot persist EFI variables without system partition
  33. Booting /\boot\Image
  34. [ 138.867400] xen-blkback: backend/vbd/1/51712: prepare for reconnect
  35. (XEN) d1v0 Unhandled SMC/HVC: 0x84000050
  36. (XEN) d1v0 Unhandled SMC/HVC: 0x8600ff01
  37. (XEN) d1v0: vGICD: RAZ on reserved register offset 0x00000c
  38. (XEN) d1v0: vGICR: SGI: unhandled word write 0x000000ffffffff to ICACTIVER0
  39. [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd070]
  40. [ 0.000000] Linux version 7.2.0-00004-g496c86317342-dirty (vireshk@vireshk-B250M-D3H) (aarch64-linux-gnu-gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0, GNU ld (GNU Binutils for Ubuntu) 2.46) #36 SMP PREEMPT Tue Sep 8 12:14:20 IST 2026
  41. [ 0.000000] KASLR disabled due to lack of seed
  42. [ 0.000000] random: crng init done
  43. [ 0.000000] Machine model: XENVM-4.23
  44. [ 0.000000] Xen 4.23 support found
  45. [ 0.000000] efi: EFI v2.11 by Das U-Boot
  46. [ 0.000000] efi: RTPROP=0xbcf25040 SMBIOS 3.0=0xbdf59000 MEMRESERVE=0xbcf16040
  47. [ 0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
  48. [ 0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000bfffffff]
  49. [ 0.000000] NODE_DATA(0) allocated [mem 0xbfbe8980-0xbfbeb03f]
  50. [ 0.000000] cma: Reserved 32 MiB at 0x00000000bac00000
  51. [ 0.000000] psci: probing for conduit method from DT.
  52. [ 0.000000] psci: PSCIv1.1 detected in firmware.
  53. [ 0.000000] psci: Using standard PSCI v0.2 function IDs
  54. [ 0.000000] psci: Trusted OS migration not required
  55. [ 0.000000] psci: SMC Calling Convention v1.2
  56. [ 0.000000] Zone ranges:
  57. [ 0.000000] DMA [mem 0x0000000040000000-0x00000000bfffffff]
  58. [ 0.000000] DMA32 empty
  59. [ 0.000000] Normal empty
  60. [ 0.000000] Movable zone start for each node
  61. [ 0.000000] Early memory node ranges
  62. [ 0.000000] node 0: [mem 0x0000000040000000-0x00000000bcbfffff]
  63. [ 0.000000] node 0: [mem 0x00000000bcc00000-0x00000000bcc00fff]
  64. [ 0.000000] node 0: [mem 0x00000000bcc01000-0x00000000bcf24fff]
  65. [ 0.000000] node 0: [mem 0x00000000bcf25000-0x00000000bcf25fff]
  66. [ 0.000000] node 0: [mem 0x00000000bcf26000-0x00000000bcf26fff]
  67. [ 0.000000] node 0: [mem 0x00000000bcf27000-0x00000000bcf47fff]
  68. [ 0.000000] node 0: [mem 0x00000000bcf48000-0x00000000bcf49fff]
  69. [ 0.000000] node 0: [mem 0x00000000bcf4a000-0x00000000bcf4afff]
  70. [ 0.000000] node 0: [mem 0x00000000bcf4b000-0x00000000bdf58fff]
  71. [ 0.000000] node 0: [mem 0x00000000bdf59000-0x00000000bdf59fff]
  72. [ 0.000000] node 0: [mem 0x00000000bdf5a000-0x00000000bff6ffff]
  73. [ 0.000000] node 0: [mem 0x00000000bff70000-0x00000000bff7ffff]
  74. [ 0.000000] node 0: [mem 0x00000000bff80000-0x00000000bfffffff]
  75. [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
  76. [ 0.000000] percpu: Embedded 26 pages/cpu s67800 r8192 d30504 u106496
  77. [ 0.000000] Detected PIPT I-cache on CPU0
  78. [ 0.000000] CPU features: detected: GICv3 CPU interface
  79. [ 0.000000] CPU features: detected: Spectre-v2
  80. [ 0.000000] CPU features: detected: Spectre-v3a
  81. [ 0.000000] CPU features: detected: Spectre-v4
  82. [ 0.000000] CPU features: detected: Spectre-BHB
  83. [ 0.000000] CPU features: detected: ARM erratum 1742098
  84. [ 0.000000] CPU features: detected: ARM erratum 832075
  85. [ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
  86. [ 0.000000] alternatives: applying boot alternatives
  87. [ 0.000000] printk: log buffer data + meta data: 131072 + 458752 = 589824 bytes
  88. [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
  89. [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
  90. [ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 2MB
  91. [ 0.000000] software IO TLB: area num 2.
  92. [ 0.000000] software IO TLB: mapped [mem 0x00000000bd400000-0x00000000bd600000] (2MB)
  93. [ 0.000000] Fallback order for Node 0: 0
  94. [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 524288
  95. [ 0.000000] Policy zone: DMA
  96. [ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
  97. [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
  98. [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
  99. [ 0.000000] rcu: RCU event tracing is enabled.
  100. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=2.
  101. [ 0.000000] Trampoline variant of Tasks RCU enabled.
  102. [ 0.000000] Tracing variant of Tasks RCU enabled.
  103. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
  104. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
  105. [ 0.000000] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
  106. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
  107. [ 0.000000] GICv3: 0 SPIs implemented
  108. [ 0.000000] GICv3: 0 Extended SPIs implemented
  109. [ 0.000000] Root IRQ handler: gic_handle_irq
  110. [ 0.000000] GICv3: GICv3 features: 16 PPIs
  111. [ 0.000000] GICv3: GICD_CTLR.DS=0, SCR_EL3.FIQ=0
  112. [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000003020000
  113. [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
  114. [ 0.000000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
  115. [ 0.000000] arch_timer: cp15 timer running at 62.50MHz (virt).
  116. [ 0.000000] clocksource: arch_sys_counter: mask: 0x1ffffffffffffff max_cycles: 0x1cd42e208c, max_idle_ns: 881590405314 ns
  117. [ 0.000081] sched_clock: 57 bits at 63MHz, resolution 16ns, wraps every 4398046511096ns
  118. [ 0.020046] Console: colour dummy device 80x25
  119. [ 0.022207] printk: legacy console [hvc0] enabled
  120. [ 0.074561] Calibrating delay loop (skipped), value calculated using timer frequency.. 125.00 BogoMIPS (lpj=250000)
  121. [ 0.077424] pid_max: default: 32768 minimum: 301
  122. [ 0.094939] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
  123. [ 0.096590] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
  124. [ 0.130015] VFS: Finished mounting rootfs on nullfs
  125. [ 0.176787] cacheinfo: Unable to detect cache hierarchy for CPU 0
  126. [ 0.202579] XENMEM_add_to_physmap failed: rc=-16 domid=32752 idx=0 space=0 gpfn=40069
  127. [ 0.204042] ------------[ cut here ]------------
  128. [ 0.204562] kernel BUG at arch/arm64/xen/../../arm/xen/enlighten.c:482!
  129. [ 0.205476] Internal error: Oops - BUG: 00000000f2000800 [#1] SMP
  130. [ 0.206211] Modules linked in:
  131. [ 0.208438] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 7.2.0-00004-g496c86317342-dirty #36 PREEMPT
  132. [ 0.210657] Hardware name: XENVM-4.23 (DT)
  133. [ 0.211893] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
  134. [ 0.213716] pc : xen_guest_init+0x240/0x3ec
  135. [ 0.214631] lr : xen_guest_init+0x240/0x3ec
  136. [ 0.215027] sp : ffff800083c3bd10
  137. [ 0.215611] x29: ffff800083c3bd70 x28: 0000000000000000 x27: 0000000000000000
  138. [ 0.216995] x26: 0000000000000000 x25: ffff800083b56000 x24: ffff000000069000
  139. [ 0.218106] x23: ffff800083808d18 x22: ffff800083b65000 x21: ffff800083b65550
  140. [ 0.219912] x20: ffff800083808000 x19: 00000000fffffff0 x18: 000000000000000a
  141. [ 0.222647] x17: 6720303d65636170 x16: 00000000deadbeef x15: 32353732333d6469
  142. [ 0.225929] x14: 6d6f642036312d3d x13: ffff800083824dd0 x12: 000000000000005a
  143. [ 0.229152] x11: 707320303d786469 x10: 2032353732333d64 x9 : ffff800083824dd0
  144. [ 0.230884] x8 : 3fffffffffffefff x7 : ffff80008387cdd0 x6 : 000000000000005b
  145. [ 0.231999] x5 : ffff80008387cdd0 x4 : 0000000000000000 x3 : 0000000000000000
  146. [ 0.232886] x2 : 0000000000000000 x1 : ffff00000010b000 x0 : 0000000000000049
  147. [ 0.235044] Call trace:
  148. [ 0.235745] xen_guest_init+0x240/0x3ec (P)
  149. [ 0.237129] do_one_initcall+0x60/0x1d4
  150. [ 0.239048] kernel_init_freeable+0x138/0x2d4
  151. [ 0.240458] kernel_init+0x24/0x140
  152. [ 0.241142] ret_from_fork+0x10/0x20
  153. [ 0.243148] Code: f0ffeae0 b94007e4 912e8000 97852889 (d4210000)
  154. [ 0.246215] ---[ end trace 0000000000000000 ]---
  155. [ 0.250852] note: swapper/0[1] exited with irqs disabled
  156. [ 0.252402] note: swapper/0[1] exited with preempt_count 1
  157. [ 0.254586] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
  158. [ 0.256462] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]---
  159.  
Advertisement
Add Comment
Please, Sign In to add comment