Date: Sat, 22 Nov 2008 00:57:35 +0100 From: "Paul B. Mahol" <onemda@gmail.com> To: "Jaakko Heinonen" <jh@saunalahti.fi> Cc: current@freebsd.org Subject: Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660 Message-ID: <3a142e750811211557r75c5c3eaxaa5cd2712360c26e@mail.gmail.com> In-Reply-To: <20081121074013.GA818@a91-153-125-115.elisa-laajakaista.fi> References: <200811191510.53793.jhb@FreeBSD.org> <3a142e750811201330p3084255em390d94b352dee532@mail.gmail.com> <20081121074013.GA818@a91-153-125-115.elisa-laajakaista.fi>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/21/08, Jaakko Heinonen <jh@saunalahti.fi> wrote: > 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 Works fine for me. With that patches panic doesnt not happen during shutdown, -- Paul
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a142e750811211557r75c5c3eaxaa5cd2712360c26e>