From owner-freebsd-stable@FreeBSD.ORG Sat Feb 7 10:12:31 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D533D16A4CE for ; Sat, 7 Feb 2004 10:12:31 -0800 (PST) Received: from sis1.snu.ac.kr (sis1.snu.ac.kr [147.46.10.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5817543D1D for ; Sat, 7 Feb 2004 10:12:31 -0800 (PST) (envelope-from nospam@users.sourceforge.net) Received: from users.sourceforge.net (cisr.snu.ac.kr [147.46.44.181]) by sis1.snu.ac.kr (8.12.10/8.12.10) with ESMTP id i17I9HAn064686 for ; Sun, 8 Feb 2004 03:09:17 +0900 Message-ID: <40252A8D.7020106@users.sourceforge.net> Date: Sun, 08 Feb 2004 03:12:29 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040207 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <20040207093627.GB7043@happy-idiot-talk.infracaninophile.co.uk> <200402071345.aa45776@salmon.maths.tcd.ie> In-Reply-To: <200402071345.aa45776@salmon.maths.tcd.ie> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: bug in bootpd for FBSD-stable ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2004 18:12:31 -0000 Ian Dowse wrote: > >>On Sat, Feb 07, 2004 at 07:52:12AM +0900, Rob wrote: > > ... > >>>----------------------------------------------- >>>.default:\ >>> hn:ht=1:vm=rfc1048:\ >>> sm=255.255.255.0:\ >>> sa=147.46.44.181:\ >>> gw=147.46.44.1:\ >>> hd="":\ >>> bf="kernel":\ >>> T128="147.46.44.181:/home":\ >>> T129=64000:\ >>> rp="147.46.44.181:/tftpboot": >>> tc=.default: > > ... > >>>But then I get in /var/log/messages this line: >>> >>>Feb 6 20:06:45 cisr bootpd[842]: in entry named ".default", symbol "T128": bad syntax >>>Feb 6 20:06:45 cisr bootpd[842]: can't find tc=".default" > > > Rob, are you sure that the error was on the T128 line? The above > bootptab appears to have just one syntax error, but it is on the > T129 line. From bootptab(5): > > The error is that `64000' is neither a quoted string nor a stream of > hexadecimal bytes. Try this instead: > > T129=0000fa00:\ Wonderful, thanks! I now use: #-----------/etc/bootptab----------- .default:\ hn:ht=1:vm=rfc1048:\ sm=255.255.255.0:\ sa=147.46.44.181:\ gw=147.46.44.1:\ hd="":\ bf="kernel":\ T128="147.46.44.181:/home":\ T129=0000fa00:\ rp="147.46.44.181:/tftpboot": diskless:\ ha=0050fce9306f:\ tc=.default: #------------------------------------ When I then test the server from the diskless PC: [diskless]$ bootptest cisr.snu.ac.kr bootptest: version 2.4.3 Sending to 147.46.44.181 (request) htype:0 hlen:0 xid:823 C:147.46.44.183 vend-rfc1395 Recvd from 147.46.44.181 (reply) htype:0 hlen:0 xid:823 C:147.46.44.183 S:147.46.44.181 sname:"cisr.snu.ac.kr" file:"//kernel" vend-rfc1395 SM:255.255.255.0 GW:147.46.44.1 ROOT:"147.46.44.181:/tftpboot" HN:"lahaye" T129:00.00.FA.00 On the server in /var/log/messages I get: bootpd[95255]: diskless: No room for "(generic)" option So I bet there's still something fishy here, isn't it? Regards, Rob