what am i doing wrong?

3 messages Options
Embed this post
Permalink
zlice0

what am i doing wrong?

Reply Threaded More More options
Print post
Permalink
ok...so i can emulate a 'hello world' cell using skyeye. i am currently trying to compile OKLinux for x86, and i have no clue what i'm doing wrong. the README doesn't seem to help, i try using the 'scripts/patch-kernel' and that does nothing but give me the help on it

kernel-2.6.23-v2 # scripts/patch-kernel /okl4/oklinux_2.6.23 /okl4/oklinux_2.6.23.24
usage: patch-kernel [-h] [ sourcedir [ patchdir [ stopversion ] [ -acxx ] ] ]
  source directory defaults to /usr/src/linux,
  patch directory defaults to the current directory,
  stopversion defaults to <all in patchdir>.
kernel-2.6.23-v2 # scripts/patch-kernel /okl4/oklinux_2.6.23/kernel-2.6.23-v2/ /okl4/oklinux_2.6.23.24/kernel-2.6.23-v2/
scripts/patch-kernel: line 188: source: .tmpver.1cGk9N.1: file not found
unable to determine current kernel version


compiling different versions/patches give me vdso.o error overlapping and the only thing i found on that said to change the vdso.h file from 0x500 to 0x600 but it's already at 0x600 and 0x700 size does nothing.

trying to compile oklinux_2.6.24.9-patch.4 gives a

kernel/exit.c: In function `exit_mm':
kernel/exit.c:585: error: implicit declaration of function `tsk_done_mm'

and after that

mm/memory.c: In function `vm_insert_pfn':
mm/memory.c:1231: error: `update_mmu_cache' undeclared (first use in this function)


i thought maybe i would have to compile the okl4_3.0 microkernel first, but doing that with any combination i've tried has always

sh: arm-linux-g++: command not found
scons: *** [build/pistachio/l4kernel/object/src/asid.o] Error 127
scons: building terminated because of errors.

even though i have the arm-unknown----/bin dir in my path...(there's no arm-linux-g++ and the only thing i found on that someone said 'just use the sdk instead')


what i WOULD LIKE TO DO, is compile a working x86 and arm (gumstix) working microkernel that can run oklinux paravirtualized. if i'm going about this the wrong way, or the x86 part isn't even possible, could i get some feedback? thank you in advanced to anyone who answers


Henning Schild

Re: what am i doing wrong?

Reply Threaded More More options
Print post
Permalink
On Thu, 22 Oct 2009 16:37:57 -0700 (PDT)
zlice0 <[hidden email]> wrote:

>what i WOULD LIKE TO DO, is compile a working x86 and arm (gumstix)
>working microkernel that can run oklinux paravirtualized. if i'm going
>about this the wrong way, or the x86 part isn't even possible, could i
>get some feedback? thank you in advanced to anyone who answers

About one year ago i tried getting oklinux to run on x86.

http://lists.okl4.org/pipermail/developer/2008-November/001938.html
http://lists.okl4.org/pipermail/developer/2008-November/001948.html

For x86 you probably need an 2.* release. I know that 3.* + oklinux
does not work on x86 anymore. However i am not sure whether this is a
microkernel or a oklinux issue. So you might get the recent kernel
together with some applications to work on x86.

Have a look at this lists archives, they contain solutions to the most
common problems.
i.e.
http://lists.okl4.org/pipermail/developer/2009-October/002377.html

If you get it to run on real x86 hardware, please let me know.

According to your requirements microkernel + paravirt. Linux on arm and
x86 you might also want to give Fiasco and L4Linux a try.
http://os.inf.tu-dresden.de/L4/LinuxOnL4/

Henning

_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
zlice0

Re: what am i doing wrong?

Reply Threaded More More options
Print post
Permalink

Henning Schild wrote:
On Thu, 22 Oct 2009 16:37:57 -0700 (PDT)
zlice0 <zlice0555@yahoo.com> wrote:

>what i WOULD LIKE TO DO, is compile a working x86 and arm (gumstix)
>working microkernel that can run oklinux paravirtualized. if i'm going
>about this the wrong way, or the x86 part isn't even possible, could i
>get some feedback? thank you in advanced to anyone who answers

About one year ago i tried getting oklinux to run on x86.

http://lists.okl4.org/pipermail/developer/2008-November/001938.html
http://lists.okl4.org/pipermail/developer/2008-November/001948.html

For x86 you probably need an 2.* release. I know that 3.* + oklinux
does not work on x86 anymore. However i am not sure whether this is a
microkernel or a oklinux issue. So you might get the recent kernel
together with some applications to work on x86.

Have a look at this lists archives, they contain solutions to the most
common problems.
i.e.
http://lists.okl4.org/pipermail/developer/2009-October/002377.html

If you get it to run on real x86 hardware, please let me know.

According to your requirements microkernel + paravirt. Linux on arm and
x86 you might also want to give Fiasco and L4Linux a try.
http://os.inf.tu-dresden.de/L4/LinuxOnL4/

Henning

_______________________________________________
Developer mailing list
Developer@okl4.org
https://lists.okl4.org/mailman/listinfo/developer


Henning,

Maybe I'll try the L4 kernel for x86, i didn't mess around with it too much because some of the releases were from 2005 and some pages said 2001...but pistachio said 8 days ago it was updated and the l4linux page you linked says l4linux was update 9-09 sometime so maybe i'll fiddle around with that more?

if i find anything working i'll definently let you know, i was going to try it on my ubuntu machine and see if it worked on there but i doubt that'll be any different.

thanks for the reply,

zlice0