Date: Thu, 21 Feb 2013 08:55:27 -0800 From: John-Mark Gurney <jmg@funkthat.com> To: Andriy Gapon <avg@freebsd.org> Cc: Konstantin Belousov <kostikbel@gmail.com>, Xin Li <delphij@delphij.net>, FreeBSD Current <freebsd-current@freebsd.org>, d@delphij.net, Navdeep Parhar <nparhar@gmail.com> Subject: Re: -CURRENT userland regression Message-ID: <20130221165527.GV55866@funkthat.com> In-Reply-To: <5125D8A6.2050409@FreeBSD.org> References: <51254ACE.2030100@delphij.net> <51254C7E.9050705@gmail.com> <20130220222518.GT2598@kib.kiev.ua> <51254E51.1070702@delphij.net> <20130220223704.GU2598@kib.kiev.ua> <5125595D.5010508@delphij.net> <5125D8A6.2050409@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Andriy Gapon wrote this message on Thu, Feb 21, 2013 at 10:19 +0200:
> on 21/02/2013 01:16 Xin Li said the following:
> > I think it's unlikely -- I have r247057 of sys/ which worked fine...
> >
> > userland 246957 works good by the way.
>
> Just a very wild guess - are you sure that it is the userland that is to blame?
> It is rather unfortunate that we install boot blocks, including loader which
> gets _really_ installed, as part of installworld (and they are built as part of
> buildworld). So there is a possibility that it is loader that causes the
> trouble. I would try to rule that out.
As I posted in a different thread, apparently my gcc AES changes
(r247012) manages to break a clang built kernel... I'm in the process
of debugging right now...
I did the usual:
make buildworld && make buildkernel && make installkernel && shutdown -r now
and the kernel hung... I then reverted r247012 and did the above again,
and the machine is running again:
FreeBSD carbon.funkthat.com 10.0-CURRENT FreeBSD 10.0-CURRENT #4 r247075M: Thu Feb 21 00:49:57 PST 2013 jmg@carbon.funkthat.com:/usr/obj/usr/src/sys/GENERIC amd64
And I haven't installworld yet... so somehow supporting the AES
instructions in gcc causes the kernel to miscompile...
I'm now going to diff the two kernels to find out what's different...
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130221165527.GV55866>
