From owner-freebsd-embedded@FreeBSD.ORG Sun Sep 16 18:21:29 2012 Return-Path: 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 D91EA1065675 for ; Sun, 16 Sep 2012 18:21:29 +0000 (UTC) (envelope-from zeus@ibs.dn.ua) Received: from relay.ibs.dn.ua (relay.ibs.dn.ua [91.216.196.25]) by mx1.freebsd.org (Postfix) with ESMTP id 366DB8FC15 for ; Sun, 16 Sep 2012 18:21:28 +0000 (UTC) Received: from ibs.dn.ua (relay.ibs.dn.ua [91.216.196.25]) by relay.ibs.dn.ua with ESMTP id q8GIJV8m031384 for ; Sun, 16 Sep 2012 21:19:32 +0300 (EEST) Message-ID: <20120916211931.31383@relay.ibs.dn.ua> Date: Sun, 16 Sep 2012 21:19:31 +0300 From: Zeus Panchenko To: cc: Organization: I.B.S. LLC X-Mailer: MH-E 8.2; GNU Mailutils 2.99.97; GNU Emacs 23.4.1 X-Face: &sReWXo3Iwtqql1[My(t1Gkx; y?KF@KF`4X+'9Cs@PtK^y%}^.>Mtbpyz6U=,Op:KPOT.uG )Nvx`=er!l?WASh7KeaGhga"1[&yz$_7ir'cVp7o%CGbJ/V)j/=]vzvvcqcZkf; JDurQG6wTg+?/xA go`}1.Ze//K; Fk&/&OoHd'[b7iGt2UO>o(YskCT[_D)kh4!yY'<&:yt+zM=A`@`~9U+P[qS:f; #9z~ Or/Bo#N-'S'!'[3Wog'ADkyMqmGDvga?WW)qd=?)`Y&k=o}>!ST\ Subject: nanoBSD on GPT gpart-ed media ... X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Zeus Panchenko List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2012 18:21:29 -0000 hi all, may somebody advice, please? is it possible to build nano on gpart-ed rather than fdisk-ed media? the problem for me is that in current state, nano builds 4 slices and no way to create additional one to gpart rest of the space as freebsd-zfs -- Zeus V. Panchenko jid:zeus@im.ibs.dn.ua IT Dpt., I.B.S. LLC GMT+2 (EET) From owner-freebsd-embedded@FreeBSD.ORG Sun Sep 16 18:33:47 2012 Return-Path: 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 C71EA106564A for ; Sun, 16 Sep 2012 18:33:47 +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 764368FC0A for ; Sun, 16 Sep 2012 18:33:47 +0000 (UTC) Received: from mx1.psconsult.nl (mx1.hvnu.psconsult.nl [46.44.189.154]) by mx1.psconsult.nl (8.14.5/8.14.4) with ESMTP id q8GIXe6i055459 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 16 Sep 2012 20:33:45 +0200 (CEST) (envelope-from freebsd@psconsult.nl) Received: (from paul@localhost) by mx1.psconsult.nl (8.14.5/8.14.4/Submit) id q8GIXex0055458 for freebsd-embedded@freebsd.org; Sun, 16 Sep 2012 20:33:40 +0200 (CEST) (envelope-from freebsd@psconsult.nl) X-Authentication-Warning: mx1.psconsult.nl: paul set sender to freebsd@psconsult.nl using -f Date: Sun, 16 Sep 2012 20:33:40 +0200 From: Paul Schenkeveld To: freebsd-embedded@freebsd.org Message-ID: <20120916183340.GA55247@psconsult.nl> References: <20120916211931.31383@relay.ibs.dn.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120916211931.31383@relay.ibs.dn.ua> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: nanoBSD on GPT gpart-ed media ... 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: Sun, 16 Sep 2012 18:33:47 -0000 On Sun, Sep 16, 2012 at 09:19:31PM +0300, Zeus Panchenko wrote: > hi all, > > may somebody advice, please? > > is it possible to build nano on gpart-ed rather than fdisk-ed media? Gpart is a tool combining the functionality of fdisk, bsdlabel, gpt and other partition managers and on i386/amd64 systems it's usually used to install either a MBR slice table or a GPT partition table. Assuming what you mean is a GPT partition table. One of the key features of NanoBSD is that there are two bootable root partitions and the boot0 menu is used is case you want to switch back to the previous version after an unsuccesful upgrade. We have no GPT boot loader that provides such a boot menu which makes NanoBSD less compatible with GPT although with some fantasy it should be doable. > the problem for me is that in current state, nano builds 4 slices and no > way to create additional one to gpart rest of the space as freebsd-zfs NanoBSD leaves the fourth slice untouched by default so you can use that one for zfs. In fact, I have several machines running exactly like that. If you also want a swap partition which is not a ZFS volume, you can use bsdlabel to split slice 4 up. E.g. xx4b for swap and xx4d for zfs. HTH With kind regards, Paul Schenkeveld From owner-freebsd-embedded@FreeBSD.ORG Sun Sep 16 19:41:03 2012 Return-Path: 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 689BF1065670 for ; Sun, 16 Sep 2012 19:41:03 +0000 (UTC) (envelope-from zeus@ibs.dn.ua) Received: from relay.ibs.dn.ua (relay.ibs.dn.ua [91.216.196.25]) by mx1.freebsd.org (Postfix) with ESMTP id D169D8FC0A for ; Sun, 16 Sep 2012 19:41:02 +0000 (UTC) Received: from ibs.dn.ua (relay.ibs.dn.ua [91.216.196.25]) by relay.ibs.dn.ua with ESMTP id q8GJexcW036134; Sun, 16 Sep 2012 22:40:59 +0300 (EEST) Message-ID: <20120916224059.36132@relay.ibs.dn.ua> Date: Sun, 16 Sep 2012 22:40:59 +0300 From: Zeus Panchenko To: "Paul Schenkeveld" In-reply-to: Your message of Sun, 16 Sep 2012 20:33:40 +0200 <20120916183340.GA55247@psconsult.nl> References: <20120916211931.31383@relay.ibs.dn.ua> <20120916183340.GA55247@psconsult.nl> Organization: I.B.S. LLC X-Mailer: MH-E 8.2; GNU Mailutils 2.99.97; GNU Emacs 23.4.1 X-Face: &sReWXo3Iwtqql1[My(t1Gkx; y?KF@KF`4X+'9Cs@PtK^y%}^.>Mtbpyz6U=,Op:KPOT.uG )Nvx`=er!l?WASh7KeaGhga"1[&yz$_7ir'cVp7o%CGbJ/V)j/=]vzvvcqcZkf; JDurQG6wTg+?/xA go`}1.Ze//K; Fk&/&OoHd'[b7iGt2UO>o(YskCT[_D)kh4!yY'<&:yt+zM=A`@`~9U+P[qS:f; #9z~ Or/Bo#N-'S'!'[3Wog'ADkyMqmGDvga?WW)qd=?)`Y&k=o}>!ST\ Cc: freebsd-embedded@freebsd.org Subject: Re: nanoBSD on GPT gpart-ed media ... X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Zeus Panchenko List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2012 19:41:03 -0000 Paul Schenkeveld wrote: > > Assuming what you mean is a GPT partition table. > yes > One of the key features of NanoBSD is that there are two bootable root > partitions and the boot0 menu is used is case you want to switch back > to the previous version after an unsuccesful upgrade. but is it possible to sacrifice the feature for the sake of the GPT partitioning? > > NanoBSD leaves the fourth slice untouched by default so you can use that > one for zfs. In fact, I have several machines running exactly like that. > I was unable to use it for zfs :( may you share the .conf file, please? -- Zeus V. Panchenko jid:zeus@im.ibs.dn.ua IT Dpt., I.B.S. LLC GMT+2 (EET) From owner-freebsd-embedded@FreeBSD.ORG Sun Sep 16 19:59:48 2012 Return-Path: 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 C2DB41065674 for ; Sun, 16 Sep 2012 19:59:48 +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 40E0E8FC12 for ; Sun, 16 Sep 2012 19:59:48 +0000 (UTC) Received: from mx1.psconsult.nl (mx1.hvnu.psconsult.nl [46.44.189.154]) by mx1.psconsult.nl (8.14.5/8.14.4) with ESMTP id q8GJxgC5081788 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 16 Sep 2012 21:59:47 +0200 (CEST) (envelope-from freebsd@psconsult.nl) Received: (from paul@localhost) by mx1.psconsult.nl (8.14.5/8.14.4/Submit) id q8GJxgDg081787 for freebsd-embedded@freebsd.org; Sun, 16 Sep 2012 21:59:42 +0200 (CEST) (envelope-from freebsd@psconsult.nl) X-Authentication-Warning: mx1.psconsult.nl: paul set sender to freebsd@psconsult.nl using -f Date: Sun, 16 Sep 2012 21:59:42 +0200 From: Paul Schenkeveld To: freebsd-embedded@freebsd.org Message-ID: <20120916195942.GA81515@psconsult.nl> References: <20120916211931.31383@relay.ibs.dn.ua> <20120916183340.GA55247@psconsult.nl> <20120916224059.36132@relay.ibs.dn.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120916224059.36132@relay.ibs.dn.ua> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: nanoBSD on GPT gpart-ed media ... 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: Sun, 16 Sep 2012 19:59:48 -0000 On Sun, Sep 16, 2012 at 10:40:59PM +0300, Zeus Panchenko wrote: > Paul Schenkeveld wrote: > > > > Assuming what you mean is a GPT partition table. > > > yes > > > One of the key features of NanoBSD is that there are two bootable root > > partitions and the boot0 menu is used is case you want to switch back > > to the previous version after an unsuccesful upgrade. > > but is it possible to sacrifice the feature for the sake of the GPT partitioning? > > > > > NanoBSD leaves the fourth slice untouched by default so you can use that > > one for zfs. In fact, I have several machines running exactly like that. > > > > I was unable to use it for zfs :( > may you share the .conf file, please? We have an extensive build infrastructure around (the original) nanobsd.sh script here so sharing my .conf file would only be a small part of the puzzle I'm afraid. In the .conf file I've set NANO_DATASIZE to the amount of space I want to use for ZFS, nanobsd.sh will divide the rest (minus NANO_CONFSIZE) by 2 for the root partitions. When using a recent nanobsd.sh script, you should redefine the populate_data_slice function to do nothing in your .conf file, something like: populate_data_slice ( ) ( # Don't newfs slice 4! ) Because I use this on hard drives too, I use a modified create_i386_diskimage function that only spits out _.disk.image and not _.disk.full (that would end up to be 500GB for my drives). If you tell me what flash, ssd or disk drives you are using, perhaps I can dicrect you a bit further on the easiest way to proceed. With kind regards, Paul Schenkeveld From owner-freebsd-embedded@FreeBSD.ORG Sun Sep 16 20:43:59 2012 Return-Path: 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 245701065673 for ; Sun, 16 Sep 2012 20:43:59 +0000 (UTC) (envelope-from zeus@ibs.dn.ua) Received: from relay.ibs.dn.ua (relay.ibs.dn.ua [91.216.196.25]) by mx1.freebsd.org (Postfix) with ESMTP id 8E4EF8FC0A for ; Sun, 16 Sep 2012 20:43:57 +0000 (UTC) Received: from ibs.dn.ua (relay.ibs.dn.ua [91.216.196.25]) by relay.ibs.dn.ua with ESMTP id q8GKhtZr039599; Sun, 16 Sep 2012 23:43:55 +0300 (EEST) Message-ID: <20120916234355.39597@relay.ibs.dn.ua> Date: Sun, 16 Sep 2012 23:43:55 +0300 From: Zeus Panchenko To: "Paul Schenkeveld" In-reply-to: Your message of Sun, 16 Sep 2012 21:59:42 +0200 <20120916195942.GA81515@psconsult.nl> References: <20120916211931.31383@relay.ibs.dn.ua> <20120916183340.GA55247@psconsult.nl> <20120916224059.36132@relay.ibs.dn.ua> <20120916195942.GA81515@psconsult.nl> Organization: I.B.S. LLC X-Mailer: MH-E 8.2; GNU Mailutils 2.99.97; GNU Emacs 23.4.1 X-Face: &sReWXo3Iwtqql1[My(t1Gkx; y?KF@KF`4X+'9Cs@PtK^y%}^.>Mtbpyz6U=,Op:KPOT.uG )Nvx`=er!l?WASh7KeaGhga"1[&yz$_7ir'cVp7o%CGbJ/V)j/=]vzvvcqcZkf; JDurQG6wTg+?/xA go`}1.Ze//K; Fk&/&OoHd'[b7iGt2UO>o(YskCT[_D)kh4!yY'<&:yt+zM=A`@`~9U+P[qS:f; #9z~ Or/Bo#N-'S'!'[3Wog'ADkyMqmGDvga?WW)qd=?)`Y&k=o}>!ST\ Cc: freebsd-embedded@freebsd.org Subject: Re: nanoBSD on GPT gpart-ed media ... X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Zeus Panchenko List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2012 20:43:59 -0000 thank you much, Paul Paul Schenkeveld wrote: > > If you tell me what flash, ssd or disk drives you are using, perhaps I > can dicrect you a bit further on the easiest way to proceed. > 8/16Gb microSD card -- Zeus V. Panchenko jid:zeus@im.ibs.dn.ua IT Dpt., I.B.S. LLC GMT+2 (EET) From owner-freebsd-embedded@FreeBSD.ORG Mon Sep 17 11:07:03 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 3C68D1065690 for ; Mon, 17 Sep 2012 11:07:03 +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 275908FC1F for ; Mon, 17 Sep 2012 11:07:03 +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 q8HB73Qb004403 for ; Mon, 17 Sep 2012 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8HB72Zh004401 for freebsd-embedded@FreeBSD.org; Mon, 17 Sep 2012 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 17 Sep 2012 11:07:02 GMT Message-Id: <201209171107.q8HB72Zh004401@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, 17 Sep 2012 11:07:03 -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.