From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 12:09:44 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 D17D216A4BF for ; Tue, 14 Oct 2003 12:09:44 -0700 (PDT) Received: from mail.leasenet.net (mail.leasenet.net [64.46.161.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id C95A843F3F for ; Tue, 14 Oct 2003 12:09:43 -0700 (PDT) (envelope-from dso@mssystems.com) Received: from mssystems.com [172.16.33.22] by mail.leasenet.net with ESMTP (SMTPD32-7.07) id A9C81DB00E2; Tue, 14 Oct 2003 14:08:56 -0500 Message-ID: <3F8C49EE.9090206@mssystems.com> Date: Tue, 14 Oct 2003 14:09:34 -0500 From: Dave O User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: 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:09:45 -0000 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