[PATCH] MPSAFE/LOOKUP_SHARED cd9660

Paul B. Mahol onemda at gmail.com
Fri Nov 21 15:57:36 PST 2008


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


More information about the freebsd-current mailing list