Re: viafb triggers BUG at mm/vmalloc.c:294 [kernel 2.6.28.3]

From: Nick Piggin
Date: Mon Feb 09 2009 - 05:55:34 EST


On Monday 09 February 2009 21:06:32 wixor wrote:
> Yes, that is somehow better. BUG is gone, it says now
> vmap allocation failed: use vmalloc=<size> to increase size
> and then
> ioremap failed.
> The driver still doesn't work however.

Quite possibly then it is a bad size being passed to ioremap.
(as you said you still have a few hundred GB of vmalloc space
free).

Could you printk the value of the 'size' variable, and also
call WARN() in the case of allocation failure?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/