Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660

From: Jaakko Heinonen <jh_at_saunalahti.fi>
Date: Fri, 21 Nov 2008 09:40:13 +0200
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
Received on Fri Nov 21 2008 - 06:56:11 UTC

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