Comment 9 for bug 1508893

Revision history for this message
Ming Lei (tom-leiming) wrote : Re: [Bug 1508893] Re: TFTP timeout on ARM64 hw when booting from grub that was PXE loaded

On Tue, Nov 3, 2015 at 11:48 PM, Newell Jensen
<email address hidden> wrote:
> Ming,
>
> Trying to use your bootnetaa64.efi file from
> http://kernel.ubuntu.com/~ming/bugs/1508893/bootnetaa64.efi
>
> I am not able to test this because I cannot PXE boot:
>
> TianoCore 2.0.0 UEFI 2.4.0 Sep 1 2015 12:48:07
> CPU: APM ARM 64-bit Strega Rev A2 2400MHz PCP 2400MHz
> 32 KB ICACHE, 32 KB DCACHE
> SOC 2000MHz IOBAXI 400MHz AXI 250MHz AHB 200MHz GFC 66MHz
> Board: X-Gene Merlin Board
> Slimpro FW:
> Ver: 3.4 (build 2015/07/22)
> PMD: 980 mV
> SOC: 950 mV
> The default boot selection will start in 3 seconds
> [1] ubuntu
> [2] PXE on MAC :3C
> [3] nfs boot via TFTP
> [4] Shell
> [5] Boot Manager
> [6] Reboot
> [7] Shutdown
> Start: 2
> ..PXE-E23: Client received TFTP error from server.
> [1] ubuntu
> [2] PXE on MAC :3C
> [3] nfs boot via TFTP
> [4] Shell
> [5] Boot Manager
> [6] Reboot
> [7] Shutdown
> Start: 2
> ..PXE-E23: Client received TFTP error from server.
> [1] ubuntu
> [2] PXE on MAC :3C
> [3] nfs boot via TFTP
> [4] Shell
> [5] Boot Manager
> [6] Reboot
> [7] Shutdown
> Start:

I can't see the failure, and looks it is fine for me today, see following log:
TianoCore 2.0.0 UEFI 2.4.0 Sep 1 2015 12:48:07
CPU: APM ARM 64-bit Strega Rev A2 2400MHz PCP 2400MHz
     32 KB ICACHE, 32 KB DCACHE
     SOC 2000MHz IOBAXI 400MHz AXI 250MHz AHB 200MHz GFC 66MHz
Board: X-Gene Merlin Board
Slimpro FW:
    Ver: 3.4 (build 2015/07/22)
    PMD: 980 mV
    SOC: 950 mV
The default boot selection will start in 3 seconds
[1] ubuntu
[2] PXE on MAC :3C
[3] nfs boot via TFTP
[4] Shell
[5] Boot Manager
[6] Reboot
[7] Shutdown
Start: 2
..

then follows grub menu.

If you are online a bit early tomorrow, I can test it with you together.

Thanks,

>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1508893
>
> Title:
> TFTP timeout on ARM64 hw when booting from grub that was PXE loaded
>
> Status in grub2 package in Ubuntu:
> New
>
> Bug description:
> This issue was discovered with Ubuntu Wily (15.10) on a currently in
> development ARM64 HW.
>
> When loading kernel via tftp in grub on this hardware, the system
> stops receiving new packets (times out ) after receiving initial few
> tens of tftp data packets , which then causes kernel load failure.
>
> Running tcpdump before loading kernel in grub menu shows timeouts
> occurring, as captured in the below log :
>
> http://kernel.ubuntu.com/~ming/grub/apm.tcpdump
>
> Following are the detailed reproduction steps :
>
> 1) setup PXE boot entry in UEFI(no any parameter to grub)
> 2) build one grub from upstream (and/or Wily) and put it in PXE&TFTP server
> 3) setup grub config, suppose the shape is like below:
> menuentry 'Install for arm64' {
> linux /ubuntu-installer/arm64/Image --- console=ttyS0,115200
> initrd /ubuntu-installer/arm64/initrd.gz
> }
> 4) start PXE booting in UEFI
> 5) grub prompt is coming
> 6) select 'Install for arm64' menu item and press 'enter' to start
> loading kernel
> 7) then hangs inside loading kernel
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1508893/+subscriptions