[Bug 1900773] Re: thunderx CRB systems tftp timeout downloading initrd

2020-10-22 Thread Taihsiang Ho
Repacking initrd as initrd.lz is a working workaround on d05. By using
initrd.lz, I could not reproduce this issue on d05-4.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900773

Title:
  thunderx CRB systems tftp timeout downloading initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1900773/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900773] Re: thunderx CRB systems tftp timeout downloading initrd

2020-10-22 Thread Taihsiang Ho
My apologies. The comment#9 https://bugs.launchpad.net/ubuntu/+source
/livecd-rootfs/+bug/1900773/comments/9 used the grubnetaa64.efi from
focal http://ports.ubuntu.com/ubuntu-
ports/dists/focal/main/uefi/grub2-arm64/current/grubnetaa64.efi.signed

If d05 (d05-4) uses the groovy grub, it COULD reproduce this issue as
well.

So I would say the testing result of d05 is the same as d06 by @Ike.
- grub from focal ---> not reproduce this issue
- grub from groovy --> able to reproduce this issue

My next will be:
- hide comment#9 to not confuse people
- also try the initrd.lzma workaround

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900773

Title:
  thunderx CRB systems tftp timeout downloading initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1900773/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900773] Re: thunderx CRB systems tftp timeout downloading initrd

2020-10-21 Thread Ike Panhc
More infomation. I can not reproduce with grubnetaa64.efi from focal.

This is the focal grub I download, which can not reproduce

http://ports.ubuntu.com/ubuntu-
ports/dists/focal/main/uefi/grub2-arm64/current/grubnetaa64.efi.signed

This is the groovy grub, which is able to reproduce

http://ports.ubuntu.com/ubuntu-
ports/dists/groovy/main/uefi/grub2-arm64/current/grubnetaa64.efi.signed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900773

Title:
  thunderx CRB systems tftp timeout downloading initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1900773/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900773] Re: thunderx CRB systems tftp timeout downloading initrd

2020-10-21 Thread Brian Murray
** Also affects: ubuntu-release-notes
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900773

Title:
  thunderx CRB systems tftp timeout downloading initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1900773/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900773] Re: thunderx CRB systems tftp timeout downloading initrd

2020-10-21 Thread Steve Langasek
** Also affects: grub2 (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900773

Title:
  thunderx CRB systems tftp timeout downloading initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1900773/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900773] Re: thunderx CRB systems tftp timeout downloading initrd

2020-10-21 Thread dann frazier
Since technically GRUB is requesting the initrd file, I tried to rule it
out as a possible cause by seeing if the initial payload that UEFI
downloads directly would time out if it was the same size. I did this by
padding my grubnetaa64.efi binary to be the same size as the installer
initrd.

 mv grubnetaa64.efi grubnetaa64.efi.orig
 cp casper/initrd grubnetaa64.efi
 dd if=grubnetaa64.efi.orig of=grubnetaa64 conv=notrunc

This did *not* timeout. So unfortunately we can't obviously rule out
GRUB as a factor.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900773

Title:
  thunderx CRB systems tftp timeout downloading initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1900773/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900773] Re: thunderx CRB systems tftp timeout downloading initrd

2020-10-21 Thread Taihsiang Ho
I tried 20201021 Groovy daily live with Hisilicon d05 via PXE, and I did
NOT reproduce this issue.


[Post-installation Information]

ubuntu@d05-4-20-10-rc-102021-pxe-tai-1:~$ cat /var/log/installer/media-info ; 
echo ; uname -a; lsb_release -a
Ubuntu-Server 20.10 "Groovy Gorilla" - Release arm64 (20201021)
Linux d05-4-20-10-rc-102021-pxe-tai-1 5.8.0-25-generic #26-Ubuntu SMP Thu Oct 
15 10:33:30 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 20.10
Release:20.10
Codename:   groovy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900773

Title:
  thunderx CRB systems tftp timeout downloading initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1900773/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900773] Re: thunderx CRB systems tftp timeout downloading initrd

2020-10-21 Thread Ike Panhc
90771321 initrd
44620048 initrd.lzma

Yes. recompress with `lzma -9` and I can finish the installation.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900773

Title:
  thunderx CRB systems tftp timeout downloading initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1900773/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1900773] Re: thunderx CRB systems tftp timeout downloading initrd

2020-10-21 Thread dann frazier
On Wed, Oct 21, 2020, 03:20 Ike Panhc <1900...@bugs.launchpad.net>
wrote:

> I hit this issue on Hisilicon d06 when PXE groovy subiquity. System
> boots without initrd and hang on no rootfs.
>
>
> error: timeout reading `/casper/initrd'.
>
> Press any key to continue...
>

Interesting, does recompressing with lzma suffice as a workaround for d06
also?

>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900773

Title:
  thunderx CRB systems tftp timeout downloading initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1900773/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900773] Re: thunderx CRB systems tftp timeout downloading initrd

2020-10-21 Thread Ike Panhc
I hit this issue on Hisilicon d06 when PXE groovy subiquity. System
boots without initrd and hang on no rootfs.


error: timeout reading `/casper/initrd'.

Press any key to continue...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900773

Title:
  thunderx CRB systems tftp timeout downloading initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1900773/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1900773] Re: thunderx CRB systems tftp timeout downloading initrd

2020-10-20 Thread dann frazier
On Tue, Oct 20, 2020 at 5:30 PM Steve Langasek
<1900...@bugs.launchpad.net> wrote:
>
> And is there something intrinsic to this hardware that leads to the
> timeout?

I wonder if there might be a firmware bug. Here's what I see on the
wire:

52120 56.958016 10.229.50.135 10.229.50.84 TFTP 78 Read Request, File:
initrd, Transfer type: octet, blksize=1024, tsize=0
52121 56.960144 10.229.50.84 10.229.50.135 TFTP 72 Option
Acknowledgement, blksize=1024, tsize=90771321
<---snip--->
183218 65.602857 10.229.50.84 10.229.50.135 TFTP 1070 Data Packet, Block: 65535
183219 65.603129 10.229.50.135 10.229.50.84 TFTP 60 Acknowledgement,
Block: 65535
<---snip--->
229458 68.561417 10.229.50.135 10.229.50.84 TFTP 60 Acknowledgement,
Block: 88643
229459 68.561466 10.229.50.84 10.229.50.135 TFTP 935 Data Packet,
Block: 88644 (last)
229460 68.561519 10.229.50.135 10.229.50.84 TFTP 60 Acknowledgement,
Block: 88644
229462 68.962413 10.229.50.135 10.229.50.84 TFTP 60 Acknowledgement,
Block: 65535

It looks like the entire initrd was successfully transferred. The
client ACK'd the last block but then, for some reason, it comes back
about half a second later and re-ACKs a block it had already ACK'd.
And that block being number number 65535 is *interesting*.

> Or would this perhaps work if the machine had a faster network
> link to the tftp server?

Perhaps - but these systems are in the same physical location, slowest
link between is 1Gbps.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900773

Title:
  thunderx CRB systems tftp timeout downloading initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1900773/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1900773] Re: thunderx CRB systems tftp timeout downloading initrd

2020-10-20 Thread dann frazier
On Tue, Oct 20, 2020 at 5:30 PM Steve Langasek
<1900...@bugs.launchpad.net> wrote:
>
> Just to confirm, are you using the initrd as extracted from the .iso?

I am.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900773

Title:
  thunderx CRB systems tftp timeout downloading initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1900773/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900773] Re: thunderx CRB systems tftp timeout downloading initrd

2020-10-20 Thread Steve Langasek
Just to confirm, are you using the initrd as extracted from the .iso?

** Project changed: ubuntu-cdimage => livecd-rootfs (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900773

Title:
  thunderx CRB systems tftp timeout downloading initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1900773/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1900773] Re: thunderx CRB systems tftp timeout downloading initrd

2020-10-20 Thread Steve Langasek
And is there something intrinsic to this hardware that leads to the
timeout?  Or would this perhaps work if the machine had a faster network
link to the tftp server?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1900773

Title:
  thunderx CRB systems tftp timeout downloading initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1900773/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs