From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 19 18:58:59 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDB0F16A4CE for ; Tue, 19 Apr 2005 18:58:59 +0000 (GMT) Received: from mx.laposte.net (mx.laposte.net [81.255.54.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2DE443D2D for ; Tue, 19 Apr 2005 18:58:58 +0000 (GMT) (envelope-from emmanuel.chriqui@laposte.net) Received: from pcemmanuel (81.57.219.151) by mx.laposte.net (7.0.028) (authenticated as emmanuel.chriqui) id 425309CA00867E1F for freebsd-hackers@freebsd.org; Tue, 19 Apr 2005 20:58:57 +0200 Message-ID: <425309CA00867E1F@lpdnpm09.laposte.net> (added by postmaster@laposte.net) From: "Emmanuel Chriqui" To: Date: Tue, 19 Apr 2005 20:59:11 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcVFEd81cKtiY6qtRICFIa8nxmCgNg== Subject: PXEBOOT/TFTPBOOT + big MD_ROOT problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Apr 2005 18:58:59 -0000 Hi, I'm trying to make very big MD_ROOT (300MB) sent using PXEBOOT+TFTPBOOT. No NFS. It's a sort of diskless machine with all the system on ram. When image is small ( <= 45M ) everything boots ok. But if greater, then the kernel does not find the /sbin/init and then reboots over and over, as if the preloaded image was partially erased or overlapped. In order to be sure I took the mfsroot from boot.flp and put it each time in a bigger image. Same problem. I use a classic mfs_root approche to make my image dd if=/dev/zero of=$MFS_FILE bs=1k count=$SIZE mdconfig -a -t vnode -f $MFS_FILE -u0 bsdlabel -w /dev/md0 newfs /dev/md0c mount /dev/md0c $MFS_FILE_MOUNT cp ... my content... umount $MFS_FILE_MOUNT fsck -t ufs /dev/md0c mdconfig -d -u 0 then I mount the $MFS_FILE_MOUNT . I tried to increase NPTK as suggested on another thread in the past but that seems to get things worse (machine hangs on boot, or starts showing nasty error messages under panic). I use i386/5.4RC3/TFTPD/PXEBOOT+TFTPBOOT . Please advise.. Emmanuel.