About build of L4Linux

Adam Lackorzynski adam at os.inf.tu-dresden.de
Fri Jul 20 01:49:16 CEST 2007

On Fri Jul 20, 2007 at 07:32:20 +0900, Lin wrote:
> > The login-prompt appears on tty1, so either in the dope window or on the
> > vga screen, depending what you are using.
> Does it appear on tty1 only ?


> I'm using serial console(ttyLv0) now, and see the same messages as tty1.


> In this case, should I see login-prompt on serial console too ?


On Linux (and most Unices) there's a file called /etc/inittab which
tells /sbin/init what to do. There are entries which define how the
getties are started. The getties are those programs that give you the
prompt. They have an argument that specifies the console they work on.
The inittab in the ramdisk defines tty1, tty2, tty3, tty4, tty5 and tty6
for the getties. If you want to have the prompt on ttyLv0, you need to
modify the /etc/inittab on the ramdisk accordingly.

> I have not gotten any prompts until now.
> My current settings is ...
>   [L4Linux Configuration]
>     Using given .config.
>     (L4Linux DOpE                     - disable)
>     (L4Linux serial console support   - enable )
>     (Linux   keyboard and VGA support - disable)
>     (Linux   serial support           - disable)

That config gives you no tty1. You either need to enable dope to get a
framebuffer and thus tty1 or without dope enable the keyboard and
VGA to get tty1.

>   [GRUB menu.lst]
>     ...
>     module /boot/L4Linux/roottask task modname "bmodfs" attached 5 modules
>     ...
>     module /boot/L4Linux/bmodfs
>         module /boot/L4Linux/libloader.s.so
>         module /boot/L4Linux/libld-l4.s.so
>         module /boot/L4Linux/vmlinuz26
>         module /boot/L4Linux/config
>         module /boot/L4Linux/ramdisk
>     ...
>   [Kernel command line]
>     modpath "/boot/L4Linux"
>     task "vmlinuz26" "earlyprintk=yes load_ramdisk=1
> ramdisk_size=16384 console=ttyLv0 mem=256M root=/dev/ram
> l4env_rd=/boot/L4Linux/ramdisk"
>     all_sects_writable
> I'm using ramdisk (16MB) download from
> http://os.inf.tu-dresden.de/L4/LinuxOnL4/download/drops-rd.rd and
> gunziped.
> The result is the same as the last mail. (Stops at "No user config loaded!")
> Are there any problem in my settings ?

see above.

Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/

More information about the l4-hackers mailing list