|
From: richard -r. w. <ric...@gm...> - 2012-08-21 16:06:31
|
Hi!
On Tue, Aug 21, 2012 at 5:15 PM, 张东亚 <for...@gm...> wrote:
> Hi,
> I am running linux 3.4 uml,it works quite well, however recently I
> want to running openvswitch on the uml instance,I will got an segv
> fault.
What segfaulted? The UML kernel or some user space application?
> I set a breadpoint in the kernel for unix_bind and found the
> following error, /usr/work/umser is the host directory which I mounted
> as uml /usr.
> Because I am not quite familiar with kernel code, hope that someone
> can give me a hint how to fix this, thanks a lot.
>
What exactly is the problem?
>
> Breakpoint 2, do_mknod (
> file=0x17d9d000
> "//usr/work/umusr/local/var/run/openvswitch/ovsdb-server.858.ctl",
> mode=49600,
> major=0, minor=0) at fs/hostfs/hostfs_user.c:323
>
> int do_mknod(const char *file, int mode, unsigned int major, unsigned int minor)
> {
> int err;
>
> err = mknod(file, mode, os_makedev(major, minor));
> if (err)
> return -errno; // return -12???
-12 is ENOMEM.
Looks like your machine runs out of memory...
--
Thanks,
//richard
|