[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel 4.14.15 compilation using GCC 8 in unstable.......



Michael Lange <klappnase@freenet.de> wrote:

> Yes, it is the sid kernel, and the module exists. When running the
> script as root it is the same. lsmod shows that the msr module is not
> loaded. If I load it manually with modprobe it appears to load without
> errors, but the output of the checker-script does not change.

Do the contents of the /dev/cpu directory change between loaded and
unloaded msr.ko?

When msr.ko is loaded, there should be directory for each CPU in the
system:

# ls -ld /dev/cpu/*
drwxr-xr-x 2 root root      80 Jan 26 23:23 /dev/cpu/0
drwxr-xr-x 2 root root      80 Jan 26 23:23 /dev/cpu/1
drwxr-xr-x 2 root root      80 Jan 26 23:23 /dev/cpu/2
drwxr-xr-x 2 root root      80 Jan 26 23:23 /dev/cpu/3
crw------- 1 root root 10, 184 Jan 15 23:06 /dev/cpu/microcode

# ls -l /dev/cpu/0
total 0
crw------- 1 root root 203, 0 Jan 22 19:32 cpuid
crw------- 1 root root 202, 0 Jan 26 23:23 msr


> I admit I don't know anything about msr, is this possibly an Intel
> specific thing?

While Intel introduced the concept of MSRs, they are not limited to
Intel CPUs.

S°

-- 
Sigmentation fault. Core dumped.


Reply to: