From owner-freebsd-stable@FreeBSD.ORG Tue Dec 4 04:48:49 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 619B216A418 for ; Tue, 4 Dec 2007 04:48:49 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by mx1.freebsd.org (Postfix) with ESMTP id 2601813C442 for ; Tue, 4 Dec 2007 04:48:48 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so989411anc for ; Mon, 03 Dec 2007 20:48:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=KD3htv0bpbyyZEdW12sd0apnvKvUWXjW85XJGfoqJ3s=; b=UA3XgJBRA72bki0rwIwPZ+AGF1I9EJhlG6qPkLftRTiIrXvd2LjWkMJeiUjyl5hCHNKxRbYUO97adVzB2/FXVjaqoGOLVlmwA62o/i4eCBSyjWly4EM2JZZFTJ+yh4H5PRQ8lAciBgyUkPJGK8qDfN+gfzHR4IWNuqZWiGf4EwE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=f6o7UAEKp7XVzXF7Bb+xXU7XT30cmWnpN+yl+zJnsF6bVO1lrmsPE9SVSEmGupiXPzEFpZmuBrJuYlp0av/zAvqRtyjge8ds+4My6RyECsQmWKT60ZWF3oHCV+4I8F0Zm9hQ+TP7oBVeruza8fmssV1M47DNkyJNHHRYAGS4gM8= Received: by 10.100.171.10 with SMTP id t10mr372004ane.1196742059405; Mon, 03 Dec 2007 20:20:59 -0800 (PST) Received: from ?10.0.3.231? ( [70.21.144.51]) by mx.google.com with ESMTPS id d29sm3095526and.2007.12.03.20.20.57 (version=SSLv3 cipher=RC4-MD5); Mon, 03 Dec 2007 20:20:58 -0800 (PST) From: "Alexandre \"Sunny\" Kovalenko" To: Balgansuren Batsukh In-Reply-To: <001001c835b0$f2f29700$c801000a@balgaa> References: <004d01c8214d$b5a02970$c801000a@balgaa> <4732E7D9.4040804@wlink.com.np> <001001c835b0$f2f29700$c801000a@balgaa> Content-Type: text/plain Date: Mon, 03 Dec 2007 23:19:49 -0500 Message-Id: <1196741989.823.20.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD-6.2, 7.0-BETA1 on X60 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2007 04:48:49 -0000 On Mon, 2007-12-03 at 21:31 +0800, Balgansuren Batsukh wrote: > Hello All, > > I tried to install FreeBSD on X60 using PXE boot, but unsuccessfully finish > my attempt. > > When it start PXE boot it get IP address from DHCP, download PXE boot file > from TFTP server, > then trying to load kernel image from TFTP server. > > After 10-20 minutes it give me error message "can't load kernel", I tried > many times load boot/kernel/kernel, but same result. > > I guess PXE boot read much longer time to load kernel file and suddenly give > me error message. > > I followed instruction on http://www.hack.org/mc/freebsd-x60.html > > I made X60---->LAN switch---->TFTP/DHCP/NFS server and even tried > X60---cross-over cable---->TFTP/DHCP/NFS server. > > Is there any suggestion? I have built my X60 from such a setup and then used it as the "FixIt" environment more then a few times. Here are relevant bits from the server (watch out for the line wrapping): === /usr/local/etc/dhcpd.conf (I am using isc-dhcp3-server-3.0.5_2) option domain-name "rabbitslawn.verizon.net"; option domain-name-servers rabbitslawn.verizon.net; default-lease-time 600; max-lease-time 7200; authoritative; ddns-update-style none; log-facility local7; server-name "twinhead"; server-identifier 10.0.3.236; next-server 10.0.3.236; subnet 10.0.3.0 netmask 255.255.255.0 { range 10.0.3.33 10.0.3.64; option routers 10.0.3.242; option domain-name-servers 10.0.3.242; option root-path "/SHARED/tftpboot"; filename "boot/pxeboot"; } === /etc/exports (excerpt) /SHARED -alldirs === /etc/inetd.conf (excerpt) tftp dgram udp wait root /usr/libexec/tftpd tftpd -u sunny -l -s /SHARED/tftpboot === /etc/rc.conf (excerpt) nfs_server_enable="YES" rpcbind_enable="YES" === /SHARED/tftpboot Contains fairly old (February 2007) snapshot of then 7-CURRENT with two modifications === /SHARED/tftpboot/boot/loader.rc echo Loading Kernel... load /boot/kernel/kernel echo Loading mfsroot... load -t mfs_root /mfsroot echo booting... echo \007\007 echo initializing h0h0magic... set vfs.root.mountfrom="ufs:/dev/md0c" boot === /SHARED/tftpboot/mfsroot Is the decompressed version of /SHARED/tftpboot/boot/mfsroot.gz. I can confirm that stopping NFS on the server will give the symptoms roughly corresponding to the ones you are describing, so the first thing I would recommend checking is the ability to mount your equivalent of the "/SHARED/tftpboot" above. Hopefully this is all I have done to get this to work -- I have picked most of it from someone's web page, but I could not find original URL ATM. > > Regards, > Balgaa > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Alexandre "Sunny" Kovalenko