From owner-freebsd-embedded@FreeBSD.ORG Mon Mar 5 02:52:56 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7A7C106566C for ; Mon, 5 Mar 2012 02:52:56 +0000 (UTC) (envelope-from espartano.mail@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 873918FC18 for ; Mon, 5 Mar 2012 02:52:56 +0000 (UTC) Received: by vcmm1 with SMTP id m1so2094292vcm.13 for ; Sun, 04 Mar 2012 18:52:56 -0800 (PST) Received-SPF: pass (google.com: domain of espartano.mail@gmail.com designates 10.52.77.101 as permitted sender) client-ip=10.52.77.101; Authentication-Results: mr.google.com; spf=pass (google.com: domain of espartano.mail@gmail.com designates 10.52.77.101 as permitted sender) smtp.mail=espartano.mail@gmail.com; dkim=pass header.i=espartano.mail@gmail.com Received: from mr.google.com ([10.52.77.101]) by 10.52.77.101 with SMTP id r5mr32331636vdw.109.1330915976050 (num_hops = 1); Sun, 04 Mar 2012 18:52:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=0VW32xvemZ4WFzAwM1ERhhJCRRpdt5u4iyav4XaLKtQ=; b=DmnaZ7ukUWiqXn5c3WFIp0QJdaRYjhSVxzZw1Y9/MFDh0ZsOyLAymvZ1PsHgpo/eYr +SPtpgz0kjuwG6rftWDQnRhCrZ4eKumAv69Y2JCL5GECEQlbE538rJW/QFzgOFomksav ZwpdGQyG9tdoiszcOlYN6LHIFhmbfCFN6YTgVmzcwGRpIJPXmtgfebSUCRtxgVIukqdm B4vg2CXimYNGNJpVHDfak7mllyj2vKGfUE23JWfmHtaCST6mYb0Rx1GpmuDJ0Xc/7Ieg LEnkJhfMqnwdMGtxQ3gjw/t7e9v3tel0ssjJMRYRBR4XKVEUEsYhsdAgsvYUAy5wyOrY 3xNg== MIME-Version: 1.0 Received: by 10.52.77.101 with SMTP id r5mr27645600vdw.109.1330914280853; Sun, 04 Mar 2012 18:24:40 -0800 (PST) Received: by 10.52.116.105 with HTTP; Sun, 4 Mar 2012 18:24:40 -0800 (PST) Date: Sun, 4 Mar 2012 20:24:40 -0600 Message-ID: From: Espartano To: freebsd-embedded@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Problem with nanobsd compilation X-BeenThere: freebsd-embedded@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: Mon, 05 Mar 2012 02:52:57 -0000 Hi folks, I have a problem compiling nanobsd, this is the problem: I'm compiling NanoBSD from my laptop, when the compilation finish and I reboot the laptop I can't boot freebsd correctly anymore, the boot0 stage looks correctly since I can see the boot menu like this in my screen: F1 win F2 FreeBSD F6 pxe Default: F2 Then when I press F2 key the characters | / - \ start to spin and suddenly it freeze, I had to boot from live-cd and mount the FreeBSD's partition by hand in order to verify why FreeBSD was not be able to boot, then I realized that /boot.config file was added to root directory just after nanobsd compilation finished, I removed that file and rebooted the laptop and now the boot process works perfect. The content of the /boot.config was this: [espartano@daemonlap ~]$ cat /boot.config -h [espartano@daemonlap ~]$ My question is, why NanoBSD's compilation added this file to my laptop's root directory ? It could be a NanoBSD bug script ? This is my NanoBSD configuration file: NANO_NAME=ZROUTER NANO_KERNEL=ALIX9.0 NANO_IMAGES=1 NANO_DRIVE=ad0 # !! important for ALIX boards !! NANO_BOOT0CFG="-o nopacket -s 1 -m 3" NANO_PMAKE="make -j 3" NANO_CONFSIZE=102400 NANO_RAM_TMPVARSIZE=20480 NANO_RAM_ETCSIZE=10240 #NANO_NEWFS="-b 4096 -f 512 -i 8192 -O1 -U" FlashDevice sandisk 512mb customize_cmd cust_install_files customize_cmd cust_allow_ssh_root cust_comconsole CONF_INSTALL=' WITHOUT_BIND=YES WITHOUT_BLUETOOTH=YES WITHOUT_CALENDAR=YES #WITHOUT_EXAMPLES=YES WITHOUT_GDB=YES WITHOUT_SENDMAIL=YES WITHOUT_TOOLCHAIN=YES ' CONF_WORLD=' WITHOUT_ASSERT_DEBUG=YES #WITHOUT_BIND=YES WITHOUT_CTM=YES WITHOUT_CVS=YES WITHOUT_CXX=YES WITHOUT_DICT=YES WITHOUT_GCOV=YES WITHOUT_GPIB=YES WITHOUT_HTML=YES WITHOUT_INET6=YES WITHOUT_INFO=YES WITHOUT_IPFILTER=YES WITHOUT_IPFW=YES WITHOUT_IPX=YES WITHOUT_LPR=YES WITHOUT_MAIL=YES WITHOUT_NIS=YES WITHOUT_NLS=YES WITHOUT_RCMDS=YES WITHOUT_RCS=YES WITHOUT_SENDMAIL=YES WITHOUT_SHAREDOCS=YES #WITHOUT_USB=YES WITHOUT_ZFS=YES ' Thanks a lot. From owner-freebsd-embedded@FreeBSD.ORG Mon Mar 5 09:53:05 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D91D106567E for ; Mon, 5 Mar 2012 09:53:05 +0000 (UTC) (envelope-from freebsd@psconsult.nl) Received: from mx1.psconsult.nl (unknown [IPv6:2001:7b8:30f:e0::5059:ee8a]) by mx1.freebsd.org (Postfix) with ESMTP id 20AA48FC19 for ; Mon, 5 Mar 2012 09:53:04 +0000 (UTC) Received: from mx1.psconsult.nl (mx1.iaf.psconsult.nl [80.89.238.138]) by mx1.psconsult.nl (8.14.4/8.14.4) with ESMTP id q259qwMf036703 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 5 Mar 2012 10:53:03 +0100 (CET) (envelope-from freebsd@psconsult.nl) Received: (from paul@localhost) by mx1.psconsult.nl (8.14.4/8.14.4/Submit) id q259qwGM036702 for freebsd-embedded@freebsd.org; Mon, 5 Mar 2012 10:52:58 +0100 (CET) (envelope-from freebsd@psconsult.nl) X-Authentication-Warning: mx1.psconsult.nl: paul set sender to freebsd@psconsult.nl using -f Date: Mon, 5 Mar 2012 10:52:58 +0100 From: Paul Schenkeveld To: freebsd-embedded@freebsd.org Message-ID: <20120305095258.GA36596@psconsult.nl> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: Problem with nanobsd compilation X-BeenThere: freebsd-embedded@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: Mon, 05 Mar 2012 09:53:05 -0000 On Sun, Mar 04, 2012 at 08:24:40PM -0600, Espartano wrote: > Hi folks, I have a problem compiling nanobsd, this is the problem: > > I'm compiling NanoBSD from my laptop, when the compilation finish and > I reboot the laptop I can't boot freebsd correctly anymore, the boot0 > stage looks correctly since I can see the boot menu like this in my > screen: > > F1 win > F2 FreeBSD > F6 pxe > > Default: F2 > > Then when I press F2 key the characters | / - \ start to spin and > suddenly it freeze, I had to boot from live-cd and mount the FreeBSD's > partition by hand in order to verify why FreeBSD was not be able to > boot, then I realized that /boot.config file was added to root > directory just after nanobsd compilation finished, I removed that file > and rebooted the laptop and now the boot process works perfect. > > The content of the /boot.config was this: > > [espartano@daemonlap ~]$ cat /boot.config > -h > [espartano@daemonlap ~]$ > > My question is, why NanoBSD's compilation added this file to my > laptop's root directory ? > > It could be a NanoBSD bug script ? > > This is my NanoBSD configuration file: > > NANO_NAME=ZROUTER > NANO_KERNEL=ALIX9.0 > NANO_IMAGES=1 > NANO_DRIVE=ad0 > > # !! important for ALIX boards !! > NANO_BOOT0CFG="-o nopacket -s 1 -m 3" > NANO_PMAKE="make -j 3" > > NANO_CONFSIZE=102400 > NANO_RAM_TMPVARSIZE=20480 > NANO_RAM_ETCSIZE=10240 > > #NANO_NEWFS="-b 4096 -f 512 -i 8192 -O1 -U" > > FlashDevice sandisk 512mb > > customize_cmd cust_install_files > customize_cmd cust_allow_ssh_root > cust_comconsole This should be: customize_cmd cust_comconsole By leaving out the "customize_cmd" you immediately invoke the cust_comconsole function which creates the /boot.config file but also changes /etc/ttys (disable VGA console, enable serial console). With "customize_cmd" you schedule the execution of cust_comconsole within the NanoBSD tree. With kind regards, Paul Schenkeveld From owner-freebsd-embedded@FreeBSD.ORG Mon Mar 5 11:07:05 2012 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DB88106566C for ; Mon, 5 Mar 2012 11:07:05 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E7D738FC20 for ; Mon, 5 Mar 2012 11:07:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q25B74S6034815 for ; Mon, 5 Mar 2012 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q25B74gM034813 for freebsd-embedded@FreeBSD.org; Mon, 5 Mar 2012 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 5 Mar 2012 11:07:04 GMT Message-Id: <201203051107.q25B74gM034813@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-embedded@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org X-BeenThere: freebsd-embedded@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: Mon, 05 Mar 2012 11:07:05 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c 2 problems total.