Netboot Mailing List (by thread)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tftp kernel retrieval failure





--- dann frazier <daniel_frazier@hp.com> wrote:
> 
> hey,
> 
>   i am trying to set up a system using
> lui/etherboot.
> My client successfully boots from the floppy, loads
> the nic driver (a
> lance card), obtains it's ip via bootp from the
> server and proceeds to
> obtain the kernel image (/tftpboot/vmlinuz which is
> the tagged kernel
> included with the latest lui package).  Due to the
> location of the
> failure i felt my problem was more relevant to this
> list than the lui
> list.
> 
> at this point, the client display the following:
> -----
> Loading /tftpboot/vmlinuz <sleep>
> <sleep>
> <sleep>
>  ...     /* (this may be during a timeout from
> inetd) */
> <sleep>
> (NBI)... Unable to load file.
> (NBI)... Unable to load file.
> (NBI)... Unable to load file.
> (NBI)... Unable to load file.
> (...)
> -----
> 
> and the server has this to say (/var/log/messages):
> -----
> (...)
> Jul 21 16:20:07 hazel tftpd[2715]: tftpd: trying to
> get file:
> /tftpboot/vmlinuz 
> Jul 21 16:20:08 hazel tftpd[2717]: tftpd: trying to
> get file:
> /tftpboot/vmlinuz 
> Jul 21 16:20:09 hazel tftpd[2719]: tftpd: trying to
> get file:
> /tftpboot/vmlinuz 
> Jul 21 16:20:10 hazel tftpd[2721]: tftpd: trying to
> get file:
> /tftpboot/vmlinuz 
> Jul 21 16:20:11 hazel tftpd[2723]: tftpd: trying to
> get file:
> /tftpboot/vmlinuz 
> Jul 21 16:20:12 hazel tftpd[2725]: tftpd: trying to
> get file:
> /tftpboot/vmlinuz 
> Jul 21 16:20:13 hazel inetd[1757]: tftp/udp server
> failing (looping),
> service terminated 
> -----
> vmlinuz is world readable.
> 
> if i tftp from a machine on the same subnet to my
> server, i can (and do)
> successfully retrieve this file.  In this case,
> tftpd will log a "trying
> to get file" and a "serving file" message for each
> transfer.
> 
> i'd be happy to give any more information that may
> help solve this
> problem.
> 
> extrenuous info:
> Redhat 6.2, bootpd-2.4.3-5 (from RH's 5.1
> distribution)
> latest version of etherboot/lui
> 
> tftp line from inetd.conf
> -----
> tftp    dgram   udp     wait    root   
> /usr/sbin/tcpd  in.tftpd
> /tftpboot
> -----
> 
> 
> -- 
> +-+-+-+-+-+-+-+-+-+-+-+
>    dann frazier
> Hewlett Packard - USEL
> daniel_frazier@hp.com
>   (970) 898-0800
>
===========================================================================
If you are using bootpd, you must have in
/etc/bootptab the lines:
<client_host_name>:hd=/tftpboot:\
                  :bf=/tftpboot/vmlinusz:[\...]

But if you are using the dhcpd - which also offers
bootpd services, than you must have in etc/dhcpd.conf
a subnet section like:
subnet <yor.net.add.0> netmask 255.255.255.0 {
    host <cl_host_name> {
        hardware ethernet hh:hh:hh:hh:hh:hh;
        fixed-address <yor.cl.ip.add>;
        filename "/tftpboot/vmlinusz"
    }
}

The last one is what I am using and it works!

Hope it will help you,


=====
Ioan (John) NIKY Pricop
Bucharest - ROMANIA
pniky@yahoo.com

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail  Free email you can access from anywhere!
http://mail.yahoo.com/
===========================================================================
This Mail was sent to netboot mailing list by:
Pricop Ioan <pniky@yahoo.com>
To get help about this list, send a mail with 'help' as the only string in
it's body to majordomo@baghira.han.de. If you have problems with this list,
send a mail to netboot-owner@baghira.han.de.



For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.