Re: module oops tracking [Re: [PATCH] cheap lookup of symbol names on oops()]

From: Keith Owens (kaos@ocs.com.au)
Date: Fri Jul 26 2002 - 20:33:11 EST


On Sat, 27 Jul 2002 03:19:06 +0200,
Andrea Arcangeli <andrea@suse.de> wrote:
>here an updated patch that moves the bitflag from the dedicated array to
>the mod->flags per your suggesiton.
>Oops: 0002
>2.4.19-rc3aa2 #3 SMP Sat Jul 27 05:06:19 CEST 2002

Kernel version without any identifying string cannot be picked up by
ksymoops. Can you append the kernel version to the die message? That
means changing all arch/*/traps.c but it saves a line on the console.

Oops: 0002 2.4.19-rc3aa2 #3 SMP Sat Jul 27 05:06:19 CEST 2002

>+void module_oops_tracking_init(void)
>+{
>+ struct module * mod;
>+
>+ for (mod = module_list; mod != &kernel_module; mod = mod->next)
>+ mod->flags &= MOD_OOPS_PRINT;

                mod->flags &= ~MOD_OOPS_PRINT;

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



This archive was generated by hypermail 2b29 : Tue Jul 30 2002 - 14:00:25 EST