I face the similar problem with this issue when running sudo ./scripts/setup_machine.sh. Previous compilation in build.sh has no errors.
rmmod: ERROR: Module ksched is not currently loaded
insmod: ERROR: could not insert module ./scripts/../ksched/build/ksched.ko: Unknown error 524
I think I enabled cstate?? cat /sys/module/intel_idle/parameters/max_cstate shows 9. However, cpuid | grep "C-states" shows all 0s as follows, unlike the output from the xl170 on cloudlab machine:
My VM:
dssl@ubuntu1804-2:~/AIFM/shenango$ sudo cpuid | grep "C-states"
number of C0 sub C-states using MWAIT = 0x0 (0)
number of C1 sub C-states using MWAIT = 0x0 (0)
number of C2 sub C-states using MWAIT = 0x0 (0)
number of C3 sub C-states using MWAIT = 0x0 (0)
[...]
number of C5 sub C-states using MWAIT = 0x0 (0)
number of C6 sub C-states using MWAIT = 0x0 (0)
number of C7 sub C-states using MWAIT = 0x0 (0)
dssl@ubuntu1804-2:~/AIFM/shenango$ sudo dmesg | grep intel_idle
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.0.0-20-generic root=UUID=a5ec041b-3cac-43ff-9df1-ecc38fa4240c ro intel_idle.max_cstate=5 quiet splash vt.handoff=1
[ 0.381777] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.0.0-20-generic root=UUID=a5ec041b-3cac-43ff-9df1-ecc38fa4240c ro intel_idle.max_cstate=5 quiet splash vt.handoff=1
[ 2.139392] intel_idle: does not run on family 6 model 106
cloudlab machine:
lyuze@node-0:~/AIFM$ cpuid | grep "C-states"
number of C0 sub C-states using MWAIT = 0x0 (0)
number of C1 sub C-states using MWAIT = 0x2 (2)
number of C2 sub C-states using MWAIT = 0x1 (1)
number of C3 sub C-states using MWAIT = 0x2 (2)
[...]
lyuze@node-0:~/AIFM$ sudo dmesg | grep intel_idle
[ 9.699260] intel_idle: MWAIT substates: 0x2120
[ 9.699261] intel_idle: v0.4.1 model 0x4F
[ 9.699931] intel_idle: lapic_timer_reliable_states 0xffffffff
May I know what's important with the ksched.ko module? Does it matter if not installing it?
My VM runs on ubuntu18.04:
dssl@ubuntu1804-2:~/AIFM/shenango$ uname -r
5.0.0-20-generic
dssl@ubuntu1804-2:~/AIFM/shenango$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
Hi,
I face the similar problem with this issue when running
sudo ./scripts/setup_machine.sh
. Previous compilation inbuild.sh
has no errors.I think I enabled cstate??
cat /sys/module/intel_idle/parameters/max_cstate
shows 9. However,cpuid | grep "C-states"
shows all 0s as follows, unlike the output from the xl170 on cloudlab machine: My VM:cloudlab machine:
May I know what's important with the ksched.ko module? Does it matter if not installing it? My VM runs on ubuntu18.04: