public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* WARNING: at mm/page_alloc.c
@ 2011-04-04 13:22 Cyril Hrubis
  2011-04-04 21:29 ` Dmitry Torokhov
  0 siblings, 1 reply; 3+ messages in thread
From: Cyril Hrubis @ 2011-04-04 13:22 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* WARNING: at mm/page_alloc.c
  2011-04-04 13:22 WARNING: at mm/page_alloc.c Cyril Hrubis
@ 2011-04-04 21:29 ` Dmitry Torokhov
  2011-04-04 22:06   ` Cyril Hrubis
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Torokhov @ 2011-04-04 21:29 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* WARNING: at mm/page_alloc.c
  2011-04-04 21:29 ` Dmitry Torokhov
@ 2011-04-04 22:06   ` Cyril Hrubis
  0 siblings, 0 replies; 3+ messages in thread
From: Cyril Hrubis @ 2011-04-04 22:06 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-04 22:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-04 13:22 WARNING: at mm/page_alloc.c Cyril Hrubis
2011-04-04 21:29 ` Dmitry Torokhov
2011-04-04 22:06   ` Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox