2001-12-18 11:48:38

by Christian Thalinger

[permalink] [raw]
Subject: cpuid on SMP

Just wanted to try Dave Jones' x86info. It complained about missing
/dev/cpu/0/... So i inserted cpuid and started it again. Now it
complains about /dev/cpu/1/...

And there is no /dev/cpu/1/.

So, kernel is compiled with SMP, but cpuid is not working on both cpus.

Known bug?

Regards.


2001-12-18 13:14:56

by Dave Jones

[permalink] [raw]
Subject: Re: cpuid on SMP

On 18 Dec 2001, Christian Thalinger wrote:

> Just wanted to try Dave Jones' x86info. It complained about missing
> /dev/cpu/0/... So i inserted cpuid and started it again. Now it
> complains about /dev/cpu/1/...
> And there is no /dev/cpu/1/.

mkdir /dev/cpu/1
mknod /dev/cpu/1/cpuid c 203 1
mknod /dev/cpu/1/msr c 202 1

Dave.

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs