2 Nov 05:42
broken bootstrap, roottask and l4linux with different tools
Valery V. Sedletski <_valerius <at> mail.ru>
2008-11-02 04:42:57 GMT
2008-11-02 04:42:57 GMT
hi all,
I'm now trying to compile l4env and L4Linux under older Linux distribution (I moved to virtual machine --
VIrtual PC with RedHat 9.0
installed in it). The tools are updated -- I checked that versions of all tools are not lower than those
mentioned in dev-overview.txt file.
Only gcc is version 3.4.6 (on previous machine I have gcc 4.2.2), but I read it is OK.
The problem is that bootstrap, roottask and l4linux kernel are not working. Bootstrap file is about 3 Mb
long and is not starting
by GRUB, it says "Invalid or unsupported executable format". I opened it under hex editor and it has ELF
signature and some data
at the beginning (probably, ELF header etc). Then goes a long run of zeroes and code is at the end. I peeked
into linker script
and saw that bootstrap is linked at addess 0x2d0000, which is also about 3 Mb. Maybe someone already
encountered this problem?
How to avoid extra zeroes? As I understand it depends on linker script, but why with different tools all is
OK? (I have binutils version
2.13 and gcc 3.4.6, with 4.2.2 all is OK).
And also roottask is sem-working. The simpliest configuration with pingpong test is working but when I
start configuration with dm_phys,
for example, DOpE with Nitpicker test:
ROOT: task 7.00 at 01505f7a is trying to get page 00000000 which is reserved
r
--double page fault--------------------------------------IP: 0012804b
[root.pager] (4.00) jdb:
-- the task 7 is dm_phys. The problem is with roottask, not dm_phys because when I repalce roottassk with
(Continue reading)
RSS Feed