|
From: 张东亚 <for...@gm...> - 2012-08-21 15:15:33
|
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.
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.
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???
return 0;
}
|