Re: problem rmmod'ing module

From: Keith Owens
Date: Thu Feb 19 2004 - 08:17:22 EST


On Wed, 18 Feb 2004 12:58:40 -0600,
Matthew Rench <lists@xxxxxxxxxxxx> wrote:
>Feb 17 13:56:35 aragorn kernel: <1>Unable to handle kernel NULL pointer derefer
>ence at virtual address 00000000
>Feb 17 13:56:35 aragorn kernel: c0118b7e
>Feb 17 13:56:35 aragorn kernel: *pde = 00000000
>Feb 17 13:56:35 aragorn kernel: Oops: 0000
>Feb 17 13:56:35 aragorn kernel: CPU: 0
>Feb 17 13:56:35 aragorn kernel: EIP: 0010:[qm_symbols+194/500] Not tainted
>Feb 17 13:56:35 aragorn kernel: EFLAGS: 00010246
>Feb 17 13:56:35 aragorn kernel: eax: 00000000 ebx: 00000000 ecx: ffffffff
>edx: 00000000
>Feb 17 13:56:35 aragorn kernel: esi: 00000048 edi: 00000000 ebp: d881bc24
>esp: cb3dbf7c

That corresponds to kernel/module.c::qm_symbols, line 837:838

for (; i < mod->nsyms ; ++i, ++s, vals += 2) {
len = strlen(s->name)+1;

The symbol table for the module has been corrupted, one of the string
pointers is NULL.

>By the way, I don't suppose there's any way to clean this up without
>rebooting, is there?

Afraid not.

-
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/