Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2008 09:40:13 +0200
From:      Jaakko Heinonen <jh@saunalahti.fi>
To:        "Paul B. Mahol" <onemda@gmail.com>
Cc:        current@freebsd.org
Subject:   Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660
Message-ID:  <20081121074013.GA818@a91-153-125-115.elisa-laajakaista.fi>
In-Reply-To: <3a142e750811201330p3084255em390d94b352dee532@mail.gmail.com>
References:  <200811191510.53793.jhb@FreeBSD.org> <3a142e750811201330p3084255em390d94b352dee532@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2008-11-20, Paul B. Mahol wrote:
> Machine crashed during clean shutdown (with old kernel without this patch)
> after atapicd where kldloaded and after that used some time and tham
> kldunloaded.

There are several bugs related to unloading the atapicd module.

* g_wither_geom() race against module unload
* return value from g_modevent() is ignored
* detaching/unloading is allowed even if the device is in use

You could try these patches:

http://www.saunalahti.fi/~jh3/patches/atapi-cd-locking+tray-control.diff
http://www.saunalahti.fi/~jh3/patches/geom-unload-class-race.diff

-- 
Jaakko



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