Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2010 14:45:58 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Patrick Mahan <mahan@mahan.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: KLM unloading on error
Message-ID:  <4BC44B66.8080402@yandex.ru>
In-Reply-To: <4BC3C145.3080206@mahan.org>
References:  <4BC3C145.3080206@mahan.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13.04.2010 4:56, Patrick Mahan wrote:
> I have a requirement that when a KLM I am building fails during MOD_LOAD,
> it should be unloaded. Currently, I am seeing even if I return an error
> (eg. EINVAL or ENOSYS) the KLM is still shown as loaded (using kldstat).
> Instead, I would like it to fail and be removed. Does FreeBSD support this?

Hi Patrick.

It seems it is bug. I have the same problem in 9-CURRENT, which FreeBSD
version do you have?

-- 
WBR, Andrey V. Elsukov



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