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

Keith Owens
2002-07-27T01:30:07Z

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;