Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2005 21:44:29 +0200
From:      "Frank Behrens" <frank@pinky.sax.de>
To:        freebsd-current@freebsd.org
Subject:   Re: panic after kldunload - stale device descriptions
Message-ID:  <200508231944.j7NJiTT8003432@pinky.frank-behrens.de>
In-Reply-To: <200508231743.j7NHhidM001730@pinky.frank-behrens.de>

next in thread | previous in thread | raw e-mail | index | archive | help
To answer myself:

Frank Behrens <frank@pinky.sax.de> wrote on 23 Aug 2005 19:43:

> I loaded my driver (kldload) and the device was probed and found in 
> ISA_PNP_PROBE. Then the driver was unloaded (kldunload) and I tried 
> to read the current device configuration. This gave me a
> 
> Fatal trap 12: page fault while in kernel mode

I could not reproduce the error. May be the driver did not release a 
resource, so it was unloaded, but the device was still present.

In that case there is no danger, because we can assume safely all 
driver will release all allocated resources.

Regards,
   Frank
-- 
Frank Behrens, Osterwieck, Germany
PGP-key 0x5B7C47ED on public servers available.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508231944.j7NJiTT8003432>