Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2013 20:45:15 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Jung-uk Kim <jkim@FreeBSD.org>
Cc:        jmg@freebsd.org, freebsd-current@freebsd.org, Xin Li <delphij@delphij.net>, Navdeep Parhar <nparhar@gmail.com>
Subject:   Re: -CURRENT userland regression
Message-ID:  <20130221184515.GA2598@kib.kiev.ua>
In-Reply-To: <51265E39.2070109@FreeBSD.org>
References:  <51254ACE.2030100@delphij.net> <51254C7E.9050705@gmail.com> <201302211031.31599.jhb@freebsd.org> <51265E39.2070109@FreeBSD.org>

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

--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--



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