Date: Wed, 17 Oct 2012 04:55:56 -0700 (PDT) From: Jack Mc Lauren <jack.mclauren@yahoo.com> To: "freebsd-embedded@freebsd.org" <freebsd-embedded@freebsd.org> Subject: some problems with nanobsd Message-ID: <1350474956.88226.YahooMailNeo@web126001.mail.ne1.yahoo.com> In-Reply-To: <1350474085.65221.YahooMailNeo@web126004.mail.ne1.yahoo.com> References: <1350471464.96400.YahooMailNeo@web126006.mail.ne1.yahoo.com> <507E9077.6000207@farrokhi.net> <1350474085.65221.YahooMailNeo@web126004.mail.ne1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
hi=0Ai have some problems with nanobsd, please help me ...=0Athis is my nan= obsd.sh file :=0A=0A=0A=0A# Name of this NanoBSD build.=A0 (Used to constru= ct workdir names)=0ANANO_NAME=3Dfull=0A=0A# Source tree directory=0ANANO_SR= C=3D/usr/src=0A=0A# Where nanobsd additional files live under the source tr= ee=0ANANO_TOOLS=3Dtools/tools/nanobsd=0A=0A# Where cust_pkg() finds package= s to install=0ANANO_PACKAGE_DIR=3D${NANO_SRC}/${NANO_TOOLS}/Pkg=0ANANO_PACK= AGE_LIST=3D"*"=0A=0A# Object tree=0A directory=0A# default is subdir of /us= r/obj=0A#NANO_OBJ=3D"/usr/images"=0A=0A# The directory to put the final ima= ges=0A# default is ${NANO_OBJ}=0A#NANO_DISKIMGDIR=3D""=0A=0A# Parallel Make= =0ANANO_PMAKE=3D"make -j 3"=0A=0A# The default name for any image we create= .=0ANANO_IMGNAME=3D"_.disk.full"=0A=0A# Options to put in make.conf during = buildworld only=0A#CONF_BUILD=3D' '=0A=0A# Options to put in make.conf duri= ng installworld only=0A#CONF_INSTALL=3D' '=0A=0A# Options to put in make.co= nf during both build- & installworld.=0A#CONF_WORLD=3D'=0A '=0A=0ACONF_BUIL= D=3D'=0ANO_KLDLOAD=3DYES=0ANO_NETGRAPH=3DYES=0ANO_PAM=3DYES=0A'=0ACONF_INST= ALL=3D'=0ANO_ACPI=3DYES=0ANO_BLUETOOTH=3DYES=0ANO_CVS=3DYES=0ANO_FORTRAN=3D= YES=0ANO_HTML=3DYES=0ANO_LPR=3DYES=0ANO_MAN=3DYES=0ANO_SENDMAIL=3DYES=0ANO_= SHAREDOCS=3DYES=0ANO_EXAMPLES=3DYES=0ANO_INSTALLLIB=3DYES=0ANO_CALENDAR=3DY= ES=0ANO_MISC=3DYES=0ANO_SHARE=3DYES=0A'=0ACONF_WORLD=3D'=0AWITHOUT_BIND=3DY= ES=0AWITHOUT_BLUETOOTH=3DYES=0AWITHOUT_CALENDAR=3DYES=0AWITHOUT_EXAMPLES=3D= YES=0AWITHOUT_FORTRAN=3DYES=0AWITHOUT_GAMES=3DYES=0AWITHOUT_I4B=3DYES=0AWIT= HOUT_INET6=3DYES=0AWITHOUT_INFO=3DYES=0AWITHOUT_IPX=3DYES=0AWITHOUT_KERBERO= S=3DYES=0AWITHOUT_MAN=3DYES=0AWITHOUT_SPP=3DYES=0AWITHOUT_SYSCONS=3DYES=0AW= ITHOUT_USB=3DYES=0AWITHOUT_WPA_SUPPLICANT_EAPOL=3DYES=0AWITHOUT_ZFS=3DYES= =0A'=0A=0A=0A# Kernel config file to use=0ANANO_KERNEL=3DGENERIC=0A=0A# Cus= tomize commands.=0ANANO_CUSTOMIZE=3D""=0A=0A# Late customize commands.=0ANA= NO_LATE_CUSTOMIZE=3D""=0A=0A# Newfs paramters to use=0ANANO_NEWFS=3D"-b 409= 6 -f=0A 512 -i 8192 -O1 -U"=0A=0A# The drive name of the media at runtime= =0ANANO_DRIVE=3Dad0=0A=0A# Target media size in 512 bytes sectors=0ANANO_ME= DIASIZE=3D1200000=0A=0A# Number of code images on media (1 or 2)=0ANANO_IMA= GES=3D2=0A=0A# 0 -> Leave second image all zeroes so it compresses better.= =0A# 1 -> Initialize second image with a copy of the first=0ANANO_INIT_IMG2= =3D1=0A=0A# Size of code file system in 512 bytes sectors=0A# If zero, size= will be as large as possible.=0ANANO_CODESIZE=3D0=0A=0A# Size of configura= tion file system in 512 bytes sectors=0A# Cannot be zero.=0ANANO_CONFSIZE= =3D2048=0A=0A# Size of data file system in 512 bytes sectors=0A# If zero: n= o partition configured.=0A# If negative: max size possible=0ANANO_DATASIZE= =3D0=0A=0A# Size of the /etc ramdisk in 512 bytes sectors=0ANANO_RAM_ETCSIZ= E=3D10240=0A=0A# Size of the /tmp+/var ramdisk in 512 bytes sectors=0ANANO_= RAM_TMPVARSIZE=3D10240=0A=0A# Media geometry, only relevant=0A if bios does= n't understand LBA.=0ANANO_SECTS=3D63=0ANANO_HEADS=3D16=0A=0A# boot0 flags/= options and configuration=0ANANO_BOOT0CFG=3D"-o packet -s 1 -m 3"=0ANANO_BO= OTLOADER=3D"boot/boot0sio"=0A=0A# boot2 flags/options=0A# default force ser= ial console=0ANANO_BOOT2CFG=3D"-h"=0A=0A# Backing type of md(4) device=0A# = Can be "file" or "swap"=0ANANO_MD_BACKING=3D"file"=0A=0A# Progress Print le= vel=0APPLEVEL=3D3=0A=0Aafter running this command :=0A=0A[root@ /usr/src/to= ols/tools/nanobsd]# sh nanobsd.sh=0Ai have these output messages :=0A=0A00:= 00:00 # NanoBSD image full build starting=0A00:00:00 ## Clean and create ob= ject directory=0A (/usr/obj/nanobsd.full/)=0A00:00:00 ## Construct build ma= ke.conf (/usr/obj/nanobsd.full//make.conf.build)=0A00:00:00 ## run buildwor= ld=0A00:00:00 ### log: /usr/obj/nanobsd.full//_.bw=0A00:31:12 ## build kern= el (GENERIC)=0A00:31:12 ### log: /usr/obj/nanobsd.full//_.bk=0A00:41:10 ## = Clean and create world directory (/usr/obj/nanobsd.full//_.w)=0A00:41:10 ##= Construct install make.conf (/usr/obj/nanobsd.full//make.conf.install)=0A0= 0:41:10 ## installworld=0A00:41:10 ### log: /usr/obj/nanobsd.full//_.iw=0A0= 0:41:51 ## install /etc=0A00:41:51 ### log: /usr/obj/nanobsd.full//_.etc=0A= 00:41:52 ## configure nanobsd /etc=0A00:41:52 ## install kernel=0A00:41:52 = ### log: /usr/obj/nanobsd.full//_.ik=0A00:42:16 ## run customize scripts=0A= 00:42:16 ## configure nanobsd setup=0A00:42:16 ### log: /usr/obj/nanobsd.fu= ll//_.dl=0A00:42:16 ## run late customize scripts=0A00:42:16 ## build diski= mage=0A00:42:16 ### log:=0A /usr/obj/nanobsd.full//_.di=0A=0A/usr/obj/nanob= sd.full/_.mnt: write failed, filesystem is full=0A[root@ /usr/src/tools/too= ls/nanobsd]#=0A=0Awhat does this error say? and how can i solve the problem= ?=0A=0A=0Athe other problem is that whether i have lots of WITHOUT options= or a few , volume of _.disk.full is about 600MB. what should i do in order= to have a very light image? what options should i set ?=0A=0Athank you all= ... From owner-freebsd-embedded@FreeBSD.ORG Wed Oct 17 13:16:33 2012 Return-Path: <owner-freebsd-embedded@FreeBSD.ORG> Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4DFB875C for <freebsd-embedded@freebsd.org>; Wed, 17 Oct 2012 13:16:33 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 085678FC0C for <freebsd-embedded@freebsd.org>; Wed, 17 Oct 2012 13:16:32 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id k10so15337591iea.13 for <freebsd-embedded@freebsd.org>; Wed, 17 Oct 2012 06:16:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=bB483Dl4LNgV+FzrorHK4PrOxh2H6S8V/etCWewqG1c=; b=aVpsBZk+aJ6JAyUQu1Q4MqUE/XX1u7VjrSmv/AkbewuvlMB7V5ltd1vvtEmqmFp9KB itqTjzEGZSBYSQ1L1oN3b4/IFbE3ysuJX8dMR67jmqSPUdNuLS/R9wS0jpcs6xeN3v/e zf75UKGw7eagkGI/ZFSoANC9DtHIqoXbdruTJUQS8sLX0CYqO6cmV7pHHwTOtb2SdrFZ 1EthqMMtwuQ3qfYP0cBnmTusVrcSh1SL/sfRDSbamUJpbRBhBVXW5nEhOTWM2HbgAtNA szkfLabvKKlu9x+KAf3qStGnTbIdCNc7p/c/Wldq7r0bCm9BuIwN+OKESc0P2jJW2PuB jKlg== Received: by 10.50.169.100 with SMTP id ad4mr1449206igc.50.1350479792429; Wed, 17 Oct 2012 06:16:32 -0700 (PDT) Received: from 63.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id 7sm10885097igh.0.2012.10.17.06.16.17 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 17 Oct 2012 06:16:29 -0700 (PDT) Sender: Warner Losh <wlosh@bsdimp.com> Subject: Re: some problems with nanobsd Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh <imp@bsdimp.com> In-Reply-To: <1350474956.88226.YahooMailNeo@web126001.mail.ne1.yahoo.com> Date: Wed, 17 Oct 2012 07:16:15 -0600 Content-Transfer-Encoding: 7bit Message-Id: <D0A59464-DC37-481F-AF46-3A1D692F2CB4@bsdimp.com> References: <1350471464.96400.YahooMailNeo@web126006.mail.ne1.yahoo.com> <507E9077.6000207@farrokhi.net> <1350474085.65221.YahooMailNeo@web126004.mail.ne1.yahoo.com> <1350474956.88226.YahooMailNeo@web126001.mail.ne1.yahoo.com> To: Jack Mc Lauren <jack.mclauren@yahoo.com> X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQlvh5r0mu7d/0szhZuVXyuqJQTMq8dgS2kNg/EAm/QyBTJca83wxFQVj4ncNbceToYvHUJ+ Cc: "freebsd-embedded@freebsd.org" <freebsd-embedded@freebsd.org> X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems <freebsd-embedded.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-embedded>, <mailto:freebsd-embedded-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-embedded> List-Post: <mailto:freebsd-embedded@freebsd.org> List-Help: <mailto:freebsd-embedded-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-embedded>, <mailto:freebsd-embedded-request@freebsd.org?subject=subscribe> X-List-Received-Date: Wed, 17 Oct 2012 13:16:33 -0000 On Oct 17, 2012, at 5:55 AM, Jack Mc Lauren wrote: > NANO_MEDIASIZE=1200000 Make this bigger. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1350474956.88226.YahooMailNeo>