Hi!

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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to