LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-15-2006, 10:06 PM   #1
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Rep: Reputation: 15
is openmosix impossible


I'd like to figur eout how to install openmosix on a debian desktop installation, but i just can't seem to figure it out.

here's what i got:

1 freshly downloaded copy of Debian (about a week old)
1 some debs of openmosix,
1 openmosixview
1 openmosix patch

and these instructions

Quote:
Installing openMosix ``the Debian way'' can be easily done as described below.

The first step consists in downloading the packages from the net. I had to use a 2.4.19 kernel since the openMosix patches package is not yet available for 2.4.20 at the moment I write this. Since we are using a Debian setup we needed: http://packages.debian.org/unstable/net/openmosix.html, http://packages.debian.org/unstable/...openmosix.html, http://packages.debian.org/unstable/...l-package.html, http://packages.debian.org/unstable/...ce-2.4.19.html. You can also apt-get install them .

The next part is making the kernel openMosix capable.

Basically, the procedure to follow is: cd /usr/src
apt-get install kernel-source-2.4.19 kernel-package \
openmosix kernel-patch-openmosix
tar vxjf kernel-source-2.4.19.tar.bz2
ln -s /usr/src/kernel-source-2.4.19 /usr/src/linux
cd /usr/src/linux
../kernel-patches/i386/apply/openmosix
make menuconfig
make-kpkg kernel_image modules_image
cd ..
dpkg -i kernel-image-*-openmosix-*.deb

You now will need to edit your /etc/openmosix.map. Please follow the instructions given in the ``Syntax of /etc/openmosix.map'' part of this HOWTO.

After rebooting with this kernel and a configured /etc/openmosix.map, you should then have a cluster of openMosix machines that talk to each-other and that do migration of processes.

You can test that by running the following small script: awk 'BEGIN {for(i=0;i<10000;i++)for(j=0;j<10000;j++);}'

a couple of times, and monitor its behaviour with "mosmon" where you will see that it spreads the load between the different nodes.

We also setup openMosixView on the Debian machine: apt-get install openmosixview

In order to be able to actually use openMosixView you will need to run it from a user who can log in to the different nodes as root. We suggest you set this up using ssh. Please note that there is a difference between the ssh and ssh2 implementations. If you do have an identity.pub file, ssh will check authorized_keys, while if you do have an id_dsa.pub you will need authorized_keys2!

openMosixView gives you a nice interface that shows the load of different machines and gives you the possibility to migrate processes manually.

A detailed discussion of openMosixView can be found elsewhere in this document.
I have alot of questions.

1. should i also use the 2.4.19 kernel or can i use a newer one?

2. does the version number on the patch have to match the version number of the kernel?

3. where do i get the kernel and patch that will work with the debian i already have installed?

4. should I download an older version of debian to use openmosix?

5. is there an easier way to do all of this(without using clusterknoppix or something like it.)?

p.s. i've been looking at a lot of forums in the past week. I'm not interested in hearing about what a waste it would be to have a cluster, or how inefficient it would be for anything practical, the processor to power consumption ratios. Im just a tinkerer and would love to know how to do use debian w\ openmosix.

P.P.S im probably gonna ask more questions after these get answered because i havent been able to do it successfully yet.
 
Old 03-15-2006, 10:35 PM   #2
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
1: You can use a newer one. http://sourceforge.net/tracker/?grou...29&atid=447173
2: Yes and No, you should use the same, but if the patch applies cleanly it shouldn't be a problem. You may have to apply some of the patch by hand if it fails.
3: You can get a kernel from snapshots.debian.net if not in the official repos. See above for patches.
4: The patch and openmosix are in oldstable, completely up to you.
5: You will have to be a bit more specific than "all of this".
 
Old 03-15-2006, 10:44 PM   #3
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dracae
edit

just to double check because i can't do anything while im at work

I'm going to be downloading

2.4.21-1 + Low Latency open mosix patch from
http://sourceforge.net/tracker/?grou...29&atid=447173

and

the kernel-2.4.21-1 from ????

http://snapshots.debian.net is a GroupWise WebAccess login

Last edited by surban99; 03-16-2006 at 10:52 AM.
 
Old 03-16-2006, 06:04 PM   #4
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Original Poster
Rep: Reputation: 15
bump.........
 
Old 03-16-2006, 06:08 PM   #5
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
Sorry, http://snapshot.debian.net/
 
Old 03-16-2006, 07:10 PM   #6
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Original Poster
Rep: Reputation: 15
i found it but i get an error trying to download it
im trying here http://snapshot.debian.net/archive/p...source-2.4.21/

what do i get? all the files in these subdirectories are only like 1K-3K
 
Old 03-16-2006, 07:47 PM   #7
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
echo "deb http://snapshot.debian.net/archive pool kernel-source-2.4.21">>/etc/apt/sources.list
apt-get update
apt-get install kernel-source-2.4.21
 
Old 03-26-2006, 01:19 PM   #8
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Original Poster
Rep: Reputation: 15
masternode:/usr/src/linux# ../kernel-patches/i386/apply/openmosix
Testing whether "OpenMosix Kernel Patch" patch for 2.4.20 applies (dry run):
2 out of 2 hunks FAILED -- saving rejects to file arch/alpha/kernel/entry.S.rej
1 out of 1 hunk FAILED -- saving rejects to file arch/arm/kernel/process.c.rej
1 out of 1 hunk FAILED -- saving rejects to file arch/cris/kernel/entry.S.rej
2 out of 9 hunks FAILED -- saving rejects to file arch/i386/kernel/process.c.rej
2 out of 2 hunks FAILED -- saving rejects to file arch/ia64/kernel/process.c.rej
1 out of 1 hunk FAILED -- saving rejects to file arch/m68k/kernel/process.c.rej
1 out of 1 hunk FAILED -- saving rejects to file arch/mips/kernel/process.c.rej
1 out of 1 hunk FAILED -- saving rejects to file arch/mips64/kernel/process.c.re j
1 out of 1 hunk FAILED -- saving rejects to file arch/parisc/kernel/process.c.re j
1 out of 1 hunk FAILED -- saving rejects to file arch/ppc/kernel/misc.S.rej
1 out of 1 hunk FAILED -- saving rejects to file arch/ppc64/kernel/misc.S.rej
1 out of 1 hunk FAILED -- saving rejects to file arch/s390/kernel/process.c.rej
1 out of 1 hunk FAILED -- saving rejects to file arch/s390x/kernel/process.c.rej
1 out of 1 hunk FAILED -- saving rejects to file arch/sh/kernel/process.c.rej
1 out of 1 hunk FAILED -- saving rejects to file arch/sparc/kernel/process.c.rej
1 out of 1 hunk FAILED -- saving rejects to file arch/sparc64/kernel/process.c.r ej
2 out of 7 hunks FAILED -- saving rejects to file fs/buffer.c.rej
2 out of 28 hunks FAILED -- saving rejects to file fs/exec.c.rej
2 out of 3 hunks FAILED -- saving rejects to file fs/ext3/super.c.rej
3 out of 7 hunks FAILED -- saving rejects to file fs/super.c.rej
1 out of 1 hunk FAILED -- saving rejects to file include/asm-alpha/processor.h.r ej
1 out of 1 hunk FAILED -- saving rejects to file include/asm-arm/processor.h.rej
1 out of 1 hunk FAILED -- saving rejects to file include/asm-cris/processor.h.re j
1 out of 3 hunks FAILED -- saving rejects to file include/asm-i386/processor.h.r ej
1 out of 1 hunk FAILED -- saving rejects to file include/asm-ia64/processor.h.re j
1 out of 1 hunk FAILED -- saving rejects to file include/asm-m68k/processor.h.re j
1 out of 1 hunk FAILED -- saving rejects to file include/asm-mips/processor.h.re j
1 out of 1 hunk FAILED -- saving rejects to file include/asm-mips64/processor.h. rej
1 out of 1 hunk FAILED -- saving rejects to file include/asm-parisc/processor.h. rej
1 out of 1 hunk FAILED -- saving rejects to file include/asm-ppc/processor.h.rej
1 out of 1 hunk FAILED -- saving rejects to file include/asm-ppc64/processor.h.r ej
1 out of 1 hunk FAILED -- saving rejects to file include/asm-s390/processor.h.re j
1 out of 1 hunk FAILED -- saving rejects to file include/asm-s390x/processor.h.r ej
1 out of 1 hunk FAILED -- saving rejects to file include/asm-sh/processor.h.rej
1 out of 1 hunk FAILED -- saving rejects to file include/asm-sparc/processor.h.r ej
1 out of 1 hunk FAILED -- saving rejects to file include/asm-sparc64/processor.h .rej
2 out of 17 hunks FAILED -- saving rejects to file include/linux/fs.h.rej
1 out of 19 hunks FAILED -- saving rejects to file include/linux/sched.h.rej
1 out of 27 hunks FAILED -- saving rejects to file kernel/fork.c.rej
2 out of 3 hunks FAILED -- saving rejects to file kernel/ptrace.c.rej
1 out of 31 hunks FAILED -- saving rejects to file kernel/sys.c.rej
"OpenMosix Kernel Patch" patch for 2.4.20 does not apply cleanly
 
Old 03-26-2006, 08:41 PM   #9
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
Why are you trying the 2.4.20 patch against the 2.4.21 kernel?
 
Old 03-27-2006, 07:29 AM   #10
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Original Poster
Rep: Reputation: 15
both are 2.4.20 i couldn't find the matching source and patch for 2.4.21, if you can tell me exactly which ones to get I'll get those and paste the whole process.

ps thank you very much for all the help so far, sorry if there is something that i may not be undestanding

Last edited by surban99; 03-27-2006 at 07:41 AM.
 
Old 03-27-2006, 08:20 AM   #11
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
add:
deb http://snapshot.debian.net/archive pool kernel-source-2.4.21
deb-src http://snapshot.debian.net/archive pool kernel-source-2.4.21
to /etc/apt/sources.list
run:
apt-get update && apt-get install kernel-source-2.4.21
get your patch from the previous link I posted
 
Old 03-27-2006, 02:01 PM   #12
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Original Poster
Rep: Reputation: 15
from here http://sourceforge.net/tracker/?grou...29&atid=447173 ?
or from here http://sourceforge.net/project/showf...ckage_id=86418 ?

im at work right now, but what exactly do i download

from project downloads
kernel-patch-openmosix_0.3.4-2_i386.deb ?
openmosix-kernel-2.4.21-openmosix1.i386.rpm ?
openmosix-kernel-2.4.21-openmosix1.i686.rpm ?

from patches
openMosix-2.4.21-1-lowlatency.patch.gz ?

Last edited by surban99; 03-27-2006 at 03:12 PM.
 
Old 07-23-2006, 07:17 PM   #13
ErrorBound
Member
 
Registered: Apr 2006
Posts: 280

Rep: Reputation: 31
(broken link)

Last edited by ErrorBound; 02-06-2008 at 03:06 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mosix vs. openMosix microsoft/linux General 1 06-01-2006 01:56 AM
Slackware and openMosix HOW-TO. Linux.tar.gz Slackware 1 08-03-2005 03:52 AM
openmosix. bruse Linux - Newbie 1 07-30-2005 10:33 PM
2 ? on openMosix Cornholio Linux - Software 0 04-01-2005 05:54 AM
openmosix clustering done, what should i do next after the setting up openmosix? kublador Linux - General 3 01-01-2004 09:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration