Aw: Re: l4linux starting - How can I see all Debug messages on serial line ?

"Rudolf Weber" <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <trinity-08ef24e2-c990-471e-a01d-bb54b5d661ae-1374843313818@3capp-webde-bs44>
Hello,
thank you for the good tip with 
 
Gesendet: Donnerstag, 25. Juli 2013 um 23:50 Uhr
Von: "Adam Lackorzynski" <[email protected]>
An: "Rudolf Weber" <[email protected]>
Cc: "l4 l4hackerlist" <[email protected]>
Betreff: Re: l4linux starting - How can I see all Debug messages on serial line ?
>> Question1: How can I see the error messages of L4linux on serial lines?
>Add console=ttyLv0 to the L4Linux argument list.
So I can see the output on all configurations.

The state is now:
1) Linux-conf  x86-ux_defconfig without mag : runs
2) Linux-conf  x86-ux_defconfig with mag    : runs
3) Linux-conf  x86_rw_config  without mag   : runs
4) Linux-conf  x86_rw-config  with mag      : error

My x86_rw-config is in the Attachment.
The error is:

attempt to access beyond end of device
ram0: rw=0, want=4764729332, limit=8000
Buffer I/O error on device ram0, logical block 2382364665
attempt to access beyond end of device
ram0: rw=0, want=4606413050, limit=8000
Buffer I/O error on device ram0, logical block 2303206524

Attachement log_ioerror ist the whole output.

Why this IO-Error ?
Does something overwrites the ramdisk ? Or is the ramdisk shortened ?

I give in qemu 1024M and Linux in the cmdline 128M,but the phenomenon is still there.

Thank you very much

   Rudolf Weber

The configuration is:
Modulelist:
modaddr 0x02000000

default-kernel fiasco -serial_esc
default-bootstrap bootstrap

entry L4Linux-mag-x86
roottask moe rom/l4lx-gfx.cfg
module l4re
module ned
module l4lx-gfx.cfg
module io
module fb-drv
module mag
module x86-legacy.devs
module l4lx-x86.io
module vmlinuz
module ramdisk-x86.rd

-- Start io

vbus_l4linux = loader:new_channel();
vbus_input   = loader:new_channel();
vbus_fbdrv   = loader:new_channel();

loader:start(
  {
    caps = {
      sigma0  = L4.cast(L4.Proto.Factory, L4.Env.sigma0):create(L4.Proto.Sigma0);
      icu     = L4.Env.icu;
      input   = vbus_input:svr();
      l4linux = vbus_l4linux:svr();
      fbdrv   = vbus_fbdrv:svr();
    },
  }, "rom/io rom/x86-legacy.devs rom/l4lx-x86.io");

-- Start fb-drv (but only if we need to)
local fb = L4.Env.vesa;
if (not fb) then
  fb = loader:new_channel();
  loader:start({ caps = { fb = fb:svr(), vbus = vbus_fbdrv }},
               "rom/fb-drv -m 0x117");
end

local mag_mag = loader:new_channel();
local mag_svc = loader:new_channel();
-- Start mag
loader:start(
  {
    caps = {
      vbus = vbus_input;
      mag  = mag_mag:svr();
      svc  = mag_svc:svr();
      fb   = fb;
    },
  }, "rom/mag");
-- Start Linux
loader:start(
  { caps = {
      log = L4.Env.log:m("rws"),
      fb  = mag_svc:create(L4.Proto.Goos, "g=640x480");
      vbus = vbus_l4linux;
    },
    l4re_dbg = L4.Dbg.Warn,
    log = { "l4linux", "yellow" },
  },
  "rom/vmlinuz mem=64M console=ttyLv0 l4x_rd=rom/ramdisk-x86.rd root=1:0 ramdisk_size=4000 init=/bin/sh");

the other files are from l4re-snapshot-2013060718

_______________________________________________
l4-hackers mailing list
[email protected]
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
log_ioerror (application/octet-stream, 29.4 KB) - not displayed
x86_rw_config (application/octet-stream, 47.2 KB) - not displayed
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.