On Sat, 2005-09-24 at 12:14 +0100, David Haggett wrote: > Hi, list > > Sometime ago (May) I asked about realtime under SUSE 9.3, and received the > following advice from Rui (for which I am grateful). When it actually came > down to it, I bottled out so never followed this through, opting to run all > the applications I needed as root. > > "The way to go is installing kernel-source package and apply the > realtime-lsm patch to the kernel source tree. > > "Just (re)build and install the patched kernel, but take special care to > set the following, while on kernel configuration: > > CONFIG_SECURITY_CAPABILITIES=N > CONFIG_SECURITY_REALTIME=M " > > I'm a bit worried about mucking up my system (also used for general purpose > computing), and I was hoping someone could give me some further advice: > > If I patch and reconfigure the kernel source, is that likely to break > future compilation using the default kernel? > > Is it possible to copy the contents of /usr/src/linux-2.6.11.4-21.9/ > to another location (something like /usr/src/linux-2.6.11.4-21.9-rt) > and apply the patch and compile there, or is it better just to patch > the suse source directly, accessing it via the /usr/src/linux symlink? > > Also I noticed there's a directory called /usr/src/linux-2.6.11.4-21.9-obj > > Do patches automatically change the kernel identifier so that when I do > a make modules_install it will create a new directory instead of copying > them over the modules from the running kernel? Is there a way to make > sure it does? > > Is it OK to manually copy the vmlinuz and system.map file into /boot > with a name appropriate to the kernel version? > > Is it good practice to reference kernels directly in the GRUB menu.lst > by their real names rather than the symlink (when presenting the option > to boot more then one)? > > I'm really sorry for the basic questions - I'm still a relative newbie to > Linux. I've thought about trying out a dedicated multimedia distro, but > really comfortable with SuSE now. > > Thanks in advance I googled for "suse compile custom kernel", which returned some useful info, especially this one: http://forums.suselinuxsupport.de/index.php?showtopic=13704 -- Frode Haugsgjerd Norway