On Thu, Feb 21, 2013 at 12:49:45PM -0500, Jung-uk Kim wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > 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, > >>> > >>> It seems that fresh -HEAD would give an unusable kernel that > >>> 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. > >>> > >>> 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. > >> > >> 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 :-) > > > > "safe mode" toggles a few different things IIRC, can you narrow it > > down to a single setting? > > kern.smp.disabled=1
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)
/* 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 */
+#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
problems. */
#define CpuUnknownFlags (Cpu186|Cpu286|Cpu386|Cpu486|Cpu586|Cpu686 \
|CpuP4|CpuSledgehammer|CpuMMX|CpuMMX2|CpuSSE|CpuSSE2|CpuSSE3|CpuVMX \
pgpa44_xzYKWn.pgp
Description: PGP signature
