Upon the boot of l4linux iso image using QEMU, I got the following: vmlinuz | RAMDISK: ext2 filesystem found at block 0 vmlinuz | RAMDISK: Loading 3072KiB [1 disk] into ram disk... done. vmlinuz | EXT4-fs (ram0): couldn't mount as ext3 due to feature incompatibilities vmlinuz | EXT4-fs (ram0): mounting ext2 file system using the ext4 subsystem vmlinuz | EXT4-fs (ram0): mounted filesystem without journal. Opts: (null) vmlinuz | VFS: Mounted root (ext2 filesystem) on device 1:0. vmlinuz | Freeing unused kernel memory: 144K (00709000 - 0072d000) vmlinuz | Clocksource tsc unstable (delta = 3346692958 ns) vmlinuz | /bin/sh: can't access tty; job control turned off
I disabled ACPI and power management options also. I have included init=/bin/sh in l4linux.cfg script. Still the linux command prompt doesn't appear via l4linux launch.
The script is below: //l4linux.cfg:
L4.default_loader:start({}, "rom/vmlinuz mem=64M console=ttyLv0 l4x_rd=rom/ramdisk-x86.rd root=1:0 ramdisk_size=4000 init=/bin/sh");
On 02/05/2015 05:57 AM, Gayathri Nagarajan wrote:
Upon the boot of l4linux iso image using QEMU, I got the following: vmlinuz | RAMDISK: ext2 filesystem found at block 0 vmlinuz | RAMDISK: Loading 3072KiB [1 disk] into ram disk... done. vmlinuz | EXT4-fs (ram0): couldn't mount as ext3 due to feature incompatibilities vmlinuz | EXT4-fs (ram0): mounting ext2 file system using the ext4 subsystem vmlinuz | EXT4-fs (ram0): mounted filesystem without journal. Opts: (null) vmlinuz | VFS: Mounted root (ext2 filesystem) on device 1:0. vmlinuz | Freeing unused kernel memory: 144K (00709000 - 0072d000) vmlinuz | Clocksource tsc unstable (delta = 3346692958 ns) vmlinuz | /bin/sh: can't access tty; job control turned off
I disabled ACPI and power management options also. I have included init=/bin/sh in l4linux.cfg script. Still the linux command prompt doesn't appear via l4linux launch.
The script is below: //l4linux.cfg:
L4.default_loader:start({}, "rom/vmlinuz mem=64M console=ttyLv0 l4x_rd=rom/ramdisk-x86.rd root=1:0 ramdisk_size=4000 init=/bin/sh");
You need to give L4Linux the log capability
caps = { log = L4.Env.log:m("rws"), },
Also see the examples in l4/conf/examples.
Matthias.
Hi,
On 2015-02-05 05:57, Gayathri Nagarajan wrote:
Upon the boot of l4linux iso image using QEMU, I got the following: vmlinuz | RAMDISK: ext2 filesystem found at block 0 vmlinuz | RAMDISK: Loading 3072KiB [1 disk] into ram disk... done. vmlinuz | EXT4-fs (ram0): couldn't mount as ext3 due to feature incompatibilities vmlinuz | EXT4-fs (ram0): mounting ext2 file system using the ext4 subsystem vmlinuz | EXT4-fs (ram0): mounted filesystem without journal. Opts: (null) vmlinuz | VFS: Mounted root (ext2 filesystem) on device 1:0. vmlinuz | Freeing unused kernel memory: 144K (00709000 - 0072d000) vmlinuz | Clocksource tsc unstable (delta = 3346692958 ns) vmlinuz | /bin/sh: can't access tty; job control turned off
[...]
The script is below: //l4linux.cfg:
L4.default_loader:start({}, "rom/vmlinuz mem=64M console=ttyLv0 l4x_rd=rom/ramdisk-x86.rd root=1:0 ramdisk_size=4000 init=/bin/sh");
Your /bin/sh obviously starts, as it outputs the "can't access tty" warning (which is in this case normal and not an error!).
You did not pass the log capability to L4Linux. Because of this it will not receive your keyboard input. Please pass this capability (see example files in L4Re conf/examples/l4lx.conf).
Best regards,
- Marcus
l4-hackers@os.inf.tu-dresden.de