Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARM64 server gets stuck on "bpfilter write fail: -32" when activating Linuxkit (Alpine). #198

Open
howard-yeh opened this issue Nov 9, 2023 · 10 comments

Comments

@howard-yeh
Copy link

howard-yeh commented Nov 9, 2023

When I provisioned the ARM64 server, the admin console stucked with the following error messages
[ 21.345242] arm_spe_pmu arm,spe-v1: profiling buffer inaccessible. Try passing "kpti=off" on the kernel command line
[ 21.364371] arm_spe_pmu: probe of arm,spe-v1 failed with error -1

and it stucks looping in "bpfilter: write fail -32".

Here's the related issue that I found: AmpereComputing/ampere-lts-kernel#21

Is there any possible solution for this case?

BTW, the x86 server can be provisioned correctly.

Expected Behaviour

Activate hook-bookit and hook-docker containers and enter os console.

Steps to Reproduce (for bugs)

  1. Setup Tinkerbell stack with helm chart
  2. Apply hardware.yml , template. yml and workflow.yml

Your Environment

Tinkerbell version: Latest (v0.4.2)
Arch: ARM64v8

@howard-yeh howard-yeh changed the title ARM64 server stuck in bpfilter write fail: -32 during activate Linuxkit (alpine) ARM64 server gets stuck on "bpfilter write fail: -32" when activating Linuxkit (Alpine). Nov 9, 2023
@jacobweinstock
Copy link
Member

Hey @howard-yeh, thanks for reporting this. I've been able to reproduce this locally. I have found linuxkit/linuxkit#3701. I'm going to change some kernel configs and test. Will update here.

Also, going to move this issue to the Hook repo..

@jacobweinstock jacobweinstock transferred this issue from tinkerbell/charts Jan 26, 2024
@ClashTheBunny
Copy link

This may be more cosmetc than it seems, I am trying to image a RPi4 and I saw the same mesages. I'm not sure what else fails, but for me, once I set the time to be correct-ish, it downloaded the images immediately and tried to image my disk. I have another issue with that, but I wonder if setting the time is a workaround that works for you?

@howard-yeh
Copy link
Author

Hi @jacobweinstock , thanks for replying this.
Hi @ClashTheBunny, I'm not sure what is meant by 'set the time to be correct-ish' because the time is always accurate. May you provide more details, it might be helpful. Many thanks!

@ClashTheBunny
Copy link

Just that I ran date on the raspberry pi and it showed 1970, so I set it with date -s 202402062013 and then the workflow started right up.

@howard-yeh
Copy link
Author

@ClashTheBunny In my case, the system time is correct, but the error still ran out. Anyway, thanks for your feedback =)

@rpardini
Copy link
Contributor

@jacobweinstock Got the same, but on QEMU/KVM arm64 VM. Other VMs run Linux normally on the same host.

Here's a complete bootlog:

>>Start PXE over IPv4.
  Station IP address is 192.168.66.244

  Server IP address is 192.168.66.75
  NBP filename is snp.efi
  NBP filesize is 267776 Bytes
 Downloading NBP file...

  NBP file downloaded successfully.
BdsDxe: loading Boot0002 "UEFI PXEv4 (MAC:525400010301)" from PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/MAC(525400010301,0x1)/IPv4(0.0.0.0,0x0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0)
BdsDxe: starting Boot0002 "UEFI PXEv4 (MAC:525400010301)" from PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/MAC(525400010301,0x1)/IPv4(0.0.0.0,0x0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0)
iPXE initialising devices...ok



�[1m�[37m�[40miPXE 1.0.0+�[0m�[37m�[40m -- Open Source Network Boot Firmware -- �[0m�[36m�[40mhttps://ipxe.org�[0m�[37m�[40m
Features: DNS HTTP HTTPS NFS TFTP VLAN EFI Menu
Welcome to Neverland!
Press Ctrl-B for the iPXE command line...� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �Booting from net0...
net0: 52:54:00:01:03:01 using SNP on SNP-0000:03:00.0 (Ethernet) [open]
  [Link:up, TX:0 TXE:1 RX:0 RXE:0]
  [TXE: 1 x "Network unreachable (https://ipxe.org/28086090)"]
Configuring (net0 52:54:00:01:03:01)...... ok
net0: 192.168.66.244/255.255.255.0 gw 192.168.66.1
net0: 2a02:a466:4d7a:1:5054:ff:fe01:301/64 gw fe80::5e49:79ff:fe58:2b10
net0: fe80::5054:ff:fe01:301/64
Next server: 192.168.66.75
Filename: http://192.168.66.75:7171/52:54:00:01:03:01/auto.ipxe
http://192.168.66.75:7171/52:54:00:01:03:01/auto.ipxe... ok
auto.ipxe : 536 bytes [script]
Loading the Tinkerbell Hook iPXE script...
http://192.168.66.75:8080/vmlinuz-aarch64... 60%����    ���� ok
http://192.168.66.75:8080/initramfs-aarch64...  8%����    ���� 18%����    ���� 27%����    ���� 37%����    ���� 46%����    ���� 56%����    ���� 64%����    ���� 74%����    ���� 83%����    ���� 93%����    ���� ok
EFI stub: Booting Linux Kernel...
EFI stub: Generating empty DTB
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Exiting boot services and installing virtual address map...
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x414fd0b0]
[    0.000000] Linux version 5.10.85-linuxkit (root@buildkitsandbox) (gcc (Alpine 9.2.0) 9.2.0, GNU ld (GNU Binutils) 2.33.1) #1 SMP Thu Nov 10 17:32:44 UTC 2022
[    0.000000] efi: EFI v2.70 by EDK II
[    0.000000] efi: SMBIOS 3.0=0x13bed0000 MEMATTR=0x13a5ce018 ACPI 2.0=0x138430018 RNG=0x13bfdbd98 MEMRESERVE=0x126efac18 
[    0.000000] efi: seeding entropy pool
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x0000000138430018 000024 (v02 BOCHS )
[    0.000000] ACPI: XSDT 0x000000013843FE98 000064 (v01 BOCHS  BXPC     00000001      01000013)
[    0.000000] ACPI: FACP 0x000000013843FA98 00010C (v05 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: DSDT 0x0000000138437518 001468 (v02 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: APIC 0x000000013843FC18 000100 (v03 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: PPTT 0x000000013843FD98 000060 (v02 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: GTDT 0x000000013843D898 000060 (v02 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: MCFG 0x000000013843FF98 00003C (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: SPCR 0x000000013843E818 000050 (v02 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: DBG2 0x000000013843E898 000057 (v00 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: IORT 0x000000013843E418 000080 (v03 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: SPCR: console: pl011,mmio,0x9000000,9600
[    0.000000] ACPI: NUMA: Failed to initialise from firmware
[    0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x000000013fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x13f7f9640-0x13f7fbfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000013fffffff]
[    0.000000]   Device   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000013843ffff]
[    0.000000]   node   0: [mem 0x0000000138440000-0x000000013872ffff]
[    0.000000]   node   0: [mem 0x0000000138730000-0x000000013bbfffff]
[    0.000000]   node   0: [mem 0x000000013bc00000-0x000000013bfdffff]
[    0.000000]   node   0: [mem 0x000000013bfe0000-0x000000013fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000013fffffff]
[    0.000000] psci: probing for conduit method from ACPI.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] ACPI: SRAT not present
[    0.000000] percpu: Embedded 32 pages/cpu s93784 r8192 d29096 u131072
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: Hardware dirty bit management
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: vmlinuz-aarch64 tink_worker_image=quay.io/tinkerbell/tink-worker:v0.10.0 facility= syslog_host=192.168.66.75 grpc_authority=192.168.66.75:42113 tinkerbell_tls=false worker_id=52:54:00:01:03:01 hw_addr=52:54:00:01:03:01 modules=loop,squashfs,sd-mod,usb-storage intel_iommu=on iommu=pt initrd=initramfs-aarch64 console=tty0 console=ttyS1,115200
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:byref_all(zero), heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[    0.000000] Memory: 3790364K/4194304K available (15936K kernel code, 3142K rwdata, 5500K rodata, 7488K init, 849K bss, 403940K reserved, 0K cma-reserved)
[    0.000000] random: get_random_u32 called from cache_grow_begin+0x20c/0x45c with crng_init=0
[    0.000000] ftrace: allocating 60472 entries in 237 pages
[    0.000000] ftrace: allocated 237 pages with 6 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=2.
[    0.000000] 	Rude variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000080a0000
[    0.000000] ACPI: SRAT not present
[    0.000000] ITS [mem 0x08080000-0x0809ffff]
[    0.000000] ITS@0x0000000008080000: allocated 8192 Devices @1001e0000 (indirect, esz 8, psz 64K, shr 1)
[    0.000000] ITS@0x0000000008080000: allocated 8192 Interrupt Collections @1001f0000 (flat, esz 8, psz 64K, shr 1)
[    0.000000] GICv3: using LPI property table @0x0000000100200000
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000100210000
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000025] arm-pv: using stolen time PV
[    0.000311] Console: colour dummy device 80x25
[    0.000496] printk: console [tty0] enabled
[    0.000550] ACPI: Core revision 20200925
[    0.000662] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[    0.000669] pid_max: default: 32768 minimum: 301
[    0.000816] LSM: Security Framework initializing
[    0.000831] Yama: becoming mindful.
[    0.000965] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001090] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.002596] rcu: Hierarchical SRCU implementation.
[    0.002872] Platform MSI: ITS@0x8080000 domain created
[    0.002885] PCI/MSI: ITS@0x8080000 domain created
[    0.002923] Remapping and enabling EFI services.
[    0.003312] smp: Bringing up secondary CPUs ...
[    0.033379] Detected PIPT I-cache on CPU1
[    0.033417] GICv3: CPU1: found redistributor 1 region 0:0x00000000080c0000
[    0.033576] GICv3: CPU1: using allocated LPI pending table @0x0000000100220000
[    0.033648] CPU1: Booted secondary processor 0x0000000001 [0x414fd0b0]
[    0.033844] smp: Brought up 1 node, 2 CPUs
[    0.033861] SMP: Total of 2 processors activated.
[    0.033865] CPU features: detected: Privileged Access Never
[    0.033868] CPU features: detected: LSE atomic instructions
[    0.033870] CPU features: detected: User Access Override
[    0.033873] CPU features: detected: 32-bit EL0 Support
[    0.033876] CPU features: detected: Common not Private translations
[    0.033879] CPU features: detected: RAS Extension Support
[    0.033882] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    0.033886] CPU features: detected: CRC32 instructions
[    0.033889] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    0.036034] CPU: All CPU(s) started at EL1
[    0.036064] alternatives: patching kernel code
[    0.037456] devtmpfs: initialized
[    0.038675] KASLR enabled
[    0.038756] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.038766] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.038939] pinctrl core: initialized pinctrl subsystem
[    0.039363] SMBIOS 3.0.0 present.
[    0.039369] DMI: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015
[    0.039733] NET: Registered protocol family 16
[    0.040499] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.040529] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.040560] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.040583] audit: initializing netlink subsys (disabled)
[    0.040831] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.041253] thermal_sys: Registered thermal governor 'step_wise'
[    0.041402] cpuidle: using governor ladder
[    0.041418] cpuidle: using governor menu
[    0.041552] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.041606] ASID allocator initialised with 32768 entries
[    0.041672] ACPI: bus type PCI registered
[    0.041679] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.041795] Serial: AMBA PL011 UART driver
[    0.045405] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.045414] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.045420] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.045425] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.047721] cryptd: max_cpu_qlen set to 1000
[    0.051218] ACPI: Added _OSI(Module Device)
[    0.051225] ACPI: Added _OSI(Processor Device)
[    0.051230] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.051235] ACPI: Added _OSI(Processor Aggregator Device)
[    0.051240] ACPI: Added _OSI(Linux-Dell-Video)
[    0.051244] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.051249] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.053124] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.053648] ACPI: Interpreter enabled
[    0.053654] ACPI: Using GIC for interrupt routing
[    0.053678] ACPI: MCFG table detected, 1 entries
[    0.057481] ARMH0011:00: ttyAMA0 at MMIO 0x9000000 (irq = 12, base_baud = 0) is a SBSA
[    0.209667] printk: console [ttyAMA0] enabled
[    0.212833] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.213969] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]
[    0.215266] acpi PNP0A08:00: _OSC: platform does not support [LTR]
[    0.216086] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug SHPCHotplug PME PCIeCapability]
[    0.217450] acpi PNP0A08:00: ECAM area [mem 0x4010000000-0x401fffffff] reserved by PNP0C02:00
[    0.218371] acpi PNP0A08:00: ECAM at [mem 0x4010000000-0x401fffffff] for [bus 00-ff]
[    0.219235] Remapped I/O 0x000000003eff0000 to [io  0x0000-0xffff window]
[    0.220145] PCI host bridge to bus 0000:00
[    0.220591] pci_bus 0000:00: root bus resource [mem 0x10000000-0x3efeffff window]
[    0.221435] pci_bus 0000:00: root bus resource [io  0x0000-0xffff window]
[    0.222156] pci_bus 0000:00: root bus resource [mem 0x8000000000-0xffffffffff window]
[    0.223035] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.223686] pci 0000:00:00.0: [1b36:0008] type 00 class 0x060000
[    0.224668] pci 0000:00:01.0: [1b36:000c] type 01 class 0x060400
[    0.228117] pci 0000:00:01.0: reg 0x10: [mem 0x11187000-0x11187fff]
[    0.233955] pci 0000:00:01.1: [1b36:000c] type 01 class 0x060400
[    0.240094] pci 0000:00:01.1: reg 0x10: [mem 0x11186000-0x11186fff]
[    0.244421] pci 0000:00:01.2: [1b36:000c] type 01 class 0x060400
[    0.247116] pci 0000:00:01.2: reg 0x10: [mem 0x11185000-0x11185fff]
[    0.255903] pci 0000:00:01.3: [1b36:000c] type 01 class 0x060400
[    0.258334] pci 0000:00:01.3: reg 0x10: [mem 0x11184000-0x11184fff]
[    0.262536] pci 0000:00:01.4: [1b36:000c] type 01 class 0x060400
[    0.269452] pci 0000:00:01.4: reg 0x10: [mem 0x11183000-0x11183fff]
[    0.273524] pci 0000:00:01.5: [1b36:000c] type 01 class 0x060400
[    0.275824] pci 0000:00:01.5: reg 0x10: [mem 0x11182000-0x11182fff]
[    0.284343] pci 0000:00:01.6: [1b36:000c] type 01 class 0x060400
[    0.286707] pci 0000:00:01.6: reg 0x10: [mem 0x11181000-0x11181fff]
[    0.290774] pci 0000:00:01.7: [1b36:000c] type 01 class 0x060400
[    0.293149] pci 0000:00:01.7: reg 0x10: [mem 0x11180000-0x11180fff]
[    0.302316] pci 0000:01:00.0: [1b36:000e] type 01 class 0x060400
[    0.304602] pci 0000:01:00.0: reg 0x10: [mem 0x11000000-0x110000ff 64bit]
[    0.312183] pci_bus 0000:02: extended config space not accessible
[    0.312988] pci 0000:02:01.0: [1af4:1001] type 00 class 0x010000
[    0.315071] pci 0000:02:01.0: reg 0x10: [io  0x7000-0x707f]
[    0.317174] pci 0000:02:01.0: reg 0x14: [mem 0x10e00000-0x10e00fff]
[    0.322588] pci 0000:02:01.0: reg 0x20: [mem 0x8000004000-0x8000007fff 64bit pref]
[    0.329676] pci 0000:02:02.0: [1af4:1002] type 00 class 0x00ff00
[    0.331375] pci 0000:02:02.0: reg 0x10: [io  0x7080-0x70bf]
[    0.335913] pci 0000:02:02.0: reg 0x20: [mem 0x8000000000-0x8000003fff 64bit pref]
[    0.344329] pci 0000:03:00.0: [1af4:1041] type 00 class 0x020000
[    0.346936] pci 0000:03:00.0: reg 0x14: [mem 0x10c00000-0x10c00fff]
[    0.350592] pci 0000:03:00.0: reg 0x20: [mem 0x8000100000-0x8000103fff 64bit pref]
[    0.357154] pci 0000:03:00.0: reg 0x30: [mem 0xfff80000-0xffffffff pref]
[    0.359202] pci 0000:04:00.0: [1af4:1043] type 00 class 0x078000
[    0.361792] pci 0000:04:00.0: reg 0x14: [mem 0x10a00000-0x10a00fff]
[    0.365340] pci 0000:04:00.0: reg 0x20: [mem 0x8000200000-0x8000203fff 64bit pref]
[    0.372535] pci 0000:05:00.0: [1af4:1042] type 00 class 0x010000
[    0.375167] pci 0000:05:00.0: reg 0x14: [mem 0x10800000-0x10800fff]
[    0.378739] pci 0000:05:00.0: reg 0x20: [mem 0x8000300000-0x8000303fff 64bit pref]
[    0.386253] pci 0000:06:00.0: [1af4:1044] type 00 class 0x00ff00
[    0.389449] pci 0000:06:00.0: reg 0x20: [mem 0x8000400000-0x8000403fff 64bit pref]
[    0.392121] pci 0000:07:00.0: [1af4:1052] type 00 class 0x090200
[    0.394737] pci 0000:07:00.0: reg 0x14: [mem 0x10400000-0x10400fff]
[    0.402123] pci 0000:07:00.0: reg 0x20: [mem 0x8000500000-0x8000503fff 64bit pref]
[    0.405186] pci 0000:08:00.0: [1af4:1052] type 00 class 0x090000
[    0.407779] pci 0000:08:00.0: reg 0x14: [mem 0x10200000-0x10200fff]
[    0.415905] pci 0000:08:00.0: reg 0x20: [mem 0x8000600000-0x8000603fff 64bit pref]
[    0.424129] pci 0000:00:01.0: bridge window [mem 0x00100000-0x001fffff 64bit pref] to [bus 01-02] add_size 100000 add_align 100000
[    0.430802] pci 0000:00:01.1: bridge window [io  0x1000-0x0fff] to [bus 03] add_size 1000
[    0.431681] pci 0000:00:01.1: bridge window [mem 0x00100000-0x001fffff 64bit pref] to [bus 03] add_size 100000 add_align 100000
[    0.433029] pci 0000:00:01.1: bridge window [mem 0x00100000-0x001fffff] to [bus 03] add_size 100000 add_align 100000
[    0.434142] pci 0000:00:01.2: bridge window [io  0x1000-0x0fff] to [bus 04] add_size 1000
[    0.434996] pci 0000:00:01.2: bridge window [mem 0x00100000-0x001fffff 64bit pref] to [bus 04] add_size 100000 add_align 100000
[    0.436323] pci 0000:00:01.2: bridge window [mem 0x00100000-0x001fffff] to [bus 04] add_size 100000 add_align 100000
[    0.437441] pci 0000:00:01.3: bridge window [io  0x1000-0x0fff] to [bus 05] add_size 1000
[    0.438293] pci 0000:00:01.3: bridge window [mem 0x00100000-0x001fffff 64bit pref] to [bus 05] add_size 100000 add_align 100000
[    0.439616] pci 0000:00:01.3: bridge window [mem 0x00100000-0x001fffff] to [bus 05] add_size 100000 add_align 100000
[    0.440735] pci 0000:00:01.4: bridge window [io  0x1000-0x0fff] to [bus 06] add_size 1000
[    0.441591] pci 0000:00:01.4: bridge window [mem 0x00100000-0x001fffff 64bit pref] to [bus 06] add_size 100000 add_align 100000
[    0.442906] pci 0000:00:01.4: bridge window [mem 0x00100000-0x000fffff] to [bus 06] add_size 200000 add_align 100000
[    0.444031] pci 0000:00:01.5: bridge window [io  0x1000-0x0fff] to [bus 07] add_size 1000
[    0.444891] pci 0000:00:01.5: bridge window [mem 0x00100000-0x001fffff 64bit pref] to [bus 07] add_size 100000 add_align 100000
[    0.446208] pci 0000:00:01.5: bridge window [mem 0x00100000-0x001fffff] to [bus 07] add_size 100000 add_align 100000
[    0.447325] pci 0000:00:01.6: bridge window [io  0x1000-0x0fff] to [bus 08] add_size 1000
[    0.448181] pci 0000:00:01.6: bridge window [mem 0x00100000-0x001fffff 64bit pref] to [bus 08] add_size 100000 add_align 100000
[    0.449487] pci 0000:00:01.6: bridge window [mem 0x00100000-0x001fffff] to [bus 08] add_size 100000 add_align 100000
[    0.450606] pci 0000:00:01.7: bridge window [io  0x1000-0x0fff] to [bus 09] add_size 1000
[    0.451459] pci 0000:00:01.7: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 09] add_size 200000 add_align 100000
[    0.452772] pci 0000:00:01.7: bridge window [mem 0x00100000-0x000fffff] to [bus 09] add_size 200000 add_align 100000
[    0.453930] pci 0000:00:01.0: BAR 14: assigned [mem 0x10000000-0x101fffff]
[    0.454650] pci 0000:00:01.0: BAR 15: assigned [mem 0x8000000000-0x80001fffff 64bit pref]
[    0.455578] pci 0000:00:01.1: BAR 14: assigned [mem 0x10200000-0x103fffff]
[    0.456303] pci 0000:00:01.1: BAR 15: assigned [mem 0x8000200000-0x80003fffff 64bit pref]
[    0.457226] pci 0000:00:01.2: BAR 14: assigned [mem 0x10400000-0x105fffff]
[    0.457945] pci 0000:00:01.2: BAR 15: assigned [mem 0x8000400000-0x80005fffff 64bit pref]
[    0.458863] pci 0000:00:01.3: BAR 14: assigned [mem 0x10600000-0x107fffff]
[    0.459581] pci 0000:00:01.3: BAR 15: assigned [mem 0x8000600000-0x80007fffff 64bit pref]
[    0.460504] pci 0000:00:01.4: BAR 14: assigned [mem 0x10800000-0x109fffff]
[    0.461220] pci 0000:00:01.4: BAR 15: assigned [mem 0x8000800000-0x80009fffff 64bit pref]
[    0.462137] pci 0000:00:01.5: BAR 14: assigned [mem 0x10a00000-0x10bfffff]
[    0.462854] pci 0000:00:01.5: BAR 15: assigned [mem 0x8000a00000-0x8000bfffff 64bit pref]
[    0.463780] pci 0000:00:01.6: BAR 14: assigned [mem 0x10c00000-0x10dfffff]
[    0.464494] pci 0000:00:01.6: BAR 15: assigned [mem 0x8000c00000-0x8000dfffff 64bit pref]
[    0.465412] pci 0000:00:01.7: BAR 14: assigned [mem 0x10e00000-0x10ffffff]
[    0.466126] pci 0000:00:01.7: BAR 15: assigned [mem 0x8000e00000-0x8000ffffff 64bit pref]
[    0.467049] pci 0000:00:01.0: BAR 0: assigned [mem 0x11000000-0x11000fff]
[    0.468598] pci 0000:00:01.0: BAR 13: assigned [io  0x1000-0x1fff]
[    0.469257] pci 0000:00:01.1: BAR 0: assigned [mem 0x11001000-0x11001fff]
[    0.470719] pci 0000:00:01.1: BAR 13: assigned [io  0x2000-0x2fff]
[    0.471467] pci 0000:00:01.2: BAR 0: assigned [mem 0x11002000-0x11002fff]
[    0.472873] pci 0000:00:01.2: BAR 13: assigned [io  0x3000-0x3fff]
[    0.473579] pci 0000:00:01.3: BAR 0: assigned [mem 0x11003000-0x11003fff]
[    0.475072] pci 0000:00:01.3: BAR 13: assigned [io  0x4000-0x4fff]
[    0.475797] pci 0000:00:01.4: BAR 0: assigned [mem 0x11004000-0x11004fff]
[    0.477208] pci 0000:00:01.4: BAR 13: assigned [io  0x5000-0x5fff]
[    0.477850] pci 0000:00:01.5: BAR 0: assigned [mem 0x11005000-0x11005fff]
[    0.479259] pci 0000:00:01.5: BAR 13: assigned [io  0x6000-0x6fff]
[    0.479966] pci 0000:00:01.6: BAR 0: assigned [mem 0x11006000-0x11006fff]
[    0.481354] pci 0000:00:01.6: BAR 13: assigned [io  0x7000-0x7fff]
[    0.482000] pci 0000:00:01.7: BAR 0: assigned [mem 0x11007000-0x11007fff]
[    0.483441] pci 0000:00:01.7: BAR 13: assigned [io  0x8000-0x8fff]
[    0.484159] pci 0000:01:00.0: BAR 14: assigned [mem 0x10000000-0x100fffff]
[    0.484881] pci 0000:01:00.0: BAR 15: assigned [mem 0x8000000000-0x80000fffff 64bit pref]
[    0.485821] pci 0000:01:00.0: BAR 13: assigned [io  0x1000-0x1fff]
[    0.486482] pci 0000:01:00.0: BAR 0: assigned [mem 0x10100000-0x101000ff 64bit]
[    0.488761] pci 0000:02:01.0: BAR 4: assigned [mem 0x8000000000-0x8000003fff 64bit pref]
[    0.493651] pci 0000:02:02.0: BAR 4: assigned [mem 0x8000004000-0x8000007fff 64bit pref]
[    0.495078] pci 0000:02:01.0: BAR 1: assigned [mem 0x10000000-0x10000fff]
[    0.496269] pci 0000:02:01.0: BAR 0: assigned [io  0x1000-0x107f]
[    0.497409] pci 0000:02:02.0: BAR 0: assigned [io  0x1080-0x10bf]
[    0.498558] pci 0000:01:00.0: PCI bridge to [bus 02]
[    0.499115] pci 0000:01:00.0:   bridge window [io  0x1000-0x1fff]
[    0.500666] pci 0000:01:00.0:   bridge window [mem 0x10000000-0x100fffff]
[    0.502039] pci 0000:01:00.0:   bridge window [mem 0x8000000000-0x80000fffff 64bit pref]
[    0.506503] pci 0000:00:01.0: PCI bridge to [bus 01-02]
[    0.507065] pci 0000:00:01.0:   bridge window [io  0x1000-0x1fff]
[    0.508528] pci 0000:00:01.0:   bridge window [mem 0x10000000-0x101fffff]
[    0.509927] pci 0000:00:01.0:   bridge window [mem 0x8000000000-0x80001fffff 64bit pref]
[    0.512006] pci 0000:03:00.0: BAR 6: assigned [mem 0x10200000-0x1027ffff pref]
[    0.512796] pci 0000:03:00.0: BAR 4: assigned [mem 0x8000200000-0x8000203fff 64bit pref]
[    0.514851] pci 0000:03:00.0: BAR 1: assigned [mem 0x10280000-0x10280fff]
[    0.518849] pci 0000:00:01.1: PCI bridge to [bus 03]
[    0.519411] pci 0000:00:01.1:   bridge window [io  0x2000-0x2fff]
[    0.520915] pci 0000:00:01.1:   bridge window [mem 0x10200000-0x103fffff]
[    0.522217] pci 0000:00:01.1:   bridge window [mem 0x8000200000-0x80003fffff 64bit pref]
[    0.524396] pci 0000:04:00.0: BAR 4: assigned [mem 0x8000400000-0x8000403fff 64bit pref]
[    0.526243] pci 0000:04:00.0: BAR 1: assigned [mem 0x10400000-0x10400fff]
[    0.527503] pci 0000:00:01.2: PCI bridge to [bus 04]
[    0.528998] pci 0000:00:01.2:   bridge window [io  0x3000-0x3fff]
[    0.530550] pci 0000:00:01.2:   bridge window [mem 0x10400000-0x105fffff]
[    0.531885] pci 0000:00:01.2:   bridge window [mem 0x8000400000-0x80005fffff 64bit pref]
[    0.533916] pci 0000:05:00.0: BAR 4: assigned [mem 0x8000600000-0x8000603fff 64bit pref]
[    0.535747] pci 0000:05:00.0: BAR 1: assigned [mem 0x10600000-0x10600fff]
[    0.536976] pci 0000:00:01.3: PCI bridge to [bus 05]
[    0.537516] pci 0000:00:01.3:   bridge window [io  0x4000-0x4fff]
[    0.539779] pci 0000:00:01.3:   bridge window [mem 0x10600000-0x107fffff]
[    0.541036] pci 0000:00:01.3:   bridge window [mem 0x8000600000-0x80007fffff 64bit pref]
[    0.543007] pci 0000:06:00.0: BAR 4: assigned [mem 0x8000800000-0x8000803fff 64bit pref]
[    0.544391] pci 0000:00:01.4: PCI bridge to [bus 06]
[    0.544935] pci 0000:00:01.4:   bridge window [io  0x5000-0x5fff]
[    0.546433] pci 0000:00:01.4:   bridge window [mem 0x10800000-0x109fffff]
[    0.547754] pci 0000:00:01.4:   bridge window [mem 0x8000800000-0x80009fffff 64bit pref]
[    0.549816] pci 0000:07:00.0: BAR 4: assigned [mem 0x8000a00000-0x8000a03fff 64bit pref]
[    0.552422] pci 0000:07:00.0: BAR 1: assigned [mem 0x10a00000-0x10a00fff]
[    0.553766] pci 0000:00:01.5: PCI bridge to [bus 07]
[    0.554331] pci 0000:00:01.5:   bridge window [io  0x6000-0x6fff]
[    0.555860] pci 0000:00:01.5:   bridge window [mem 0x10a00000-0x10bfffff]
[    0.557179] pci 0000:00:01.5:   bridge window [mem 0x8000a00000-0x8000bfffff 64bit pref]
[    0.559218] pci 0000:08:00.0: BAR 4: assigned [mem 0x8000c00000-0x8000c03fff 64bit pref]
[    0.561942] pci 0000:08:00.0: BAR 1: assigned [mem 0x10c00000-0x10c00fff]
[    0.563205] pci 0000:00:01.6: PCI bridge to [bus 08]
[    0.563753] pci 0000:00:01.6:   bridge window [io  0x7000-0x7fff]
[    0.565302] pci 0000:00:01.6:   bridge window [mem 0x10c00000-0x10dfffff]
[    0.566780] pci 0000:00:01.6:   bridge window [mem 0x8000c00000-0x8000dfffff 64bit pref]
[    0.568916] pci 0000:00:01.7: PCI bridge to [bus 09]
[    0.569461] pci 0000:00:01.7:   bridge window [io  0x8000-0x8fff]
[    0.571028] pci 0000:00:01.7:   bridge window [mem 0x10e00000-0x10ffffff]
[    0.573272] pci 0000:00:01.7:   bridge window [mem 0x8000e00000-0x8000ffffff 64bit pref]
[    0.575413] pci_bus 0000:00: resource 4 [mem 0x10000000-0x3efeffff window]
[    0.576141] pci_bus 0000:00: resource 5 [io  0x0000-0xffff window]
[    0.576841] pci_bus 0000:00: resource 6 [mem 0x8000000000-0xffffffffff window]
[    0.577590] pci_bus 0000:01: resource 0 [io  0x1000-0x1fff]
[    0.578225] pci_bus 0000:01: resource 1 [mem 0x10000000-0x101fffff]
[    0.578903] pci_bus 0000:01: resource 2 [mem 0x8000000000-0x80001fffff 64bit pref]
[    0.579752] pci_bus 0000:02: resource 0 [io  0x1000-0x1fff]
[    0.580322] pci_bus 0000:02: resource 1 [mem 0x10000000-0x100fffff]
[    0.581003] pci_bus 0000:02: resource 2 [mem 0x8000000000-0x80000fffff 64bit pref]
[    0.581796] pci_bus 0000:03: resource 0 [io  0x2000-0x2fff]
[    0.582434] pci_bus 0000:03: resource 1 [mem 0x10200000-0x103fffff]
[    0.583094] pci_bus 0000:03: resource 2 [mem 0x8000200000-0x80003fffff 64bit pref]
[    0.583938] pci_bus 0000:04: resource 0 [io  0x3000-0x3fff]
[    0.584518] pci_bus 0000:04: resource 1 [mem 0x10400000-0x105fffff]
[    0.585209] pci_bus 0000:04: resource 2 [mem 0x8000400000-0x80005fffff 64bit pref]
[    0.586001] pci_bus 0000:05: resource 0 [io  0x4000-0x4fff]
[    0.586645] pci_bus 0000:05: resource 1 [mem 0x10600000-0x107fffff]
[    0.587296] pci_bus 0000:05: resource 2 [mem 0x8000600000-0x80007fffff 64bit pref]
[    0.588148] pci_bus 0000:06: resource 0 [io  0x5000-0x5fff]
[    0.588729] pci_bus 0000:06: resource 1 [mem 0x10800000-0x109fffff]
[    0.589397] pci_bus 0000:06: resource 2 [mem 0x8000800000-0x80009fffff 64bit pref]
[    0.590185] pci_bus 0000:07: resource 0 [io  0x6000-0x6fff]
[    0.590835] pci_bus 0000:07: resource 1 [mem 0x10a00000-0x10bfffff]
[    0.591485] pci_bus 0000:07: resource 2 [mem 0x8000a00000-0x8000bfffff 64bit pref]
[    0.592316] pci_bus 0000:08: resource 0 [io  0x7000-0x7fff]
[    0.592895] pci_bus 0000:08: resource 1 [mem 0x10c00000-0x10dfffff]
[    0.593588] pci_bus 0000:08: resource 2 [mem 0x8000c00000-0x8000dfffff 64bit pref]
[    0.594375] pci_bus 0000:09: resource 0 [io  0x8000-0x8fff]
[    0.595010] pci_bus 0000:09: resource 1 [mem 0x10e00000-0x10ffffff]
[    0.595646] pci_bus 0000:09: resource 2 [mem 0x8000e00000-0x8000ffffff 64bit pref]
[    0.596613] ACPI: PCI Interrupt Link [GSI0] (IRQs *35)
[    0.597174] ACPI: PCI Interrupt Link [GSI1] (IRQs *36)
[    0.597785] ACPI: PCI Interrupt Link [GSI2] (IRQs *37)
[    0.598339] ACPI: PCI Interrupt Link [GSI3] (IRQs *38)
[    0.599646] iommu: Default domain type: Passthrough 
[    0.602218] SCSI subsystem initialized
[    0.603217] ACPI: bus type USB registered
[    0.604931] usbcore: registered new interface driver usbfs
[    0.607146] usbcore: registered new interface driver hub
[    0.609178] usbcore: registered new device driver usb
[    0.611337] pps_core: LinuxPPS API ver. 1 registered
[    0.613250] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.616759] PTP clock support registered
[    0.618820] Registered efivars operations
[    0.621493] NetLabel: Initializing
[    0.621878] NetLabel:  domain hash size = 128
[    0.622335] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.623001] NetLabel:  unlabeled traffic allowed by default
[    0.623846] clocksource: Switched to clocksource arch_sys_counter
[    0.672345] VFS: Disk quotas dquot_6.6.0
[    0.672832] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.673751] FS-Cache: Loaded
[    0.674369] CacheFiles: Loaded
[    0.674743] pnp: PnP ACPI init
[    0.675324] system 00:00: [mem 0x4010000000-0x401fffffff window] could not be reserved
[    0.676240] pnp: PnP ACPI: found 1 devices
[    0.679813] NET: Registered protocol family 2
[    0.680901] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.682553] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.683696] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.684957] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.686341] TCP: Hash tables configured (established 32768 bind 32768)
[    0.687262] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.688094] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.689083] NET: Registered protocol family 1
[    0.689580] NET: Registered protocol family 44
[    0.690224] PCI: CLS 0 bytes, default 64
[    0.690773] Trying to unpack rootfs image as initramfs...
[    4.592195] Freeing initrd memory: 217704K
[    4.593464] hw perfevents: enabled with armv8_pmuv3_0 PMU driver, 7 counters available
[    4.597120] hw perfevents: enabled with armv8_pmuv3_1 PMU driver, 7 counters available
[    4.600430] kvm [1]: HYP mode not available
[    4.604203] workingset: timestamp_bits=42 max_order=20 bucket_order=0
[    4.605471] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    4.607053] FS-Cache: Netfs 'cifs' registered for caching
[    4.608000] Key type cifs.idmap registered
[    4.609706] fuse: init (API version 7.32)
[    4.612010] SGI XFS with ACLs, security attributes, quota, no debug enabled
[    4.615691] 9p: Installing v9fs 9p2000 file system support
[    4.618074] FS-Cache: Netfs '9p' registered for caching
[    4.644644] NET: Registered protocol family 38
[    4.645200] Key type asymmetric registered
[    4.645670] Asymmetric key parser 'x509' registered
[    4.646360] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    4.647437] io scheduler mq-deadline registered
[    4.648433] io scheduler kyber registered
[    4.649364] io scheduler bfq registered
[    4.653079] PCI Interrupt Link [GSI1] enabled at IRQ 36
[    4.656073] pcieport 0000:00:01.0: PME: Signaling with IRQ 51
[    4.657455] pcieport 0000:00:01.0: pciehp: Slot #0 AttnBtn+ PwrCtrl+ MRL- AttnInd+ PwrInd+ HotPlug+ Surprise+ Interlock+ NoCompl- IbPresDis- LLActRep+
[    4.662367] pcieport 0000:00:01.1: PME: Signaling with IRQ 52
[    4.663132] pcieport 0000:00:01.1: pciehp: Slot #0 AttnBtn+ PwrCtrl+ MRL- AttnInd+ PwrInd+ HotPlug+ Surprise+ Interlock+ NoCompl- IbPresDis- LLActRep+
[    4.667464] pcieport 0000:00:01.2: PME: Signaling with IRQ 53
[    4.668809] pcieport 0000:00:01.2: pciehp: Slot #0 AttnBtn+ PwrCtrl+ MRL- AttnInd+ PwrInd+ HotPlug+ Surprise+ Interlock+ NoCompl- IbPresDis- LLActRep+
[    4.673578] pcieport 0000:00:01.3: PME: Signaling with IRQ 54
[    4.674340] pcieport 0000:00:01.3: pciehp: Slot #0 AttnBtn+ PwrCtrl+ MRL- AttnInd+ PwrInd+ HotPlug+ Surprise+ Interlock+ NoCompl- IbPresDis- LLActRep+
[    4.677723] pcieport 0000:00:01.4: PME: Signaling with IRQ 55
[    4.678498] pcieport 0000:00:01.4: pciehp: Slot #0 AttnBtn+ PwrCtrl+ MRL- AttnInd+ PwrInd+ HotPlug+ Surprise+ Interlock+ NoCompl- IbPresDis- LLActRep+
[    4.682824] pcieport 0000:00:01.5: PME: Signaling with IRQ 56
[    4.684279] pcieport 0000:00:01.5: pciehp: Slot #0 AttnBtn+ PwrCtrl+ MRL- AttnInd+ PwrInd+ HotPlug+ Surprise+ Interlock+ NoCompl- IbPresDis- LLActRep+
[    4.688838] pcieport 0000:00:01.6: PME: Signaling with IRQ 57
[    4.689643] pcieport 0000:00:01.6: pciehp: Slot #0 AttnBtn+ PwrCtrl+ MRL- AttnInd+ PwrInd+ HotPlug+ Surprise+ Interlock+ NoCompl- IbPresDis- LLActRep+
[    4.695326] pcieport 0000:00:01.7: PME: Signaling with IRQ 58
[    4.697233] pcieport 0000:00:01.7: pciehp: Slot #0 AttnBtn+ PwrCtrl+ MRL- AttnInd+ PwrInd+ HotPlug+ Surprise+ Interlock+ NoCompl- IbPresDis- LLActRep+
[    4.701328] shpchp 0000:01:00.0: HPC vendor_id 1b36 device_id e ss_vid 0 ss_did 0
[    4.704543] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    4.706391] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[    4.708817] ACPI: Power Button [PWRB]
[    4.712819] PCI Interrupt Link [GSI2] enabled at IRQ 37
[    4.714768] PCI Interrupt Link [GSI3] enabled at IRQ 38
[    4.724317] input: QEMU Virtio Mouse as /devices/pci0000:00/0000:00:01.5/0000:07:00.0/virtio6/input/input1
[    4.726407] input: QEMU Virtio Keyboard as /devices/pci0000:00/0000:00:01.6/0000:08:00.0/virtio7/input/input2
[    4.727998] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    4.729699] Serial: AMBA driver
[    4.764296] random: fast init done
[    4.764802] random: crng init done
[    4.770533] brd: module loaded
[    4.775947] loop: module loaded
[    4.785907] the cryptoloop driver has been deprecated and will be removed in in Linux 5.16
[    4.790190] virtio_blk virtio0: [vda] 116 512-byte logical blocks (59.4 kB/58.0 KiB)
[    4.791992] vda: detected capacity change from 0 to 59392
[    4.798366] virtio_blk virtio4: [vdb] 16777216 512-byte logical blocks (8.59 GB/8.00 GiB)
[    4.799673] vdb: detected capacity change from 0 to 8589934592
[    4.804939] libphy: Fixed MDIO Bus: probed
[    4.805929] tun: Universal TUN/TAP device driver, 1.6
[    4.810210] VMware vmxnet3 virtual NIC driver - version 1.5.0.0-k-NAPI
[    4.810962] Fusion MPT base driver 3.04.20
[    4.811404] Copyright (c) 1999-2008 LSI Corporation
[    4.812020] Fusion MPT SPI Host driver 3.04.20
[    4.812796] VFIO - User Level meta-driver version: 0.3
[    4.814051] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.814853] ehci-pci: EHCI PCI platform driver
[    4.815408] ehci-platform: EHCI generic platform driver
[    4.816097] ehci-mxc: Freescale On-Chip EHCI Host driver
[    4.816746] ehci-orion: EHCI orion driver
[    4.817281] ehci-exynos: EHCI Exynos driver
[    4.817795] tegra-ehci: Tegra EHCI driver
[    4.818338] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.819208] ohci-pci: OHCI PCI platform driver
[    4.819773] ohci-platform: OHCI generic platform driver
[    4.820471] ohci-exynos: OHCI Exynos driver
[    4.820986] uhci_hcd: USB Universal Host Controller Interface driver
[    4.821914] ehci-fsl: Freescale EHCI Host controller driver
[    4.823101] mousedev: PS/2 mouse device common for all mice
[    4.824206] i2c /dev entries driver
[    4.825044] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
[    4.826779] sdhci: Secure Digital Host Controller Interface driver
[    4.827575] sdhci: Copyright(c) Pierre Ossman
[    4.828276] Synopsys Designware Multimedia Card Interface Driver
[    4.829057] usbcore: registered new interface driver ushc
[    4.829713] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.831469] pstore: Registered efi as persistent store backend
[    4.832409] usbcore: registered new interface driver usbhid
[    4.833076] usbhid: USB HID core driver
[    4.833892] GACT probability on
[    4.834258] Mirror/redirect action on
[    4.834749] Simple TC action Loaded
[    4.835249] u32 classifier
[    4.835574]     Performance counters on
[    4.836044]     input device check on
[    4.836444]     Actions configured
[    4.837346] xt_time: kernel timezone is -0000
[    4.837881] IPVS: Registered protocols (TCP, UDP, SCTP, AH, ESP)
[    4.838554] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[    4.839555] IPVS: ipvs loaded.
[    4.839926] IPVS: [rr] scheduler registered.
[    4.840395] IPVS: [wrr] scheduler registered.
[    4.840898] IPVS: [lc] scheduler registered.
[    4.841365] IPVS: [wlc] scheduler registered.
[    4.841855] IPVS: [fo] scheduler registered.
[    4.842329] IPVS: [ovf] scheduler registered.
[    4.842865] IPVS: [lblc] scheduler registered.
[    4.843371] IPVS: [lblcr] scheduler registered.
[    4.843876] IPVS: [dh] scheduler registered.
[    4.844370] IPVS: [sh] scheduler registered.
[    4.844825] IPVS: [mh] scheduler registered.
[    4.845370] IPVS: [sed] scheduler registered.
[    4.845842] IPVS: [nq] scheduler registered.
[    4.846347] IPVS: ftp: loaded support on port[0] = 21
[    4.847023] ipip: IPv4 and MPLS over IPv4 tunneling driver
[    4.847955] gre: GRE over IPv4 demultiplexor driver
[    4.848705] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    4.849635] NET: Registered protocol family 10
[    4.850921] Segment Routing with IPv6
[    4.851949] NET: Registered protocol family 17
[    4.852552] Bridge firewalling registered
[    4.853148] 8021q: 802.1Q VLAN Support v1.8
[    4.853660] 9pnet: Installing 9P2000 support
[    4.854276] Key type dns_resolver registered
[    4.855177] registered taskstats version 1
[    4.855871] Key type ._fscrypt registered
[    4.856345] Key type .fscrypt registered
[    4.856786] Key type fscrypt-provisioning registered
[    4.857574] pstore: Using crash dump compression: deflate
[    4.870655] Key type encrypted registered
[    4.871256] ima: No TPM chip found, activating TPM-bypass!
[    4.871934] ima: Allocated hash algorithm: sha256
[    4.872514] ima: No architecture policies found
[    4.873172] evm: Initialising EVM extended attributes:
[    4.873752] evm: security.ima
[    4.874198] evm: security.capability
[    4.874579] evm: HMAC attrs: 0x1
[    4.879055] Freeing unused kernel memory: 7488K
[    4.885916] Run /init as init process
[    6.237476] cgroup: cgroup: disabling cgroup2 socket matching due to net_prio or net_cls activation
[    6.310354] IPVS: ftp: loaded support on port[0] = 21
[    6.414503] 8021q: adding VLAN 0 to HW filter on device eth0
[    7.206451] bpfilter: read fail 0
[    7.232092] bpfilter: read fail 0
[    7.252942] bpfilter: write fail -32
[    7.282027] bpfilter: read fail 0
[    7.297361] bpfilter: read fail 0
[    7.318281] bpfilter: write fail -32
[    7.347594] bpfilter: write fail -32
[    7.365112] bpfilter: write fail -32
[    7.385127] bpfilter: write fail -32
[    7.406446] bpfilter: read fail 0
< .... repeats a lot ..... > 
[   15.046266] bpfilter: read fail 0

and then hangs.

This is the VM libvirt xml definition:

<domain type="kvm" xmlns:ns2="http://libosinfo.org/xmlns/libvirt/domain/1.0">
    <name>demo.local</name>
    <cpu check="partial" mode="host-passthrough">
        <topology cores="2" dies="1" sockets="1" threads="1"/>
    </cpu>
    <currentMemory unit="KiB">8388608</currentMemory>
    <features>
        <acpi/>
    </features>
    <memory unit="KiB">8388608</memory>
    <os>
        <type arch="aarch64" machine="virt">hvm</type>
        <loader readonly="yes" type="pflash">/usr/share/AAVMF/AAVMF_CODE.fd</loader>
        <nvram>/var/lib/libvirt/qemu/nvram/demo.local_VARS.fd</nvram>
    </os>
    <resource>
        <partition>/machine</partition>
    </resource>
    <vcpu>2</vcpu>
    <clock offset="utc"/>
    <on_poweroff>destroy</on_poweroff>
    <on_reboot>restart</on_reboot>
    <on_crash>restart</on_crash>
    <devices>
        <video>
            <model type="none"/>
        </video>
        <controller model="none" type="usb"/>
        <channel type="unix">
            <target name="org.qemu.guest_agent.0" type="virtio"/>
        </channel>
        <rng model="virtio">
            <backend model="random">/dev/urandom</backend>
            <driver model="virtio-transitional"/>
        </rng>
        <memballoon model="virtio-transitional"/>
        <input bus="virtio" type="mouse"/>
        <input bus="virtio" type="keyboard"/>
        <console type="pty">
            <target port="0" type="serial"/>
        </console>
        <disk device="disk" type="file">
            <driver cache="unsafe" name="qemu" type="qcow2"/>
            <source file="/var/lib/libvirt/images/demo.local/root__pxeuefi_arm64.qcow2"/>
            <target bus="virtio" dev="vda"/>
            <serial>root_disk_serial</serial>
        </disk>
        <disk device="disk" model="virtio-transitional" type="file">
            <driver name="qemu" type="raw"/>
            <source file="/var/lib/libvirt/images/demo.local/demo.local.cidata.iso"/>
            <target bus="virtio" dev="vdb"/>
            <readonly/>
            <serial>cidata_serial</serial>
        </disk>
        <interface type="bridge">
            <mac address="52:54:00:01:03:01"/>
            <source bridge="lan"/>
            <model type="virtio"/>
            <link state="up"/>
            <boot order="1"/>
        </interface>
    </devices>
</domain>

I see the kernel is of slightly advanced age (5.10.85) -- any way I can help update this?

Alternatively, I'm an Armbian developer, and was considering that maybe Armbian could provide a kernel & initrd for Tinkerbell -- across multiple/all architectures, and offering an easy vendor/custom kernel solution, somewhat becoming the "3rd OSIE" -- is this something you find interesting?

@chrisdoherty4
Copy link
Member

Alternatively, I'm an Armbian developer, and was considering that maybe Armbian could provide a kernel & initrd for Tinkerbell -- across multiple/all architectures, and offering an easy vendor/custom kernel solution, somewhat becoming the "3rd OSIE" -- is this something you find interesting?

That sounds useful. I'd love to see a PoC that demonstrates it in action.


On the issue, there's a post in Ubuntu forums about the same error message https://ubuntuforums.org/showthread.php?t=2472909. I don't know if its the same problem but trying to update the kernel to 5.19 seems like a worthwhile exercise.

@rpardini
Copy link
Contributor

Armbian could provide a kernel & initrd for Tinkerbell -- across multiple/all architectures, and offering an easy vendor/custom kernel solution, somewhat becoming the "3rd OSIE" -- is this something you find interesting?

I made a thinko: what hook needs is a container image with the kernel vmlinuz and modules; linuxkit itself generates the initrd. Thus there'd be no "3rd OSIE", just a different set of possible kernels+modules for Hook itself.

That sounds useful. I'd love to see a PoC that demonstrates it in action.

I'm working on something generic that can take kernels from Debian/Ubuntu/Armbian and prepare the needed bits for Hook/linuxkit. I'm pretty sure this could work for EFI kernels & bootloaders across both x86 and aarch64 -- I'm uncertain about non-EFI booting (eg u-boot PXE with a DTB / fdt, and how that relates to iPXE on aarch64), but let's assume that's out of scope.

Also, before digging into using an external kernel, I took a dive into the kernel dir here in Hook repo. It seems to be using Docker to run a whole Alpine arm64 image/build under qemu (driven by docker buildx) which is very slow if you're on x86_64 (and the x86_64 build is very slow if run on arm64). I wonder if the CI (or dev) infrastructure has arm64/amd64 remote contexts backing docker buildx?

@rpardini
Copy link
Contributor

That sounds useful. I'd love to see a PoC that demonstrates it in action.

@chrisdoherty4 @jacobweinstock #205

@jacobweinstock
Copy link
Member

jacobweinstock commented May 4, 2024

Hey @howard-yeh and @ClashTheBunny. We just landed some big changes to how we build HookOS, thanks to @rpardini ! The latest development release (https://github.com/tinkerbell/hook/releases/tag/latest) is working for me. Mind trying with this If/when you have some cycles to test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants