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

next in thread | previous in thread | raw e-mail | index | archive | help
*smack* sorry, should have posted it.

I am running FreeBSD 8.0 Release p2 (amd64).

Thanks,

Patrick

Andrey V. Elsukov wrote:
> 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?
> 



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