Re: linux-2.4.26-om1 kernel running under Ubuntu 6.06.1 LTS
Tony Travis <[email protected]> Sat, 13 Jan 2007 23:05:47 +0000
| Newsgroups | gmane.linux.cluster.openmosix.general |
|---|---|
| Message-ID | <[email protected]> |
Anonymous wrote:
> This is great news! Will there be a howto? Right now I'm wondering, if the best
> way to run Openmosix at the moment on my existing system would be with this
> kernel in Ubuntu or the 2.4.27 from Clusterknoppix.
Hello, Anonymous :-)
Yes, there will - I'll put the details on the openMosix wiki when I've
got time but for now, briefly:
1. You need to know how to recompile the openMosix kernel
2. Patch the kernel sources as I described previously
3. Patch hpc/mig.c using the patch below
4. Compile and install the linux-2.4.26-om1 kernel
5. Reboot single-user
6. "cd /dev; ./MAKEDEV generic" # udev not supported by 2.4 kernel
7. "discover -f "%m\t%M\n" all" # to find kernel modules to load
8. modprobe to check the modules are in the kernel...
9 if not, reconfigure the kernel and start again at step 4
10. vi /etc/modules.conf #add aliases e.g. alias eth0 sk98lin
11. reboot multi-user
12. Configure openMosix
> diff -Naur linux-2.4.26-om1.old/hpc/mig.c linux-2.4.26-om1/hpc/mig.c
> --- linux-2.4.26-om1.old/hpc/mig.c 2004-11-19 20:23:51.000000000 +0000
> +++ linux-2.4.26-om1/hpc/mig.c 2007-01-07 01:44:56.000000000 +0000
> @@ -854,8 +854,8 @@
> /* else do not bother - DEPUTY will bring */
> /* send task segment registers.
> */
> - asm volatile ("movl %%fs,%0":"=m" (*(int *) &m.fs));
> - asm volatile ("movl %%gs,%0":"=m" (*(int *) &m.gs));
> + asm volatile ("mov %%fs,%0":"=m" (m.fs));
> + asm volatile ("mov %%gs,%0":"=m" (m.gs));
> /* send task limits */
> m.rlim_cpu = p->rlim[RLIMIT_CPU];
> m.rlim_data = p->rlim[RLIMIT_DATA];
Let me know how you get on. Our linux-2.4.26-om1 Ubuntu-based Beowulf
cluster has been up for three days now without any problems so far.
Best wishes,
Tony.
--
Dr. A.J.Travis, | mailto:[email protected]
Rowett Research Institute, | http://www.rri.sari.ac.uk/~ajt
Greenburn Road, Bucksburn, | phone:+44 (0)1224 712751
Aberdeen AB21 9SB, Scotland, UK. | fax:+44 (0)1224 716687
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV