Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660

From: Paul B. Mahol <onemda_at_gmail.com>
Date: Sat, 22 Nov 2008 00:57:35 +0100
On 11/21/08, Jaakko Heinonen <jh_at_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
Received on Fri Nov 21 2008 - 22:57:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:37 UTC