Skip to content

Add uboot failure

We have another infra failure: https://storage.staging.kernelci.org/kernelci/staging-mainline/staging-mainline-20230220.6/arm/multi_v7_defconfig+kselftest/gcc-10/lab-broonie/kselftest-landlock-beaglebone-black.txt

But this issue is complicated one. Likely it is mix of kernel issues and u-boot. Kernel doesn't boot properly, often due u-boot commandline overflow or kernel/ramdisk address space overlap or other issue, and doesn't show proper panic message as well. In SOME cases it might be real regression. But more often it is require some u-boot tuning to start showing proper error messages.

Trying 192.168.56.184...
Connected to conserv2.
Escape character is '^]'.

ser2net port telnet,3006 device serialdev, /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.1.3.4:1.0-port0, 115200n81, [] (Debian GNU/Linux)

��
U-Boot SPL 2022.04-00708-g42a2d90cf5-dirty (Apr 30 2022 - 01:31:21 +0100)
Trying to boot from MMC1


U-Boot 2022.04-00708-g42a2d90cf5-dirty (Apr 30 2022 - 01:31:21 +0100)

CPU  : AM335X-GP rev 2.0
Model: TI AM335x BeagleBone Black
DRAM:  512 MiB
Core:  152 devices, 15 uclasses, devicetree: separate
WDT:   Started wdt@44e35000 with servicing (60s timeout)
NAND:  �
U-Boot SPL 2022.04-00708-g42a2d90cf5-dirty (Apr 30 2022 - 01:31:21 +0100)
Trying to boot from MMC1


U-Boot 2022.04-00708-g42a2d90cf5-dirty (Apr 30 2022 - 01:31:21 +0100)

CPU  : AM335X-GP rev 2.0
Model: TI AM335x BeagleBone Black
DRAM:  512 MiB
Core:  152 devices, 15 uclasses, devicetree: separate
WDT:   Started wdt@44e35000 with servicing (60s timeout)
NAND:  �
U-Boot SPL 2022.04-00708-g42a2d90cf5-dirty (Apr 30 2022 - 01:31:21 +0100)
Trying to boot from MMC1


U-Boot 2022.04-00708-g42a2d90cf5-dirty (Apr 30 2022 - 01:31:21 +0100)

CPU  : AM335X-GP rev 2.0
Model: TI AM335x BeagleBone Black
DRAM:  512 MiB
Core:  152 devices, 15 uclasses, devicetree: separate
WDT:   Started wdt@44e35000 with servicing (60s timeout)
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... Unable to use mmc 0:1...
<ethaddr> not set. Validating first E-fuse MAC
Net:   eth2: ethernet@4a100000, eth3: usb_ether
Hit any key to stop autoboot:  2 
 0 
=> setenv autoload no
setenv autoload no
=> setenv initrd_high 0xffffffff
setenv initrd_high 0xffffffff
=> setenv fdt_high 0xffffffff
setenv fdt_high 0xffffffff
=> dhcp
dhcp
link up on port 0, speed 100, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
*** Unhandled DHCP Option in OFFER/ACK: 42
*** Unhandled DHCP Option in OFFER/ACK: 42
DHCP client bound to address 192.168.56.113 (3818 ms)
=> setenv serverip 192.168.56.75
setenv serverip 192.168.56.75
=> tftp 0x82000000 43411/tftp-deploy-ql76tzlq/kernel/zImage
tftp 0x82000000 43411/tftp-deploy-ql76tzlq/kernel/zImage
link up on port 0, speed 100, full duplex
Using ethernet@4a100000 device
TFTP from server 192.168.56.75; our IP address is 192.168.56.113
Filename '43411/tftp-deploy-ql76tzlq/kernel/zImage'.
Load address: 0x82000000
Loading: *##################################################  13.9 MiB
	 5.8 MiB/s
done
Bytes transferred = 14565888 (de4200 hex)
=> tftp 0x83000000 43411/tftp-deploy-ql76tzlq/ramdisk/ramdisk.cpio.gz.uboot
tftp 0x83000000 43411/tftp-deploy-ql76tzlq/ramdisk/ramdisk.cpio.gz.uboot
link up on port 0, speed 100, full duplex
Using ethernet@4a100000 device
TFTP from server 192.168.56.75; our IP address is 192.168.56.113
Filename '43411/tftp-deploy-ql76tzlq/ramdisk/ramdisk.cpio.gz.uboot'.
Load address: 0x83000000
Loading: *##################################################  17.9 MiB
	 5.9 MiB/s
done
Bytes transferred = 18795605 (11ecc55 hex)
=> setenv initrd_size ${filesize}
setenv initrd_size ${filesize}
=> tftp 0x88000000 43411/tftp-deploy-ql76tzlq/dtb/am335x-boneblack.dtb
tftp 0x88000000 43411/tftp-deploy-ql76tzlq/dtb/am335x-boneblack.dtb
link up on port 0, speed 100, full duplex
Using ethernet@4a100000 device
TFTP from server 192.168.56.75; our IP address is 192.168.56.113
Filename '43411/tftp-deploy-ql76tzlq/dtb/am335x-boneblack.dtb'.
Load address: 0x88000000
Loading: *##################################################  68.3 KiB
	 5.1 MiB/s
done
Bytes transferred = 69985 (11161 hex)
=> setenv bootargs 'console=ttyO0,115200n8 root=/dev/nfs rw nfsroot=192.168.56.75:/var/lib/lava/dispatcher/tmp/43411/extract-nfsrootfs-he98ugxd,tcp,hard  ip=dhcp'
setenv bootargs 'console=ttyO0,115200n8 root=/dev/nfs rw nfsroot=192.168.56.75:/var/lib/lava/dispatcher/tmp/43411/extract-nfsrootfs-he98ugxd,tcp,hard  ip=dhcp'
=> bootz 0x82000000 0x83000000 0x88000000
bootz 0x82000000 0x83000000 0x88000000
Kernel image @ 0x82000000 [ 0x000000 - 0xde4200 ]
## Loading init Ramdisk from Legacy Image at 83000000 ...
   Image Name:   
   Created:      2023-02-20  20:21:22 UTC
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    18795541 Bytes = 17.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Using Device Tree in place at 88000000, end 88014160

Starting kernel ...


U-Boot SPL 2022.04-00708-g42a2d90cf5-dirty (Apr 30 2022 - 01:31:21 +0100)
Trying to boot from MMC1


U-Boot 2022.04-00708-g42a2d90cf5-dirty (Apr 30 2022 - 01:31:21 +0100)

CPU  : AM335X-GP rev 2.0
Model: TI AM335x BeagleBone Black
DRAM:  512 MiB
Core:  152 devices, 15 uclasses, devicetree: separate
WDT:   Started wdt@44e35000 with servicing (60s timeout)
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... Unable to use mmc 0:1...
<ethaddr> not set. Validating first E-fuse MAC
Net:   eth2: ethernet@4a100000, eth3: usb_ether
Hit any key to stop autoboot:  2  1  0 
** Invalid partition 2 **
switch to partitions #0, OK
mmc0 is current device
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
7[r[999;999H[6n8Scanning disk mmc@48060000.blk...
Scanning disk mmc@481d8000.blk...
Found 5 disks
No EFI system partition
BootOrder not defined
EFI boot manager: Cannot load any image
## Error: \"bootcmd_nand0\" not defined
starting USB...
Bus usb@47401800: Port not available.
USB is stopped. Please issue 'usb start' first.
starting USB...
Bus usb@47401800: Port not available.
link up on port 0, speed 100, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
*** Unhandled DHCP Option in OFFER/ACK: 42
*** Unhandled DHCP Option in OFFER/ACK: 42
DHCP client bound to address 192.168.56.113 (1812 ms)
*** Warning: no boot file name; using 'C0A83871.img'
Using ethernet@4a100000 device
TFTP from server 192.168.56.254; our IP address is 192.168.56.113
Filename 'C0A83871.img'.
Load address: 0x82000000
Loading: *T T T T T T T T T T T T T T T T T T T T 
Retry count exceeded; starting again
Loading: *

Merge request reports