Re: failed to build pistachio

cheeky <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Organization CREST
Message-ID <1180706906.31059.54.camel@localhost>
Absolutely right!

I was able to build ia32-kernel (pistachio) in ia32-kernel-build and
some utilities in ia32-user-build directory.

I finally created a disk image for booting with qemu. Everything looks
fine. I didn't see any errors while setting grub and creating a disk
image.


I'm now wondering if it's right or not showing the following message
after boot-up.


------
    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

       [ Minimal BASH-like line editing is supported.   For
         the   first   word,  TAB  lists  possible  command
         completions.  Anywhere else TAB lists the possible
         completions of a device/filename. ]

grub >
------

If I type 'boot' on the 'grub >' prompt, it says :

Error 8: Kernel must be loaded before booting.



It sounds a bit weird. I expected the similar situation that I saw in
hello-world project, jumping into kernel-debugger. I also turned on
kernel debugger options including '>[Y]      Enter kernel debugger on
startup'.

Isn't it enough to enter debugger mode? Otherwise, did i do something
wrong when setting grub? I mean wrong entry-point in grub?



I'd like to know what's correct when loaded kickstart, sigma0 and
pingpong.


I really thank you for your quick response.








Jan Stoess wrote: 
> Cheeky,
> 
> I guess you're trying to build the 0.4 version of pistachio using a recent gcc 4.x compiler. Also, you run into a scripting  error -- awk problem if I remember correctly -- when building asmsyms.h. Pistachio 0.4 contains a pretty outdated code base compared to the current CVS version. I'd suggest you to check out the CVS tree from our public CVS. That version contains a fix for the script error and also compiles with gcc 4. See http://l4ka.org/projects/pistachio/download.php for details. Also, you may want to have a look at http://l4ka.org/projects/pistachio/buildstatus/ to see which gcc versions may have problems with the current CVS tree. 
> 
> Regards,
> -Jan
> 
>  
> --
> Jan Stoess
> Lehrstuhl Systemarchitektur
> Universitaet Karlsruhe
> Phone: +49 (721) 608-4056 
> Fax: +49 (721) 608-7664 
> eMail: [email protected]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.