Re: Panic `cat /proc/ioports`

From: Richard B. Johnson (
Date: Wed Feb 12 2003 - 08:25:48 EST

On Tue, 11 Feb 2003, Andrew Morton wrote:

> "Richard B. Johnson" <> wrote:
> >
> > Linux version 2.4.18, after it runs for a few days, will panic
> > if I do `cat /proc/ioports`. Has this been reported/fixed in
> > later versions?
> >
> > : Unable to handle kernel paging request at virtual address d48e2fa0
> This means that some driver which was previously loaded forgot to do a
> release_region(). Later, the /proc code tries to read stuff from within the
> driver which isn't there any more and oopses.

Yes. I just noticed that most network board drivers in version 2.4.18
do not execute release_region() after they have done a request_region(),
if they fail to install because of some error. The error in this case was
the failure to allocate memory because I told the kernel I only had 4
megabytes (exprimental ioremap() of the rest in another module).

Is somebody fixing these drivers (do you know). I could download the
latest of the 2.4.n series and clean some of these up if they have not
already been done by somebody else.

Dick Johnson
Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.

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 Feb 15 2003 - 22:00:40 EST