Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report. Summary: Review Request: ksplice - Patching a Linux kernel without reboot https://bugzilla.redhat.com/show_bug.cgi?id=454462 ------- Additional Comments From thomas.moschny@xxxxxx 2008-07-31 10:40 EST ------- Unfortunately, there are no kernel-source rpms anymore. So, basically, the procedure is as follows: - download the proper source rpm for the running kernel: "yumdownloader --source kernel-`uname -r`" - install it: rpm -ivh kernel-*.src.rpm - prep it: cd `rpm --eval '%{_specdir}'` && rpmbuild --with baseonly -bp --target=`uname -m` kernel.spec In %{_builddir}/kernel-2.6.25/linux-2.6.25.`uname -m` there is an almost usable tree after that, and one could proceed with the ksplice tutorial (i.e. make a ksplice subdir, copy the right System.map and .config from /boot there, modify some files, or get the desired patch, and finally call ksplice-create). There's one gotcha though: that kernel tree's EXTRAVERSION is empty, (it is being set in %build, not in %prep), and thus the generated ksplice modules can only forcefully be loaded into the running kernel because of a version magic mismatch. So if you've got enough time, use -bc instead of -bp. That actually builds the complete kernel, but then you can be quite sure that the resulting tree matches that of the running kernel. -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ Fedora-package-review mailing list Fedora-package-review@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-package-review