kern/147127: Panic in pccard.c
Hans Petter Selasky
hselasky at c2i.net
Thu May 27 11:40:03 UTC 2010
>Number: 147127
>Category: kern
>Synopsis: Panic in pccard.c
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu May 27 11:40:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Hans Petter Selasky
>Release: FreeBSD 9.0-CURRENT i386
>Organization:
>Environment:
>Description:
When inserting a PCCARD a panic can occur if the PCCARD generate interrupts
before the driver is loaded.
>How-To-Repeat:
>Fix:
--- dev/pccard/pccard.c (revision 208027)
+++ dev/pccard/pccard.c (local)
@@ -1258,7 +1258,10 @@
pccard_intr(void *arg)
{
struct pccard_function *pf = (struct pccard_function*) arg;
-
+
+ if (pf->intr_handler == NULL)
+ return; /* can happen during PCCARD insertion
*/
+
pf->intr_handler(pf->intr_handler_arg);
}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list