Building kernel 184.108.40.206-rt31 on Natty 64-bit
the current patch at http://www.kernel.org/pub/ is patch-220.127.116.11-rt31.
I included all needed commands to a script.
Make sure that you're booted kernel 2.6.38-8-generic. Command out the
line regarding to the CPU, if you won't optimize to AMD.
spinymouse@natty:~/Documents$ uname -a
Linux natty 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011
x86_64 x86_64 x86_64 GNU/Linux
The script should add all needed packages to a fresh install, perhaps
some of the packages that will be installed aren't needed and fakeroot
might be already installed, but that doesn't matter. Run the script.
Perhaps you like to backup your current GRUB2 menu by "sudo
cp /boot/grub/grub.cfg /boot/grub/grub.cfg.natty" before running the
spinymouse@natty:~/Documents$ sudo sh rt4us-natty
If you're asked to continue, just "enter".
When you get asked some questions, the first one should be "Group CPU
scheduler (GROUP_SCHED) [N/y/?] (NEW)", just enter, including this one,
you should enter 5 times, until you get asked
1. No Forced Preemption (Server) (PREEMPT_NONE)
2. Voluntary Kernel Preemption (Desktop) (PREEMPT_VOLUNTARY)
3. Preemptible Kernel (Low-Latency Desktop) (PREEMPT_DESKTOP) (NEW)
> 4. Complete Preemption (Real-Time) (PREEMPT_RT)
type "4" without quotes and/ or just enter, including this one, enter
only around 50 additional times, it doesn't matter if you still enter,
while compiling already started. In other words, just push enter all the
times and stop doing it, when compiling started.
On my 2.1 GHz AMD dual-core, 4 GB RAM, it takes around 80 min to build
the kernel, without setting CONCURRENCY_LEVEL.
I've forgotten to add "export CONCURRENCY_LEVEL=2" to the script, if
you're using a multi-core machine too, add it to the script, this might
speed up compiling.
I did it on the fly and might have missed something, the kernel isn't
tested jet, but usually those self-build kernels are ok.
If you won't edit grub.cfg yourself, you don't need to edit the script,
but run "sudo update-grub2" manually, when the script finished, before
If this mail should come through the list, than the kernel at least can
be used for e-mailing :).
spinymouse@natty:~$ uname -a
Linux natty 18.104.22.168-rt31 #1 SMP PREEMPT RT Fri May 27 21:11:36 CEST
2011 x86_64 x86_64 x86_64 GNU/Linux
The NVIDIA driver didn't build the module. My Natty is switching between
nv and nvidia driver, regarding to the kernel at startup.
Ubuntu-Studio-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
|All times are GMT. The time now is 12:20 AM.|
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.