FS#50448 - [archiso] archiso_pxe_common hangs if multiple network interfaces exist but one is not configured

Attached to Project: Release Engineering
Opened by David Thurstenson (thurstylark) - Friday, 19 August 2016, 17:51 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Tuesday, 04 April 2017, 12:42 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Pierre Schmitz (Pierre)
Gerardo Exequiel Pozzi (djgera)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When using the Arch Netboot image, the archiso_pxe_common hook runs, prints the MAC address for both interfaces, prints configuration information for the connected interface, and never progresses past this point.

The hook does not hang if the 2nd interface is configured, or the hardware for the 2nd interface is removed from the system.


extra/archiso 27-1


Steps to reproduce:

Starting with hardware with two NICs installed
* Boot to Netboot image
* Choose mirror
* Boot Arch Linux

This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Tuesday, 04 April 2017, 12:42 GMT
Reason for closing:  Fixed
Comment by Gerardo Exequiel Pozzi (djgera) - Tuesday, 23 August 2016, 14:57 GMT
  • Field changed: Attached to Project (Arch Linux → Release Engineering)
Please give more details, boot params, dmesg. Thanks.
Comment by David Thurstenson (thurstylark) - Monday, 29 August 2016, 14:13 GMT
What would be the best way to get the logs you need? I don't have very much experience in initrd-land, and the system never boots, so I'm not sure what is available or where to find it.
Comment by Gerardo Exequiel Pozzi (djgera) - Thursday, 01 September 2016, 01:04 GMT
just like in any other place. Sure not all commands are available or with all options, but is the same. If hangs before you gat the prompt, can be a good idea to break before, or skip the hook, the run the same commands manually to see what "hang". I recommend to user forums for support request, if bug found, please back here. Thanks.
Comment by David Thurstenson (thurstylark) - Thursday, 09 March 2017, 18:03 GMT
Finally got the chance to investigate this further, and it seems like the call to ipconfig on L29[1] will continue to attempt configuring an interface indefinitely if -t is not specified[2].

I will be sending a patch for this to the arch-releng ML shortly, and will add that link to this bug.

[1]: https://git.archlinux.org/archiso.git/tree/archiso/initcpio/hooks/archiso_pxe_common?id=201aa13bb479f3ba067a161d23b9b4ad44e8b170#n29
[2]: https://git.archlinux.org/mkinitcpio-nfs-utils.git/tree/ipconfig/README
Comment by David Thurstenson (thurstylark) - Monday, 13 March 2017, 21:25 GMT Comment by Gerardo Exequiel Pozzi (djgera) - Tuesday, 14 March 2017, 14:14 GMT
Many thanks, done in archiso.
Comment by David Thurstenson (thurstylark) - Tuesday, 14 March 2017, 21:11 GMT
Glad to help. Any word on the 3rd patch to archlinux.ipxe?
Comment by David Thurstenson (thurstylark) - Monday, 03 April 2017, 13:26 GMT

Loading...