From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 12:24:36 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D418516A4BF for ; Tue, 14 Oct 2003 12:24:36 -0700 (PDT) Received: from smtp1.uia.net (smtp1.uia.net [66.146.0.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 779C443FBD for ; Tue, 14 Oct 2003 12:24:35 -0700 (PDT) (envelope-from wes@uia.net) Received: from [10.50.0.122] (fw1.uia.net [66.146.1.4]) by smtp1.uia.net (8.11.6p3/8.11.6/2.1) with ESMTP id h9EJOZH29011; Tue, 14 Oct 2003 12:24:35 -0700 (PDT) In-Reply-To: <3F8C49EE.9090206@mssystems.com> References: <3F8C49EE.9090206@mssystems.com> Mime-Version: 1.0 (Apple Message framework v606) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <0B646575-FE7C-11D7-B581-00039382D0E0@uia.net> Content-Transfer-Encoding: 7bit From: Wes Zuber Date: Tue, 14 Oct 2003 12:24:35 -0700 To: Dave O X-Mailer: Apple Mail (2.606) cc: freebsd-questions@freebsd.org Subject: Re: diskless/pxe booting problem... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2003 19:24:37 -0000 Are you sure that you have a kernel at /tmp ? Your config says that the root "/" for this boot is really at /tmp --Wes On Oct 14, 2003, at 12:09 PM, Dave O wrote: > I've been experiencing a problem getting a soekris to pxe boot > properly. I've tried this with both RELENG_4_8 and RELENG_4 and it > still gives me the same problem. I've read and re-read the diskless > operation, nfs, and freebsd booting process sections in the handbook, > as well as tried to read and understand both the rc.diskless[12] > scripts and the clone_root script. > > I'm exporting /tmp on the dhcp server since that was the only way I > could get the -alldirs option to work, though in retrospect, I don't > seem to need it. I've used both the clone_root method to create a > proper root to export, as well as using the method described in > jail(8). The soekris is able to pxe boot off of the server, but it > always hangs in the same spot. Does anyone have any idea what I > should be looking at? Here is my configuration. For the sake of > space, I didn't include the entire configuration files, only what I > believe is pertinent. If I should provide any more info, I'm welcome > to suggestions. > > /etc/exports > -------------------------------- > /tmp -alldirs -ro -maproot=0:0 172.16.34.98 172.16.34.99 > > /usr/local/etc/dhcpd.conf > -------------------------------- > host soekris1 { > hardware ethernet 00:00:24:c1:2f:64; > fixed-address 172.16.34.98; > filename "pxeboot"; > next-server 172.16.34.1; > option root-path "172.16.34.1:/tmp"; > } > > host soekris2 { > hardware ethernet 00:00:24:c1:2f:84; > fixed-address 172.16.34.99; > filename "pxeboot"; > next-server 172.16.34.1; > option root-path "172.16.34.1:/tmp"; > } > > > /tmp/conf/base/etc/fstab && /tmp/etc/fstab > -------------------------------- > # Device Mountpoint FStype Options Dump Pass# > 172.16.34.1:/tmp / nfs ro 0 0 > proc /proc procfs rw 0 0 > > /usr/src/sys/i386/conf/DISKLESS > -------------------------------- > # Options for pxe booting > options BOOTP > options BOOTP_NFSROOT > options BOOTP_COMPAT > options NFS > options NFS_ROOT > > dmesg > -------------------------------- > FreeBSD/i386 bootstrap loader, Revision 0.8 > (root@stan.mssystems.com, Mon Oct 13 17:25:56 CDT 2003) > pxe_open: server addr: 172.16.34.1 > pxe_open: server path: /tmp > pxe_open: gateway ip: 172.16.34.1 > Loading /boot/defaults/loader.conf > /kernel text=0x1b91dd data=0x20a74+0x1f598 - > Copyright (c) 1992-2003 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > 1994 > The Regents of the University of California. All rights > reserved. > > [verbose dmesg snipped] > > bpf: lo0 attached > IPsec: Initialized Security Association Processing. > IP Filter: v3.4.31 initialized. Default = pass all, Logging = enabled > Sending DHCP Discover packet from interface sis0 (00:00:24:c1:2f:64) > Sending DHCP Discover packet from interface sis1 (00:00:24:c1:2f:65) > Sending DHCP Discover packet from interface sis2 (00:00:24:c1:2f:66) > Received DHCP Offer packet on sis0 from 172.16.34.1 (accepted) (no > root path) > Sending DHCP Request packet from interface sis0 (00:00:24:c1:2f:64) > Received DHCP Ack packet on sis0 from 172.16.34.1 (accepted) (got root > path) > DHCP timeout for interface sis1 > DHCP timeout for interface sis2 > sis0 at 172.16.34.98 server 172.16.34.1 boot file pxeboot > subnet mask 255.255.255.0 router 172.16.34.1 rootfs 172.16.34.1:/tmp > Adjusted interface sis0 > Shutdown interface sis1 > Shutdown interface sis2 > Mounting root from nfs:172.16.34.1:/tmp > missing device name > setrootbyname failed > NFS ROOT: 172.16.34.1:/tmp > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > >