Re: PROBLEM: Kernel Oops on cat /proc/ioports

From: Andrew Morton (
Date: Tue Dec 11 2001 - 20:06:57 EST

Berend De Schouwer wrote:
> [1.] One line summary of the problem:
> Running "cat /proc/ioports" causes a segfault and kernel oops.
> ...
> [7.3.] Module information (from /proc/modules):
> cyclades 147616 16 (autoclean)

cyclades does request_region(), but forgets to do release_region().
This will leave the region allocated in kernel data structures,
but its "name" field resides in module memory.

So if you load cyclades.o, then rmmod it, then cat /proc/ioports,
you'll touch unmapped memory and go boom.

Some brave soul needs to teach cyclades about release_region().
Shame the Nobel prizes are all gone this year.

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

This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:22 EST