make run/demo stop unexpectedly

Christian Helmuth christian.helmuth at ...1...
Mon Apr 28 16:59:08 CEST 2014


Hello keqin,

 Mon, Apr 28, 2014 at 08:52:21PM +0800, Sun Keqin wrote:
> My colleague met a very strange problem today, so I ask for help.
> There is an error when he run "make run/demo” in build directory,
> however, when he run "qemu-system-i386 -no-kvm -m 256 -serial
> mon:stdio -cdrom var/run/demo.iso" directly, it works successfully.
> Do you know why it happened?

I'm not sure, but I guess the issue is related to your locale
settings. I expect most developers to use some flavor of "en_*.utf8".
What is your locale (run 'locale' in a shell please)?

> What should I do to fix that?

Please try to run

  LC_ALL=en_US.utf8 make run/printf

Does it work then?

> Here is the details.
> 
> genode build completed
> using fiasco kernel /home/jimmy/work/os/genode/build/kernel/fiasco.oc/fiasco
> using sigma0/bootstrap at /home/jimmy/work/os/genode/build/l4
> creating ISO image...
> spawn qemu-system-i386 -no-kvm -m 256 -serial mon:stdio -cdrom var/run/demo.iso
> 
> L4 Bootstrapper
>   Build: #1 2014: spawn id exp6 not open

I just tried to reproduce what may happen with a Chinese locale und
ran

  LC_ALL=zh_CN.utf8 make run/printf

with the following output

  L4 Bootstrapper
    Build: #1 2014年 04月 28日 星期一 16:45:05 CEST, x86-64, 4.7.2
  ...

The character after '2014' is a Chinese symbol, which may confuse the
expect tool or some other component of the run environment. But as I
wrote before: I'm just guessing...

Regards
-- 
Christian Helmuth
Genode Labs

http://www.genode-labs.com/ · http://genode.org/
https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth




More information about the users mailing list