Few more questions: - What kind of POWER hardware is it? Some POWER machines have network cards with Petitboot firmware which is capable of downloading configuration in PXELinux syntax and then directly loading the kernel. In this case, you need to provide your own PXELinux configuration (you can use foreman templating capabilities to generate the contents of course), but we don't have any templates with this - not sure if default PXELinux templates will work, I guess they will not (kernel and initramdisk).
More info here: http://jk.ozlabs.org/blog/post/158/netbooting-petitboot/ If this is the case, I think you want to create your host in Foreman with PXELinux BIOS flag and it will have filename option "pxelinux.0" which should be ignored by petitboot and then it will try to load the configuration from standard paths. On Tue, Sep 5, 2017 at 7:52 AM, Lukas Zapletal <[email protected]> wrote: > Danielle, > > I've talked to our Grub2/PXE/BOOTP/POWER experts, can you get us: > > dhcpd.conf > grub.conf > network comm dump (wireshark or similar) > > Thanks > > On Mon, Sep 4, 2017 at 9:19 AM, Lukas Zapletal <[email protected]> wrote: >> First of all, is your PPC CLIENT big or little endian? I see it is >> trying to load little endian which is I believe less common to have. >> >> Anyway, let's rule out Foreman completely, can you setup DHCP and TFTP >> using our official documentation? Including generating tftpboot >> directory structure via grub2-mknetdir, make sure to use the target >> platform with correct endian, then scp the files onto TFTP server, >> setup DHCP and try then: >> >> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/chap-installation-server-setup.html#sect-network-boot-setup-ppc-grub2 >> >> The filename should be set correctly to >> "boot/grub2/powerpc-ieee1275/core.elf" now. Does it load from correct >> paths now? >> >> I have built the core.elf from RHEL 7.4, can you try that as well? >> http://people.redhat.com/~lzapleta/test/grub2-ppc-test.tar.xz >> >> Let's find out that first. >> >> >> >> >> On Fri, Sep 1, 2017 at 10:51 AM, Daniele Gregori (E4) >> <[email protected]> wrote: >>> Hi Lukas, >>> The system composed by Foreman (tftp) server and Power PC client is >>> centos 7. >>> I take the Foreman bootloader and move the grubppc64le.efi to the >>> /var/lib/tftpboot/grub2 directory with the same result, from >>> /var/log/messages: >>> >>> Sep 1 09:26:54 srv-install dhcpd: DHCPDISCOVER from 70:e2:84:14:1c:13 via >>> eno16780032 >>> Sep 1 09:26:54 srv-install dhcpd: DHCPOFFER on 172.16.2.207 to >>> 70:e2:84:14:1c:13 via eno16780032 >>> Sep 1 09:26:54 srv-install dhcpd: Dynamic and static leases present for >>> 172.16.2.207. >>> Sep 1 09:26:54 srv-install dhcpd: Remove host declaration davide13.e4srv >>> or remove 172.16.2.207 >>> Sep 1 09:26:54 srv-install dhcpd: from the dynamic address pool for >>> 172.16.2.0/24 >>> Sep 1 09:26:54 srv-install dhcpd: DHCPREQUEST for 172.16.2.207 >>> (172.16.2.2) from 70:e2:84:14:1c:13 via eno16780032 >>> Sep 1 09:26:54 srv-install dhcpd: DHCPACK on 172.16.2.207 to >>> 70:e2:84:14:1c:13 via eno16780032 >>> Sep 1 09:26:54 srv-install in.tftpd[18238]: RRQ from 172.16.2.207 filename >>> /grub2/pxelinux.cfg/01-70-e2-84-14-1c-13 >>> Sep 1 09:26:54 srv-install in.tftpd[18238]: sending NAK (1, File not >>> found) to 172.16.2.207 >>> Sep 1 09:26:54 srv-install in.tftpd[18239]: RRQ from 172.16.2.207 filename >>> /grub2/pxelinux.cfg/AC1002CF >>> Sep 1 09:26:54 srv-install in.tftpd[18239]: sending NAK (1, File not >>> found) to 172.16.2.207 >>> Sep 1 09:26:54 srv-install in.tftpd[18240]: RRQ from 172.16.2.207 filename >>> /grub2/pxelinux.cfg/AC1002C >>> Sep 1 09:26:54 srv-install in.tftpd[18240]: sending NAK (1, File not >>> found) to 172.16.2.207 >>> Sep 1 09:26:54 srv-install in.tftpd[18241]: RRQ from 172.16.2.207 filename >>> /grub2/pxelinux.cfg/AC1002 >>> Sep 1 09:26:54 srv-install in.tftpd[18241]: sending NAK (1, File not >>> found) to 172.16.2.207 >>> Sep 1 09:26:54 srv-install in.tftpd[18242]: RRQ from 172.16.2.207 filename >>> /grub2/pxelinux.cfg/AC100 >>> Sep 1 09:26:54 srv-install in.tftpd[18242]: sending NAK (1, File not >>> found) to 172.16.2.207 >>> Sep 1 09:26:54 srv-install in.tftpd[18243]: RRQ from 172.16.2.207 filename >>> /grub2/pxelinux.cfg/AC10 >>> Sep 1 09:26:54 srv-install in.tftpd[18243]: sending NAK (1, File not >>> found) to 172.16.2.207 >>> Sep 1 09:26:54 srv-install in.tftpd[18244]: RRQ from 172.16.2.207 filename >>> /grub2/pxelinux.cfg/AC1 >>> Sep 1 09:26:54 srv-install in.tftpd[18244]: sending NAK (1, File not >>> found) to 172.16.2.207 >>> Sep 1 09:26:54 srv-install in.tftpd[18245]: RRQ from 172.16.2.207 filename >>> /grub2/pxelinux.cfg/AC >>> Sep 1 09:26:54 srv-install in.tftpd[18245]: sending NAK (1, File not >>> found) to 172.16.2.207 >>> Sep 1 09:26:54 srv-install in.tftpd[18246]: RRQ from 172.16.2.207 filename >>> /grub2/pxelinux.cfg/A >>> Sep 1 09:26:54 srv-install in.tftpd[18246]: sending NAK (1, File not >>> found) to 172.16.2.207 >>> Sep 1 09:26:54 srv-install in.tftpd[18247]: RRQ from 172.16.2.207 filename >>> /grub2/pxelinux.cfg/default >>> Sep 1 09:26:54 srv-install in.tftpd[18247]: sending NAK (1, File not >>> found) to 172.16.2.207 >>> >>> I don’t understand who set the file: >>> /grub2/pxelinux.cfg/01-70-e2-84-14-1c-13. >>> I tried also to do: >>> >>> cp grub.cfg-01-54-ab-3a-71-3f-d6 pxelinux.cfg/AC1002CF >>> >>> then the messages wrote: >>> >>> Sep 1 10:43:05 srv-install dhcpd: DHCPRELEASE of 172.16.2.207 from >>> 70:e2:84:14:1c:13 via eno16780032 (not found) >>> Sep 1 10:43:06 srv-install dhcpd: DHCPDISCOVER from 70:e2:84:14:1c:13 via >>> eno16780032 >>> Sep 1 10:43:06 srv-install dhcpd: DHCPOFFER on 172.16.2.207 to >>> 70:e2:84:14:1c:13 via eno16780032 >>> Sep 1 10:43:06 srv-install dhcpd: Dynamic and static leases present for >>> 172.16.2.207. >>> Sep 1 10:43:06 srv-install dhcpd: Remove host declaration davide13.e4srv >>> or remove 172.16.2.207 >>> Sep 1 10:43:06 srv-install dhcpd: from the dynamic address pool for >>> 172.16.2.0/24 >>> Sep 1 10:43:06 srv-install dhcpd: DHCPREQUEST for 172.16.2.207 >>> (172.16.2.2) from 70:e2:84:14:1c:13 via eno16780032 >>> Sep 1 10:43:06 srv-install dhcpd: DHCPACK on 172.16.2.207 to >>> 70:e2:84:14:1c:13 via eno16780032 >>> Sep 1 10:43:06 srv-install in.tftpd[17038]: RRQ from 172.16.2.207 filename >>> /grub2/pxelinux.cfg/01-70-e2-84-14-1c-13 >>> Sep 1 10:43:27 srv-install dhcpd: DHCPDISCOVER from a4:bf:01:05:fe:87 >>> (DCMIA4BF0105FE85) via 172.17.0.1 >>> Sep 1 10:43:30 srv-install in.tftpd[17050]: RRQ from 172.16.2.207 filename >>> /grub2/grubppc64le.efi >>> Sep 1 10:43:30 srv-install dhcpd: none: host unknown. >>> Sep 1 10:44:32 srv-install dhcpd: none: host unknown. >>> Sep 1 10:44:38 srv-install dhcpd: DHCPRELEASE of 172.16.2.207 from >>> 70:e2:84:14:1c:13 via eno16780032 (not found) >>> >>> Without more info. >>> >>> From the client side I receive the messages: >>> >>> booting netboot enP5p7s0f0 (grub2/grubppc64le.efi). >>> Error: kexec load failed >>> >>> There is something that escapes me. >>> Can I improve the debug with more informations? >>> Hints? >>> >>> Thanks >>> >>> Daniele >>> >>> >>> >>> >>> On 01/09/2017, 09:00, "[email protected] on behalf of Lukas >>> Zapletal" <[email protected] on behalf of [email protected]> >>> wrote: >>> >>> Is this non-Red Hat OS? I mean the system that serves the DHCP/TFTP? >>> >>> > [root@srv-install grub2]# ln -s /var/lib/tftpboot/core.elf >>> grubppc64le.efi >>> >>> TFTP runs in chroot, never do absolute symlinks, only relative. Not >>> sure if this is same for non-RH OS tho. >>> >>> > Aug 31 17:47:54 srv-install in.tftpd[3851]: RRQ from 172.16.2.207 >>> filename /grub2/pxelinux.cfg/01-70-e2-84-14-1c-13 >>> >>> This is weird, the path should be /grub2. >>> >>> Where this core.elf comes from? Can you try grubppc64le.efi from >>> foreman-bootloaders package? We don't yet have debian packages, you >>> can just unpack upstream tarball here: >>> >>> http://downloads.theforeman.org/foreman-bootloaders/ >>> >>> If that fails, try to build core.elf. yourself with grub2-mkimage: >>> >>> https://www.theforeman.org/2016/09/new-post.html >>> >>> LZ >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Foreman users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at https://groups.google.com/group/foreman-users. >>> For more options, visit https://groups.google.com/d/optout. >>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Foreman users" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at https://groups.google.com/group/foreman-users. >>> For more options, visit https://groups.google.com/d/optout. >> >> >> >> -- >> Later, >> Lukas @lzap Zapletal > > > > -- > Later, > Lukas @lzap Zapletal -- Later, Lukas @lzap Zapletal -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
