[Zaurus-devel] WARNING: at mm/page_alloc.c

2011-04-04 Thread Cyril Hrubis
Hi!
I'm playing with uinput on zaurus (spitz) I've a pxa-2.6 kernel flashed in the
uinput is loaded as module. Right after my program called:

ioctl(fd, UI_DEV_CREATE);

I've got:

WARNING: at mm/page_alloc.c:2012 __alloc_pages_nodemask+0148/0x5a8()

and the ioctl() has failed.

Anybody has an idea what went wrong?
-- 
metan

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] WARNING: at mm/page_alloc.c

2011-04-04 Thread Dmitry Torokhov
On Mon, Apr 04, 2011 at 03:22:26PM +0200, Cyril Hrubis wrote:
> Hi!
> I'm playing with uinput on zaurus (spitz) I've a pxa-2.6 kernel flashed in the
> uinput is loaded as module. Right after my program called:
> 
> ioctl(fd, UI_DEV_CREATE);
> 
> I've got:
> 
> WARNING: at mm/page_alloc.c:2012 __alloc_pages_nodemask+0148/0x5a8()
> 
> and the ioctl() has failed.
> 
> Anybody has an idea what went wrong?

You do not have enough memory?

Maybe if you could post your program we could see what exactly went
wrong...

Thanks.

-- 
Dmitry

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] WARNING: at mm/page_alloc.c

2011-04-04 Thread Cyril Hrubis
Hi!
> Maybe if you could post your program we could see what exactly went
> wrong...

Gone trought my code once again and found small typo in sizeof() in
uinput_user_dev initialization.

Sorry for the noise.

-- 
metan

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel