From: Igor Popik <igor.popik@gmail.com>
To: sasa.ostrouska@volja.net
Cc: linux-kernel@vger.kernel.org
Subject: Re: oops in 2.6.14-rc3 (pcmcia i82365 patch)
Date: Sat, 8 Oct 2005 14:18:20 +0200 [thread overview]
Message-ID: <253000f70510080518m15e2613do@mail.gmail.com> (raw)
2005/10/8, Sasa Ostrouska <sasa.ostrouska@volja.net>:
> Hi ppl,
>
> After some playing with my new slackware 10.2 and
> kernel 2.6.14-rc3 I noted this oops when shutting down the machine.
> Can somebody tell me why ?
This may be caused by bug in i83265 pcmcia module which seems not to
have one release_region() call. It reserves region during init and
does not release it when it fails to probe for the hardware.
That driver is loaded in rc.pcmcia script during boot and usually
fails to load because You do not have such hardware (the script probes
for different pcmcia drivers).
During shutdown one of the shutdown scripts greps through
/proc/ioports file which causes an oops (reserverd region name points
to unloaded driver).
Attached patch is my second attempt to fix this bug :-)
Cheers,
Igor
Signed-off-by: Igor Popik <igor.popik at gmail.com>
--- a/drivers/pcmcia/i82365.c 2005-10-06 20:30:52.000000000 +0200
+++ b/drivers/pcmcia/i82365.c 2005-10-06 20:05:46.000000000 +0200
@@ -1383,6 +1383,7 @@
printk("not found.\n");
platform_device_unregister(&i82365_device);
driver_unregister(&i82365_driver);
+ release_region(i365_base, 2);
return -ENODEV;
}
reply other threads:[~2005-10-08 12:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=253000f70510080518m15e2613do@mail.gmail.com \
--to=igor.popik@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sasa.ostrouska@volja.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox