From owner-freebsd-small@FreeBSD.ORG Wed Jul 26 15:53:30 2006 Return-Path: X-Original-To: freebsd-small@freebsd.org Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1CD516A5BE for ; Wed, 26 Jul 2006 15:53:30 +0000 (UTC) (envelope-from phocking@no-wire.net) Received: from mail.dryanta.com (dryanta.com [65.39.221.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99BCF43D64 for ; Wed, 26 Jul 2006 15:53:28 +0000 (GMT) (envelope-from phocking@no-wire.net) Received: from [70.198.175.61] (61.sub-70-198-175.myvzw.com [70.198.175.61]) by mail.dryanta.com (Postfix) with ESMTP id CA2835C28 for ; Wed, 26 Jul 2006 08:53:16 -0700 (PDT) Message-ID: <44C78FD8.8000002@no-wire.net> Date: Wed, 26 Jul 2006 08:52:56 -0700 From: Phill Hocking User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: freebsd-small@freebsd.org References: <44C69AB6.4020809@no-wire.net> <200607260842.11069.rmiranda@digitalrelay.ca> In-Reply-To: <200607260842.11069.rmiranda@digitalrelay.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: NanoBSD build issues X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jul 2006 15:53:31 -0000 On Tuesday 25 July 2006 17:27, Phill Hocking wrote: > Sorry to switch up emails on you Robert; My mail volume has gotten high > enough I need a traditional mail server. Check the output of _.bk and _.iw > and _.ik if you have them. Past that, the script might be passing bogus > arguments to the cf, or maybe even the cf cart is faulty. Is your cart one > listed in FlashDevice.sub? > Roger Miranda (Digital Relay) wrote: > First of all thanks for you help, I really do appreciate it. > I do think i got futher yesterday. > > I sure hope this post does not get to large, But I believe if we get some good > documentation for even someone like me to build this than anyone else can :) > > 1) I got a _.disk.full and _.disk.image file yesterday. But the directory > still had the following files in the directory: > --- > file:///usr/obj/nanobsd.full/usr > file:///usr/obj/nanobsd.full/_.w > file:///usr/obj/nanobsd.full/_.mnt > file:///usr/obj/nanobsd.full/make.conf > file:///usr/obj/nanobsd.full/_.mtree > file:///usr/obj/nanobsd.full/_.iw > file:///usr/obj/nanobsd.full/_.ik > file:///usr/obj/nanobsd.full/_.fdisk > file:///usr/obj/nanobsd.full/_.etc > file:///usr/obj/nanobsd.full/_.env > file:///usr/obj/nanobsd.full/_.du > file:///usr/obj/nanobsd.full/_.dl > file:///usr/obj/nanobsd.full/_.disk.image > file:///usr/obj/nanobsd.full/_.disk.full > file:///usr/obj/nanobsd.full/_.di > file:///usr/obj/nanobsd.full/_.bw > file:///usr/obj/nanobsd.full/_.bk > --- > Are these error logs of some sort? Is this normal? > > 2) I'm using a kingston 256Mb CF, I really haven't gotten to the stage of > writing to the card yet. I'm still trying to shrink down nanobsd to fit on > 256mb. > > 3) I created a seperate config file (Look Below). Would this shrink down > nanobsd enough? is there more documentation regarding building config files? > -------- > NANO_NAME=custom > NANO_SRC=/usr/src > NANO_KERNEL=MYKERNEL > NANO_IMAGES=2 > > CONF_BUILD=' > NO_KLDLOAD=YES > NO_NETGRAPH=YES > NO_PAM=YES > ' > > CONF_INSTALL=' > NO_ACPI=YES > NO_BLUETOOTH=YES > NO_CVS=YES > NO_FORTRAN=YES > NO_HTML=YES > NO_LPR=YES > NO_MAN=YES > NO_SENDMAIL=YES > NO_SHAREDOCS=YES > NO_EXAMPLES=YES > NO_INSTALLLIB=YES > NO_CALENDAR=YES > NO_MISC=YES > NO_SHARE=YES > ' > > CONF_WORLD=' > NO_BIND=YES > NO_MODULES=YES > NO_KERBEROS=YES > NO_GAMES=YES > NO_RESCUE=YES > NO_LOCALES=YES > NO_SYSCONS=YES > NO_INFO=YES > ' > > FlashDevice SanDisk 256 > > cust_nobeastie() ( > touch ${NANO_WORLDDIR}/boot/loader.conf > echo "beastie_disable=\"YES\"" >> ${NANO_WORLDDIR}/boot/loader.conf > ) > > customize_cmd cust_comconsole > customize_cmd cust_install_files > customize_cmd cust_allow_ssh_root > customize_cmd cust_nobeastie > ----------------- > > That is normal. Those are the output files from the script. Maybe reading nanobsd.sh would help you out. Also, I doubt you have a MYKERNEL kernel conf file. Tailing _.bk is the buildkernel step, and _.ik is the installkernel step. If you are not familiar with configuring BSD kernels, check out http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html Also, this is what my successful build tree looks like [phocking@www /usr/obj/nanobsd.230_0621200603]$ ls -lh total 759386 -rw-r--r-- 1 root wheel 575K Jun 22 03:16 _.bk -rw-r--r-- 1 root wheel 7.6M Jun 22 03:09 _.bw -rw-r--r-- 1 root wheel 0B Jun 22 03:18 _.cust.cust_allow_ssh_root -rw-r--r-- 1 root wheel 0B Jun 22 03:18 _.cust.cust_comconsole -rw-r--r-- 1 root wheel 277B Jun 22 03:18 _.cust.cust_install_files -rw-r--r-- 1 root wheel 0B Jun 22 03:18 _.cust.cust_nobeastie -rw-r--r-- 1 root wheel 2.5K Jun 22 03:23 _.di -rw-r--r-- 1 root wheel 489M Jun 22 03:22 _.disk.full -rw-r--r-- 1 root wheel 244M Jun 22 03:23 _.disk.image -rw-r--r-- 1 root wheel 53B Jun 22 03:18 _.dl -rw-r--r-- 1 root wheel 8.2K Jun 22 03:20 _.du -rw-r--r-- 1 root wheel 1.1K Jun 22 01:46 _.env -rw-r--r-- 1 root wheel 8.1K Jun 22 03:18 _.etc -rw-r--r-- 1 root wheel 102B Jun 22 03:18 _.fdisk -rw-r--r-- 1 root wheel 1.9K Jun 22 03:18 _.ik -rw-r--r-- 1 root wheel 300K Jun 22 03:18 _.iw drwxr-xr-x 2 root wheel 512B Jun 22 03:18 _.mnt -rw-r--r-- 1 root wheel 254K Jun 22 03:20 _.mtree drwxr-xr-x 18 root wheel 512B Jun 22 03:18 _.w -rw-r--r-- 1 root wheel 251B Jun 22 03:16 make.conf drwxr-xr-x 3 root wheel 512B Jun 22 01:46 usr Hopefully that helps. -- Phillip Hocking Director of Operations / Network Engineer No-Wire Communications phocking@no-wire.net www.no-wire.net