Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jun 2016 17:09:14 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: HEADS UP: caution required with updates using custom kernels
Message-ID:  <20160625170914.7eb3d260.ohartman@zedat.fu-berlin.de>
In-Reply-To: <20160624155111.GB20770@spindle.one-eyed-alien.net>
References:  <20160623210751.GB7860@spindle.one-eyed-alien.net> <20160624060019.5e650ad9.ohartman@zedat.fu-berlin.de> <20160624155111.GB20770@spindle.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Am Fri, 24 Jun 2016 15:51:11 +0000
Brooks Davis <brooks@freebsd.org> schrieb:

> On Fri, Jun 24, 2016 at 06:00:19AM +0200, O. Hartmann wrote:
> > Am Thu, 23 Jun 2016 21:07:51 +0000
> > Brooks Davis <brooks@freebsd.org> schrieb:
> >   
> > > Kernel config minimalists and those running aarch64 and riscv systems will
> > > want to head this UPDATING message.
> > > 
> > > In practice, if you're fairly up to date, doing installworld before
> > > installkernel will also work (I've tested that case from ALPHA4), but is
> > > always somewhat risky.
> > > 
> > > -- Brooks
> > > 
> > > ----- Forwarded message from Brooks Davis <brooks@FreeBSD.org> -----
> > > 
> > > Date: Thu, 23 Jun 2016 21:02:05 +0000 (UTC)
> > > From: Brooks Davis <brooks@FreeBSD.org>
> > > To: src-committers@freebsd.org, svn-src-all@freebsd.org,
> > > 	svn-src-head@freebsd.org
> > > Subject: svn commit: r302152 - head
> > > 
> > > Author: brooks
> > > Date: Thu Jun 23 21:02:05 2016
> > > New Revision: 302152
> > > URL: https://svnweb.freebsd.org/changeset/base/302152
> > > 
> > > Log:
> > >   Add an UPDATING entry for the pipe() -> pipe2() transition.
> > >   
> > >   Approved by:	re (gjb)
> > >   Sponsored by:	DARPA, AFRL
> > > 
> > > Modified:
> > >   head/UPDATING
> > > 
> > > Modified: head/UPDATING
> > > ==============================================================================
> > > --- head/UPDATING	Thu Jun 23 20:59:13 2016	(r302151)
> > > +++ head/UPDATING	Thu Jun 23 21:02:05 2016	(r302152)
> > > @@ -31,6 +31,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11
> > >  	disable the most expensive debugging functionality run
> > >  	"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
> > >  
> > > +20160622:
> > > +	The the libc stub for the pipe(2) system call has been replaced with
> > > +	a wrapper which calls the pipe2(2) system call and the pipe(2) is now
> > > +	only implemented by the kernels which include "options
> > > +	FREEBSD10_COMPAT" in their config file (this is the default).
> > > +	Users should ensure that this option is enabled in their kernel
> > > +	or upgrade userspace to r302092 before upgrading their kernel.
> > > +
> > >  20160527:
> > >  	CAM will now strip leading spaces from SCSI disks' serial numbers.
> > >  	This will effect users who create UFS filesystems on SCSI disks using
> > > 
> > > 
> > > ----- End forwarded message -----  
> > 
> > Is this showing up, when one doesn't have the expected COMPAT_FREEBSD10 in kernel and
> > updated kernel __before___ world?:  
> 
> You must include COMPAT_FREEBSD10 or have a new userspace.  Otherwise
> things like your shell are unlikely to work.

How to fix this probblem? I have no other machine available to build a generic
system/kernel.

How to fix this mess with a running system, but with messages like below showing up when
try building a new world?

The warning came, as usual, too late! The source and changes were out. It seems that I'm
not the only one with problems like that, so please provide some instructions to salvage
the situation.

Thanks in advance,

oh

> 
> -- Brooks
> 
> > 
> > most recent CURRENT (FreeBSD 11.0-ALPHA4 #41 r302149: Thu Jun 23 21:58:25 CEST 2016
> > amd64, custom kernel) dies when trying to
> > 
> > make buildworld 
> > 
> > or
> > 
> > make buildkernel/kernel
> > 
> > with the message shown below:
> > 
> > root@localhost: [src] make buildkernel
> > *** Signal 12
> > 
> > Stop.
> > make: stopped in /usr/src
> > .ERROR_TARGET='buildkernel'
> > .ERROR_META_FILE=''
> > .MAKE.LEVEL='0'
> > MAKEFILE=''
> > .MAKE.MODE='normal'
> > .CURDIR='/usr/src'
> > .MAKE='make'
> > .OBJDIR='/usr/obj/usr/src'
> > .TARGETS='buildkernel'
> > DESTDIR=''
> > LD_LIBRARY_PATH=''
> > MACHINE='amd64'
> > MACHINE_ARCH='amd64'
> > MAKEOBJDIRPREFIX='/usr/obj'
> > MAKESYSPATH='/usr/src/share/mk'
> > MAKE_VERSION='20160606'
> > PATH='/sbin:/bin:/usr/sbin:/usr/bin'
> > SRCTOP='/usr/src'
> > OBJTOP='/usr/obj/usr/src'
> > 
> > Regards,
> > 
> > oh  
> 
> 


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXbp6aAAoJEOgBcD7A/5N8aWAH/jr2S0/DKSk6Qt3e5Xa49xSj
fbEr3t9/2C2TiEmpGpiwza16rNTAzuAtO2lQmNEw2hkpx6LZMSL7OZT5ii2xp58B
SLb91kJx8VQaToQE+asrtv+FvfYjdi2rKmr6/WKRDzW8OlNFSowZSw3Q9GuKxKKC
IZbFnmCvD90y3Ber+KmeKGu3MW3mkIiV1938N0oMSH0lmOsMqrIaYaxUhFnwPbiw
YYaNNhNpu9fifGMGAA0/is8H4EHhm7CJxrVlWXALSBx5Xk9qotA2tG/himAIR2vC
aSAHFEw5Ae/Lr+J9jakLdnit0GeHfypnXIqx9VTvXI1h/1mh3dOVUZDpEAOrjLc=
=ggXF
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160625170914.7eb3d260.ohartman>