Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92615 - The openmosix sources kernel does not boot properly.
Summary: The openmosix sources kernel does not boot properly.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Konstantin Arkhipov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-14 09:38 UTC by linuxdan
Modified: 2005-05-30 02:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
openmosix config file (.config,21.90 KB, application/octet-stream)
2005-05-20 21:36 UTC, Andrew Rosborough
Details
This is my config file for open-mosix sources, which makes a kernel which does not boot properly. (kernel_config,22.37 KB, text/plain)
2005-05-21 09:45 UTC, linuxdan
Details
The files open.c and stat.c need to be un - tarred into fs (openstat.tar,40.00 KB, application/x-tar)
2005-05-25 01:07 UTC, Andrew Hart
Details
ksymoops output (openmosixtest.output.gz,6.63 KB, text/plain)
2005-05-30 01:27 UTC, Enrico Morelli
Details
ksymoops output (openmosixtest.output,176.82 KB, text/plain)
2005-05-30 01:58 UTC, Enrico Morelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description linuxdan 2005-05-14 09:38:30 UTC
After compiling openmosix-sources, on a dual processor p3 and adding the kernel to grub, booting the kernel fails when init trys to start up /dev and /proc. Yes I did compile in /dev and /proc support as well as all other required kernel options. The same configuration works just fine when I downloaded 2.4.26 directly from kernel.org and then the openmosix patch from their website. The patch is intended for 2.4.26 so I think its just not playing well with 2.4.30. 

Reproducible: Always
Steps to Reproduce:
1. emerge openmosix sources
2. configure and compile the kernel 
3. add the kernel to grub
4. reboot into the new kernel
Comment 1 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-05-15 06:06:46 UTC
please, attache your kernel config
Comment 2 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-05-15 06:06:52 UTC
please, attach your kernel config
Comment 3 Andrew Rosborough 2005-05-20 21:36:15 UTC
Created attachment 59434 [details]
openmosix config file

I am having the same problem trying to install openmosix-sources on two
machines.  Perhaps my config file will help you.
Comment 4 linuxdan 2005-05-21 09:45:51 UTC
Created attachment 59464 [details]
This is my config file for open-mosix sources, which makes a kernel which does not boot properly.
Comment 5 linuxdan 2005-05-21 09:47:23 UTC
(In reply to comment #1)
> please, attache your kernel config

Sory it took so long I had finals week this last week. 
Comment 6 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-05-22 04:58:55 UTC
are you able to boot gentoo-sources-2.4 with that configs?
Comment 7 linuxdan 2005-05-22 09:38:12 UTC
(In reply to comment #6)
> are you able to boot gentoo-sources-2.4 with that configs?

gentoo-sources-2.4 is where it came from I just copied it over and added the
open mosix options.
Comment 8 Andrew Hart 2005-05-24 07:30:47 UTC
I have a very similar problem:
The 2.4.30-r2 openmosix sources can not do nfsroot boot where they should be able to.
The /sbin/rc script chokes on the check for /dev/null and the check for /proc.  On logging in with 
sulogin at this point then /dev/null and /proc are there but the shell behaves oddly with the PATH not 
really working.
This is on AMD Sempron but with a 386 kernel.  I've tried lots of different .config setup but can't make 
it work.  vanilla 2.4.26 + 2.4.26-1 worked correctly at this point. 
Comment 9 Andrew Hart 2005-05-24 08:22:26 UTC
Also there is something horible in fs/stat.c:sys_stat and sys_newstat

asmlinkage long sys_stat(char * filename, struct __old_kernel_stat * statbuf)
{
        struct nameidata nd;
        int error;

        if (!error) {
                error = do_revalidate(nd.dentry);
                if (!error)
                        error = cp_old_stat(nd.dentry->d_inode, statbuf);
                path_release(&nd);
        }
        return error;
}
Comment 10 Andrew Hart 2005-05-25 01:07:25 UTC
Created attachment 59769 [details]
The files open.c and stat.c need to be un - tarred into fs

These changes made it boot for me.  I think the problem is with the dfsa code. 
I wouldn't use my code directly since I am not a real kernel hacker.
Comment 11 Enrico Morelli 2005-05-27 01:31:19 UTC
I am having the same problem trying to install openmosix-sources 2.4.30.

I'm trying to use the Andrew 'patch', but, like he said, I'm unable to 
have the console login at the end of the boot but I'm able only to connect 
to the node via ssh.

In a production cluster this is not the best way to solve the problem.
Comment 12 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-05-27 05:01:06 UTC
fixed in .30-r3
thanks, everyone. and sorry for such delay (due to lack of x86 h/w).
Comment 13 Enrico Morelli 2005-05-27 08:49:21 UTC
I have to reopen the bug because the new openmosix-sources-2.4.30-r3
crash everytime I try to use openmosixtest and other stupid test written in
python to stress the cluster.
Comment 14 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-05-28 04:54:49 UTC
did you recompile openmosix-user?
what's in dmesg?
Comment 15 Enrico Morelli 2005-05-30 01:11:38 UTC
Yes, I recompiled openmosix-user.
In dmesg I have the kernel stack.
Comment 16 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-05-30 01:13:31 UTC
so please, post it here as ksymoops output

ksymoops < stackTraceFromDmesg.txt
Comment 17 Enrico Morelli 2005-05-30 01:27:56 UTC
Created attachment 60171 [details]
ksymoops output

I did ksymoops < /var/log/kernel
Comment 18 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-05-30 01:35:01 UTC
i can't read that binary file, unfortunately
you should put one stack trace (or oops) in separate file and then pass it thru 
ksymoops
Comment 19 Enrico Morelli 2005-05-30 01:58:21 UTC
Created attachment 60174 [details]
ksymoops output

The last attachment was gzipped. The new one is text plain.
I try to obtain a new stack because during the test the kernel crashes and I
have to reset the computer manually.
Comment 20 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-05-30 02:06:00 UTC
thank you, that's enough information for me. i'll try to solve it within this 
week.