nix-community / nixos-images

Automatically build (netboot) images for NixOS [maintainer=@Mic92]
MIT License
187 stars 35 forks source link

add riscv64 kexec image #243

Open Mic92 opened 2 months ago

Mic92 commented 2 months ago

Depends on https://github.com/NixOS/nixpkgs/pull/321991

Mic92 commented 2 months ago

Still fails on both vms and hardware:

visionfive v2:

❯ ssh bm-6ccf390035fd
Last login: Sun Jun  9 15:09:49 2024 from 192.168.1.112

[root@nixos:~]# ./kexec/run
+ kexec_extra_flags=
+ '[' 0 -gt 0 ']'
+ init=/nix/store/7r13i4g50z8yh43bji9lh130qvsbh928-nixos-system-nixos-installer-24.11pre-git/init
+ kernelParams='console=tty0 console=ttySIF0,115200 console=ttyS0,115200 root=fstab loglevel=4'
+++ readlink -f ./kexec/run
++ dirname /root/kexec/run
+ SCRIPT_DIR=/root/kexec
++ TMPDIR=/root/kexec
++ mktemp -d
+ INITRD_TMP=/root/kexec/tmp.5Y0Unr9Ozh
+ cd /root/kexec/tmp.5Y0Unr9Ozh
+ trap cleanup EXIT
+ mkdir -p ssh
+ extractPubKeys /root
+ home=/root
+ for file in .ssh/authorized_keys .ssh/authorized_keys2
+ key=/root/.ssh/authorized_keys
+ test -e /root/.ssh/authorized_keys
+ for file in .ssh/authorized_keys .ssh/authorized_keys2
+ key=/root/.ssh/authorized_keys2
+ test -e /root/.ssh/authorized_keys2
+ test -n ''
+ test -n ''
+ test -e /etc/ssh/authorized_keys.d/root
+ cat /etc/ssh/authorized_keys.d/root
+ test -n ''
+ for p in /etc/ssh/ssh_host_*
+ test -e /etc/ssh/ssh_host_ed25519_key
+ cp -a /etc/ssh/ssh_host_ed25519_key ssh
+ for p in /etc/ssh/ssh_host_*
+ test -e /etc/ssh/ssh_host_ed25519_key.pub
+ cp -a /etc/ssh/ssh_host_ed25519_key.pub ssh
+ for p in /etc/ssh/ssh_host_*
+ test -e /etc/ssh/ssh_host_rsa_key
+ cp -a /etc/ssh/ssh_host_rsa_key ssh
+ for p in /etc/ssh/ssh_host_*
+ test -e /etc/ssh/ssh_host_rsa_key.pub
+ cp -a /etc/ssh/ssh_host_rsa_key.pub ssh
+ /root/kexec/ip --json addr
+ /root/kexec/ip -4 --json route
+ /root/kexec/ip -6 --json route
+ '[' -f /etc/machine-id ']'
+ cp /etc/machine-id machine-id
+ find .
+ cpio -o -H newc
+ gzip -9
16 blocks
+ kexecSyscallFlags=
+ sort -c -V
++ uname -r
+ printf '%s\n' 6.1 6.9.2
+ kexecSyscallFlags=--kexec-syscall-auto
+ sh -c ''\''/root/kexec/kexec'\'' --load '\''/root/kexec/bzImage'\''   --kexec-syscall-auto      --initrd='\''/root/kexec/initrd'\'' --no-checks   --command-line '\''init=/nix/store/7r13i4g50z8yh43bji9lh130qvsbh928-nixos-system-nixos-installer-24.11pre-git/init console=tty0 console=ttySIF0,115200 console=ttyS0,115200 root=fstab loglevel=4'\'''
Warning: No dtb provided, using /sys/firmware/fdt
Cannot determine the file type of /root/kexec/bzImage
+ echo 'kexec failed, dumping dmesg'
kexec failed, dumping dmesg
+ dmesg
+ tail -n 100
[   19.871220] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[   20.025133] tun: Universal TUN/TAP device driver, 1.6
[   20.081825] loop: module loaded
[   20.168330] systemd-journald[377]: Received client request to flush runtime journal.
[   20.278025] systemd-journald[377]: /var/log/journal/c3952bd51cc1469592e3c42275263eff/system.journal: Realtime clock jumped backwards relative to last journal entry, rotating.
[   20.294663] systemd-journald[377]: Rotating system journal.
[   22.512368] ssp-pl022 10060000.spi: ARM PL022 driver, device ID: 0x00041022
[   22.576851] ssp-pl022 10060000.spi: mapped registers from 0x0000000010060000 to 00000000b53cf62f
[   22.696096] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[   22.752305] starfive-jh7110-aon-pinctrl 17020000.pinctrl: StarFive GPIO chip registered 4 GPIOs
[   22.816193] starfive-dphy-rx 19820000.phy: supply mipi_0p9 not found, using dummy regulator
[   22.835660] pps_core: LinuxPPS API ver. 1 registered
[   22.840748] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[   22.940871] dw_axi_dmac_platform 16050000.dma-controller: DesignWare AXI DMA Controller, 4 channels
[   23.003328] PTP clock support registered
[   23.205932] mc: Linux media interface: v0.10
[   23.535553] axp20x-i2c 5-0036: AXP20x variant AXP15060 found
[   23.607104] axp20x-i2c 5-0036: AXP20X driver loaded
[   23.626653] dwmmc_starfive 16010000.mmc: IDMAC supports 32-bit address mode.
[   23.634635] dwmmc_starfive 16010000.mmc: Using internal DMA controller.
[   23.641342] dwmmc_starfive 16010000.mmc: Version ID is 290a
[   23.644085] videodev: Linux video capture interface: v2.00
[   23.666722] dwmmc_starfive 16010000.mmc: DW MMC controller at irq 41,32 bit host data width,32 deep fifo
[   23.726970] cdns-usb3 10100000.usb: Incorrect DRD configuration
[   23.732560] 4 fixed-partitions partitions found on MTD device 13010000.spi.0
[   23.740118] Creating 4 MTD partitions on "13010000.spi.0":
[   23.756414] 0x000000000000-0x000000040000 : "spl"
[   23.762994] 0x0000000f0000-0x000000100000 : "uboot-env"
[   23.771052] 0x000000100000-0x000000500000 : "uboot"
[   23.774724] cdns-usb3 10100000.usb: probe with driver cdns-usb3 failed with error -22
[   23.784776] 0x000000600000-0x000001000000 : "reserved-data"
[   23.794026] cdns-csi2rx 19800000.csi: probe with driver cdns-csi2rx failed with error -22
[   23.804633] dwmmc_starfive 16010000.mmc: IDMAC supports 32-bit address mode.
[   23.811818] dwmmc_starfive 16010000.mmc: Using internal DMA controller.
[   23.818574] dwmmc_starfive 16010000.mmc: Version ID is 290a
[   23.824286] dwmmc_starfive 16010000.mmc: DW MMC controller at irq 41,32 bit host data width,32 deep fifo
[   23.834883] mmc_host mmc0: card is non-removable.
[   24.046662] mmc_host mmc0: Bus speed (slot 0) = 45511111Hz (slot req 400000Hz, actual 399220HZ div = 57)
[   24.110617] dwmmc_starfive 16020000.mmc: Unexpected interrupt latency
[   24.429545] designware-i2s 100e0000.i2s: probe with driver designware-i2s failed with error -110
[   24.662633] mmc_host mmc0: Bus speed (slot 0) = 45511111Hz (slot req 300000Hz, actual 299415HZ div = 76)
[   24.793766] starfive-dwmac 16030000.ethernet: IRQ sfty not found
[   24.800530] starfive-dwmac 16030000.ethernet: User ID: 0x41, Synopsys ID: 0x52
[   24.807840] starfive-dwmac 16030000.ethernet:    DWMAC4/5
[   24.813124] starfive-dwmac 16030000.ethernet: DMA HW capability register supported
[   24.814622] designware-i2s 120b0000.i2s: probe with driver designware-i2s failed with error -110
[   24.820758] starfive-dwmac 16030000.ethernet: RX Checksum Offload Engine supported
[   24.833006] starfive-jh7110-sys-pinctrl 13040000.pinctrl: pin GPIO44 already requested by 10090000.tdm; cannot claim for 120c0000.i2s
[   24.837184] starfive-dwmac 16030000.ethernet: Wake-Up On Lan supported
[   24.849180] starfive-jh7110-sys-pinctrl 13040000.pinctrl: error -EINVAL: pin-44 (120c0000.i2s)
[   24.849194] starfive-jh7110-sys-pinctrl 13040000.pinctrl: error -EINVAL: could not request pin 44 (GPIO44) from group i2stx1-0.sd-pins  on device 13040000.pinctrl
[   24.855934] starfive-dwmac 16030000.ethernet: TSO supported
[   24.864406] designware-i2s 120c0000.i2s: Error applying setting, reverse things back
[   24.878977] starfive-dwmac 16030000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[   24.900688] starfive-dwmac 16030000.ethernet: Enabled L3L4 Flow TC (entries=1)
[   24.908123] starfive-dwmac 16030000.ethernet: Enabled RFS Flow TC (entries=10)
[   24.917828] starfive-dwmac 16030000.ethernet: TSO feature enabled
[   24.924282] starfive-dwmac 16030000.ethernet: Using 40/40 bits DMA host/device width
[   24.967316] starfive-dwmac 16040000.ethernet: IRQ sfty not found
[   24.974945] starfive-dwmac 16040000.ethernet: User ID: 0x41, Synopsys ID: 0x52
[   24.982898] starfive-dwmac 16040000.ethernet:    DWMAC4/5
[   24.982911] starfive-dwmac 16040000.ethernet: DMA HW capability register supported
[   24.996910] starfive-dwmac 16040000.ethernet: RX Checksum Offload Engine supported
[   25.004546] starfive-dwmac 16040000.ethernet: Wake-Up On Lan supported
[   25.004789] starfive-dwmac 16040000.ethernet: TSO supported
[   25.016757] starfive-dwmac 16040000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[   25.024960] starfive-dwmac 16040000.ethernet: Enabled L3L4 Flow TC (entries=1)
[   25.032262] starfive-dwmac 16040000.ethernet: Enabled RFS Flow TC (entries=10)
[   25.039567] starfive-dwmac 16040000.ethernet: TSO feature enabled
[   25.045735] starfive-dwmac 16040000.ethernet: Using 40/40 bits DMA host/device width
[   25.122622] starfive-dwmac 16030000.ethernet end0: renamed from eth0
[   25.129965] starfive-dwmac 16040000.ethernet end1: renamed from eth1
[   25.158625] mmc_host mmc0: Bus speed (slot 0) = 45511111Hz (slot req 200000Hz, actual 199610HZ div = 114)
[   25.606647] mmc_host mmc0: Bus speed (slot 0) = 45511111Hz (slot req 100000Hz, actual 99805HZ div = 228)
[   25.757526] 8021q: 802.1Q VLAN Support v1.8
[   25.874525] mmc0: Failed to initialize a non-removable card
[   27.211540] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   27.245625] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   27.252508] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[   27.289057] starfive-dwmac 16030000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   27.303179] starfive-dwmac 16030000.ethernet end0: PHY [stmmac-0:00] driver [YT8531 Gigabit Ethernet] (irq=POLL)
[   27.318128] dwmac4: Master AXI performs fixed burst length
[   27.325054] starfive-dwmac 16030000.ethernet end0: No Safety Features support found
[   27.334029] starfive-dwmac 16030000.ethernet end0: IEEE 1588-2008 Advanced Timestamp supported
[   27.344423] starfive-dwmac 16030000.ethernet end0: registered PTP clock
[   27.355347] starfive-dwmac 16030000.ethernet end0: configuring for phy/rgmii-id link mode
[   27.369218] 8021q: adding VLAN 0 to HW filter on device end0
[   27.375140] starfive-dwmac 16030000.ethernet end0: Adding VLAN ID 0 is not supported
[   27.386060] starfive-dwmac 16040000.ethernet end1: Register MEM_TYPE_PAGE_POOL RxQ-0
[   27.396727] starfive-dwmac 16040000.ethernet end1: PHY [stmmac-1:00] driver [YT8531 Gigabit Ethernet] (irq=POLL)
[   28.416677] starfive-dwmac 16040000.ethernet: Failed to reset the dma
[   28.423189] starfive-dwmac 16040000.ethernet end1: stmmac_hw_setup: DMA engine initialization failed
[   28.432373] starfive-dwmac 16040000.ethernet end1: __stmmac_open: Hw setup failed
[   29.666830] starfive-dwmac 16040000.ethernet end1: Register MEM_TYPE_PAGE_POOL RxQ-0
[   29.676950] starfive-dwmac 16040000.ethernet end1: PHY [stmmac-1:00] driver [YT8531 Gigabit Ethernet] (irq=POLL)
[   30.433664] starfive-dwmac 16030000.ethernet end0: Link is Up - 1Gbps/Full - flow control off
[   30.692626] starfive-dwmac 16040000.ethernet: Failed to reset the dma
[   30.699118] starfive-dwmac 16040000.ethernet end1: stmmac_hw_setup: DMA engine initialization failed
[   30.708296] starfive-dwmac 16040000.ethernet end1: __stmmac_open: Hw setup failed
[   31.934879] NET: Registered PF_PACKET protocol family
+ exit 1
+ cleanup
+ rm -rf /root/kexec/tmp.5Y0Unr9Ozh

RISC-V server by Scaleway:

root@vm-riscv64-linux:~# tar -xf nixos-kexec-installer-riscv64-linux.tar.gz
root@vm-riscv64-linux:~# ./kexec/run
+ kexec_extra_flags=
+ [ 0 -gt 0 ]
+ init=/nix/store/7r13i4g50z8yh43bji9lh130qvsbh928-nixos-system-nixos-installer-24.11pre-git/init
+ kernelParams=console=tty0 console=ttySIF0,115200 console=ttyS0,115200 root=fstab loglevel=4
+ readlink -f ./kexec/run
+ dirname /root/kexec/run
+ SCRIPT_DIR=/root/kexec
+ TMPDIR=/root/kexec mktemp -d
+ INITRD_TMP=/root/kexec/tmp.N15FkgbElc
+ cd /root/kexec/tmp.N15FkgbElc
+ trap cleanup EXIT
+ mkdir -p ssh
+ extractPubKeys /root
+ home=/root
+ key=/root/.ssh/authorized_keys
+ test -e /root/.ssh/authorized_keys
+ grep -o \(\(ssh\|ecdsa\|sk\)-[^ ]* .*\) /root/.ssh/authorized_keys
+ key=/root/.ssh/authorized_keys2
+ test -e /root/.ssh/authorized_keys2
+ test -n
+ test -n
+ test -e /etc/ssh/authorized_keys.d/root
+ test -n
+ test -e /etc/ssh/ssh_host_dsa_key
+ cp -a /etc/ssh/ssh_host_dsa_key ssh
+ test -e /etc/ssh/ssh_host_dsa_key.pub
+ cp -a /etc/ssh/ssh_host_dsa_key.pub ssh
+ test -e /etc/ssh/ssh_host_ecdsa_key
+ cp -a /etc/ssh/ssh_host_ecdsa_key ssh
+ test -e /etc/ssh/ssh_host_ecdsa_key.pub
+ cp -a /etc/ssh/ssh_host_ecdsa_key.pub ssh
+ test -e /etc/ssh/ssh_host_ed25519_key
+ cp -a /etc/ssh/ssh_host_ed25519_key ssh
+ test -e /etc/ssh/ssh_host_ed25519_key.pub
+ cp -a /etc/ssh/ssh_host_ed25519_key.pub ssh
+ test -e /etc/ssh/ssh_host_rsa_key
+ cp -a /etc/ssh/ssh_host_rsa_key ssh
+ test -e /etc/ssh/ssh_host_rsa_key.pub
+ cp -a /etc/ssh/ssh_host_rsa_key.pub ssh
+ /root/kexec/ip --json addr
+ /root/kexec/ip -4 --json route
+ /root/kexec/ip -6 --json route
+ [ -f /etc/machine-id ]
+ cp /etc/machine-id machine-id
+ find .
+ cpio -o -H newc
+ gzip -9
25 blocks
+ kexecSyscallFlags=
+ + uname -r
sort -c -V
+ printf %s\n 6.1 5.10.113+
sort: -:2: disorder: 5.10.113+
+ sh -c '/root/kexec/kexec' --load '/root/kexec/bzImage'         --initrd='/root/kexec/initrd' --no-checks   --command-line 'init=/nix/store/7r13i4g50z8yh43bji9lh130qvsbh928-nixos-system-nixos-installer-24.11pre-git/init console=tty0 console=ttySIF0,115200 console=ttyS0,115200 root=fstab loglevel=4'
Warning: No dtb provided, using /sys/firmware/fdt
Cannot determine the file type of /root/kexec/bzImage
+ echo kexec failed, dumping dmesg
kexec failed, dumping dmesg
+ dmesg
+ tail -n 100
[    8.919730] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[    8.949073] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[    8.977750] systemd[1]: Listening on systemd-networkd.socket - Network Service Netlink Socket.
[    9.006407] systemd[1]: systemd-pcrextend.socket - TPM2 PCR Extension (Varlink) was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[    9.025625] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[    9.055587] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[    9.106766] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System...
[    9.145211] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[    9.157467] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[    9.186024] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
[    9.214753] systemd[1]: kmod-static-nodes.service - Create List of Static Device Nodes was skipped because of an unmet condition check (ConditionFileNotEmpty=/lib/modules/5.10.113+/modules.devname).
[    9.237279] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
[    9.267076] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[    9.301959] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[    9.330337] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[    9.377668] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
[    9.407226] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
[    9.434493] systemd[1]: netplan-ovs-cleanup.service - OpenVSwitch configuration for cleanup was skipped because of an unmet condition check (ConditionFileIsExecutable=/usr/bin/ovs-vsctl).
[    9.451602] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
[    9.472858] systemd[1]: Starting systemd-journald.service - Journal Service...
[    9.511360] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[    9.542469] systemd[1]: systemd-pcrmachine.service - TPM2 PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[    9.561631] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[    9.570406] systemd-journald[226]: Collecting audit messages is disabled.
[    9.602498] systemd[1]: Starting systemd-time-wait-sync.service - Wait Until Kernel Time Synchronized...
[    9.634288] systemd[1]: Starting systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully...
[    9.674487] systemd[1]: systemd-tpm2-setup-early.service - TPM2 SRK Setup (Early) was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[    9.696920] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[    9.721843] EXT4-fs (mmcblk0p3): re-mounted. Opts: errors=remount-ro
[    9.737294] systemd[1]: Started systemd-journald.service - Journal Service.
[   10.174786] systemd-journald[226]: Received client request to flush runtime journal.
[   10.214101] systemd-journald[226]: /var/log/journal/2e212f1950c9652cd041277965e05734/system.journal: Realtime clock jumped backwards relative to last journal entry, rotating.
[   10.233485] systemd-journald[226]: Rotating system journal.
[   10.761777] light_dwmac_eth ffe7060000.ethernet end1: renamed from eth1
[   10.819465] light_dwmac_eth ffe7070000.ethernet end0: renamed from eth0
[   11.392953] dwc3-thead soc:usb@ffec03f000: hubswitch usb_role = 1
[   11.406518] dwc3-thead soc:usb@ffec03f000: light dwc3 probe ok!
[   11.574968] Galcore version 6.4.6.9.354872
[   11.640960] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[   11.646611] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
[   11.655029] xhci-hcd xhci-hcd.3.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x0000000000010810
[   11.656893] [drm] Initialized vivante 1.0.0 20170808 for ffecc80000.gc620 on minor 1
[   11.664602] xhci-hcd xhci-hcd.3.auto: irq 71, io mem 0xffe7040000
[   11.683271] hub 1-0:1.0: USB hub found
[   11.687201] hub 1-0:1.0: 1 port detected
[   11.691691] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[   11.697462] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 2
[   11.705311] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed
[   11.712676] hub 2-0:1.0: USB hub found
[   11.716760] hub 2-0:1.0: 1 port detected
[   12.801767] [BT_RFKILL]: bt shut off power
[   12.996391] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   13.425825] PVR_K:  274: *****enter sys dev init ffef400000 28

[   13.433416] PVR_K:  274: Read BVNC 36.52.104.182 from HW device registers
[   13.440422] PVR_K:  274: RGX Device registered BVNC 36.52.104.182 with 1 core in the system
[   13.449791] [drm] Initialized pvr 1.17.6210866 20170530 for ffef400000.gpu on minor 2
[   14.894360] light_dwmac_eth ffe7070000.ethernet end0: PHY [stmmac-0:01] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[   14.912295] alloc_contig_range: [3e4204, 3e4208) PFNs busy
[   14.920571] dwmac1000: Master AXI performs fixed burst length
[   14.926475] light_dwmac_eth ffe7070000.ethernet end0: No Safety Features support found
[   15.134422] light_dwmac_eth ffe7070000.ethernet end0: IEEE 1588-2008 Advanced Timestamp supported
[   15.143769] light_dwmac_eth ffe7070000.ethernet end0: configuring for phy/rgmii-id link mode
[   18.250830] light_dwmac_eth ffe7070000.ethernet end0: Link is Up - 100Mbps/Full - flow control rx/tx
[   18.260283] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[   22.853965] light_dwmac_eth ffe7070000.ethernet end0: Link is Down
[   23.126325] light_dwmac_eth ffe7070000.ethernet end0: PHY [stmmac-0:01] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[   23.148578] alloc_contig_range: [3e4204, 3e4208) PFNs busy
[   23.365962] light_dwmac_eth ffe7070000.ethernet end0: stmmac_init_dma_engine: Failed to reset the dma, retrying
[   24.396674] dwmac1000: Master AXI performs fixed burst length
[   24.402602] light_dwmac_eth ffe7070000.ethernet end0: No Safety Features support found
[   24.610930] light_dwmac_eth ffe7070000.ethernet end0: IEEE 1588-2008 Advanced Timestamp supported
[   24.619846] light_dwmac_eth ffe7070000.ethernet end0: configuring for phy/rgmii-id link mode
[   25.673483] light_dwmac_eth ffe7070000.ethernet end0: Link is Up - 100Mbps/Full - flow control rx/tx
[   25.682928] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[   29.627623] light_dwmac_eth ffe7070000.ethernet end0: Link is Down
[   31.606319] light_dwmac_eth ffe7070000.ethernet end0: PHY [stmmac-0:01] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[   31.618474] alloc_contig_range: [3e4204, 3e4208) PFNs busy
[   31.624428] alloc_contig_range: [3e4208, 3e420c) PFNs busy
[   31.717425] dwmac1000: Master AXI performs fixed burst length
[   31.723365] light_dwmac_eth ffe7070000.ethernet end0: No Safety Features support found
[   31.931752] light_dwmac_eth ffe7070000.ethernet end0: IEEE 1588-2008 Advanced Timestamp supported
[   31.940669] light_dwmac_eth ffe7070000.ethernet end0: configuring for phy/rgmii-id link mode
[   32.014406] light_dwmac_eth ffe7060000.ethernet end1: PHY [stmmac-0:02] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[   32.027711] alloc_contig_range: [3e4204, 3e4208) PFNs busy
[   32.033980] alloc_contig_range: [3e4208, 3e420c) PFNs busy
[   32.039884] alloc_contig_range: [3e420c, 3e4210) PFNs busy
[   32.046539] alloc_contig_range: [3e4204, 3e4208) PFNs busy
[   32.052311] alloc_contig_range: [3e4208, 3e420c) PFNs busy
[   32.058109] alloc_contig_range: [3e420c, 3e4210) PFNs busy
[   32.063939] alloc_contig_range: [3e4210, 3e4214) PFNs busy
[   32.081359] dwmac1000: Master AXI performs fixed burst length
[   32.087279] light_dwmac_eth ffe7060000.ethernet end1: No Safety Features support found
[   32.295309] light_dwmac_eth ffe7060000.ethernet end1: IEEE 1588-2008 Advanced Timestamp supported
[   32.304706] light_dwmac_eth ffe7060000.ethernet end1: configuring for phy/rgmii-id link mode
[   34.025430] light_dwmac_eth ffe7070000.ethernet end0: Link is Up - 100Mbps/Full - flow control rx/tx
[   34.034875] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[   35.906364] soc_dovdd18_scan: disabling
[   35.910566] soc_dvdd12_scan: disabling
[   35.914697] soc_avdd28_scan_en: disabling
+ exit 1
+ cleanup
+ rm -rf /root/kexec/tmp.N15FkgbElc
Mic92 commented 1 month ago

Apparently still crashes on actual hardware or VMs. I have to get my hands on some hardware than.