lima icon indicating copy to clipboard operation
lima copied to clipboard

FATA[0605] did not receive an event with the "running" status / serial.log: `starting Boot0007 "EFI Internal Shell"`

Open FRTI64 opened this issue 4 years ago • 4 comments

Intel Mac

default config

$ limactl start       
? Creating an instance "default" Proceed with the default configuration
INFO[0003] Downloading "https://github.com/containerd/nerdctl/releases/download/v0.11.2/nerdctl-full-0.11.2-linux-amd64.tar.gz" (sha256:27dbb238f9eb248ca68f11b412670db51db84905e3583834400305b2149915f2) 
INFO[0003] Using cache "/Users/ghost/Library/Caches/lima/download/by-url-sha256/b4f5bbd91357ecaeb7f48edc2ba3a9ae42bfebf05436bdd5acbf4a8a8a4f33f0/data" 
INFO[0004] Attempting to download the image from "~/Downloads/hirsute-server-cloudimg-amd64.img" 
INFO[0005] Downloaded image from "~/Downloads/hirsute-server-cloudimg-amd64.img" 
INFO[0005] [hostagent] Starting QEMU (hint: to watch the boot progress, see "/Users/username/.lima/default/serial.log") 
INFO[0005] SSH Local Port: 60022                        
INFO[0005] [hostagent] Waiting for the essential requirement 1 of 4: "ssh" 
INFO[0015] [hostagent] Waiting for the essential requirement 1 of 4: "ssh" 
INFO[0099] [hostagent] Waiting for the essential requirement 1 of 4: "ssh" 
INFO[0184] [hostagent] Waiting for the essential requirement 1 of 4: "ssh" 
INFO[0269] [hostagent] Waiting for the essential requirement 1 of 4: "ssh" 
INFO[0354] [hostagent] Waiting for the essential requirement 1 of 4: "ssh" 
INFO[0439] [hostagent] Waiting for the essential requirement 1 of 4: "ssh" 
INFO[0524] [hostagent] Waiting for the essential requirement 1 of 4: "ssh" 
FATA[0605] did not receive an event with the "running" status

FRTI64 avatar Sep 28 '21 06:09 FRTI64

serial.log

[2J[01;01H[=3h[2J[01;01H[0m[35m[40m[0m[37m[40mBdsDxe: failed to load Boot0001 "UEFI QEMU DVD-ROM QM00005 " from PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x2,0xFFFF,0x0): Not Found
BdsDxe: failed to load Boot0002 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x6,0x0): Not Found

>>Start PXE over IPv4.
  PXE-E16: No valid offer received.
BdsDxe: failed to load Boot0003 "UEFI PXEv4 (MAC:525555ACD2C5)" from PciRoot(0x0)/Pci(0x1,0x0)/MAC(525555ACD2C5,0x1)/IPv4(0.0.0.0,0x0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0): Not Found

>>Start PXE over IPv6.
  PXE-E16: No valid offer received.
BdsDxe: failed to load Boot0004 "UEFI PXEv6 (MAC:525555ACD2C5)" from PciRoot(0x0)/Pci(0x1,0x0)/MAC(525555ACD2C5,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000,0x0,Static,0000:0000:0000:0000:0000:0000:0000:0000,0x40,0000:0000:0000:0000:0000:0000:0000:0000): Not Found

>>Start HTTP Boot over IPv4.....
  Error: Could not retrieve NBP file size from HTTP server.

  Error: Server response timeout.
BdsDxe: failed to load Boot0005 "UEFI HTTPv4 (MAC:525555ACD2C5)" from PciRoot(0x0)/Pci(0x1,0x0)/MAC(525555ACD2C5,0x1)/IPv4(0.0.0.0,0x0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0)/Uri(): Not Found

>>Start HTTP Boot over IPv6.
  Error: Could not retrieve NBP file size from HTTP server.

  Error: Unexpected network error.
BdsDxe: failed to load Boot0006 "UEFI HTTPv6 (MAC:525555ACD2C5)" from PciRoot(0x0)/Pci(0x1,0x0)/MAC(525555ACD2C5,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000,0x0,Static,0000:0000:0000:0000:0000:0000:0000:0000,0x40,0000:0000:0000:0000:0000:0000:0000:0000)/Uri(): Not Found
BdsDxe: loading Boot0007 "EFI Internal Shell" from Fv(7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
BdsDxe: starting Boot0007 "EFI Internal Shell" from Fv(7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
[2J[01;01H[01;01HUEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (EDK II, 0x00010000)
[1m[33m[40mMapping table[0m[37m[40m
[1m[33m[40m     BLK1:[0m[37m[40m [1m[37m[40mAlias(s):[0m[37m[40m
          PciRoot(0x0)/Pci(0x6,0x0)
[1m[33m[40m     BLK0:[0m[37m[40m [1m[37m[40mAlias(s):[0m[37m[40m
          PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x2,0xFFFF,0x0)
[09;01HPress [1m[37m[40mESC[0m[37m[40m in 5 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[09;01HPress [1m[37m[40mESC[0m[37m[40m in 4 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[09;01HPress [1m[37m[40mESC[0m[37m[40m in 3 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[09;01HPress [1m[37m[40mESC[0m[37m[40m in 2 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[09;01HPress [1m[37m[40mESC[0m[37m[40m in 1 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.
[10;01H[1m[33m[40mShell> [0m[37m[40m

FRTI64 avatar Sep 28 '21 07:09 FRTI64

Image might be broken. Could you try limactl prune to remove the cache and then recreate the instance?

AkihiroSuda avatar Sep 28 '21 12:09 AkihiroSuda

As same

$ limactl start
INFO[0000] Using the existing instance "default"        
INFO[0000] Downloading "https://github.com/containerd/nerdctl/releases/download/v0.11.2/nerdctl-full-0.11.2-linux-amd64.tar.gz" (sha256:27dbb238f9eb248ca68f11b412670db51db84905e3583834400305b2149915f2) 
174.89 MiB / 174.89 MiB [-----------------------------------] 100.00% 5.50 MiB/s
INFO[0045] Downloaded "nerdctl-full-0.11.2-linux-amd64.tar.gz" 
INFO[0046] Attempting to download the image from "~/Downloads/hirsute-server-cloudimg-amd64.img" 
INFO[0046] Downloaded image from "~/Downloads/hirsute-server-cloudimg-amd64.img" 
INFO[0046] [hostagent] Starting QEMU (hint: to watch the boot progress, see "/Users/ghost/.lima/default/serial.log") 
INFO[0046] SSH Local Port: 60022                        
INFO[0046] [hostagent] Waiting for the essential requirement 1 of 4: "ssh" 
INFO[0057] [hostagent] Waiting for the essential requirement 1 of 4: "ssh" 
INFO[0141] [hostagent] Waiting for the essential requirement 1 of 4: "ssh" 
INFO[0226] [hostagent] Waiting for the essential requirement 1 of 4: "ssh" 
INFO[0311] [hostagent] Waiting for the essential requirement 1 of 4: "ssh" 
INFO[0396] [hostagent] Waiting for the essential requirement 1 of 4: "ssh" 
INFO[0481] [hostagent] Waiting for the essential requirement 1 of 4: "ssh" 
INFO[0566] [hostagent] Waiting for the essential requirement 1 of 4: "ssh" 
FATA[0646] did not receive an event with the "running" status

serial.log

[2J[01;01H[=3h[2J[01;01H[0m[35m[40m[0m[37m[40mBdsDxe: failed to load Boot0001 "UEFI QEMU DVD-ROM QM00005 " from PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x2,0xFFFF,0x0): Not Found
BdsDxe: failed to load Boot0002 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x6,0x0): Not Found

>>Start PXE over IPv4.
  PXE-E16: No valid offer received.
BdsDxe: failed to load Boot0003 "UEFI PXEv4 (MAC:525555ACD2C5)" from PciRoot(0x0)/Pci(0x1,0x0)/MAC(525555ACD2C5,0x1)/IPv4(0.0.0.0,0x0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0): Not Found

>>Start PXE over IPv6.
  PXE-E16: No valid offer received.
BdsDxe: failed to load Boot0004 "UEFI PXEv6 (MAC:525555ACD2C5)" from PciRoot(0x0)/Pci(0x1,0x0)/MAC(525555ACD2C5,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000,0x0,Static,0000:0000:0000:0000:0000:0000:0000:0000,0x40,0000:0000:0000:0000:0000:0000:0000:0000): Not Found

>>Start HTTP Boot over IPv4.....
  Error: Could not retrieve NBP file size from HTTP server.

  Error: Server response timeout.
BdsDxe: failed to load Boot0005 "UEFI HTTPv4 (MAC:525555ACD2C5)" from PciRoot(0x0)/Pci(0x1,0x0)/MAC(525555ACD2C5,0x1)/IPv4(0.0.0.0,0x0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0)/Uri(): Not Found

>>Start HTTP Boot over IPv6.
  Error: Could not retrieve NBP file size from HTTP server.

  Error: Unexpected network error.
BdsDxe: failed to load Boot0006 "UEFI HTTPv6 (MAC:525555ACD2C5)" from PciRoot(0x0)/Pci(0x1,0x0)/MAC(525555ACD2C5,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000,0x0,Static,0000:0000:0000:0000:0000:0000:0000:0000,0x40,0000:0000:0000:0000:0000:0000:0000:0000)/Uri(): Not Found
BdsDxe: loading Boot0007 "EFI Internal Shell" from Fv(7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
BdsDxe: starting Boot0007 "EFI Internal Shell" from Fv(7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
[2J[01;01H[01;01HUEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (EDK II, 0x00010000)
[1m[33m[40mMapping table[0m[37m[40m
[1m[33m[40m     BLK1:[0m[37m[40m [1m[37m[40mAlias(s):[0m[37m[40m
          PciRoot(0x0)/Pci(0x6,0x0)
[1m[33m[40m     BLK0:[0m[37m[40m [1m[37m[40mAlias(s):[0m[37m[40m
          PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x2,0xFFFF,0x0)
[09;01HPress [1m[37m[40mESC[0m[37m[40m in 5 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[09;01HPress [1m[37m[40mESC[0m[37m[40m in 4 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[09;01HPress [1m[37m[40mESC[0m[37m[40m in 3 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[09;01HPress [1m[37m[40mESC[0m[37m[40m in 2 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[09;01HPress [1m[37m[40mESC[0m[37m[40m in 1 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.
[10;01H[1m[33m[40mShell> [0m[37m[40m

FRTI64 avatar Sep 28 '21 18:09 FRTI64

If it is of any help

➜ ~ lima --version limactl version 0.8.2

First I prune with limactl prune

then

limactl start default then I get

INFO[0000] Using the existing instance "default"
INFO[0000] Attempting to download the nerdctl archive from "https://github.com/containerd/nerdctl/releases/download/v0.16.1/nerdctl-full-0.16.1-linux-amd64.tar.gz"  digest="sha256:25b6c9a7059e568238f07baacc1ece6af3d698ae8d33cb9f0ec1e5161230ab62"
194.63 MiB / 194.63 MiB [----------------------------------] 100.00% 15.12 MiB/s
INFO[0013] Downloaded the nerdctl archive from "https://github.com/containerd/nerdctl/releases/download/v0.16.1/nerdctl-full-0.16.1-linux-amd64.tar.gz"
INFO[0015] [hostagent] Starting QEMU (hint: to watch the boot progress, see "/Users/istoica/.lima/default/serial.log")
INFO[0015] SSH Local Port: 60022
INFO[0015] [hostagent] Waiting for the essential requirement 1 of 5: "ssh"
INFO[0025] [hostagent] Waiting for the essential requirement 1 of 5: "ssh"
INFO[0109] [hostagent] Waiting for the essential requirement 1 of 5: "ssh"
INFO[0194] [hostagent] Waiting for the essential requirement 1 of 5: "ssh"

and goes on forever

Meanwhile, without stopping the command above, inside ~/.lima/default/serial.log

➜  ~ cat ~/.lima/default/serial.log
BdsDxe: failed to load Boot0001 "UEFI QEMU DVD-ROM QM00005 " from PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x2,0xFFFF,0x0): Not Found
BdsDxe: failed to load Boot0002 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x6,0x0): Not Found

>>Start PXE over IPv4.
  PXE-E16: No valid offer received.
BdsDxe: failed to load Boot0003 "UEFI PXEv4 (MAC:525555691BF4)" from PciRoot(0x0)/Pci(0x1,0x0)/MAC(525555691BF4,0x1)/IPv4(0.0.0.0,0x0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0): Not Found

>>Start PXE over IPv6.
  PXE-E16: No valid offer received.
BdsDxe: failed to load Boot0004 "UEFI PXEv6 (MAC:525555691BF4)" from PciRoot(0x0)/Pci(0x1,0x0)/MAC(525555691BF4,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000,0x0,Static,0000:0000:0000:0000:0000:0000:0000:0000,0x40,0000:0000:0000:0000:0000:0000:0000:0000): Not Found

>>Start HTTP Boot over IPv4.....
  Error: Could not retrieve NBP file size from HTTP server.

  Error: Server response timeout.
BdsDxe: failed to load Boot0005 "UEFI HTTPv4 (MAC:525555691BF4)" from PciRoot(0x0)/Pci(0x1,0x0)/MAC(525555691BF4,0x1)/IPv4(0.0.0.0,0x0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0)/Uri(): Not Found

>>Start HTTP Boot over IPv6.
  Error: Could not retrieve NBP file size from HTTP server.

  Error: Unexpected network error.
BdsDxe: failed to load Boot0006 "UEFI HTTPv6 (MAC:525555691BF4)" from PciRoot(0x0)/Pci(0x1,0x0)/MAC(525555691BF4,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000,0x0,Static,0000:0000:0000:0000:0000:0000:0000:0000,0x40,0000:0000:0000:0000:0000:0000:0000:0000)/Uri(): Not Found
BdsDxe: loading Boot0007 "EFI Internal Shell" from Fv(7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
BdsDxe: starting Boot0007 "EFI Internal Shell" from Fv(7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
UEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (EDK II, 0x00010000)
Mapping table
     BLK1: Alias(s):
          PciRoot(0x0)/Pci(0x6,0x0)
     BLK0: Alias(s):
          PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x2,0xFFFF,0x0)
Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell> %

iongion avatar Feb 01 '22 20:02 iongion

@AkihiroSuda: This issue hasn’t received any new comments for over a year. I propose that you close it.

cpach avatar Mar 03 '23 18:03 cpach