FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Studio User

 
 
LinkBack Thread Tools
 
Old 05-27-2011, 08:52 PM
Ralf Mardorf
 
Default Building kernel 2.6.33.9-rt31 on Natty 64-bit

Hi

the current patch at http://www.kernel.org/pub/ is patch-2.6.33.9-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
shell script.

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

"Preemption Mode
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)
choice[1-4]:"

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
you reboot.

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 2.6.33.9-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.

Have fun!

Ralf
--
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
 

Thread Tools




All times are GMT. The time now is 07:36 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org