Date: Tue, 13 Apr 2010 09:12:37 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-hackers@freebsd.org Cc: "Andrey V. Elsukov" <bu7cher@yandex.ru>, Patrick Mahan <mahan@mahan.org> Subject: Re: KLM unloading on error Message-ID: <201004130912.37606.jhb@freebsd.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
On Tuesday 13 April 2010 6:45:58 am 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? Hmm, that does seem like a bug. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004130912.37606.jhb>