Topic
9 replies Latest Post - ‏2009-10-07T21:36:14Z by ppinatti
SystemAdmin
SystemAdmin
104 Posts
ACCEPTED ANSWER

Pinned topic install on p520 tftp errors

‏2009-10-05T21:41:53Z |
Hi, I'm trying to install Linux via kickstart on a p520 system, but I'm running into errors with the initial tftp portion of the install.

I've searched around some, but haven't found a real solution to this issue.
No OS image was detected by firmware.
At least one disk in the bootlist was not found yet.
Firmware is now retrying the entries in the bootlist.
Press ctrl-C to stop retrying.

BOOTP: chosen-network-type = ethernet,auto,rj45,auto
BOOTP: server IP = 0.0.0.0
BOOTP: requested filename =
BOOTP: client IP = 0.0.0.0
BOOTP: client HW addr = 0 11 25 cb 1e e8
BOOTP: gateway IP = 0.0.0.0
BOOTP: device /pci@800000020000003/pci@2/pci@1/ethernet@4
BOOTP: loc-code U787F.001.DPM0VPW-P1-C6-T1
BOOTP R = 1 BOOTP S = 2
FILE: netboot
BOOTP: read-first-block fail: 0

FILE: netboot
BOOTP: read-first-block fail: 1

FILE: netboot
BOOTP: read-first-block fail: 2
BOOTP ERROR: TFTP of first block failed, ABORT
!BA010005 !

The tftp server does appear to be working correctly, as a tftp from another system can successfully download the files, but in this boot up portion of the install, it fails to grab the netboot file. Anyone have any ideas?
Updated on 2009-10-07T21:36:14Z at 2009-10-07T21:36:14Z by ppinatti
  • ppinatti
    ppinatti
    11 Posts
    ACCEPTED ANSWER

    Re: install on p520 tftp errors

    ‏2009-10-05T22:09:54Z  in response to SystemAdmin
    Hi,

    first thing you can check is if your machine is correctly registered in the dhcp configuration file on the server (you should be using the Manage Clients tool from the systools package in order to register machines on the server). One of the things to check is that the MAC address registered is the same of the network card you are using to boot. If the dhcp configuration is correct and you are still not able to boot, try running the command tail -f /var/log/messages on the server while the machine is booting which should give you an output from the DHCP server and probably the reason why the server is not answering the machine's request. If you reach to this point and still have problems, please attach the output here so that we can try to identify what the problem is.

    Best regards,

    Paulo
    • SystemAdmin
      SystemAdmin
      104 Posts
      ACCEPTED ANSWER

      Re: install on p520 tftp errors

      ‏2009-10-05T23:44:18Z  in response to ppinatti
      here is the output of /var/log/messages during boot

      Oct 5 15:46:34 B1039-kickstart dhcpd: BOOTREQUEST from 00:11:25:cb:1e:e8 via eth0
      Oct 5 15:46:34 B1039-kickstart dhcpd: BOOTREPLY for 10.182.34.201 to b1039-lop14 (00:11:25:cb:1e:e8) via eth0
      Oct 5 15:46:34 B1039-kickstart xinetd3123: START: tftp pid=3603 from=10.182.34.201
      Oct 5 15:46:35 B1039-kickstart dhcpd: DHCPDISCOVER from e9:eb:b3:a6:db:3c via eth0: network labs: no free leases
      Oct 5 15:46:35 B1039-kickstart dhcpd: BOOTREQUEST from 00:e0:1e:dd:58:c0 via eth0: BOOTP from dynamic client and no dynamic leases
      Oct 5 15:46:35 B1039-kickstart dhcpd: DHCPDISCOVER from 00:00:1a:1a:28:b2 via eth0: network labs: no free leases
      Oct 5 15:46:35 B1039-kickstart dhcpd: BOOTREQUEST from 00:04:9a:9a:83:00 via eth0: BOOTP from dynamic client and no dynamic leases
      Oct 5 15:46:35 B1039-kickstart dhcpd: DHCPDISCOVER from 00:25:b3:a5:89:6e via eth0: network labs: no free leases
      and then it just continues on with no free leases. I also noticed that there are no exits for the tftp being generated, for at least a good 20 or 30 minutes.
      • ppinatti
        ppinatti
        11 Posts
        ACCEPTED ANSWER

        Re: install on p520 tftp errors

        ‏2009-10-06T13:11:17Z  in response to SystemAdmin
        I see from the output of your first post that the client machine is trying to retrieve a file named "netboot". What kind of file is this? Is this file available from the tftpboot directory? If you want to boot a RHEL installer the file you should boot is ppc64.img, which you can find in the ISO under images/netboot.

        Regards

        Paulo
        • SystemAdmin
          SystemAdmin
          104 Posts
          ACCEPTED ANSWER

          Re: install on p520 tftp errors

          ‏2009-10-06T18:01:07Z  in response to ppinatti
          netboot is actually a renamed version of the ppc64.img file.
          • ppinatti
            ppinatti
            11 Posts
            ACCEPTED ANSWER

            Re: install on p520 tftp errors

            ‏2009-10-06T18:21:28Z  in response to SystemAdmin
            Few things you can also check:
            - If you have a firewall enabled, try to bring it down before booting the client machine. There may be a firewall rule blocking your tftp communication;
            - Check in the /etc/xinetd.d/tftp file if the tftp command is pointing to the correct tftpboot directory;
            - Verify if the file netboot has the correct permissions under the tftpboot directory. Note that this file cannot be a link to a file located outside the tftpboot.

            Best regards,

            Paulo
            • SystemAdmin
              SystemAdmin
              104 Posts
              ACCEPTED ANSWER

              Re: install on p520 tftp errors

              ‏2009-10-06T20:58:10Z  in response to ppinatti
              Hi Paulo,

              Thanks for all the help so far. I do believe my tftp server is set up correctly, as I am able to do a tftp, and then a get netboot.img from another machine. This is also a QA environment, so I have no iptables enabled on the kickstart server. I did change the permissions to netboot to chmod +777 as well. I am wondering if perhaps this is a firmware issue at this point.

              Jeff
              • ppinatti
                ppinatti
                11 Posts
                ACCEPTED ANSWER

                Re: install on p520 tftp errors

                ‏2009-10-07T21:36:14Z  in response to SystemAdmin
                Could you try running the tftp server as standalone to see what happens? You have to stop the xinetd service and then type on the shell /usr/sbin/in.tftpd -L -s /tftpboot -vvvv (assuming that your tftpboot dir is at the given location). It might be dying for some reason and maybe we are able to get some error message. Also check the /var/log/messages while booting the machine, the in.tftpd binary outputs some info there as well.

                Rgds,

                Paulo
  • shargus
    shargus
    1 Post
    ACCEPTED ANSWER

    Re: install on p520 tftp errors

    ‏2009-10-06T19:41:24Z  in response to SystemAdmin
    Just curious - did you set up the network boot parameters in the 520?
    Since the server IP = 0.0.0.0, it looks like they were never configured...
    • SystemAdmin
      SystemAdmin
      104 Posts
      ACCEPTED ANSWER

      Re: install on p520 tftp errors

      ‏2009-10-06T21:39:17Z  in response to shargus
      shargus,

      I don't believe you need to set the IP address via SMS in order for pxeboot/dhcp to pick up and assign it an address. A tcpdump does indicate that it is grabbing the IP address allocated to it in DHCP, and attempting to download the file, but is getting stopped for some reason, which I'm unable to discover why.