You are not logged in.
Pages: 1
Hey Folks,
last year i successfully patched the slitaz kernel i was using (from the rolling release, 3.2.53 at the time) with a realtime(fully preemptive kernel) patch from
http://www.kernel.org/pub/linux/kernel/projects/rt/
now im planning to upgrade my kernel to the current slitaz-included kernel and need to patch that one again for my slitaz audio-OS.
I was wondering if there could be a package for this?
Id be more than greatful for any ideas/help !
Offline
It would make things easier and save some time in the future, i believe.
Offline
What do you want exactly? A package with the patched kernel? Then you should tell exactly what patch has to be applied. (Doesn't realtime scheduling work with the default kernel?)
Did you face problems when you built your custom 3.2.53 kernel? If yes, you should tell about them and their solutions. If no, is there something in particular that prevents you from doing it again?
Offline
yes, a package with the patched kernel would be great.
realtime scheduling works by default, yet not fully.
this patch enables a fully preemtible kernel.
with my old kernel i have/had no problems up to now.
just wanted to update my kernel..
i installed slitaz on my hexacore desktop and patched&compiled the rt kernel there last night.
the kernel was compiled successfully but i encountered an error at the end (after bzImage was created).
its saved on my desktop machine though, i dont have access right now. (ill post it later)
i test booted and everything looked fine.
Offline
I won't be able to prepare a package receipt myself, alas, because kernel compilation lasts more than 4 hours on SliTaz's server, so it would kill my poor old 10-year-old laptop.
But to raise your chances that someone will, you should post the exact list of commands you typed to build your kernel, and the exact URL of the needed patches.
Yes, post the exact error message(s) as well.
Offline
heres some output.
yesterday i managed to compile the kernel. i didnt save my kernel config to a file though, and after stupidly re-downloading linux sources wiped them to default.
my error in that case was concerning about apic_timer_fn in kvm.ko not being defined.
now, after reconfiguring, i get a different error. i cant compile the kernel anymore,
i must have something still active in the config which i cant
commands were following:
(as root)
# tazpkg get-install slitaz-toolchain
# tazpkg get-install ncurses-dev
# tazpkg get-install perl
# tazpkg get-install linux-source
# /usr/bin/get-linux-source
# cd /usr/src/linux-3.2.71
# patch -p1 < /home/tux/Downloads/patch-3.2.53-rt76.patch
# make oldconfig && make prepare < -- todays error source (see below)
# make menuconfig (adjusted a couple of things like enabling high-resolution timer support)
# make -j 6 bzImage
# make -j 6 modules < -- got the error here yesterday (apic_timer_fn undefined)
todays error lines are:
include/spinlock_types.h:12:38: fatal error: linux/spinlock_types_raw.h: No such file or directory
compilation terminated.
/usr/src/linux-3.2.71/./Kbuild:81: recipe for target 'arch/x86/kernel/asm-offsets.s' failed
Offline
If you still have your previous compiled kernel, boot it and you'll find its config in /proc/config.gz (unless you disabled this feature, but it's enabled by default).
Offline
thanks for the tip!
Ill try it out now and let you know whats up.
Offline
Pages: 1
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]