Path: news.mitre.org!blanket.mitre.org!philabs!newsjunkie.ans.net!newsfeeds.ans.net!news-was.dfn.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.news.erols.com!news.ecn.uoknor.edu!munnari.OZ.AU!bunyip.cc.uq.edu.au!not-for-mail From: jw@qits.net.au.nospam (John Wiltshire) Newsgroups: comp.os.linux.advocacy,comp.sys.intel,comp.os.ms-windows.programmer.nt.kernel-mode,comp.os.ms-windows.nt.advocacy Subject: Re: This code will lock up any P5 machine under Windows NT! (F0 0F C7 C8) Date: Fri, 07 Nov 1997 13:03:43 GMT Organization: Traffic Systems Development Lines: 36 Message-ID: <346310d9.9014061@news.uq.edu.au> References: <3462ADCD.135B@noname.com> <63uaca$nss$1@halcyon.com> <63uuh8$jm0@zwei.siemens.at> NNTP-Posting-Host: gw.qits.net.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent 1.5/32.451 Xref: news.mitre.org comp.os.linux.advocacy:129537 comp.sys.intel:140884 comp.os.ms-windows.programmer.nt.kernel-mode:4745 comp.os.ms-windows.nt.advocacy:73914 On 7 Nov 1997 11:37:12 GMT, Ingo Molnar wrote in comp.os.ms-windows.nt.advocacy: >In comp.sys.intel Tim Smith wrote: >: [Added comp.sys.intel] > >: Cool. It also works (sic) from V86 mode, so if you want to play around, just >: use DOS debug under whatever DOS emulator the OS you are using provides. >: Anyone try it on a Pentium MMX? > >The following unpriviledged, user-mode simple C code locks up my NT 4.0 >(SP3+all current hotfixes applied) workstation solid, only hard reset >helps: > >char x [5] = { 0xf0, 0x0f, 0xc7, 0xc8 }; > >main () >{ > void (*f)() = x; > > f(); >} Looks like an invalid form of LOCK CMPXCHG8B to me... (F0 0F C7 = LOCK CMPXCHG8B and C8 means 'register addressing with AX' which makes no sense). I could be wrong though? Probably a Pentium bug, not an NT bug. John ------------------------------------------------------ John Wiltshire | (w) +61 7 38342783 jw@qits.net .au | (m) +61 417 797897 ------------------------------------------------------ Fear: when you see B8 00 4C CD 21 and you know what it means.