Hello,
That’s the problem. I was unlucky to find any appropriate instuction how to do that for OpenSuse. However, I tried to repeat the general steps of building the kernel described here Configure, Build and Install a Custom Linux Kernel - openSUSE
compilation fails and shows this message:
LD kdb/modules/built-in.o
CC [M] kdb/modules/kdbm_pg.o
CC [M] kdb/modules/kdbm_task.o
kdb/modules/kdbm_task.c: In function ‘kdbm_task’:
kdb/modules/kdbm_task.c:98: error: ‘struct task_struct’ has no member named ‘rt’
make[2]: *** [kdb/modules/kdbm_task.o] Error 1
make[1]: *** [kdb/modules] Error 2
make: *** [kdb] Error 2
Does anyone know what to do with that ?
Did anyone succeed in BFS installation on OpenSuse?
works here for me
using kernel 2.6.32.2 and BFS patch v313…
patch -p1 < bfs-313.diff
make
make modules_install
make install
Which kernel are you using? Which bfs patch version?
2.6.31-sched-bfs-311.patch - that’s the patch I use.
Kernel’s version is respectively 2.6.31.5-0.1
Why you missed make cloneconfig step here?
the bfs scheduler is intended to be patched only on mainline kernels. Seeing the -0.1 thing in your kernel version, I suspect you got it from the OBS or some repo? Don’t, as SUSE usually uses patches which may break things with bfs or even make it fail to patch.
If you want bfs, get mainline kernel from kernel.org and patch it with bfs
I skipped cloneconfig as it’s useless, if there’s no .config file in the kernel’s source, it reads the config from /boot/config-<kernel-version>
neutrino:/usr/src/linux-2.6.32.2 # make xconfig
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kconfig_load.o
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTCXX scripts/kconfig/qconf.o
HOSTLD scripts/kconfig/qconf
scripts/kconfig/qconf arch/x86/Kconfig
using defaults found in /boot/config-2.6.32.2-hadron
Thank you! Yes, I downloaded it from there. I will try to get a mainline kernel and get back to this topic with the results.