From owner-freebsd-hackers Fri Nov 7 12:40:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA21843 for hackers-outgoing; Fri, 7 Nov 1997 12:40:07 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from thunderdome.plutotech.com (root@thunderdome.plutotech.com [206.168.67.122]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA21838 for ; Fri, 7 Nov 1997 12:40:04 -0800 (PST) (envelope-from ken@panzer.plutotech.com) Received: from panzer.plutotech.com (ken@panzer.plutotech.com [206.168.67.125]) by thunderdome.plutotech.com (8.8.7/8.8.5) with ESMTP id NAA05879; Fri, 7 Nov 1997 13:39:48 -0700 (MST) Received: (from ken@localhost) by panzer.plutotech.com (8.8.7/8.8.5) id NAA09839; Fri, 7 Nov 1997 13:39:45 -0700 (MST) Message-Id: <199711072039.NAA09839@panzer.plutotech.com> Subject: Re: Newest Pentium bug (fatal) In-Reply-To: <3463605C.41C67EA6@whistle.com> from Julian Elischer at "Nov 7, 97 10:39:24 am" To: julian@whistle.com (Julian Elischer) Date: Fri, 7 Nov 1997 13:39:45 -0700 (MST) Cc: hackers@FreeBSD.ORG From: Kenneth Merry X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Julian Elischer wrote... > On a "genuine Intel" pentium (not pentium pro) > execution of the following sequence, 0xf0 0x0f 0xc7 0xc8 > > will stop the processor. This is doable from user mode and in > 16bitmode, or in fact any mode. > > try the following c program. > unsigned char x[] = { 0xfo, 0x0f, 0xc7, 0xc8 }; ^^^^ Shouldn't that be 0xf0? > no idea about the pentium II or other pentium copies. > K6? > > other pentium variants? > versions? > > this one DEFINITLY dies: > CPU: Pentium (99.38-MHz 586-class CPU) > Origin = "GenuineIntel" Id = 0x525 Stepping=5 > Features=0x1bf This one blows up: CPU: Pentium (132.17-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52b Stepping=11 Features=0x1bf I tried it on a 486 and a P6, both worked okay. This could definitely be a problem for people running shell servers, etc., on Pentium boxes. Is there any way to work around it in software? Ken -- Kenneth Merry ken@plutotech.com