RE: Help Request: Hang during (after?) Kickstart.

"Jan Stoess" <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Message-ID <[email protected]>
Adrian,

> 
> The system I have built is for the amd64 (which is the same as my host
> system),
> but so far I have only tested it using QEMU.  During every attempt, I
have
> had
> to have the kernel debugger switched on, and using the serial
> interface (otherwise
> I can not compile the kernel at all), but I have tried various
> combinations of serial
> and not-serial for the users space.   As I as said, I do not see
> spinwheels,
> even after turning them on.

Could you give a little bit more information on how you compile L4? Are
you using pistachio 0.4? Then I'd suggest trying the CVS version, since
the 0.4 release has become pretty outdated. I've just tested the CVS
version, it compiles with and without the kernel debugger and with
serial and screen configuration (crosstool-built gcc 4.0.0).

> The only way I get any output at all is at the serial interface.  It
> keeps going through
> the alphabet of capital letters, printing " ?^M", where ? stands for
> the capital letter
> in question.  

Seems pistachio hangs during early initialization, before long mode is
enabled. That code is contained in the file
kernel/src/arch/amd64/init32.cc. If pistachio can't enable long mode, it
will print out spinning characters with some whitespace before encoding
the error (no printf w/o virtual addresses). You should be able to find
out the reason by having a look into that file. Qemu should be able to
give you some information where pistachio hangs, too. Just guessing,
could it be that you're using the 32-bit qemu emulator (binary named
qemu) rather than the 64-bit one (binary named qemu-system-x86_64)? Does
an ia32 kernel work with your qemu? 

-Jan
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.