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

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



On Fri, 26 Jan 2018 23:25:55 +0100
Sven Hartge <sven@svenhartge.de> wrote:

> 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

Actually yes, here it looks (when I load msr) like:

# ls -l /dev/cpu/0
insgesamt 0
crw------- 1 root root 202, 0 Jan 26 23:33 msr

When I check /proc/cpuinfo I see that "msr" is listed in the "flags"
section. So why doesn't the driver load automagically?
But then, at least with the version of the checker-script here, it
doesn't seem to make any difference, at least for whatever the script
tries.
Don't know if enabling msr will do me any good otherwise.

Regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

The joys of love made her human and the agonies of love destroyed her.
		-- Spock, "Requiem for Methuselah", stardate 5842.8


Reply to: