Leon Brits
2004-07-05 13:39:19 UTC
Hi all,
Finally got L4Linux (L4Env) and Fiasco compiled and ready to rock & roll!
BUT.....
...on this website [http://os.inf.tu-dresden.de/L4/LinuxOnL4/use.shtml]
the examples are only for tftpboot is this true?
I've setup a local boot with following grub config:
title Fiasco L4Linux-2.4.26
kernel /fiasco/rmgr -sigma0
module /fiasco/main -nokdb
module /fiasco/sigma0
module /fiasco/names
module /fiasco/con
module /fiasco/log
module /fiasco/dm_phys
module /fiasco/simple_ts -t 300
module /fiasco/l4io --noirq
module /fiasco/l4exec
module /fiasco/loader /fiasco/l4linux-l4env.cfg
The loader stopped and reported that there was an overlap with the
"loader" module and that I must add "modaddr" just after the kernel to fix
the problem. So I inserted the statement "modaddr 0x02000000" just after
the "kernel..." entry in the list.
Upon reboot GRUB (0.93) reported that it does not understand the "modaddr"
command. So...
I CVSed the grub from Dresden:
cvs -d :pserver:***@os.inf.tu-dresden.de:/home/remote-cvs checkout grub
but this GRUB seems to be buggy with errors in its strings (no '\'
character used to break up long strings). I corrected these errors but
alas the compiler stoped with an error:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes
-Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1
-malign-functions=1 -Wundef -O2 -I../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1
-DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1
-DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1
-fwritable-strings -g -c -o libgrub_a-char_io.o `test -f char_io.c || echo
'./'`char_io.c
cc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions
char_io.c: In function `grub_printf':
char_io.c:93: warning: dereferencing type-punned pointer will break
strict-aliasing rules
char_io.c: In function `grub_sprintf':
char_io.c:149: warning: dereferencing type-punned pointer will break
strict-aliasing rules
char_io.c: In function `translate_keycode':
char_io.c:888: error: `KEY_LEFT' undeclared (first use in this function)
char_io.c:888: error: (Each undeclared identifier is reported only once
char_io.c:888: error: for each function it appears in.)
char_io.c:891: error: `KEY_RIGHT' undeclared (first use in this function)
char_io.c:894: error: `KEY_UP' undeclared (first use in this function)
char_io.c:897: error: `KEY_DOWN' undeclared (first use in this function)
char_io.c:900: error: `KEY_HOME' undeclared (first use in this function)
char_io.c:903: error: `KEY_END' undeclared (first use in this function)
char_io.c:906: error: `KEY_DC' undeclared (first use in this function)
char_io.c:909: error: `KEY_BACKSPACE' undeclared (first use in this
function)
char_io.c:912: error: `KEY_NPAGE' undeclared (first use in this function)
char_io.c:915: error: `KEY_PPAGE' undeclared (first use in this function)
make[3]: *** [libgrub_a-char_io.o] Error 1
make[3]: Leaving directory `/root/Temp2/grub/stage2'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/Temp2/grub/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Temp2/grub'
make: *** [all] Error 2
Any suggestions?
Thanks
Leon
PS! I have installed a newer version of GRUB (0.94) but the "modaddr"
command is also not included in that version.
Finally got L4Linux (L4Env) and Fiasco compiled and ready to rock & roll!
BUT.....
...on this website [http://os.inf.tu-dresden.de/L4/LinuxOnL4/use.shtml]
the examples are only for tftpboot is this true?
I've setup a local boot with following grub config:
title Fiasco L4Linux-2.4.26
kernel /fiasco/rmgr -sigma0
module /fiasco/main -nokdb
module /fiasco/sigma0
module /fiasco/names
module /fiasco/con
module /fiasco/log
module /fiasco/dm_phys
module /fiasco/simple_ts -t 300
module /fiasco/l4io --noirq
module /fiasco/l4exec
module /fiasco/loader /fiasco/l4linux-l4env.cfg
The loader stopped and reported that there was an overlap with the
"loader" module and that I must add "modaddr" just after the kernel to fix
the problem. So I inserted the statement "modaddr 0x02000000" just after
the "kernel..." entry in the list.
Upon reboot GRUB (0.93) reported that it does not understand the "modaddr"
command. So...
I CVSed the grub from Dresden:
cvs -d :pserver:***@os.inf.tu-dresden.de:/home/remote-cvs checkout grub
but this GRUB seems to be buggy with errors in its strings (no '\'
character used to break up long strings). I corrected these errors but
alas the compiler stoped with an error:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes
-Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1
-malign-functions=1 -Wundef -O2 -I../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1
-DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1
-DUSE_MD5_PASSWORDS=1 -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1
-fwritable-strings -g -c -o libgrub_a-char_io.o `test -f char_io.c || echo
'./'`char_io.c
cc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions
char_io.c: In function `grub_printf':
char_io.c:93: warning: dereferencing type-punned pointer will break
strict-aliasing rules
char_io.c: In function `grub_sprintf':
char_io.c:149: warning: dereferencing type-punned pointer will break
strict-aliasing rules
char_io.c: In function `translate_keycode':
char_io.c:888: error: `KEY_LEFT' undeclared (first use in this function)
char_io.c:888: error: (Each undeclared identifier is reported only once
char_io.c:888: error: for each function it appears in.)
char_io.c:891: error: `KEY_RIGHT' undeclared (first use in this function)
char_io.c:894: error: `KEY_UP' undeclared (first use in this function)
char_io.c:897: error: `KEY_DOWN' undeclared (first use in this function)
char_io.c:900: error: `KEY_HOME' undeclared (first use in this function)
char_io.c:903: error: `KEY_END' undeclared (first use in this function)
char_io.c:906: error: `KEY_DC' undeclared (first use in this function)
char_io.c:909: error: `KEY_BACKSPACE' undeclared (first use in this
function)
char_io.c:912: error: `KEY_NPAGE' undeclared (first use in this function)
char_io.c:915: error: `KEY_PPAGE' undeclared (first use in this function)
make[3]: *** [libgrub_a-char_io.o] Error 1
make[3]: Leaving directory `/root/Temp2/grub/stage2'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/Temp2/grub/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Temp2/grub'
make: *** [all] Error 2
Any suggestions?
Thanks
Leon
PS! I have installed a newer version of GRUB (0.94) but the "modaddr"
command is also not included in that version.