From owner-freebsd-arch@FreeBSD.ORG Sun Sep 19 17:34:26 2010 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD0BF10656A9; Sun, 19 Sep 2010 17:34:24 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id D26FC8FC22; Sun, 19 Sep 2010 17:34:23 +0000 (UTC) Received: from [85.172.15.130] (helo=alya) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1OxNPi-00080i-EG; Sun, 19 Sep 2010 21:10:54 +0400 From: Boris Samorodov To: Pawel Jakub Dawidek References: <20100917234542.GE1902@garage.freebsd.pl> Date: Sun, 19 Sep 2010 21:10:52 +0400 In-Reply-To: <20100917234542.GE1902@garage.freebsd.pl> (Pawel Jakub Dawidek's message of "Sat, 18 Sep 2010 01:45:42 +0200") Message-ID: <16411667@ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-current@FreeBSD.org, freebsd-arch@FreeBSD.org Subject: Re: gptboot rewrite, bootonce, etc. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2010 17:34:26 -0000 Hi! On Sat, 18 Sep 2010 01:45:42 +0200 Pawel Jakub Dawidek wrote: > My company was in need for functionality similar to nextboot(8), but on > boot loader level, so we can have two partitions we boot from where one > is known to be good and the other is used for upgrades. We upgrade by > dd(1)ing entire partition image onto unused partition, we mark it as > try-to-boot-from-it-but-only-once, reboot and if we fail to boot from > the new partition, we fall back to the old, good partition. If we > succeed on the other hand, we mark the new partition as our boot > partition and mark the other one as unused. > Well, how hard can it be? > After around two weeks of work, I ended up rewriting gptboot in large > parts, reorganizing a lot of code, improving and extending gpart a bit > and implementing desire functionality. > Here is the patch for review and test: > http://people.freebsd.org/~pjd/patches/gptboot.patch Great! Since I need to have both i386 and amd64 at my box here are my test results: ----- [~]bsam@alya% uname -a FreeBSD alya 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r212758M: Sat Sep 18 16:13:38 MSD 2010 bsam@alya:/space/FreeBSD/base/head/obj/space/FreeBSD/base/head/src/sys/ALYA amd64 [~]bsam@alya% glabel status Name Status Components gptid/c6053c9b-abcc-11df-b740-00251124aff4 N/A ad4p1 label/9-amd64 N/A ad4p2 label/swap N/A ad4p3 label/space N/A ad4p4 label/9-i386 N/A ad4p5 [~]bsam@alya% mount /dev/label/9-amd64 on / (ufs, local) devfs on /dev (devfs, local, multilabel) /dev/label/space on /space (ufs, local) /dev/md0 on /tmp (ufs, local, nosuid, soft-updates) procfs on /proc (procfs, local) linprocfs on /compat/linux/proc (linprocfs, local) linsysfs on /compat/linux/sys (linsysfs, local) fdescfs on /dev/fd (fdescfs) [~]bsam@alya% gpart show => 34 490234685 ad4 GPT (234G) 34 128 1 freebsd-boot (64K) 162 41943040 2 freebsd-ufs (20G) 41943202 8388608 3 freebsd-swap (4.0G) 50331810 209715200 4 freebsd-ufs (100G) 260047010 41943040 5 freebsd-ufs (20G) 301990050 188244669 - free - (90G) [~]bsam@alya% gpart set -a bootme -i 2 ad4 bootme set on ad4p2 [~]bsam@alya% gpart set -a bootonce -i 5 ad4 bootonce set on ad4p5 [~]bsam@alya% gpart show => 34 490234685 ad4 GPT (234G) 34 128 1 freebsd-boot (64K) 162 41943040 2 freebsd-ufs [bootme] (20G) 41943202 8388608 3 freebsd-swap (4.0G) 50331810 209715200 4 freebsd-ufs (100G) 260047010 41943040 5 freebsd-ufs [bootonce,bootme] (20G) 301990050 188244669 - free - (90G) ----- Install i386 kernel/world to ad4p5, successful reboot, get i386 system. Next reboot (get amd64 system back): ----- [~]bsam@alya% gpart show => 34 490234685 ad4 GPT (234G) 34 128 1 freebsd-boot (64K) 162 41943040 2 freebsd-ufs [bootme] (20G) 41943202 8388608 3 freebsd-swap (4.0G) 50331810 209715200 4 freebsd-ufs (100G) 260047010 41943040 5 freebsd-ufs (20G) 301990050 188244669 - free - (90G) ----- All seems to work fine. > Any comments or suggestions? Only one for now. With current default syslog configuration logging to local0.warning and local0.info goes nowhere. It will be good if those messages have traces at the default system. Thank you! That's really great. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-arch@FreeBSD.ORG Sun Sep 19 23:46:46 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20583106564A; Sun, 19 Sep 2010 23:46:46 +0000 (UTC) (envelope-from oliver.pntr@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 800948FC1A; Sun, 19 Sep 2010 23:46:45 +0000 (UTC) Received: by fxm9 with SMTP id 9so504430fxm.13 for ; Sun, 19 Sep 2010 16:46:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=oF/W1e25sMaehEvpHzBMx7JSMRLrUmoKwcpwIzGrdxs=; b=AzVzR0Lknet5J1ryzE4AnOjuEi/7Lglfp33uJUGps4rE+vj+3usCPkkUHgBPa273kL NSqa0qNGihm4nbhixM+8QekllDOPH/ur0Kzo/+wxeNxR8y2mPePx92N7PUgfP46JdR0N 0sfQ5zxtXSM1mGQl6hO7kJgPgB0gBt9ad8h1w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=MJ3cp8j18jajXJbqWuVYKNpj7Jk//5xyLbCk81pVPbif1jNMJqL2f73O7rNvL2fnyX Eh6FQig24UILbMHIvJRLd2cJ0T/YywC1eHYBJMeaF6mY10nvPFk7gp2DWXU1y1Q/Lw5S Eb2rCh9GMQ4dF/4KC62LwQRa60t0EevAypki4= MIME-Version: 1.0 Received: by 10.103.138.4 with SMTP id q4mr452924mun.26.1284938258957; Sun, 19 Sep 2010 16:17:38 -0700 (PDT) Received: by 10.102.23.19 with HTTP; Sun, 19 Sep 2010 16:17:38 -0700 (PDT) In-Reply-To: <16411667@ipt.ru> References: <20100917234542.GE1902@garage.freebsd.pl> <16411667@ipt.ru> Date: Mon, 20 Sep 2010 01:17:38 +0200 Message-ID: From: Oliver Pinter To: Boris Samorodov Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org, Pawel Jakub Dawidek , freebsd-arch@freebsd.org Subject: Re: gptboot rewrite, bootonce, etc. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2010 23:46:46 -0000 Hi PJD! Can you this patcheset release for 7-STABLE? On 9/19/10, Boris Samorodov wrote: > Hi! > > On Sat, 18 Sep 2010 01:45:42 +0200 Pawel Jakub Dawidek wrote: > >> My company was in need for functionality similar to nextboot(8), but on >> boot loader level, so we can have two partitions we boot from where one >> is known to be good and the other is used for upgrades. We upgrade by >> dd(1)ing entire partition image onto unused partition, we mark it as >> try-to-boot-from-it-but-only-once, reboot and if we fail to boot from >> the new partition, we fall back to the old, good partition. If we >> succeed on the other hand, we mark the new partition as our boot >> partition and mark the other one as unused. > >> Well, how hard can it be? > >> After around two weeks of work, I ended up rewriting gptboot in large >> parts, reorganizing a lot of code, improving and extending gpart a bit >> and implementing desire functionality. > >> Here is the patch for review and test: > >> http://people.freebsd.org/~pjd/patches/gptboot.patch > > Great! Since I need to have both i386 and amd64 at my box > here are my test results: > ----- > [~]bsam@alya% uname -a > FreeBSD alya 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r212758M: Sat Sep 18 > 16:13:38 MSD 2010 > bsam@alya:/space/FreeBSD/base/head/obj/space/FreeBSD/base/head/src/sys/ALYA > amd64 > > [~]bsam@alya% glabel status > Name Status Components > gptid/c6053c9b-abcc-11df-b740-00251124aff4 N/A ad4p1 > label/9-amd64 N/A ad4p2 > label/swap N/A ad4p3 > label/space N/A ad4p4 > label/9-i386 N/A ad4p5 > [~]bsam@alya% mount > /dev/label/9-amd64 on / (ufs, local) > devfs on /dev (devfs, local, multilabel) > /dev/label/space on /space (ufs, local) > /dev/md0 on /tmp (ufs, local, nosuid, soft-updates) > procfs on /proc (procfs, local) > linprocfs on /compat/linux/proc (linprocfs, local) > linsysfs on /compat/linux/sys (linsysfs, local) > fdescfs on /dev/fd (fdescfs) > > [~]bsam@alya% gpart show > => 34 490234685 ad4 GPT (234G) > 34 128 1 freebsd-boot (64K) > 162 41943040 2 freebsd-ufs (20G) > 41943202 8388608 3 freebsd-swap (4.0G) > 50331810 209715200 4 freebsd-ufs (100G) > 260047010 41943040 5 freebsd-ufs (20G) > 301990050 188244669 - free - (90G) > > [~]bsam@alya% gpart set -a bootme -i 2 ad4 > bootme set on ad4p2 > [~]bsam@alya% gpart set -a bootonce -i 5 ad4 > bootonce set on ad4p5 > [~]bsam@alya% gpart show > => 34 490234685 ad4 GPT (234G) > 34 128 1 freebsd-boot (64K) > 162 41943040 2 freebsd-ufs [bootme] (20G) > 41943202 8388608 3 freebsd-swap (4.0G) > 50331810 209715200 4 freebsd-ufs (100G) > 260047010 41943040 5 freebsd-ufs [bootonce,bootme] (20G) > 301990050 188244669 - free - (90G) > ----- > > Install i386 kernel/world to ad4p5, successful reboot, get i386 > system. Next reboot (get amd64 system back): > ----- > [~]bsam@alya% gpart show > => 34 490234685 ad4 GPT (234G) > 34 128 1 freebsd-boot (64K) > 162 41943040 2 freebsd-ufs [bootme] (20G) > 41943202 8388608 3 freebsd-swap (4.0G) > 50331810 209715200 4 freebsd-ufs (100G) > 260047010 41943040 5 freebsd-ufs (20G) > 301990050 188244669 - free - (90G) > ----- > > All seems to work fine. > >> Any comments or suggestions? > > Only one for now. With current default syslog configuration > logging to local0.warning and local0.info goes nowhere. > It will be good if those messages have traces at the > default system. > > > Thank you! That's really great. > > -- > WBR, Boris Samorodov (bsam) > Research Engineer, http://www.ipt.ru Telephone & Internet SP > FreeBSD Committer, http://www.FreeBSD.org The Power To Serve > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-arch@FreeBSD.ORG Mon Sep 20 01:51:01 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 518D61065672; Mon, 20 Sep 2010 01:51:01 +0000 (UTC) (envelope-from davidxu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 270158FC08; Mon, 20 Sep 2010 01:51:01 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8K1oxJ8005649; Mon, 20 Sep 2010 01:50:59 GMT (envelope-from davidxu@freebsd.org) Message-ID: <4C972E83.7090603@freebsd.org> Date: Mon, 20 Sep 2010 09:50:59 +0000 From: David Xu User-Agent: Thunderbird 2.0.0.24 (X11/20100630) MIME-Version: 1.0 To: freebsd-arch@freebsd.org References: 20030622200641.D56263@gamplex.bde.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: David Schultz , Marcel Moolenaar Subject: Per-source CFLAGS again X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 01:51:01 -0000 I found a topic about per-source CFLAGS, http://lists.freebsd.org/pipermail/freebsd-arch/2003-June/000906.html and it seems the patch was never committed, why ? I feel it is useful because I want to compile those files which have cancellation points with compiler flag -fexceptions, for example, POSIX semaphore cancellation point in libc must be compiled with -fexceptions to support stack unwinding. Regards, David Xu From owner-freebsd-arch@FreeBSD.ORG Mon Sep 20 03:19:38 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 369A61065694; Mon, 20 Sep 2010 03:19:38 +0000 (UTC) (envelope-from das@freebsd.org) Received: from zim.MIT.EDU (ZIM.MIT.EDU [18.95.3.101]) by mx1.freebsd.org (Postfix) with ESMTP id EDDD78FC15; Mon, 20 Sep 2010 03:19:37 +0000 (UTC) Received: from zim.MIT.EDU (localhost [127.0.0.1]) by zim.MIT.EDU (8.14.3/8.14.2) with ESMTP id o8K2jggc025761; Sun, 19 Sep 2010 22:45:42 -0400 (EDT) (envelope-from das@freebsd.org) Received: (from das@localhost) by zim.MIT.EDU (8.14.3/8.14.2/Submit) id o8K2jg9u025760; Sun, 19 Sep 2010 22:45:42 -0400 (EDT) (envelope-from das@freebsd.org) Date: Sun, 19 Sep 2010 22:45:42 -0400 From: David Schultz To: David Xu Message-ID: <20100920024542.GA25717@zim.MIT.EDU> Mail-Followup-To: David Xu , freebsd-arch@freebsd.org, Marcel Moolenaar , Bruce Evans References: <4C972E83.7090603@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C972E83.7090603@freebsd.org> Cc: Marcel Moolenaar , freebsd-arch@freebsd.org Subject: Re: Per-source CFLAGS again X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 03:19:38 -0000 The reason I proposed the feature was so that we could compile the parts of libc that come from a third party (namely, gdtoa) with different warning flags than the rest of libc. It was not committed because someone else proposed a simpler way to get make to use different flags for gdtoa. I suppose it wouldn't hurt to commit it it's needed for something else, but I think Marcel also had some philosophical objections to the proposal. On Mon, Sep 20, 2010, David Xu wrote: > I found a topic about per-source CFLAGS, > http://lists.freebsd.org/pipermail/freebsd-arch/2003-June/000906.html > > and it seems the patch was never committed, why ? > I feel it is useful because I want to compile those files which > have cancellation points with compiler flag -fexceptions, for example, > POSIX semaphore cancellation point in libc must be compiled with > -fexceptions to support stack unwinding. > > Regards, > David Xu From owner-freebsd-arch@FreeBSD.ORG Mon Sep 20 05:56:00 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73F8F1065672; Mon, 20 Sep 2010 05:56:00 +0000 (UTC) (envelope-from davidxu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 62AC48FC16; Mon, 20 Sep 2010 05:56:00 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8K5twM4058772; Mon, 20 Sep 2010 05:55:59 GMT (envelope-from davidxu@freebsd.org) Message-ID: <4C9767EE.3000802@freebsd.org> Date: Mon, 20 Sep 2010 13:55:58 +0000 From: David Xu User-Agent: Thunderbird 2.0.0.24 (X11/20100630) MIME-Version: 1.0 To: David Xu , freebsd-arch@freebsd.org, Marcel Moolenaar , Bruce Evans References: <4C972E83.7090603@freebsd.org> <20100920024542.GA25717@zim.MIT.EDU> In-Reply-To: <20100920024542.GA25717@zim.MIT.EDU> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Per-source CFLAGS again X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 05:56:00 -0000 David Schultz wrote: > The reason I proposed the feature was so that we could compile the > parts of libc that come from a third party (namely, gdtoa) with > different warning flags than the rest of libc. It was not > committed because someone else proposed a simpler way to get make > to use different flags for gdtoa. > > I suppose it wouldn't hurt to commit it it's needed for something > else, but I think Marcel also had some philosophical objections to > the proposal. This time, the compiler's function is required to generate some stack unwinding info, it is not compiler's warning flag. without modification to sys.mk: I have to hack the libc's Makefile, but obviously, CWARNFLAGS is not the right place. Index: Makefile =================================================================== --- Makefile +++ Makefile @@ -145,3 +145,5 @@ SSP_CFLAGS:= ${SSP_CFLAGS:S/^-fstack-protector-all$/-fstack-protector/} # Disable stack protection for SSP symbols. SSP_CFLAGS:= ${.IMPSRC:N*/stack_protector.c:C/^.+$/${SSP_CFLAGS}/} +# Generate stack unwinding table for cancellation points +CWARNFLAGS:= ${.IMPSRC:Ncancelpoints_*:C/^.+$/${CWARNFLAGS}/:C/^$/-fexceptions ${CWARNFLAGS}/} From owner-freebsd-arch@FreeBSD.ORG Mon Sep 20 09:12:56 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A4DC106566B; Mon, 20 Sep 2010 09:12:56 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id AB4918FC18; Mon, 20 Sep 2010 09:12:55 +0000 (UTC) Received: by qwg5 with SMTP id 5so3720691qwg.13 for ; Mon, 20 Sep 2010 02:12:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=jLsdUcSGx8R/8mFt7/4HmgLfgvhTfnG6dpDUULyCd98=; b=UC6l2Oy72V+lrUEMFOPQK5UZd/CPdFliK/9sDYpokIthnq2bhua2Kg1IddEBkxpVtM KV7HTDQWe40WKKw/RJOo2uNWc1o4aYGmAZ8ZmPPKhPdXACN0gN5XLU8YDBBH3K/HwQn4 G5P+CVKh5z6H3QT8YkDGHlSnszoGHcA5cLnQc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=OKH0ffXerfrczGGPxzScNqjxExG3ns3clOTPpH5SR1APyxeXmesedIRUfJj3WSaqUs A3XycnZvQqOlM2+D4ufDwXCt8MDeFCH7ub4M29A8LQ5vvrL+KyWLHQ4ZEPmCIgbwEQ// YkcMgwm5NxzAky/cCzORTKvksgygBJxqyIVFc= MIME-Version: 1.0 Received: by 10.229.192.4 with SMTP id do4mr5859346qcb.164.1284972416767; Mon, 20 Sep 2010 01:46:56 -0700 (PDT) Received: by 10.229.215.209 with HTTP; Mon, 20 Sep 2010 01:46:56 -0700 (PDT) In-Reply-To: <16411667@ipt.ru> References: <20100917234542.GE1902@garage.freebsd.pl> <16411667@ipt.ru> Date: Mon, 20 Sep 2010 09:46:56 +0100 Message-ID: From: krad To: Boris Samorodov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org, Pawel Jakub Dawidek , freebsd-arch@freebsd.org Subject: Re: gptboot rewrite, bootonce, etc. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 09:12:56 -0000 On 19 September 2010 18:10, Boris Samorodov wrote: > Hi! > > On Sat, 18 Sep 2010 01:45:42 +0200 Pawel Jakub Dawidek wrote: > > > My company was in need for functionality similar to nextboot(8), but on > > boot loader level, so we can have two partitions we boot from where one > > is known to be good and the other is used for upgrades. We upgrade by > > dd(1)ing entire partition image onto unused partition, we mark it as > > try-to-boot-from-it-but-only-once, reboot and if we fail to boot from > > the new partition, we fall back to the old, good partition. If we > > succeed on the other hand, we mark the new partition as our boot > > partition and mark the other one as unused. > > > Well, how hard can it be? > > > After around two weeks of work, I ended up rewriting gptboot in large > > parts, reorganizing a lot of code, improving and extending gpart a bit > > and implementing desire functionality. > > > Here is the patch for review and test: > > > http://people.freebsd.org/~pjd/patches/gptboot.patch > > Great! Since I need to have both i386 and amd64 at my box > here are my test results: > ----- > [~]bsam@alya% uname -a > FreeBSD alya 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r212758M: Sat Sep 18 > 16:13:38 MSD 2010 > bsam@alya:/space/FreeBSD/base/head/obj/space/FreeBSD/base/head/src/sys/ALYA > amd64 > > [~]bsam@alya% glabel status > Name Status Components > gptid/c6053c9b-abcc-11df-b740-00251124aff4 N/A ad4p1 > label/9-amd64 N/A ad4p2 > label/swap N/A ad4p3 > label/space N/A ad4p4 > label/9-i386 N/A ad4p5 > [~]bsam@alya% mount > /dev/label/9-amd64 on / (ufs, local) > devfs on /dev (devfs, local, multilabel) > /dev/label/space on /space (ufs, local) > /dev/md0 on /tmp (ufs, local, nosuid, soft-updates) > procfs on /proc (procfs, local) > linprocfs on /compat/linux/proc (linprocfs, local) > linsysfs on /compat/linux/sys (linsysfs, local) > fdescfs on /dev/fd (fdescfs) > > [~]bsam@alya% gpart show > => 34 490234685 ad4 GPT (234G) > 34 128 1 freebsd-boot (64K) > 162 41943040 2 freebsd-ufs (20G) > 41943202 8388608 3 freebsd-swap (4.0G) > 50331810 209715200 4 freebsd-ufs (100G) > 260047010 41943040 5 freebsd-ufs (20G) > 301990050 188244669 - free - (90G) > > [~]bsam@alya% gpart set -a bootme -i 2 ad4 > bootme set on ad4p2 > [~]bsam@alya% gpart set -a bootonce -i 5 ad4 > bootonce set on ad4p5 > [~]bsam@alya% gpart show > => 34 490234685 ad4 GPT (234G) > 34 128 1 freebsd-boot (64K) > 162 41943040 2 freebsd-ufs [bootme] (20G) > 41943202 8388608 3 freebsd-swap (4.0G) > 50331810 209715200 4 freebsd-ufs (100G) > 260047010 41943040 5 freebsd-ufs [bootonce,bootme] (20G) > 301990050 188244669 - free - (90G) > ----- > > Install i386 kernel/world to ad4p5, successful reboot, get i386 > system. Next reboot (get amd64 system back): > ----- > [~]bsam@alya% gpart show > => 34 490234685 ad4 GPT (234G) > 34 128 1 freebsd-boot (64K) > 162 41943040 2 freebsd-ufs [bootme] (20G) > 41943202 8388608 3 freebsd-swap (4.0G) > 50331810 209715200 4 freebsd-ufs (100G) > 260047010 41943040 5 freebsd-ufs (20G) > 301990050 188244669 - free - (90G) > ----- > > All seems to work fine. > > > Any comments or suggestions? > > Only one for now. With current default syslog configuration > logging to local0.warning and local0.info goes nowhere. > It will be good if those messages have traces at the > default system. > > > Thank you! That's really great. > > -- > WBR, Boris Samorodov (bsam) > Research Engineer, http://www.ipt.ru Telephone & Internet SP > FreeBSD Committer, http://www.FreeBSD.org The Power To Serve > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > does it work for zfs boot as that would be really nice if it did? From owner-freebsd-arch@FreeBSD.ORG Mon Sep 20 12:47:29 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86B19106566B; Mon, 20 Sep 2010 12:47:29 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 30ED38FC13; Mon, 20 Sep 2010 12:47:29 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id CDCAD45C9B; Mon, 20 Sep 2010 14:47:27 +0200 (CEST) Received: from localhost (pdawidek.whl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 1BC5C45C8A; Mon, 20 Sep 2010 14:47:23 +0200 (CEST) Date: Mon, 20 Sep 2010 14:47:07 +0200 From: Pawel Jakub Dawidek To: krad Message-ID: <20100920124707.GB2410@garage.freebsd.pl> References: <20100917234542.GE1902@garage.freebsd.pl> <16411667@ipt.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eJnRUKwClWJh1Khz" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: Boris Samorodov , freebsd-current@freebsd.org, freebsd-arch@freebsd.org Subject: Re: gptboot rewrite, bootonce, etc. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 12:47:29 -0000 --eJnRUKwClWJh1Khz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 20, 2010 at 09:46:56AM +0100, krad wrote: > does it work for zfs boot as that would be really nice if it did? No, it doesn't. ZFS works a bit differently. ZFS operate on pools, not really on partitions. One ZFS file system can span multiple disks/partitions. I'm not yet sure how to implement it, so it is intuitive, but I also haven't spend much time thinking about it. We needed UFS and that is what I implemented. It took me much more time than I expected anyway:) --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --eJnRUKwClWJh1Khz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkyXV8oACgkQForvXbEpPzSCWACgmFagnt7ZqaQCOTy4PhJler1X TmwAn2fAbS83veU8GowsgbQlsPHcDI+v =vI4P -----END PGP SIGNATURE----- --eJnRUKwClWJh1Khz-- From owner-freebsd-arch@FreeBSD.ORG Mon Sep 20 12:49:10 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7740C1065670; Mon, 20 Sep 2010 12:49:10 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 232758FC0A; Mon, 20 Sep 2010 12:49:10 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id C840A45DD8; Mon, 20 Sep 2010 14:49:08 +0200 (CEST) Received: from localhost (pdawidek.whl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id D5F8745C8A; Mon, 20 Sep 2010 14:48:59 +0200 (CEST) Date: Mon, 20 Sep 2010 14:48:44 +0200 From: Pawel Jakub Dawidek To: Oliver Pinter Message-ID: <20100920124844.GC2410@garage.freebsd.pl> References: <20100917234542.GE1902@garage.freebsd.pl> <16411667@ipt.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2JFBq9zoW8cOFH7v" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: Boris Samorodov , freebsd-current@freebsd.org, freebsd-arch@freebsd.org Subject: Re: gptboot rewrite, bootonce, etc. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 12:49:10 -0000 --2JFBq9zoW8cOFH7v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 20, 2010 at 01:17:38AM +0200, Oliver Pinter wrote: > Hi PJD! >=20 > Can you this patcheset release for 7-STABLE? I've no plans atm to port this work to 7-STABLE. I don't even have 7.x systems anymore. Not sure how boot code differs, maybe the patch will apply without modifications? No idea. I'd like to MFC this to 8-STABLE, though. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --2JFBq9zoW8cOFH7v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkyXWCsACgkQForvXbEpPzRmAQCgt6HlN/qQjLPEv9izrdTUo2mp mhYAoKzHdu062hoa7bJcwYW8mxs8pOaX =rSjI -----END PGP SIGNATURE----- --2JFBq9zoW8cOFH7v-- From owner-freebsd-arch@FreeBSD.ORG Mon Sep 20 12:54:29 2010 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E87081065673; Mon, 20 Sep 2010 12:54:29 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 28F258FC0A; Mon, 20 Sep 2010 12:54:29 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id A986945E8E; Mon, 20 Sep 2010 14:54:27 +0200 (CEST) Received: from localhost (pdawidek.whl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 6C4BF45E6F; Mon, 20 Sep 2010 14:54:22 +0200 (CEST) Date: Mon, 20 Sep 2010 14:54:06 +0200 From: Pawel Jakub Dawidek To: Boris Samorodov Message-ID: <20100920125406.GD2410@garage.freebsd.pl> References: <20100917234542.GE1902@garage.freebsd.pl> <16411667@ipt.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1sNVjLsmu1MXqwQ/" Content-Disposition: inline In-Reply-To: <16411667@ipt.ru> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-current@FreeBSD.org, freebsd-arch@FreeBSD.org Subject: Re: gptboot rewrite, bootonce, etc. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 12:54:30 -0000 --1sNVjLsmu1MXqwQ/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 19, 2010 at 09:10:52PM +0400, Boris Samorodov wrote: > Hi! >=20 > On Sat, 18 Sep 2010 01:45:42 +0200 Pawel Jakub Dawidek wrote: >=20 > > My company was in need for functionality similar to nextboot(8), but on > > boot loader level, so we can have two partitions we boot from where one > > is known to be good and the other is used for upgrades. We upgrade by > > dd(1)ing entire partition image onto unused partition, we mark it as > > try-to-boot-from-it-but-only-once, reboot and if we fail to boot from > > the new partition, we fall back to the old, good partition. If we > > succeed on the other hand, we mark the new partition as our boot > > partition and mark the other one as unused. >=20 > > Well, how hard can it be? >=20 > > After around two weeks of work, I ended up rewriting gptboot in large > > parts, reorganizing a lot of code, improving and extending gpart a bit > > and implementing desire functionality. >=20 > > Here is the patch for review and test: >=20 > > http://people.freebsd.org/~pjd/patches/gptboot.patch >=20 > Great! Since I need to have both i386 and amd64 at my box > here are my test results: > ----- > [~]bsam@alya% uname -a > FreeBSD alya 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r212758M: Sat Sep 18 16:1= 3:38 MSD 2010 > bsam@alya:/space/FreeBSD/base/head/obj/space/FreeBSD/base/head/src/sys/AL= YA amd64 >=20 > [~]bsam@alya% glabel status > Name Status Components > gptid/c6053c9b-abcc-11df-b740-00251124aff4 N/A ad4p1 > label/9-amd64 N/A ad4p2 > label/swap N/A ad4p3 > label/space N/A ad4p4 > label/9-i386 N/A ad4p5 > [~]bsam@alya% mount > /dev/label/9-amd64 on / (ufs, local) > devfs on /dev (devfs, local, multilabel) > /dev/label/space on /space (ufs, local) > /dev/md0 on /tmp (ufs, local, nosuid, soft-updates) > procfs on /proc (procfs, local) > linprocfs on /compat/linux/proc (linprocfs, local) > linsysfs on /compat/linux/sys (linsysfs, local) > fdescfs on /dev/fd (fdescfs) >=20 > [~]bsam@alya% gpart show > =3D> 34 490234685 ad4 GPT (234G) > 34 128 1 freebsd-boot (64K) > 162 41943040 2 freebsd-ufs (20G) > 41943202 8388608 3 freebsd-swap (4.0G) > 50331810 209715200 4 freebsd-ufs (100G) > 260047010 41943040 5 freebsd-ufs (20G) > 301990050 188244669 - free - (90G) >=20 > [~]bsam@alya% gpart set -a bootme -i 2 ad4 > bootme set on ad4p2 > [~]bsam@alya% gpart set -a bootonce -i 5 ad4 > bootonce set on ad4p5 > [~]bsam@alya% gpart show > =3D> 34 490234685 ad4 GPT (234G) > 34 128 1 freebsd-boot (64K) > 162 41943040 2 freebsd-ufs [bootme] (20G) > 41943202 8388608 3 freebsd-swap (4.0G) > 50331810 209715200 4 freebsd-ufs (100G) > 260047010 41943040 5 freebsd-ufs [bootonce,bootme] (20G) > 301990050 188244669 - free - (90G) > ----- >=20 > Install i386 kernel/world to ad4p5, successful reboot, get i386 > system. Next reboot (get amd64 system back): > ----- > [~]bsam@alya% gpart show > =3D> 34 490234685 ad4 GPT (234G) > 34 128 1 freebsd-boot (64K) > 162 41943040 2 freebsd-ufs [bootme] (20G) > 41943202 8388608 3 freebsd-swap (4.0G) > 50331810 209715200 4 freebsd-ufs (100G) > 260047010 41943040 5 freebsd-ufs (20G) > 301990050 188244669 - free - (90G) > ----- >=20 > All seems to work fine. Great, thanks for testing! > > Any comments or suggestions? >=20 > Only one for now. With current default syslog configuration > logging to local0.warning and local0.info goes nowhere. > It will be good if those messages have traces at the > default system. Good point. I changed those to local0.notice. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --1sNVjLsmu1MXqwQ/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkyXWW4ACgkQForvXbEpPzS28wCdHvRBL/PrbRWM8ulvyvUFtCTN G0MAnjHV+NAA3H5dipoQs/0PemI9ezHF =eo7e -----END PGP SIGNATURE----- --1sNVjLsmu1MXqwQ/-- From owner-freebsd-arch@FreeBSD.ORG Mon Sep 20 13:18:21 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1951D1065672 for ; Mon, 20 Sep 2010 13:18:21 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 5EFD38FC23 for ; Mon, 20 Sep 2010 13:18:20 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA11757; Mon, 20 Sep 2010 15:59:20 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4C975AA8.1040106@icyb.net.ua> Date: Mon, 20 Sep 2010 15:59:20 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100909 Lightning/1.0b2 Thunderbird/3.1.3 MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20100917234542.GE1902@garage.freebsd.pl> <16411667@ipt.ru> <20100920124707.GB2410@garage.freebsd.pl> In-Reply-To: <20100920124707.GB2410@garage.freebsd.pl> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 7bit Cc: Boris Samorodov , freebsd-arch@freebsd.org, freebsd-current@freebsd.org, krad Subject: Re: gptboot rewrite, bootonce, etc. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 13:18:21 -0000 on 20/09/2010 15:47 Pawel Jakub Dawidek said the following: > No, it doesn't. ZFS works a bit differently. ZFS operate on pools, not > really on partitions. One ZFS file system can span multiple > disks/partitions. I'm not yet sure how to implement it, so it is > intuitive, but I also haven't spend much time thinking about it. We > needed UFS and that is what I implemented. It took me much more time > than I expected anyway:) Maybe reserve some area inside zfs boot2 and put relevant information there. Similarly to how boot0cfg modifies data within boot0. The information could include "nextboot-pool" and "nextboot-fs". -- Andriy Gapon From owner-freebsd-arch@FreeBSD.ORG Mon Sep 20 13:37:35 2010 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A51B4106566C; Mon, 20 Sep 2010 13:37:35 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (unknown [IPv6:2001:4200:7000:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id C6F3A8FC08; Mon, 20 Sep 2010 13:37:34 +0000 (UTC) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 200D039822; Mon, 20 Sep 2010 15:37:32 +0200 (SAST) Date: Mon, 20 Sep 2010 15:37:32 +0200 From: John Hay To: Andriy Gapon Message-ID: <20100920133732.GA66641@zibbi.meraka.csir.co.za> References: <20100917234542.GE1902@garage.freebsd.pl> <16411667@ipt.ru> <20100920124707.GB2410@garage.freebsd.pl> <4C975AA8.1040106@icyb.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C975AA8.1040106@icyb.net.ua> User-Agent: Mutt/1.4.2.3i Cc: Boris Samorodov , freebsd-current@FreeBSD.org, Pawel Jakub Dawidek , krad , freebsd-arch@FreeBSD.org Subject: Re: gptboot rewrite, bootonce, etc. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 13:37:35 -0000 On Mon, Sep 20, 2010 at 03:59:20PM +0300, Andriy Gapon wrote: > on 20/09/2010 15:47 Pawel Jakub Dawidek said the following: > > No, it doesn't. ZFS works a bit differently. ZFS operate on pools, not > > really on partitions. One ZFS file system can span multiple > > disks/partitions. I'm not yet sure how to implement it, so it is > > intuitive, but I also haven't spend much time thinking about it. We > > needed UFS and that is what I implemented. It took me much more time > > than I expected anyway:) > > Maybe reserve some area inside zfs boot2 and put relevant information there. > Similarly to how boot0cfg modifies data within boot0. > The information could include "nextboot-pool" and "nextboot-fs". nextboot-fs sounds nice. I use the bootfs property of zpool and it would be nice if one can override it from the boot2 commandline. John -- John Hay -- jhay@meraka.csir.co.za / jhay@FreeBSD.org From owner-freebsd-arch@FreeBSD.ORG Mon Sep 20 13:46:40 2010 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 620221065672; Mon, 20 Sep 2010 13:46:40 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 482088FC1F; Mon, 20 Sep 2010 13:46:38 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA12550; Mon, 20 Sep 2010 16:46:34 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4C9765B9.2000405@icyb.net.ua> Date: Mon, 20 Sep 2010 16:46:33 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100909 Lightning/1.0b2 Thunderbird/3.1.3 MIME-Version: 1.0 To: John Hay References: <20100917234542.GE1902@garage.freebsd.pl> <16411667@ipt.ru> <20100920124707.GB2410@garage.freebsd.pl> <4C975AA8.1040106@icyb.net.ua> <20100920133732.GA66641@zibbi.meraka.csir.co.za> In-Reply-To: <20100920133732.GA66641@zibbi.meraka.csir.co.za> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Boris Samorodov , freebsd-current@FreeBSD.org, Pawel Jakub Dawidek , krad , freebsd-arch@FreeBSD.org Subject: Re: gptboot rewrite, bootonce, etc. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 13:46:40 -0000 on 20/09/2010 16:37 John Hay said the following: > On Mon, Sep 20, 2010 at 03:59:20PM +0300, Andriy Gapon wrote: >> on 20/09/2010 15:47 Pawel Jakub Dawidek said the following: >>> No, it doesn't. ZFS works a bit differently. ZFS operate on pools, not >>> really on partitions. One ZFS file system can span multiple >>> disks/partitions. I'm not yet sure how to implement it, so it is >>> intuitive, but I also haven't spend much time thinking about it. We >>> needed UFS and that is what I implemented. It took me much more time >>> than I expected anyway:) >> >> Maybe reserve some area inside zfs boot2 and put relevant information there. >> Similarly to how boot0cfg modifies data within boot0. >> The information could include "nextboot-pool" and "nextboot-fs". > > nextboot-fs sounds nice. I use the bootfs property of zpool and it would > be nice if one can override it from the boot2 commandline. I have a patch for doing that from loader(8) prompt. I.e. you can change a filesystem from which to load kernel+modules and you can still set root filesystem of course. http://people.freebsd.org/~avg/zfsboot.diff This can be extended (i think rather easily) to override from where boot2 loads loader -- Andriy Gapon From owner-freebsd-arch@FreeBSD.ORG Mon Sep 20 13:50:24 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8393C106566B; Mon, 20 Sep 2010 13:50:24 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0CC558FC15; Mon, 20 Sep 2010 13:50:23 +0000 (UTC) Received: by qwg5 with SMTP id 5so3905104qwg.13 for ; Mon, 20 Sep 2010 06:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=z8FecAEKuSDkda9vCFgIxyWvg5KE7ncVrbUi8Gloc0o=; b=UmmkK7iR0iOtguKCoHsIZsgXLiq63sWTmoO9vDy/hYGQnlkjSNLObQtJDpkRhXioJe 3LnbZ+uB/se4vZschYOGzRWB98UszhEvEypHi6ebj8O50siDgO0uN3ICB4LfUtsXkJIN /CNcRR9W8TlqSocPra7YLi3unXs5SqmBfV8YQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=XuOV0v3XZO72N+E8w9LmpGvKzghlg57DOm+DlsfiMJnijSf+a2JLz3v68BdHGrJVCn KakFA/XYJIWvm+maRs06S7WIiE+q9UE0KND2MDd7phiS4UN0SxGxzLaw/BsDyrFP11OA vAqS3NXJ8rE9XBFtMsZcDHFv/ZF/dsIMtlylE= MIME-Version: 1.0 Received: by 10.229.101.197 with SMTP id d5mr1437484qco.220.1284990623321; Mon, 20 Sep 2010 06:50:23 -0700 (PDT) Received: by 10.229.215.209 with HTTP; Mon, 20 Sep 2010 06:50:23 -0700 (PDT) In-Reply-To: <20100920133732.GA66641@zibbi.meraka.csir.co.za> References: <20100917234542.GE1902@garage.freebsd.pl> <16411667@ipt.ru> <20100920124707.GB2410@garage.freebsd.pl> <4C975AA8.1040106@icyb.net.ua> <20100920133732.GA66641@zibbi.meraka.csir.co.za> Date: Mon, 20 Sep 2010 14:50:23 +0100 Message-ID: From: krad To: John Hay Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Boris Samorodov , freebsd-current@freebsd.org, Pawel Jakub Dawidek , Andriy Gapon , freebsd-arch@freebsd.org Subject: Re: gptboot rewrite, bootonce, etc. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 13:50:24 -0000 On 20 September 2010 14:37, John Hay wrote: > On Mon, Sep 20, 2010 at 03:59:20PM +0300, Andriy Gapon wrote: > > on 20/09/2010 15:47 Pawel Jakub Dawidek said the following: > > > No, it doesn't. ZFS works a bit differently. ZFS operate on pools, not > > > really on partitions. One ZFS file system can span multiple > > > disks/partitions. I'm not yet sure how to implement it, so it is > > > intuitive, but I also haven't spend much time thinking about it. We > > > needed UFS and that is what I implemented. It took me much more time > > > than I expected anyway:) > > > > Maybe reserve some area inside zfs boot2 and put relevant information > there. > > Similarly to how boot0cfg modifies data within boot0. > > The information could include "nextboot-pool" and "nextboot-fs". > > nextboot-fs sounds nice. I use the bootfs property of zpool and it would > be nice if one can override it from the boot2 commandline. > > John > -- > John Hay -- jhay@meraka.csir.co.za / jhay@FreeBSD.org > exactly what i was thinking. Its real nice how opensolaris odes its boot environments. I have a few custom scripts to replicate that with the install world, but at yet have no easy way to flip flop the bootfs varible, other than booting in on live(cd|usb) From owner-freebsd-arch@FreeBSD.ORG Mon Sep 20 13:51:44 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 670AD1065670; Mon, 20 Sep 2010 13:51:44 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 34FCC8FC16; Mon, 20 Sep 2010 13:51:44 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id D701046B23; Mon, 20 Sep 2010 09:51:43 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id DBDAF8A04F; Mon, 20 Sep 2010 09:51:42 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Mon, 20 Sep 2010 09:31:56 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20100819; KDE/4.4.5; amd64; ; ) References: <20100917234542.GE1902@garage.freebsd.pl> In-Reply-To: <20100917234542.GE1902@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201009200931.57086.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 20 Sep 2010 09:51:42 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Pawel Jakub Dawidek , freebsd-arch@freebsd.org Subject: Re: gptboot rewrite, bootonce, etc. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 13:51:44 -0000 On Friday, September 17, 2010 7:45:42 pm Pawel Jakub Dawidek wrote: > - Split code shared by almost any boot loader into separate files and > clean up most layering violations: I like this in general. I worry that the space constraints for boot2 will prevent it from using this though as it depends on inlining almost everything to fit into its allotted space. At least it can use the rbx.h header. > - Introduce three new GPT attributes: > > bootme - this is bootable partition > bootonce - try to boot from this partition only once > bootfailed - we failed to boot from this partition The 'bootme' attribute alone is a boon. One of the problems with EFI was figuring out a sane way to choose the root partition. EFI on ia64 currently uses the 'first partition wins' strategy, and this will be a definite improvement. To that end this should also help with EFI on x86. -- John Baldwin From owner-freebsd-arch@FreeBSD.ORG Mon Sep 20 13:51:48 2010 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E9891065670 for ; Mon, 20 Sep 2010 13:51:48 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0314D8FC14 for ; Mon, 20 Sep 2010 13:51:48 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id AF78246B1A; Mon, 20 Sep 2010 09:51:47 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 407508A04E; Mon, 20 Sep 2010 09:51:46 -0400 (EDT) From: John Baldwin To: gljennjohn@googlemail.com Date: Mon, 20 Sep 2010 09:44:55 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20100819; KDE/4.4.5; amd64; ; ) References: <201009171123.39382.jhb@freebsd.org> <20100918111606.1c4390ff@ernst.jennejohn.org> In-Reply-To: <20100918111606.1c4390ff@ernst.jennejohn.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009200944.55460.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 20 Sep 2010 09:51:46 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: arch@freebsd.org Subject: Re: Interrupt Threads X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 13:51:48 -0000 On Saturday, September 18, 2010 5:16:06 am Gary Jennejohn wrote: > On Fri, 17 Sep 2010 11:23:39 -0400 > John Baldwin wrote: > > > The code currently lives in p4 at //depot/user/jhb/intr/... I have also put > > up a patch at http://www.freebsd.org/~jhb/patches/intr_threads.patch. This > > patch includes the changes to the igb(4) driver. > > > > Doesn't compile without INVARIANTS because in line 928 of > kern/kern_intr.c ihw is used, but its declaration is hidden behind > #ifdef INVARIANTS. > > I just moved it outside the ifdef to get it to compile, but I haven't > tested the resulting kernel yet, so I don't know whether that was the > correct solution. Yes, that is the correct fix, thanks! -- John Baldwin From owner-freebsd-arch@FreeBSD.ORG Tue Sep 21 15:38:24 2010 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B84B710656AB for ; Tue, 21 Sep 2010 15:38:24 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 10CE68FC1B for ; Tue, 21 Sep 2010 15:38:23 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA09089 for ; Tue, 21 Sep 2010 18:26:02 +0300 (EEST) (envelope-from avg@freebsd.org) Message-ID: <4C98CE89.7060908@freebsd.org> Date: Tue, 21 Sep 2010 18:26:01 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100920 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: arch@freebsd.org X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: KDB, KDB_TRACE in GENERICs for stable/X X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2010 15:38:24 -0000 I would like to propose to add KDB and KDB_TRACE options to GENERIC kernel configurations on stable branches. I've verified that without any other KDB-related options and without any backend configured these options do not change any aspect of system behavior. Any attempts to enter debugger are ignored; on panic a panic message is printed and system reboots after that. With the proposed options and MFC of r212964 we should be able to get a backtrace printed in addition to a standard panic message. This may help us in analyzing problems during initial system installation and for systems that keep using GENERIC after installation for various reasons. This is especially true for panics that result from traps like page fault in which case we don't have much information on cause of a trap. Presence of the proposed options in GENERIC should not affect those who include GENERIC into their own configuration files for further extension and/or trimming. What do you think? -- Andriy Gapon From owner-freebsd-arch@FreeBSD.ORG Wed Sep 22 07:43:48 2010 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8B33106566C for ; Wed, 22 Sep 2010 07:43:48 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 10E318FC18 for ; Wed, 22 Sep 2010 07:43:47 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id KAA24373 for ; Wed, 22 Sep 2010 10:43:46 +0300 (EEST) (envelope-from avg@freebsd.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1OyJzW-0001Ah-Cg for arch@freebsd.org; Wed, 22 Sep 2010 10:43:46 +0300 Message-ID: <4C99B3B1.4070608@freebsd.org> Date: Wed, 22 Sep 2010 10:43:45 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100918 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: arch@freebsd.org References: <4C98CE89.7060908@freebsd.org> In-Reply-To: <4C98CE89.7060908@freebsd.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: Re: KDB, KDB_TRACE in GENERICs for stable/X X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Sep 2010 07:43:48 -0000 on 21/09/2010 18:26 Andriy Gapon said the following: > > I would like to propose to add KDB and KDB_TRACE options to GENERIC kernel > configurations on stable branches. I've verified that without any other > KDB-related options and without any backend configured these options do not change > any aspect of system behavior. Any attempts to enter debugger are ignored; on > panic a panic message is printed and system reboots after that. > > With the proposed options and MFC of r212964 we should be able to get a backtrace > printed in addition to a standard panic message. This may help us in analyzing > problems during initial system installation and for systems that keep using > GENERIC after installation for various reasons. This is especially true for > panics that result from traps like page fault in which case we don't have much > information on cause of a trap. > > Presence of the proposed options in GENERIC should not affect those who include > GENERIC into their own configuration files for further extension and/or trimming. Patch that adds the options: http://people.freebsd.org/~avg/kdb-stable-generics.diff -- Andriy Gapon From owner-freebsd-arch@FreeBSD.ORG Fri Sep 24 00:09:36 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8310910656D2 for ; Fri, 24 Sep 2010 00:09:36 +0000 (UTC) (envelope-from twitter-invite-freebsd-arch=freebsd.org@postmaster.twitter.com) Received: from mx003.twitter.com (mx003.twitter.com [128.121.146.152]) by mx1.freebsd.org (Postfix) with ESMTP id 5A9EA8FC40 for ; Fri, 24 Sep 2010 00:09:36 +0000 (UTC) Received: from twitter.com (localhost [127.0.0.1]) by mx003.twitter.com (Postfix) with ESMTP id 734C768FD0C for ; Thu, 23 Sep 2010 23:50:52 +0000 (UTC) X-DKIM: Sendmail DKIM Filter v2.8.2 mx003.twitter.com 734C768FD0C DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=twitter.com; s=dkim; t=1285285852; i=@twitter.com; bh=mN+LQjicxUPooE0KF/MYKeo8sOk=; h=Date:From:Sender:Reply-To:To:Message-Id:Subject:Mime-Version: Content-Type; b=dLoqvRDlWsFtM0bhXrbyjgSi0VaFKyD/929qPnvSE8IzumVAdGLxiGIqzPQvTsnsH ImORvpzHXrQQuqAPZI2zjO+Yc9XqwRENg0po41RMfNoMV71DMwehMBQqzBiZCS6zXh KAGKtekXQ9GT+5/fHYouMmhaO82f5aeLsSTRoZ+Q= X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 mx003.twitter.com 734C768FD0C DomainKey-Signature: a=rsa-sha1; s=default; d=twitter.com; c=simple; q=dns; b=3k5hUR+bZsHJb1vs0GYKTpvbyeCLWPegulPCSTrsRs0iJKfoE5V4YC7i04obXYjDr ehWQ9j4uSTteFTG2HNs7A== Date: Thu, 23 Sep 2010 23:50:52 +0000 From: Twitter Sender: Twitter To: freebsd-arch@freebsd.org Message-Id: <4c9be7dc70f58_5e74958aa94389789@mx003.twitter.com.tmail> Mime-Version: 1.0 X-Campaignid: twitter20081014103612 Errors-To: Twitter Bounces-To: Twitter Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Naturix wants to keep up with you on Twitter X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noreply@postmaster.twitter.com List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2010 00:09:36 -0000 Twitter connects you with everything you want to know, right now. Short b= ursts of information are readily available from news organizations, corpo= rate entities, politicians, celebrities, local businesses - even your clo= se friends and family. Also, if you have something to share with the worl= d, Twitter makes it super easy. To join for free, click the link below. http://twitter.com/i/75655dad857d95b958ae53d5093bde3335746144 Thanks, @twitter About Twitter, Inc. Founded in 2007, Twitter Inc believes the open exchange of information ca= n have a positive global impact. Every "Tweet" is limited to 140 characte= rs of text or links which means they are easily written or read on a wide= variety of services and devices including any mobile phone, social netwo= rks, television, Macs, PCs, and the Web. This message was sent by a Twitter user who entered your email address. I= f you'd prefer not to receive emails when other people invite you to Twit= ter, click here: http://twitter.com/i/o?c=3DZNV%2BN6G7N7gizlyNTDisbCfK7V7= hUASkREzvOk0zezM%3D= From owner-freebsd-arch@FreeBSD.ORG Fri Sep 24 00:09:40 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42E3810656CA for ; Fri, 24 Sep 2010 00:09:40 +0000 (UTC) (envelope-from twitter-invite-freebsd-arch=freebsd.org@postmaster.twitter.com) Received: from mx007.twitter.com (mx007.twitter.com [128.121.146.143]) by mx1.freebsd.org (Postfix) with ESMTP id 05DEE8FC5A for ; Fri, 24 Sep 2010 00:09:39 +0000 (UTC) Received: from twitter.com (localhost [127.0.0.1]) by mx007.twitter.com (Postfix) with ESMTP id 523EB74FBF8 for ; Thu, 23 Sep 2010 23:51:20 +0000 (UTC) X-DKIM: Sendmail DKIM Filter v2.8.2 mx007.twitter.com 523EB74FBF8 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=twitter.com; s=dkim; t=1285285880; i=@twitter.com; bh=1NZMbIXXMsRfXlVtbtIUtghvZ/w=; h=Date:From:Sender:Reply-To:To:Message-Id:Subject:Mime-Version: Content-Type; b=FscRJRZFka2EBwwmk3OK5dZLHovpExkl8LM/rXTmYQT2X3dAiyMpgsn+1XRxmtHSi G54Ukgt0HJfL1OZg71L9Hz8llmfwSRWs2u4mjh1RDq108bZ5/ohou3KuX2/a0h/5wY UWTN4PgS7VGe33xwEYmG0yrCG5zOW2p4jbgdeTsI= X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 mx007.twitter.com 523EB74FBF8 DomainKey-Signature: a=rsa-sha1; s=default; d=twitter.com; c=simple; q=dns; b=n3QbgFVbcs+h4uYKD30r2TLMLMxUmP6uWvbOt7UTrGZK0qw+Ze31Nt0izzjcEFfzQ 3mAHXMZdNp8wTWq1wrtlg== Date: Thu, 23 Sep 2010 23:51:20 +0000 From: Twitter Sender: Twitter To: freebsd-arch@freebsd.org Message-Id: <4c9be7f84f9be_c961ba4a2943773cf@mx007.twitter.com.tmail> Mime-Version: 1.0 X-Campaignid: twitter20081014103612 Errors-To: Twitter Bounces-To: Twitter Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Naturix wants to keep up with you on Twitter X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noreply@postmaster.twitter.com List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2010 00:09:40 -0000 Twitter connects you with everything you want to know, right now. Short b= ursts of information are readily available from news organizations, corpo= rate entities, politicians, celebrities, local businesses - even your clo= se friends and family. Also, if you have something to share with the worl= d, Twitter makes it super easy. To join for free, click the link below. http://twitter.com/i/27aa33a34cb031797f250ff4d7dcc75659edd9a7 Thanks, @twitter About Twitter, Inc. Founded in 2007, Twitter Inc believes the open exchange of information ca= n have a positive global impact. Every "Tweet" is limited to 140 characte= rs of text or links which means they are easily written or read on a wide= variety of services and devices including any mobile phone, social netwo= rks, television, Macs, PCs, and the Web. This message was sent by a Twitter user who entered your email address. I= f you'd prefer not to receive emails when other people invite you to Twit= ter, click here: http://twitter.com/i/o?c=3DZNV%2BN6G7N7gizlyNTDisbCfK7V7= hUASkREzvOk0zezM%3D= From owner-freebsd-arch@FreeBSD.ORG Fri Sep 24 00:09:40 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A290810656DD for ; Fri, 24 Sep 2010 00:09:40 +0000 (UTC) (envelope-from twitter-invite-freebsd-arch=freebsd.org@postmaster.twitter.com) Received: from mx007.twitter.com (mx007.twitter.com [128.121.146.143]) by mx1.freebsd.org (Postfix) with ESMTP id 401588FC65 for ; Fri, 24 Sep 2010 00:09:40 +0000 (UTC) Received: from twitter.com (localhost [127.0.0.1]) by mx007.twitter.com (Postfix) with ESMTP id 8D88774FC41 for ; Thu, 23 Sep 2010 23:51:33 +0000 (UTC) X-DKIM: Sendmail DKIM Filter v2.8.2 mx007.twitter.com 8D88774FC41 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=twitter.com; s=dkim; t=1285285893; i=@twitter.com; bh=lqzbPsOdpZAnnkQH046nS7vd+B4=; h=Date:From:Sender:Reply-To:To:Message-Id:Subject:Mime-Version: Content-Type; b=jQjH3QmQko+9eeJEOeJg3cinTVXUXuIzqRYGO/5dSYMcZJ83gKDp7MsAIzP7rQrJy 3mhbFm5kK4U5ZPq8KtA6cusiFHswB6Ro507bYnbEsCtWqmEkTVnDnozIFmGZE3hlh4 w8mkhmlCE0Rd0INAH/WWboajLlpKnM++EmNHMNCA= X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 mx007.twitter.com 8D88774FC41 DomainKey-Signature: a=rsa-sha1; s=default; d=twitter.com; c=simple; q=dns; b=3A3X/W5jgKFrr3DP8u1hS0zvqgiC5VwDQURJpQw52xc6LzzfBhJydXH1riWLWAtD3 +BRhgI5uyLhtC/gZ6rqLg== Date: Thu, 23 Sep 2010 23:51:33 +0000 From: Twitter Sender: Twitter To: freebsd-arch@freebsd.org Message-Id: <4c9be8058be14_c5be6c47a9c38582@mx007.twitter.com.tmail> Mime-Version: 1.0 X-Campaignid: twitter20081014103612 Errors-To: Twitter Bounces-To: Twitter Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Naturix wants to keep up with you on Twitter X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noreply@postmaster.twitter.com List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2010 00:09:40 -0000 Twitter connects you with everything you want to know, right now. Short b= ursts of information are readily available from news organizations, corpo= rate entities, politicians, celebrities, local businesses - even your clo= se friends and family. Also, if you have something to share with the worl= d, Twitter makes it super easy. To join for free, click the link below. http://twitter.com/i/d25326e7b49d77df9ad12d173f73ca5b97fadd1b Thanks, @twitter About Twitter, Inc. Founded in 2007, Twitter Inc believes the open exchange of information ca= n have a positive global impact. Every "Tweet" is limited to 140 characte= rs of text or links which means they are easily written or read on a wide= variety of services and devices including any mobile phone, social netwo= rks, television, Macs, PCs, and the Web. This message was sent by a Twitter user who entered your email address. I= f you'd prefer not to receive emails when other people invite you to Twit= ter, click here: http://twitter.com/i/o?c=3DZNV%2BN6G7N7gizlyNTDisbCfK7V7= hUASkREzvOk0zezM%3D= From owner-freebsd-arch@FreeBSD.ORG Fri Sep 24 00:09:40 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A762010656E1 for ; Fri, 24 Sep 2010 00:09:40 +0000 (UTC) (envelope-from twitter-invite-freebsd-arch=freebsd.org@postmaster.twitter.com) Received: from mx003.twitter.com (mx003.twitter.com [128.121.146.152]) by mx1.freebsd.org (Postfix) with ESMTP id 4AF8D8FC19 for ; Fri, 24 Sep 2010 00:09:40 +0000 (UTC) Received: from twitter.com (localhost [127.0.0.1]) by mx003.twitter.com (Postfix) with ESMTP id 2C6D66714FA for ; Thu, 23 Sep 2010 23:51:07 +0000 (UTC) X-DKIM: Sendmail DKIM Filter v2.8.2 mx003.twitter.com 2C6D66714FA DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=twitter.com; s=dkim; t=1285285867; i=@twitter.com; bh=MMH2jTO+BAccxilQuK6YVU+y7C8=; h=Date:From:Sender:Reply-To:To:Message-Id:Subject:Mime-Version: Content-Type; b=ipz0M4qTed6MtAMZiWN9i53Qf60xfg3AC9KuhsPzFhRWa46bRvqWiTCA68ruowwP3 QBy+j94h8SY9FksiMvuW9mRBOC2zFRrtqNwuj+wb3RJFJ14on7iIEBtjOkWG1SIzsb H8HUUXbC8pEFqH5RbvC0mOisvcGywtICccF0aIcA= X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 mx003.twitter.com 2C6D66714FA DomainKey-Signature: a=rsa-sha1; s=default; d=twitter.com; c=simple; q=dns; b=hmYO61FET8BVhpqVAe8l80ntU+gT6DM2aXMhti0py7YZwBtNlJM/n9z2a6Y/P/TK+ uDxWSJ2DtPN/0umZIq6sQ== Date: Thu, 23 Sep 2010 23:51:07 +0000 From: Twitter Sender: Twitter To: freebsd-arch@freebsd.org Message-Id: <4c9be7eb2ad58_63fc35cca9438557e@mx003.twitter.com.tmail> Mime-Version: 1.0 X-Campaignid: twitter20081014103612 Errors-To: Twitter Bounces-To: Twitter Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Naturix wants to keep up with you on Twitter X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noreply@postmaster.twitter.com List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2010 00:09:40 -0000 Twitter connects you with everything you want to know, right now. Short b= ursts of information are readily available from news organizations, corpo= rate entities, politicians, celebrities, local businesses - even your clo= se friends and family. Also, if you have something to share with the worl= d, Twitter makes it super easy. To join for free, click the link below. http://twitter.com/i/ea93a05a72d16ad08d8bb95bca6ed0ead869b2be Thanks, @twitter About Twitter, Inc. Founded in 2007, Twitter Inc believes the open exchange of information ca= n have a positive global impact. Every "Tweet" is limited to 140 characte= rs of text or links which means they are easily written or read on a wide= variety of services and devices including any mobile phone, social netwo= rks, television, Macs, PCs, and the Web. This message was sent by a Twitter user who entered your email address. I= f you'd prefer not to receive emails when other people invite you to Twit= ter, click here: http://twitter.com/i/o?c=3DZNV%2BN6G7N7gizlyNTDisbCfK7V7= hUASkREzvOk0zezM%3D= From owner-freebsd-arch@FreeBSD.ORG Fri Sep 24 00:09:42 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABE2610656CB for ; Fri, 24 Sep 2010 00:09:42 +0000 (UTC) (envelope-from twitter-invite-freebsd-arch=freebsd.org@postmaster.twitter.com) Received: from mx007.twitter.com (mx007.twitter.com [128.121.146.143]) by mx1.freebsd.org (Postfix) with ESMTP id 29F9D8FC7D for ; Fri, 24 Sep 2010 00:09:42 +0000 (UTC) Received: from twitter.com (localhost [127.0.0.1]) by mx007.twitter.com (Postfix) with ESMTP id DD87774E92D for ; Thu, 23 Sep 2010 23:50:41 +0000 (UTC) X-DKIM: Sendmail DKIM Filter v2.8.2 mx007.twitter.com DD87774E92D DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=twitter.com; s=dkim; t=1285285841; i=@twitter.com; bh=P6B60IPWQyakoQdhzmKxsfMcFSw=; h=Date:From:Sender:Reply-To:To:Message-Id:Subject:Mime-Version: Content-Type; b=ePgfABdtX63Tf6231isl/ERP4Zl2yIT0fkvenqx5wpWf+uL37/xYBXFhLks8OwKcA Uvp8SrkfA9cZfxUQSAoEVI2c+QQZlzOVSLYs1wf21ESpos5/g+K04wTcIHW+6ZSinr XEL+BbFCTOL3MC7xFKxgg10oIUjLkv1g9QKqYSVA= X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 mx007.twitter.com DD87774E92D DomainKey-Signature: a=rsa-sha1; s=default; d=twitter.com; c=simple; q=dns; b=wjzZQpz+Qaw+mnpVsvGp3HJjUbeQmPct9Iuq2F4cd8sP68Qj6Edb/7HWiQg+fugCJ 5Bh/tFflPbGbscy8dkQmA== Date: Thu, 23 Sep 2010 23:50:41 +0000 From: Twitter Sender: Twitter To: freebsd-arch@freebsd.org Message-Id: <4c9be7d1dbd7d_cb4ead4a29c3887c5@mx007.twitter.com.tmail> Mime-Version: 1.0 X-Campaignid: twitter20081014103612 Errors-To: Twitter Bounces-To: Twitter Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Naturix wants to keep up with you on Twitter X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noreply@postmaster.twitter.com List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2010 00:09:42 -0000 Twitter connects you with everything you want to know, right now. Short b= ursts of information are readily available from news organizations, corpo= rate entities, politicians, celebrities, local businesses - even your clo= se friends and family. Also, if you have something to share with the worl= d, Twitter makes it super easy. To join for free, click the link below. http://twitter.com/i/123ec1960359fc8db870bb5cda1c438b9808f33d Thanks, @twitter About Twitter, Inc. Founded in 2007, Twitter Inc believes the open exchange of information ca= n have a positive global impact. Every "Tweet" is limited to 140 characte= rs of text or links which means they are easily written or read on a wide= variety of services and devices including any mobile phone, social netwo= rks, television, Macs, PCs, and the Web. This message was sent by a Twitter user who entered your email address. I= f you'd prefer not to receive emails when other people invite you to Twit= ter, click here: http://twitter.com/i/o?c=3DZNV%2BN6G7N7gizlyNTDisbCfK7V7= hUASkREzvOk0zezM%3D= From owner-freebsd-arch@FreeBSD.ORG Sat Sep 25 00:55:13 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC9F41065674; Sat, 25 Sep 2010 00:55:13 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from fallbackmx10.syd.optusnet.com.au (fallbackmx10.syd.optusnet.com.au [211.29.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 3E3328FC1A; Sat, 25 Sep 2010 00:55:13 +0000 (UTC) Received: from mail35.syd.optusnet.com.au (mail35.syd.optusnet.com.au [211.29.133.51]) by fallbackmx10.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o8OMrupM023521; Sat, 25 Sep 2010 08:53:56 +1000 Received: from server.vk2pj.dyndns.org (c220-239-116-103.belrs4.nsw.optusnet.com.au [220.239.116.103]) by mail35.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o8OMrqa2005695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 25 Sep 2010 08:53:53 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id o8OMrqmq022394; Sat, 25 Sep 2010 08:53:52 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id o8OMrqoq022393; Sat, 25 Sep 2010 08:53:52 +1000 (EST) (envelope-from peter) Date: Sat, 25 Sep 2010 08:53:52 +1000 From: Peter Jeremy To: freebsd-arch@freebsd.org Message-ID: <20100924225352.GD49476@server.vk2pj.dyndns.org> References: <201009211507.o8LF7iVv097676@svn.freebsd.org> <4C9A1602.4020204@freebsd.org> <1285169017.64197.29.camel@buffy.york.ac.uk> <201009221558.27393.jhb@freebsd.org> <4C9A6EE6.5050301@freebsd.org> <20100922222441.00002f27@unknown> <1285253887.95760.33.camel@bauer.cse.buffalo.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8w3uRX/HFJGApMzv" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r212964 - head/sys/kern X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Sep 2010 00:55:13 -0000 --8w3uRX/HFJGApMzv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Pruning CC list and re-adding freebsd-arch on the (forlorn) hope that this thread will move to where it belongs] On 2010-Sep-23 07:31:13 -0700, Matthew Jacob wrote: >It turns out that the big issue here was more the savecore time coming=20 >back up rather than the time of dumping. In my experience, the problem isn't so much the savecore time as the time to run /usr/bin/crashinfo. Whilst savecore needs to run early (before anything tramples on the crashdump in swap), the latter could run at any time. It would seem reasonable to either run crashinfo in the background or as a batchjob triggered by /etc/rc.d/savecore. On 2010-Sep-23 18:59:53 +0100, Gavin Atkinson wrote: >I appreciate the issue about filling partitions is a valid one. Would a= =20 >possible compromise be that on release media, crashinfo(8) or similar will= =20 >default to only keeping the most recent coredump or similar? Given /var= =20 >now defaults to 4GB, Defaulting to keeping a single core is probably=20 >acceptable. savecore already has support for a 'minfree' file to prevent crashdumps filling the crashdir. Maybe the default install should include a minfree set to (say) 512MB. --=20 Peter Jeremy --8w3uRX/HFJGApMzv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (FreeBSD) iEYEARECAAYFAkydLAAACgkQ/opHv/APuIeBZwCgrPXGmE7tyoHtpXnxO14kZa9q ezAAoIqq9p9cKpm2pD4gHQbBqSEWcATJ =tjph -----END PGP SIGNATURE----- --8w3uRX/HFJGApMzv-- From owner-freebsd-arch@FreeBSD.ORG Sat Sep 25 04:55:18 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 172FA106566C for ; Sat, 25 Sep 2010 04:55:18 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 8B38E8FC18 for ; Sat, 25 Sep 2010 04:55:16 +0000 (UTC) Received: from ur.dons.net.au (ppp121-45-158-72.lns6.adl6.internode.on.net [121.45.158.72]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id o8P4JqNv090233 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 25 Sep 2010 13:49:58 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: "Daniel O'Connor" In-Reply-To: <20100924225352.GD49476@server.vk2pj.dyndns.org> Date: Sat, 25 Sep 2010 13:49:52 +0930 Content-Transfer-Encoding: 7bit Message-Id: References: <201009211507.o8LF7iVv097676@svn.freebsd.org> <4C9A1602.4020204@freebsd.org> <1285169017.64197.29.camel@buffy.york.ac.uk> <201009221558.27393.jhb@freebsd.org> <4C9A6EE6.5050301@freebsd.org> <20100922222441.00002f27@unknown> <1285253887.95760.33.camel@bauer.cse.buffalo.edu> <20100924225352.GD49476@server.vk2pj.dyndns.org> To: Peter Jeremy X-Mailer: Apple Mail (2.1081) X-Spam-Score: 0.163 () BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, freebsd-arch@freebsd.org Subject: Re: svn commit: r212964 - head/sys/kern X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Sep 2010 04:55:18 -0000 On 25/09/2010, at 8:23, Peter Jeremy wrote: > savecore already has support for a 'minfree' file to prevent > crashdumps filling the crashdir. Maybe the default install should > include a minfree set to (say) 512MB. Or perhaps add maxcount and set it to 1 as well as minfree at 512Mb. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C