Re: 2.6.28-rc6-git1 -- BUG: unable to handle kernel paging request at ffff8800be8b0019

From: Rusty Russell
Date: Mon Dec 01 2008 - 19:57:30 EST

On Tuesday 02 December 2008 07:21:03 Andrew Morton wrote:
> The fault really lies with include/linux/kallsyms.h, I think:
> #define KSYM_SYMBOL_LEN (sizeof("%s+%#lx/%#lx [%s]") + (KSYM_NAME_LEN - 1)
> + \ 2*(BITS_PER_LONG*3/10) + (MODULE_NAME_LEN - 1) + 1)

Hmm... and I recently define MODULE_NAME_LEN in terms of MAX_PARAM_PREFIX_LEN
for similar reasons.

Perhaps we should move MODULE_NAME_LEN to kernel.h and define everything in
terms of that? It seems to be a common need.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at