kernel-tools icon indicating copy to clipboard operation
kernel-tools copied to clipboard

Multiple errors as kernel doesnt support some modules

Open bosslvldotcom opened this issue 9 years ago • 12 comments

Please fix this. Im trying to set up a cluster on scaleway but this is holding me back:

Setting up scylla-kernel-conf (1.2.1-20160623.c56fc99-ubuntu1) ... sysctl: cannot stat /proc/sys/kernel/sched_tunable_scaling: No such file or directory sysctl: cannot stat /proc/sys/kernel/sched_min_granularity_ns: No such file or directory sysctl: cannot stat /proc/sys/kernel/sched_wakeup_granularity_ns: No such file or directory sysctl: cannot stat /proc/sys/kernel/sched_latency_ns: No such file or directory sysctl: cannot stat /proc/sys/kernel/sched_autogroup_enabled: No such file or directory dpkg: error processing package scylla-kernel-conf (--configure): subprocess installed post-installation script returned error exit status 255 dpkg: dependency problems prevent configuration of scylla: scylla depends on scylla-kernel-conf; however: Package scylla-kernel-conf is not configured yet.

dpkg: error processing package scylla (--configure):

This is for scylladb Im running Ubuntu 14.0.4 Linux scw-b4 4.5.7-std-2

Thanks

bosslvldotcom avatar Jul 05 '16 02:07 bosslvldotcom

Hi any news?

bosslvldotcom avatar Jul 13 '16 00:07 bosslvldotcom

Hi @scorpnode,

The last week, I did not find the options to enable

sysctl: cannot stat /proc/sys/kernel/sched_min_granularity_ns: No such file or directory
sysctl: cannot stat /proc/sys/kernel/sched_wakeup_granularity_ns: No such file or directory
sysctl: cannot stat /proc/sys/kernel/sched_latency_ns: No such file or directory

QuentinPerez avatar Jul 13 '16 08:07 QuentinPerez

@aimxhaisse, any idea about this ?

moul avatar Jul 15 '16 12:07 moul

https://doc.opensuse.org/documentation/html/openSUSE_121/opensuse-tuning/cha.tuning.taskscheduler.html

bosslvldotcom avatar Jul 19 '16 06:07 bosslvldotcom

https://en.wikipedia.org/wiki/Completely_Fair_Scheduler i think

bosslvldotcom avatar Jul 19 '16 06:07 bosslvldotcom

Just following up on this

bosslvldotcom avatar Aug 31 '16 11:08 bosslvldotcom

Hi @scorpnode

For now we can't use the CFS on our kernel because it turn all modules in static

QuentinPerez avatar Aug 31 '16 12:08 QuentinPerez

Scheduler tunables section http://www.scylladb.com/2016/06/10/read-latency-and-scylla-jmx-process/

bosslvldotcom avatar Aug 31 '16 14:08 bosslvldotcom

We can't use the CFS scheduler.

QuentinPerez avatar Aug 31 '16 14:08 QuentinPerez

seeing the same issue currently.

root@deployer:~# apt-get install scylla
Reading package lists... Done
Building dependency tree
Reading state information... Done
scylla is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up scylla-kernel-conf (1.3.0-20160824.ec3ace5-ubuntu1) ...
sysctl: cannot stat /proc/sys/kernel/sched_tunable_scaling: No such file or directory
sysctl: cannot stat /proc/sys/kernel/sched_min_granularity_ns: No such file or directory
sysctl: cannot stat /proc/sys/kernel/sched_wakeup_granularity_ns: No such file or directory
sysctl: cannot stat /proc/sys/kernel/sched_latency_ns: No such file or directory
sysctl: cannot stat /proc/sys/kernel/sched_autogroup_enabled: No such file or directory
sysctl: cannot stat /proc/sys/kernel/numa_balancing: No such file or directory
dpkg: error processing package scylla-kernel-conf (--configure):
 subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of scylla:
 scylla depends on scylla-kernel-conf; however:
  Package scylla-kernel-conf is not configured yet.

dpkg: error processing package scylla (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 scylla-kernel-conf
 scylla
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@deployer:~# uname -a
Linux deployer 4.4.4-std-3 #1 SMP Tue Mar 8 17:31:34 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

hasmikhail avatar Aug 31 '16 21:08 hasmikhail

is it possible to make a kernel image with CFS such that it would work on VC1 or C2 ?

hasmikhail avatar Aug 31 '16 22:08 hasmikhail

got it to work on scaleway c2s but should work on every X86 64bit machine.

apparently scylla-kernel-conf fails due to the scaleway's own kernel. Some settings can't be set. However, you can install the package manually and skip the postinstallation script of the package. Since these settings can not be altered anyway this should be safe to do.

apt-get download --allow-unauthenticated scylla-kernel-conf
sudo dpkg --unpack scylla-kernel-conf*.deb
sudo rm /var/lib/dpkg/info/scylla-kernel-conf.postinst -f
sudo dpkg --configure scylla-kernel-conf
sudo apt-get install -yf #To fix dependencies

from https://askubuntu.com/questions/482928/ignore-apt-get-postinstall-scripts-automatically

afterwards scylla should be installed properly.

worked for me. Runnning scylla cluster on several c2 machines now (testing env).

themazim avatar May 22 '17 16:05 themazim