From owner-freebsd-current@FreeBSD.ORG Thu Feb 21 16:55:33 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7B718BF1; Thu, 21 Feb 2013 16:55:33 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) by mx1.freebsd.org (Postfix) with ESMTP id 251A2686; Thu, 21 Feb 2013 16:55:32 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id r1LGtRru079877 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Feb 2013 08:55:27 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id r1LGtRju079876; Thu, 21 Feb 2013 08:55:27 -0800 (PST) (envelope-from jmg) Date: Thu, 21 Feb 2013 08:55:27 -0800 From: John-Mark Gurney To: Andriy Gapon Subject: Re: -CURRENT userland regression Message-ID: <20130221165527.GV55866@funkthat.com> Mail-Followup-To: Andriy Gapon , d@delphij.net, Konstantin Belousov , FreeBSD Current , Xin Li , Navdeep Parhar 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5125D8A6.2050409@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Thu, 21 Feb 2013 08:55:27 -0800 (PST) Cc: Konstantin Belousov , Xin Li , FreeBSD Current , d@delphij.net, Navdeep Parhar X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2013 16:55:33 -0000 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."