On Tue, Aug 21, 2012 at 5:15 PM, 张东亚 <fortitude.zhang@...> wrote:
> 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
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 (
> 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...