Solved

Pentium bug and Solaris 2.5.1 SMP

Posted on 1997-11-13
1
317 Views
Last Modified: 2013-12-27
Hi,

some days before it was a discussion about Pentium bug
(lock cmpxchg8b qword ptrax -  F0 0F C7 C8) which hangs the machine.

I've tested it on several configurations and it is really very bad.

But what I'd like to know is why it happens on 2xPentium Solaris 2.5.1

I'm not a specialist in Solaris kernel and multitasking, but I have a
question which may be stupid.

If I execute the command I hang one of my two processors. Why the system
can't work on the rest one performing normal (or emergency) shutdown or
notifying sysadmin about the problem? Am I right that such a command is
executed only on one processor or not?

If yes then is it a bug in Solaris OS?

Is it a problem in Solaris or it is the problem of the SMP architecture on Intel platform (bus lock, etc.)?

Thanks in advance

Vitali

0
Comment
Question by:korostel
1 Comment
 
LVL 1

Accepted Solution

by:
Belar earned 100 total points
ID: 2007767
Well, to answer your first question. It happens on all pentium or pentium MMX. Pentium Pro and Pentium II are unaffected. For example it crashes my linux SMP so it is not OS related.

About your second answer, yes, indeed only one of the CPU is halted. It might be possible with the appropriate code for the second CPU to "reboot" the first. I actually saw a discussion about this exact issue in the linux-kernel mailing list. The only problem with this "fix" is that if an attacker just do : crash&crash&. It will hang both CPUs without giving time to them to reboot their peer. As for why, there is no notification that one of your cpu is halted. It is simple. I think Solaris or any other OS vendors didn't think it was possible to do such an event.

3) Solaris is not buggy. It is Intel that screwed up.

For more info on the bug go at www.x86.org (or is it com?) The exploit is pretty well documented there.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
what is a good general partitioning scheme for RHEL? 23 128
FTP on FreeBSD server 2 126
Bash Script to Analyze Oracle Schemas 11 103
awk sed variable in file 3 36
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question