All of lore.kernel.org
 help / color / mirror / Atom feed
* WARNING: at mm/page_alloc.c
@ 2011-04-04 13:22 ` Cyril Hrubis
  0 siblings, 0 replies; 6+ 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] 6+ messages in thread

* WARNING: at mm/page_alloc.c
@ 2011-04-04 13:22 ` Cyril Hrubis
  0 siblings, 0 replies; 6+ messages in thread
From: Cyril Hrubis @ 2011-04-04 13:22 UTC (permalink / raw)
  To: pavel, linux-kernel, linux-arm-kernel, eric.y.miao, utx,
	zaurus-devel, marek.vasut, dmitry.torokhov

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] 6+ messages in thread

* WARNING: at mm/page_alloc.c
  2011-04-04 13:22 ` Cyril Hrubis
@ 2011-04-04 21:29   ` Dmitry Torokhov
  -1 siblings, 0 replies; 6+ 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] 6+ messages in thread

* Re: WARNING: at mm/page_alloc.c
@ 2011-04-04 21:29   ` Dmitry Torokhov
  0 siblings, 0 replies; 6+ messages in thread
From: Dmitry Torokhov @ 2011-04-04 21:29 UTC (permalink / raw)
  To: Cyril Hrubis
  Cc: pavel, linux-kernel, linux-arm-kernel, eric.y.miao, utx,
	zaurus-devel, marek.vasut

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] 6+ messages in thread

* WARNING: at mm/page_alloc.c
  2011-04-04 21:29   ` Dmitry Torokhov
@ 2011-04-04 22:06     ` Cyril Hrubis
  -1 siblings, 0 replies; 6+ 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] 6+ messages in thread

* Re: WARNING: at mm/page_alloc.c
@ 2011-04-04 22:06     ` Cyril Hrubis
  0 siblings, 0 replies; 6+ messages in thread
From: Cyril Hrubis @ 2011-04-04 22:06 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: pavel, linux-kernel, linux-arm-kernel, eric.y.miao, utx,
	zaurus-devel, marek.vasut

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] 6+ messages in thread

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

Thread overview: 6+ 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 13:22 ` Cyril Hrubis
2011-04-04 21:29 ` Dmitry Torokhov
2011-04-04 21:29   ` Dmitry Torokhov
2011-04-04 22:06   ` Cyril Hrubis
2011-04-04 22:06     ` Cyril Hrubis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.