[uml-devel] Fwd: Re: [uml-user] WARNING: at mm/slab_common.c:376 kmalloc_slab+0x33/0x80()

2013-05-11 Thread Toralf Förster
Dave, can you pls answer to Richards question: So, we trigger "if (WARN_ON_ONCE(size > KMALLOC_MAX_SIZE))". Now I'm wondering what kind of argument string trinity gave to mount(). How long is it? Original Message Subject: Re: [uml-user] WARNING: at mm

Re: [uml-devel] Fwd: Re: [uml-user] WARNING: at mm/slab_common.c:376 kmalloc_slab+0x33/0x80()

2013-05-11 Thread richard -rw- weinberger
On Sat, May 11, 2013 at 10:36 AM, Toralf Förster wrote: > > Dave, > > can you pls answer to Richards question: > > So, we trigger "if (WARN_ON_ONCE(size > KMALLOC_MAX_SIZE))". > Now I'm wondering what kind of argument string trinity gave to > mount(). > How long is it? He

Re: [uml-devel] Fwd: Re: [uml-user] WARNING: at mm/slab_common.c:376 kmalloc_slab+0x33/0x80()

2013-05-11 Thread Toralf Förster
On 05/11/2013 10:47 AM, richard -rw- weinberger wrote: > On Sat, May 11, 2013 at 10:36 AM, Toralf Förster > wrote: >> >> Dave, >> >> can you pls answer to Richards question: >> >> So, we trigger "if (WARN_ON_ONCE(size > KMALLOC_MAX_SIZE))". >> Now I'm wondering what kind of argume

Re: [uml-devel] Fwd: Re: [uml-user] WARNING: at mm/slab_common.c:376 kmalloc_slab+0x33/0x80()

2013-05-11 Thread Sergei Trofimovich
> With this change: > > diff --git a/fs/namespace.c b/fs/namespace.c > index 7b1ca9b..289211d 100644 > --- a/fs/namespace.c > +++ b/fs/namespace.c > @@ -2236,6 +2236,8 @@ int copy_mount_string(const void __user *data, char > **where) > return 0; > } > > + printk(" h

Re: [uml-devel] Fwd: Re: [uml-user] WARNING: at mm/slab_common.c:376 kmalloc_slab+0x33/0x80()

2013-05-11 Thread richard -rw- weinberger
On Sat, May 11, 2013 at 1:01 PM, Sergei Trofimovich wrote: >> With this change: >> >> diff --git a/fs/namespace.c b/fs/namespace.c >> index 7b1ca9b..289211d 100644 >> --- a/fs/namespace.c >> +++ b/fs/namespace.c >> @@ -2236,6 +2236,8 @@ int copy_mount_string(const void __user *data, char >> **whe

Re: [uml-devel] Fwd: Re: [uml-user] WARNING: at mm/slab_common.c:376 kmalloc_slab+0x33/0x80()

2013-05-11 Thread richard -rw- weinberger
On Sat, May 11, 2013 at 1:01 PM, Sergei Trofimovich wrote: >> With this change: >> >> diff --git a/fs/namespace.c b/fs/namespace.c >> index 7b1ca9b..289211d 100644 >> --- a/fs/namespace.c >> +++ b/fs/namespace.c >> @@ -2236,6 +2236,8 @@ int copy_mount_string(const void __user *data, char >> **whe

Re: [uml-devel] Fwd: Re: [uml-user] WARNING: at mm/slab_common.c:376 kmalloc_slab+0x33/0x80()

2013-05-11 Thread richard -rw- weinberger
On Sat, May 11, 2013 at 2:26 PM, richard -rw- weinberger wrote: > On Sat, May 11, 2013 at 1:01 PM, Sergei Trofimovich wrote: >>> With this change: >>> >>> diff --git a/fs/namespace.c b/fs/namespace.c >>> index 7b1ca9b..289211d 100644 >>> --- a/fs/namespace.c >>> +++ b/fs/namespace.c >>> @@ -2236,

Re: [uml-devel] Fwd: Re: [uml-user] WARNING: at mm/slab_common.c:376 kmalloc_slab+0x33/0x80()

2013-05-11 Thread Toralf Förster
On 05/11/2013 02:27 PM, richard -rw- weinberger wrote: > On Sat, May 11, 2013 at 2:26 PM, richard -rw- weinberger > wrote: >> On Sat, May 11, 2013 at 1:01 PM, Sergei Trofimovic>> Toralf, please use the >> attached patch. >> Maybe it helps us. >> In theory we call kmalloc() with at most PAGE_SIZE,

Re: [uml-devel] Fwd: Re: [uml-user] WARNING: at mm/slab_common.c:376 kmalloc_slab+0x33/0x80()

2013-05-11 Thread richard -rw- weinberger
On Sat, May 11, 2013 at 3:19 PM, Toralf Förster wrote: > On 05/11/2013 02:27 PM, richard -rw- weinberger wrote: >> On Sat, May 11, 2013 at 2:26 PM, richard -rw- weinberger >> wrote: >>> On Sat, May 11, 2013 at 1:01 PM, Sergei Trofimovic>> Toralf, please use the >>> attached patch. >>> Maybe it h

Re: [uml-devel] Fwd: Re: [uml-user] WARNING: at mm/slab_common.c:376 kmalloc_slab+0x33/0x80()

2013-05-11 Thread Sergei Trofimovich
On Sat, 11 May 2013 13:29:23 +0200 richard -rw- weinberger wrote: > On Sat, May 11, 2013 at 1:01 PM, Sergei Trofimovich wrote: > >> With this change: > >> > >> diff --git a/fs/namespace.c b/fs/namespace.c > >> index 7b1ca9b..289211d 100644 > >> --- a/fs/namespace.c > >> +++ b/fs/namespace.c > >>

Re: [uml-devel] Fwd: Re: [uml-user] WARNING: at mm/slab_common.c:376 kmalloc_slab+0x33/0x80()

2013-05-11 Thread richard -rw- weinberger
On Sat, May 11, 2013 at 3:26 PM, richard -rw- weinberger wrote: > On Sat, May 11, 2013 at 3:19 PM, Toralf Förster > wrote: >> On 05/11/2013 02:27 PM, richard -rw- weinberger wrote: >>> On Sat, May 11, 2013 at 2:26 PM, richard -rw- weinberger >>> wrote: On Sat, May 11, 2013 at 1:01 PM, Serg

Re: [uml-devel] Fwd: Re: [uml-user] WARNING: at mm/slab_common.c:376 kmalloc_slab+0x33/0x80()

2013-05-11 Thread Toralf Förster
On 05/11/2013 03:26 PM, richard -rw- weinberger wrote: > Does the attached patch fix the problem? yes, but this occurred (probably completely unrelated :) 2013-05-11T15:42:32.829+02:00 trinity kernel: Adding 262140k swap on /dev/mapper/crypt-swap. Priority:-1 extents:1 across:262140k FS 2013-05

Re: [uml-devel] Fwd: Re: [uml-user] WARNING: at mm/slab_common.c:376 kmalloc_slab+0x33/0x80()

2013-05-11 Thread Toralf Förster
On 05/11/2013 03:37 PM, richard -rw- weinberger wrote: > Found the real problem, UML's strnlen_user() is broken. > Please test the attached patch. yeah, that works now :-) -- MfG/Sincerely Toralf Förster pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3 ---