Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2014 18:46:57 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        Chris Nehren <cnehren+freebsd-stable@pobox.com>
Cc:        FreeBSD stable <freebsd-stable@freebsd.org>
Subject:   Re: Note for those pulling in new ZFS feature flags
Message-ID:  <alpine.BSF.2.00.1404071843230.9102@mail.fig.ol.no>
In-Reply-To: <alpine.BSF.2.00.1404071759330.9102@mail.fig.ol.no>
References:  <20140407135421.GA16385@behemoth> <CAFHbX1%2BCerhdfo-VB4dj_JZAkp79b_KD7T0TCxFWTLGFsu-Mpw@mail.gmail.com> <20140407145511.GA16747@behemoth> <alpine.BSF.2.00.1404071656540.9102@mail.fig.ol.no> <20140407153040.GA17668@behemoth> <alpine.BSF.2.00.1404071759330.9102@mail.fig.ol.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 7 Apr 2014 18:20+0200, Trond Endrestøl wrote:

> On Mon, 7 Apr 2014 11:30-0400, Chris Nehren wrote:
> 
> > On Mon, Apr 07, 2014 at 17:05:32 +0200, Trond Endrestøl wrote:
> > > See:
> > > 
> > > http://svnweb.freebsd.org/base/stable/10/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c?view=markup#l4992
> > > 
> > > Consider this a lesson learned. Yes, I too was bitten by this once, 
> > > but never again. ;-) Luckily, I recovered using a snapshot image.
> > 
> > That's funny, because I *specifically* noted the absence of that 
> > message when I upgraded my pool and spent about 5 minutes wondering 
> > if it was needed or not.
> 
> Browsing through the code, it appears that the message will only be 
> shown if the current root fs is on one of the zpools you are 
> upgrading.
> 
> I chased this chain in zpool_main.c:
> 
> zpool_do_upgrade()
> for_each_pool()
> upgrade_one() (used as a callback function by for_each_pool())
> root_pool_upgrade_check()
> is_root_pool()
> 
> Maybe the message should be shown unconditionally after the fact when 
> all zpool upgrades has taken place, to warn the novice user and 
> friendly remind the seasoned user.

I believe the message was shown unconditionally in the past.

BTW. the UPDATE file has a couple of entries on the subject, although 
they can easily be missed, I guess:

20130208:
        A new compression method (lz4) has been merged to -HEAD.  Please
        refer to zpool-features(7) for more information.

        Please refer to the "ZFS notes" section of this file for information
        on upgrading boot ZFS pools.

and:

        ZFS notes
        ---------
        When upgrading the boot ZFS pool to a new version, always follow
        these two steps:

        1.) recompile and reinstall the ZFS boot loader and boot block
        (this is part of "make buildworld" and "make installworld")

        2.) update the ZFS boot block on your boot drive

        The following example updates the ZFS boot block on the first
        partition (freebsd-boot) of a GPT partitioned drive ad0:
        "gpart bootcode -p /boot/gptzfsboot -i 1 ad0"

        Non-boot pools do not need these updates.

> > Either way, I think I'll opt to doing the bootcode thing every time 
> > as well.
> 
> (Y)

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
From owner-freebsd-stable@FreeBSD.ORG  Mon Apr  7 17:29:06 2014
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
Delivered-To: stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id E5154E5B;
 Mon,  7 Apr 2014 17:29:06 +0000 (UTC)
Received: from worker01.tb.des.no (worker01.tb.des.no [41.154.2.147])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id C73F5BA7;
 Mon,  7 Apr 2014 17:29:05 +0000 (UTC)
Received: from worker01.tb.des.no (localhost [127.0.0.1])
 by worker01.tb.des.no (8.14.5/8.14.5) with ESMTP id s37HSGZH022806;
 Mon, 7 Apr 2014 19:28:21 +0200 (SAST)
 (envelope-from tinderbox@freebsd.org)
Received: (from tinderbox@localhost)
 by worker01.tb.des.no (8.14.5/8.14.5/Submit) id s37HSAD1020783;
 Mon, 7 Apr 2014 17:28:10 GMT (envelope-from tinderbox@freebsd.org)
Date: Mon, 7 Apr 2014 17:28:10 GMT
Message-Id: <201404071728.s37HSAD1020783@worker01.tb.des.no>
X-Authentication-Warning: worker01.tb.des.no: tinderbox set sender to FreeBSD
 Tinderbox <tinderbox@freebsd.org> using -f
Sender: FreeBSD Tinderbox <tinderbox@freebsd.org>
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <stable@freebsd.org>,
 <mips@freebsd.org>
Subject: [releng_10 tinderbox] failure on mips/mips
Precedence: bulk
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.17
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/>;
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Apr 2014 17:29:07 -0000

TB --- 2014-04-07 15:10:45 - tinderbox 2.20 running on worker01.tb.des.no
TB --- 2014-04-07 15:10:45 - FreeBSD worker01.tb.des.no 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-04-07 15:10:45 - starting RELENG_10 tinderbox run for mips/mips
TB --- 2014-04-07 15:10:45 - cleaning the object tree
TB --- 2014-04-07 15:10:45 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-04-07 15:11:35 - At svn revision 264228
TB --- 2014-04-07 15:11:36 - building world
TB --- 2014-04-07 15:11:36 - CROSS_BUILD_TESTING=YES
TB --- 2014-04-07 15:11:36 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-04-07 15:11:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-04-07 15:11:36 - SRCCONF=/dev/null
TB --- 2014-04-07 15:11:36 - TARGET=mips
TB --- 2014-04-07 15:11:36 - TARGET_ARCH=mips
TB --- 2014-04-07 15:11:36 - TZ=UTC
TB --- 2014-04-07 15:11:36 - __MAKE_CONF=/dev/null
TB --- 2014-04-07 15:11:36 - cd /src
TB --- 2014-04-07 15:11:36 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Mon Apr  7 15:11:47 UTC 2014
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Mon Apr  7 16:37:20 UTC 2014
TB --- 2014-04-07 16:37:20 - cd /src/sys/mips/conf
TB --- 2014-04-07 16:37:20 - /usr/sbin/config -m ADM5120
TB --- 2014-04-07 16:37:20 - skipping ADM5120 kernel
TB --- 2014-04-07 16:37:20 - cd /src/sys/mips/conf
TB --- 2014-04-07 16:37:20 - /usr/sbin/config -m ALCHEMY
TB --- 2014-04-07 16:37:20 - skipping ALCHEMY kernel
TB --- 2014-04-07 16:37:20 - cd /src/sys/mips/conf
TB --- 2014-04-07 16:37:20 - /usr/sbin/config -m AP121
TB --- 2014-04-07 16:37:20 - building AP121 kernel
TB --- 2014-04-07 16:37:20 - CROSS_BUILD_TESTING=YES
TB --- 2014-04-07 16:37:20 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-04-07 16:37:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-04-07 16:37:20 - SRCCONF=/dev/null
TB --- 2014-04-07 16:37:20 - TARGET=mips
TB --- 2014-04-07 16:37:20 - TARGET_ARCH=mips
TB --- 2014-04-07 16:37:20 - TZ=UTC
TB --- 2014-04-07 16:37:20 - __MAKE_CONF=/dev/null
TB --- 2014-04-07 16:37:20 - cd /src
TB --- 2014-04-07 16:37:20 - /usr/bin/make -B buildkernel KERNCONF=AP121
>>> Kernel build for AP121 started on Mon Apr  7 16:37:20 UTC 2014
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for AP121 completed on Mon Apr  7 16:41:26 UTC 2014
TB --- 2014-04-07 16:41:26 - cd /src/sys/mips/conf
TB --- 2014-04-07 16:41:26 - /usr/sbin/config -m AP91
TB --- 2014-04-07 16:41:26 - building AP91 kernel
TB --- 2014-04-07 16:41:26 - CROSS_BUILD_TESTING=YES
TB --- 2014-04-07 16:41:26 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-04-07 16:41:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-04-07 16:41:26 - SRCCONF=/dev/null
TB --- 2014-04-07 16:41:26 - TARGET=mips
TB --- 2014-04-07 16:41:26 - TARGET_ARCH=mips
TB --- 2014-04-07 16:41:26 - TZ=UTC
TB --- 2014-04-07 16:41:26 - __MAKE_CONF=/dev/null
TB --- 2014-04-07 16:41:26 - cd /src
TB --- 2014-04-07 16:41:26 - /usr/bin/make -B buildkernel KERNCONF=AP91
>>> Kernel build for AP91 started on Mon Apr  7 16:41:26 UTC 2014
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for AP91 completed on Mon Apr  7 16:48:57 UTC 2014
TB --- 2014-04-07 16:48:57 - cd /src/sys/mips/conf
TB --- 2014-04-07 16:48:57 - /usr/sbin/config -m AP93
TB --- 2014-04-07 16:48:57 - building AP93 kernel
TB --- 2014-04-07 16:48:57 - CROSS_BUILD_TESTING=YES
TB --- 2014-04-07 16:48:57 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-04-07 16:48:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-04-07 16:48:57 - SRCCONF=/dev/null
TB --- 2014-04-07 16:48:57 - TARGET=mips
TB --- 2014-04-07 16:48:57 - TARGET_ARCH=mips
TB --- 2014-04-07 16:48:57 - TZ=UTC
TB --- 2014-04-07 16:48:57 - __MAKE_CONF=/dev/null
TB --- 2014-04-07 16:48:57 - cd /src
TB --- 2014-04-07 16:48:57 - /usr/bin/make -B buildkernel KERNCONF=AP93
>>> Kernel build for AP93 started on Mon Apr  7 16:48:58 UTC 2014
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for AP93 completed on Mon Apr  7 16:56:17 UTC 2014
TB --- 2014-04-07 16:56:17 - cd /src/sys/mips/conf
TB --- 2014-04-07 16:56:17 - /usr/sbin/config -m AP94
TB --- 2014-04-07 16:56:17 - building AP94 kernel
TB --- 2014-04-07 16:56:17 - CROSS_BUILD_TESTING=YES
TB --- 2014-04-07 16:56:17 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-04-07 16:56:17 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-04-07 16:56:17 - SRCCONF=/dev/null
TB --- 2014-04-07 16:56:17 - TARGET=mips
TB --- 2014-04-07 16:56:17 - TARGET_ARCH=mips
TB --- 2014-04-07 16:56:17 - TZ=UTC
TB --- 2014-04-07 16:56:17 - __MAKE_CONF=/dev/null
TB --- 2014-04-07 16:56:17 - cd /src
TB --- 2014-04-07 16:56:17 - /usr/bin/make -B buildkernel KERNCONF=AP94
>>> Kernel build for AP94 started on Mon Apr  7 16:56:18 UTC 2014
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for AP94 completed on Mon Apr  7 17:05:11 UTC 2014
TB --- 2014-04-07 17:05:11 - cd /src/sys/mips/conf
TB --- 2014-04-07 17:05:11 - /usr/sbin/config -m AP96
TB --- 2014-04-07 17:05:11 - building AP96 kernel
TB --- 2014-04-07 17:05:11 - CROSS_BUILD_TESTING=YES
TB --- 2014-04-07 17:05:11 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-04-07 17:05:11 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-04-07 17:05:11 - SRCCONF=/dev/null
TB --- 2014-04-07 17:05:11 - TARGET=mips
TB --- 2014-04-07 17:05:11 - TARGET_ARCH=mips
TB --- 2014-04-07 17:05:11 - TZ=UTC
TB --- 2014-04-07 17:05:11 - __MAKE_CONF=/dev/null
TB --- 2014-04-07 17:05:11 - cd /src
TB --- 2014-04-07 17:05:11 - /usr/bin/make -B buildkernel KERNCONF=AP96
>>> Kernel build for AP96 started on Mon Apr  7 17:05:11 UTC 2014
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for AP96 completed on Mon Apr  7 17:13:49 UTC 2014
TB --- 2014-04-07 17:13:49 - cd /src/sys/mips/conf
TB --- 2014-04-07 17:13:49 - /usr/sbin/config -m AR71XX_BASE
TB --- 2014-04-07 17:13:49 - building AR71XX_BASE kernel
TB --- 2014-04-07 17:13:49 - CROSS_BUILD_TESTING=YES
TB --- 2014-04-07 17:13:49 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-04-07 17:13:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-04-07 17:13:49 - SRCCONF=/dev/null
TB --- 2014-04-07 17:13:49 - TARGET=mips
TB --- 2014-04-07 17:13:49 - TARGET_ARCH=mips
TB --- 2014-04-07 17:13:49 - TZ=UTC
TB --- 2014-04-07 17:13:49 - __MAKE_CONF=/dev/null
TB --- 2014-04-07 17:13:49 - cd /src
TB --- 2014-04-07 17:13:49 - /usr/bin/make -B buildkernel KERNCONF=AR71XX_BASE
>>> Kernel build for AR71XX_BASE started on Mon Apr  7 17:13:49 UTC 2014
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for AR71XX_BASE completed on Mon Apr  7 17:22:03 UTC 2014
TB --- 2014-04-07 17:22:03 - cd /src/sys/mips/conf
TB --- 2014-04-07 17:22:03 - /usr/sbin/config -m AR724X_BASE
TB --- 2014-04-07 17:22:03 - building AR724X_BASE kernel
TB --- 2014-04-07 17:22:03 - CROSS_BUILD_TESTING=YES
TB --- 2014-04-07 17:22:03 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-04-07 17:22:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-04-07 17:22:03 - SRCCONF=/dev/null
TB --- 2014-04-07 17:22:03 - TARGET=mips
TB --- 2014-04-07 17:22:03 - TARGET_ARCH=mips
TB --- 2014-04-07 17:22:03 - TZ=UTC
TB --- 2014-04-07 17:22:03 - __MAKE_CONF=/dev/null
TB --- 2014-04-07 17:22:03 - cd /src
TB --- 2014-04-07 17:22:03 - /usr/bin/make -B buildkernel KERNCONF=AR724X_BASE
>>> Kernel build for AR724X_BASE started on Mon Apr  7 17:22:03 UTC 2014
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for AR724X_BASE completed on Mon Apr  7 17:28:05 UTC 2014
TB --- 2014-04-07 17:28:05 - cd /src/sys/mips/conf
TB --- 2014-04-07 17:28:05 - /usr/sbin/config -m AR91XX_BASE
TB --- 2014-04-07 17:28:05 - building AR91XX_BASE kernel
TB --- 2014-04-07 17:28:05 - CROSS_BUILD_TESTING=YES
TB --- 2014-04-07 17:28:05 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-04-07 17:28:05 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-04-07 17:28:05 - SRCCONF=/dev/null
TB --- 2014-04-07 17:28:05 - TARGET=mips
TB --- 2014-04-07 17:28:05 - TARGET_ARCH=mips
TB --- 2014-04-07 17:28:05 - TZ=UTC
TB --- 2014-04-07 17:28:05 - __MAKE_CONF=/dev/null
TB --- 2014-04-07 17:28:05 - cd /src
TB --- 2014-04-07 17:28:05 - /usr/bin/make -B buildkernel KERNCONF=AR91XX_BASE
>>> Kernel build for AR91XX_BASE started on Mon Apr  7 17:28:05 UTC 2014
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
[...]
yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c /src/sys/dev/aic7xxx/aicasm/aicasm_macro_gram.y
cc -O2 -pipe -I. -I/src/sys/dev/aic7xxx/aicasm -std=gnu99   -c /src/sys/dev/aic7xxx/aicasm/aicasm.c
cc -O2 -pipe -I. -I/src/sys/dev/aic7xxx/aicasm -std=gnu99   -c /src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c
/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c: In function 'symtable_dump':
/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c:461: internal compiler error: in var_ann, at tree-flow-inline.h:128
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html>; for instructions.
*** Error code 1

Stop.
bmake[1]: stopped in /obj/mips.mips/src/sys/AR91XX_BASE
*** Error code 1

Stop.
bmake: stopped in /src
*** [buildkernel] Error code 1

Stop in /src.
TB --- 2014-04-07 17:28:09 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2014-04-07 17:28:09 - ERROR: failed to build AR91XX_BASE kernel
TB --- 2014-04-07 17:28:09 - 5689.12 user 2936.28 system 8244.03 real


http://tinderbox.des.no/tinderbox-freebsd10-build-RELENG_10-mips-mips.full



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1404071843230.9102>