[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.BSF.2.00.1403280114130.78113@nic-i.leissner.se>
Date: Fri, 28 Mar 2014 01:22:14 +0100 (SNT)
From: Peter Fassberg <pf@...ssner.se>
To: Nicolas Dichtel <nicolas.dichtel@...nd.com>,
Eric Dumazet <eric.dumazet@...il.com>,
Cong Wang <cwang@...pensource.com>
cc: netdev@...r.kernel.org
Subject: Re: Activate netns
On Thu, 27 Mar 2014, Nicolas Dichtel wrote:
> Le 27/03/2014 15:51, Peter Fassberg a écrit :
>>
>> Hi!
>>
>> I have trouble to activate netns on OpenWrt with kernel 3.8.13.
>>
>> I get this:
>>
>> root@...ter:~# ip netns show
>> root@...ter:~# ip netns add blue
>> Failed to create a new network namespace "blue": Invalid argument
>> root@...ter:~# df
>> Filesystem 1K-blocks Used Available Use% Mounted on
>> rootfs 48377 10493 37884 22% /
>> /dev/root 48377 10493 37884 22% /
>> tmpfs 257036 2264 254772 1% /tmp
>> tmpfs 512 0 512 0% /dev
>> /dev/sda2 4088 2266 1618 58% /mnt
>> /dev/sda1 4088 2266 1618 58% /mnt
>> tmpfs 257036 2264 254772 1% /tmp/run/netns
>> root@...ter:~# uname -a
>> Linux ROOter 3.8.13 #2 Wed Mar 26 21:39:04 CET 2014 i686 GNU/Linux
>> root@...ter:~#
>>
>>
>> Any hints on what I'm missing?
> Trivial question: are you sure that CONFIG_NET_NS is set?
That was my first question, and I double-checked the menuconfig *GUI*, and it was all fine, "<*>".
But now I have also checked the .config file, and there was no trace of CONFIG_KERNEL_NET_NS.
I made a clean checkout and did a new try - and it all worked!!
The config must have been messed up at some point.
Thank you for your time!
Sorry.
// Peter
Powered by blists - more mailing lists