[Devel] Re: [PATCH 12/15] driver core: Implement tagged directory support for device classes.

2008-09-11 Thread Jiri Slaby
Benjamin Thery napsal(a): > Jiri Slaby wrote: >> Any progress here? Nothing seems reached lkml... > > Have a look at Greg's tree. :) > He started to merge the last patches today. Cool! I pulled it 10 mins before I sent the email and it wasn't there. 5 mins after it, it was... Thanks. ___

[Devel] ptem01 LTP failure in ttydev-0909

2008-09-11 Thread sukadev
Alan, LTP testcases/kernel/pty/ptem01 is failing on ttydev-0909. The test passed on ttydev-0828. The test changes the window size using the slave-fd and expects that it won't affect the window-size on master-fd. With this change, we return the slave's window size and test fails. I suspect that i

[Devel] Re: [PATCH] igmp: make /proc/net/{igmp,mcfilter} per netns

2008-09-11 Thread David Stevens
Daniel, Thanks for the detailed response. As long as you have distinct link-local addresses for each advertiser, I don't see any protocol violations here. I don't believe it's all that difficult to do-- the main thing is simply to push container joins down to the physical

[Devel] Re: [PATCH] igmp: make /proc/net/{igmp,mcfilter} per netns

2008-09-11 Thread Daniel Lezcano
David Stevens wrote: > As I've said before, I really don't like the model you're > using for multicasting here (if I understand correctly, and > I shamelessly admit I haven't looked at this code in detail). Hi David, Sorry for the delay. > As I understand it, you're modelling the multiple virtu

[Devel] Re: sysfs question

2008-09-11 Thread Daniel Lezcano
xiaoming.zhang wrote: > On Thursday 11 September 2008 11:37:33 pm Daniel Lezcano wrote: >> xiaoming.zhang wrote: >>> On Thursday 11 September 2008 10:05:43 pm Mark Ryden wrote: In fact, after looking more closely, I see that before that message appears: Error: unmouting old /sys ERRO

[Devel] Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when the mount namespace is unshared

2008-09-11 Thread Chuck Lever
Cedric- On Sep 11, 2008, at Sep 11, 2008, 5:02 AM, Cedric Le Goater wrote: >> The conservative play is to always force use of the initial namespace >> and to deny creation of mounts that would use different >> namespaces. In part >> because the initial version of the namespace always exists. W

[Devel] Re: [RFC v3][PATCH 5/9] Memory managemnet (restore)

2008-09-11 Thread Serge E. Hallyn
Quoting Oren Laadan ([EMAIL PROTECTED]): > > > Dave Hansen wrote: > > On Tue, 2008-09-09 at 02:01 -0400, Oren Laadan wrote: > >>> Have you looked at mprotect_fixup()? It deals with two things: > >>> 1. altering the commit charge against RSS if the mapping is actually > >>>writable. > >>> 2.

[Devel] Re: sysfs question

2008-09-11 Thread Daniel Lezcano
xiaoming.zhang wrote: > On Thursday 11 September 2008 10:05:43 pm Mark Ryden wrote: >> In fact, after looking more closely, I see that before that message >> appears: Error: unmouting old /sys >> ERROR unmounting old /sys: Invalid argument. >> forcing unmount of /sys >> switchroot... >> > > My exp

[Devel] Re: sysfs question

2008-09-11 Thread Benjamin Thery
Hi Mark, Indeed booting a distro without sysfs can be tricky because, for example, initrd might need it (eg. Fedora). IIRC, to boot without sysfs, in addition to the "root=" option, you have to create some devices nodes in advance in your /dev tree (mainly the /dev/sda* ones, plus a bunch of oth

[Devel] Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when the mount namespace is unshared

2008-09-11 Thread Chuck Lever
On Wed, Sep 10, 2008 at 5:23 AM, Cedric Le Goater <[EMAIL PROTECTED]> wrote: > Eric W. Biederman wrote: >> Chuck Lever <[EMAIL PROTECTED]> writes: >> >>> If the upper layers are responsible for providing the utsname, you will >>> need to >>> fix up lockd and the NFS server's callback client too, a

[Devel] Re: [RFC v4][PATCH 6/9] Checkpoint/restart: initial documentation

2008-09-11 Thread MinChan Kim
On Tue, Sep 9, 2008 at 4:42 PM, Oren Laadan <[EMAIL PROTECTED]> wrote: > Covers application checkpoint/restart, overall design, interfaces > and checkpoint image format. > > Signed-off-by: Oren Laadan <[EMAIL PROTECTED]> > --- > Documentation/checkpoint.txt | 187 > ++

[Devel] Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when the mount namespace is unshared

2008-09-11 Thread Chuck Lever
On Sep 10, 2008, at Sep 10, 2008, 4:02 PM, [EMAIL PROTECTED] wrote: > "Chuck Lever" <[EMAIL PROTECTED]> writes: >> That makes sense. >> >> This is likely coming from lockd_down(), and is almost certainly not >> coming from the same uts namespace as the lockd_up() that did the >> pmap_set, which was

[Devel] Re: [PATCH 1/2] netns bridge: allow bridges in netns!

2008-09-11 Thread David Miller
From: Alexey Dobriyan <[EMAIL PROTECTED]> Date: Sat, 6 Sep 2008 10:43:05 +0400 > Bridge as netdevice doesn't cross netns boundaries. > > Bridge ports and bridge itself live in same netns. > > Notifiers are fixed. > > netns propagated from userspace socket for setup and teardown. > > Signed-off

[Devel] Re: [RFC v4][PATCH 8/9] File descriprtors (dump)

2008-09-11 Thread MinChan Kim
On Tue, Sep 9, 2008 at 4:42 PM, Oren Laadan <[EMAIL PROTECTED]> wrote: > Dump the files_struct of a task with 'struct cr_hdr_files', followed by > all open file descriptors. Since FDs can be shared, they are assigned an > objref and registered in the object hash. > > For each open FD there is a 'st

[Devel] Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when the mount namespace is unshared

2008-09-11 Thread Chuck Lever
On Sep 9, 2008, at Sep 9, 2008, 11:29 AM, Serge E. Hallyn wrote: > Quoting Eric W. Biederman ([EMAIL PROTECTED]): >> "Serge E. Hallyn" <[EMAIL PROTECTED]> writes: >> >>> Thanks, Cedric. Eric is probably right about the long-term fix, but >>> yeah it might take a while to properly wade through the

[Devel] Re: [RFC v4][PATCH 2/9] General infrastructure for checkpoint restart

2008-09-11 Thread MinChan Kim
Hi, Oren. On Thu, Sep 11, 2008 at 3:36 AM, Oren Laadan <[EMAIL PROTECTED]> wrote: > > > MinChan Kim wrote: >> On Tue, Sep 9, 2008 at 4:42 PM, Oren Laadan <[EMAIL PROTECTED]> wrote: > > [...] > >>> +struct cr_ctx *cr_ctx_alloc(pid_t pid, int fd, unsigned long flags) >>> +{ >>> + struct cr_ctx

[Devel] Re: [RFC v4][PATCH 4/9] Memory management (dump)

2008-09-11 Thread MinChan Kim
one more thing. On Wed, Sep 10, 2008 at 4:51 PM, MinChan Kim <[EMAIL PROTECTED]> wrote: > On Tue, Sep 9, 2008 at 4:42 PM, Oren Laadan <[EMAIL PROTECTED]> wrote: >> For each VMA, there is a 'struct cr_vma'; if the VMA is file-mapped, >> it will be followed by the file name. The cr_vma->npages will

[Devel] Re: [RFC v4][PATCH 2/9] General infrastructure for checkpoint restart

2008-09-11 Thread MinChan Kim
On Tue, Sep 9, 2008 at 4:42 PM, Oren Laadan <[EMAIL PROTECTED]> wrote: > Add those interfaces, as well as helpers needed to easily manage the > file format. The code is roughly broken out as follows: > > checkpoint/sys.c - user/kernel data transfer, as well as setup of the > checkpoint/restart cont

[Devel] Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when the mount namespace is unshared

2008-09-11 Thread Chuck Lever
On Sep 9, 2008, at Sep 9, 2008, 2:20 PM, [EMAIL PROTECTED] wrote: > Chuck Lever <[EMAIL PROTECTED]> writes: > >> If the upper layers are responsible for providing the utsname, you >> will need to >> fix up lockd and the NFS server's callback client too, at least. > > Actually looking at the code

[Devel] Re: [PATCH 2/2] netns bridge: cleanup bridges during netns stop

2008-09-11 Thread David Miller
From: Alexey Dobriyan <[EMAIL PROTECTED]> Date: Sat, 6 Sep 2008 10:44:08 +0400 > Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> Also applied to net-next-2.6 ___ Containers mailing list [EMAIL PROTECTED] https://lists.linux-foundation.org/mailman/lis

[Devel] Re: [RFC v4][PATCH 4/9] Memory management (dump)

2008-09-11 Thread MinChan Kim
On Tue, Sep 9, 2008 at 4:42 PM, Oren Laadan <[EMAIL PROTECTED]> wrote: > For each VMA, there is a 'struct cr_vma'; if the VMA is file-mapped, > it will be followed by the file name. The cr_vma->npages will tell > how many pages were dumped for this VMA. Then it will be followed > by the actual da

[Devel] sysfs question

2008-09-11 Thread Mark Ryden
Hello, I am trying to follow the Linux Containers - Network Namespace configuration instructions from http://lxc.sourceforge.net/network/configuration.php I had built a kernel with CONFIG_SYS=n and CONFIG_NET_NS=y and CONFIG_VETH=y , etc, according to the instructions. Now, the CONFIG_SYSFS he

[Devel] Re: sysfs question

2008-09-11 Thread Mark Ryden
In fact, after looking more closely, I see that before that message appears: Error: unmouting old /sys ERROR unmounting old /sys: Invalid argument. forcing unmount of /sys switchroot... Any ideas? Rgs, Mark On Thu, Sep 11, 2008 at 5:01 PM, Mark Ryden <[EMAIL PROTECTED]> wrote: > Hello, > I am tr

[Devel] Re: [PATCH 12/15] driver core: Implement tagged directory support for device classes.

2008-09-11 Thread Benjamin Thery
Jiri Slaby wrote: > Any progress here? Nothing seems reached lkml... Have a look at Greg's tree. :) He started to merge the last patches today. Benjamin > > Eric W. Biederman napsal(a): >> Greg KH <[EMAIL PROTECTED]> writes: >> >>> I'll add it to my tree, and get it some testing in the next cyc

[Devel] Re: [PATCH 12/15] driver core: Implement tagged directory support for device classes.

2008-09-11 Thread Jiri Slaby
Any progress here? Nothing seems reached lkml... Eric W. Biederman napsal(a): > Greg KH <[EMAIL PROTECTED]> writes: > >> I'll add it to my tree, and get it some testing in the next cycle of >> linux-next until 2.6.27 is out, and then if it's still looking good, go >> into .28. > > Greg. Where a

[Devel] Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when the mount namespace is unshared

2008-09-11 Thread Eric W. Biederman
Cedric Le Goater <[EMAIL PROTECTED]> writes: >> The conservative play is to always force use of the initial namespace >> and to deny creation of mounts that would use different namespaces. In part >> because the initial version of the namespace always exists. Which means >> as relates to Cedrics

[Devel] Re: [RFC][PATCH] sunrpc: fix oops in rpc_create() when the mount namespace is unshared

2008-09-11 Thread Cedric Le Goater
> The conservative play is to always force use of the initial namespace > and to deny creation of mounts that would use different namespaces. In part > because the initial version of the namespace always exists. Which means > as relates to Cedrics initial patch we would still need to know which

[Devel] Re: [RFC v3][PATCH 5/9] Memory managemnet (restore)

2008-09-11 Thread Oren Laadan
Dave Hansen wrote: > On Tue, 2008-09-09 at 02:01 -0400, Oren Laadan wrote: >>> Have you looked at mprotect_fixup()? It deals with two things: >>> 1. altering the commit charge against RSS if the mapping is actually >>>writable. >>> 2. Merging the VMA with an adjacent one if possible >>> >>>

[Devel] Re: [RFC v4][PATCH 5/9] Memory managemnet (restore)

2008-09-11 Thread Oren Laadan
Dave Hansen wrote: > On Wed, 2008-09-10 at 15:48 -0400, Oren Laadan wrote: >> Dave Hansen wrote: >>> On Tue, 2008-09-09 at 03:42 -0400, Oren Laadan wrote: +/** + * cr_vma_read_pages_vaddrs - read addresses of pages to page-array chain + * @ctx - restart context + * @npages - n