Picon

Work on hurd-l4 and a simplefs

Hello, folks.

It's been a long time since I've got interested in client/server
operating systems, and got an eye over L4 and found out people
were willing to port Hurd to it.
Unfortunately, all I could see was lots of planning and no code.
Lately, I've found Marcus Brinkmann code on Savannah (in fact,
it was this weekend). Since then, I've been checking the code.

Since I'm taking an OS course at uni I should get a paper
and implementation done and since then, I've started to work
on a simple dummy toy OS over L4. It already loads ELF modules,
starts them and some other threads linked to the roottask I've
written. I've even experienced with the pingpong thing using
two ELF binaries started by roottask.

Since I must handle this paper in soon time, I was thinking
about doing some fast job and forgetting about task-mod,
root-fs-mod and capabilities for a while.

And trying to write some module that would handle an ext2
filesystem in a ramdisk in another module. I was thinking
about using ext2fs server for Hurd/Mach, but I don't know
how simple it would be, how much ext2fs depends on Mach
or other Hurd concepts and libraries to work.

Marco Gerard told me not to use ext2fs and instead a simplefs
that would have no more than a header+files.

I would like to know more about this simplefs and what has being
(Continue reading)

Ognyan Kulev | 7 Jan 2004 08:22
Picon
Favicon

Re: Work on hurd-l4 and a simplefs

Thadeu Lima de Souza Cascardo wrote:
> And trying to write some module that would handle an ext2
> filesystem in a ramdisk in another module. I was thinking
> about using ext2fs server for Hurd/Mach, but I don't know
> how simple it would be, how much ext2fs depends on Mach
> or other Hurd concepts and libraries to work.

You can find ext2fs dependancies in 
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/ext2fs/Makefile?rev=HEAD 
.  It's not an easy task to make it run on Hurd/L4 (which is still far 
from complete).

About simplefs, I've never heard it :-)

About state of Hurd/L4, I can't tell you much.

Regards
--

-- 
Ognyan Kulev <ogi <at> {fmi.uni-sofia.bg,fsa-bg.org,jabber.org}>
7D9F 66E6 68B7 A62B 0FCF  EB04 80BF 3A8C A252 9782
Marco Gerards | 7 Jan 2004 18:58
Picon

Re: Work on hurd-l4 and a simplefs

Ognyan Kulev <ogi <at> fmi.uni-sofia.bg> writes:

> About simplefs, I've never heard it :-)

This is what is in the documentation in hurdl4:

  The exact number and type of initial tasks necessary to boot the
  Hurd are not yet known.  Chances are that this list includes the
  task server, the physical memory server, the device servers, and the
  boot filesystem.  The boot filesystem might be a small simple
  filesystem, which also includes the device drivers needed to access
  the real root filesystem.

So it will work like an initrd if I understood it correctly.

--
Marco
Marco Gerards | 14 Jan 2004 21:57
Picon

Re: Getting sources

"Christopher Nelson" <paradox <at> BBHC.ORG> writes:

Hi,

>     I was wondering where to download sources for L4/Hurd.  Any links
> would be great, thanks!

Just use CVS:

export CVS_RSH="ssh"
cvs -z3 -d:ext:anoncvs <at> savannah.nongnu.org:/cvsroot/hurd co hurd-l4

For more information:
http://savannah.nongnu.org/cvs/?group=hurd

--
Marco
Christopher Nelson | 14 Jan 2004 20:42

Getting sources

    I was wondering where to download sources for L4/Hurd.  Any links would be great, thanks!
 
        -={C}=-
_______________________________________________
L4-hurd mailing list
L4-hurd <at> gnu.org
http://mail.gnu.org/mailman/listinfo/l4-hurd
Christopher Nelson | 15 Jan 2004 18:30

Compile error in laden

Having downloaded and patched pistachio-0.2, and made the kernel, made the user apps and installed them I tried to build hurd-l4.

I came up with the message: "In file included from ia32-cmain.c:24:laden.h:27:16: l4.h: No such file or directory" There is no l4.h in any of my include paths, so perhaps I missed something from the Pistachio install. Any ideas?

_______________________________________________
L4-hurd mailing list
L4-hurd <at> gnu.org
http://mail.gnu.org/mailman/listinfo/l4-hurd
Christopher Nelson | 15 Jan 2004 20:32

L4-Hurd; autoreconf errors

While I was at it, I thought that I would also post the errors that autoreconf lists:
 
bsd-dev hurd-l4 # autoreconf -f -i -s
configure.ac: 29: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
automake-1.5: configure.ac: `AM_INIT_AUTOMAKE' must be used
laden/Makefile.am:23: invalid unused variable name: `ARCH_SOURCES'
libl4/ia32/Makefile.am:: variable `include_HEADERS' not defined
libl4/powerpc/Makefile.am:: variable `include_HEADERS' not defined
physmem/Makefile.am:22: invalid unused variable name: `ARCH_SOURCES'
wortel/Makefile.am:23: invalid unused variable name: `ARCH_SOURCES'
autoreconf-2.57: automake failed with exit status: 1
 
Here's the verbose output in case it's useful:

bsd-dev hurd-l4 # autoreconf -v
autoreconf-2.57: Entering directory `.'
autoreconf-2.57: configure.ac: not using Gettext
autoreconf-2.57: running: aclocal  --output=aclocal.m4t
autoreconf-2.57: `aclocal.m4' is unchanged
autoreconf-2.57: configure.ac: tracing
autoreconf-2.57: configure.ac: not using Libtool
autoreconf-2.57: running: /usr/bin/autoconf
autoreconf-2.57: running: /usr/bin/autoheader
autoreconf-2.57: running: automake --no-force
configure.ac: 29: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
automake-1.5: configure.ac: `AM_INIT_AUTOMAKE' must be used
laden/Makefile.am:23: invalid unused variable name: `ARCH_SOURCES'
libl4/ia32/Makefile.am:: variable `include_HEADERS' not defined
libl4/powerpc/Makefile.am:: variable `include_HEADERS' not defined
physmem/Makefile.am:22: invalid unused variable name: `ARCH_SOURCES'
wortel/Makefile.am:23: invalid unused variable name: `ARCH_SOURCES'
autoreconf-2.57: automake failed with exit status: 1
 
And here's the version I'm using.

bsd-dev hurd-l4 # autoreconf --version
autoreconf (GNU Autoconf) 2.57
Written by David J. MacKenzie and Akim Demaille.
_______________________________________________
L4-hurd mailing list
L4-hurd <at> gnu.org
http://mail.gnu.org/mailman/listinfo/l4-hurd
Alfred M. Szmidt | 15 Jan 2004 23:34
Picon

Re: L4-Hurd; compile errors (a fix and a new problem)

   Sorry.  And actually, the tree HAS an include directory.
   hurd-l4/include exists right there.  And it's setup as a symlink to
   wherever else some includes should be looked at.

Sorry, my bad, had an clean tree so that directory didn't exist there.

   Sorry again for posting to that list.  There will be one other post
   coming through b4 I got this.

No problem, as you see I myself forgot to remove the CC.  And another
nitpick, don't remove the CC from the list you intened to post to,
people might actually be interested in the thread.

Cheers.
Alfred M. Szmidt | 15 Jan 2004 23:48
Picon

Re: L4-Hurd; autoreconf errors

   autoreconf-2.57: automake failed with exit status: 1

What version of automake did you use?
Niels Möller | 15 Jan 2004 21:46
Picon
Picon
Picon
Favicon

Re: Compile error in laden

"Christopher Nelson" <paradox <at> BBHC.ORG> writes:

> I came up with the message: "In file included from
> ia32-cmain.c:24:laden.h:27:16: l4.h: No such file or directory" There is
> no l4.h in any of my include paths, so perhaps I missed something from
> the Pistachio install. Any ideas? 

I think that file is part of Marcus' libl4 (also somewhere in the
l4-hurd cvs). It's not part of Pistachio's include files.

/Niels

Gmane