From owner-freebsd-current@FreeBSD.ORG Thu Feb 21 18:45:29 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 89B724C2; Thu, 21 Feb 2013 18:45:29 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id DA0D68D; Thu, 21 Feb 2013 18:45:28 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.6/8.14.6) with ESMTP id r1LIjFlg060448; Thu, 21 Feb 2013 20:45:15 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.7.4 kib.kiev.ua r1LIjFlg060448 Received: (from kostik@localhost) by tom.home (8.14.6/8.14.6/Submit) id r1LIjFXi060447; Thu, 21 Feb 2013 20:45:15 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 21 Feb 2013 20:45:15 +0200 From: Konstantin Belousov To: Jung-uk Kim Subject: Re: -CURRENT userland regression Message-ID: <20130221184515.GA2598@kib.kiev.ua> References: <51254ACE.2030100@delphij.net> <51254C7E.9050705@gmail.com> <201302211031.31599.jhb@freebsd.org> <51265E39.2070109@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Zif13CGLAmVnkPyw" Content-Disposition: inline In-Reply-To: <51265E39.2070109@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: jmg@freebsd.org, freebsd-current@freebsd.org, Xin Li , 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 18:45:29 -0000 --Zif13CGLAmVnkPyw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 21, 2013 at 12:49:45PM -0500, Jung-uk Kim wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > On 2013-02-21 10:31:31 -0500, John Baldwin wrote: > > On Wednesday, February 20, 2013 5:21:50 pm Navdeep Parhar wrote: > >> On 02/20/13 14:14, Xin Li wrote: > >>> Hi, > >>>=20 > >>> It seems that fresh -HEAD would give an unusable kernel that=20 > >>> overwrites screen buffer in a way making it impossible to > >>> debug. Using an old world source to do 'make buildworld > >>> buildkernel' results in a (mostly: I have some strange USB > >>> issue right now and still looking for the cause) usable > >>> kernel. > >>>=20 > >>> For now my known good combination is world 246858 with kernel > >>> 247057. I'm still trying to find out which revision have broke > >>> the stuff. > >>=20 > >> I ran into this earlier today. Selecting "safe mode" in the boot > >> loader menu seems to work around the problem on my system. Now I > >> will not reboot until I see a fix for this in head :-) > >=20 > > "safe mode" toggles a few different things IIRC, can you narrow it > > down to a single setting? > > kern.smp.disabled=3D1 As the public service announcement, jmg will commit the following patch. Until that, apply and rebuild both world and kernel. diff --git a/contrib/binutils/opcodes/i386-opc.h b/contrib/binutils/opcodes= /i386-opc.h index 45589d8..27c1dab 100644 --- a/contrib/binutils/opcodes/i386-opc.h +++ b/contrib/binutils/opcodes/i386-opc.h @@ -73,15 +73,16 @@ typedef struct template #define CpuSSE4_2 0x800000 /* SSE4.2 Instructions required */ #define CpuXSAVE 0x1000000 /* XSAVE Instructions required */ #define CpuAES 0x2000000 /* AES Instructions required */ -#define CpuPCLMUL 0x4000000 /* Carry-less Multiplication extensions */ - -/* SSE4.1/4.2 Instructions required */ -#define CpuSSE4 (CpuSSE4_1|CpuSSE4_2) =20 /* These flags are set by gas depending on the flag_code. */ #define Cpu64 0x4000000 /* 64bit support required */ #define CpuNo64 0x8000000 /* Not supported in the 64bit mode */ =20 +#define CpuPCLMUL 0x10000000 /* Carry-less Multiplication extensions */ + +/* SSE4.1/4.2 Instructions required */ +#define CpuSSE4 (CpuSSE4_1|CpuSSE4_2) + /* The default value for unknown CPUs - enable all features to avoid pro= blems. */ #define CpuUnknownFlags (Cpu186|Cpu286|Cpu386|Cpu486|Cpu586|Cpu686 \ |CpuP4|CpuSledgehammer|CpuMMX|CpuMMX2|CpuSSE|CpuSSE2|CpuSSE3|CpuVMX \ --Zif13CGLAmVnkPyw Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJRJms6AAoJEJDCuSvBvK1Bh4wP/2WSxGETb3XGEhM4j8LXiUZT TZ2ju7e4o1eVwvgZ33dabDgEudB6UiphJTs0uVHFDk3WEWKXIwoKxIkUNPa7LtHD PUu4KuB6KD7peBADfFEmcLmY2lb10d8BGEnagVtvfygDCtAGmwYLx8Wpdf6KTgR2 v+gVpkLQM2bfA7lXnqzNFeUAtHUYBWzRIMh+W44hEDIrzAWnO0tDUjlDWMOcmmCV i+kHoKxja0TJreu8BaCwF3asbwvGcHiEzKKRKVcttoX7ErAjKAaoZMQB0vB8xuK/ tW9MlqB0OnMaZMYAV3bYJrDHRGp8xr8hmOJZp+rWl3y9sln/pgdGkIfdJam6khJI NC5cBYhcGK2/PV0YJwjQz8OTWI2eKVScw/yJmhyGytgzsV7S2Lo3ak0+Rjp8A9zF ZrCFEmQzmyRKDT0oHBHRZknqryCoB8Dz0glPtppfNDnWjQvODWdm2p7fjKdc8I4r g0r6/8eaVRyARprOr5sfpIzqOgUgiccWUazjeC8RtnSNmJkpbUFnvuOC+KYZ1/Au d/8Q6vLyn7FUSbk/6q4o+Es79iCQvJWQHn7dUId1YumnDMrf3N++fQNsgIaEkkBD P00k4R31HbP5fG4hN1oNZ8UAFi2Lli0GZX25wTSMgQtySzfpa+P5EApa1701ZN/l LzpyweD9kawucMK/AE5V =W/YG -----END PGP SIGNATURE----- --Zif13CGLAmVnkPyw--