From owner-freebsd-current@FreeBSD.ORG Fri Nov 21 07:56:11 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4ADD51065672; Fri, 21 Nov 2008 07:56:11 +0000 (UTC) (envelope-from jh@saunalahti.fi) Received: from emh06.mail.saunalahti.fi (emh06.mail.saunalahti.fi [62.142.5.116]) by mx1.freebsd.org (Postfix) with ESMTP id 046D78FC13; Fri, 21 Nov 2008 07:56:11 +0000 (UTC) (envelope-from jh@saunalahti.fi) Received: from saunalahti-vams (vs3-10.mail.saunalahti.fi [62.142.5.94]) by emh06-2.mail.saunalahti.fi (Postfix) with SMTP id 25A98C7EC9; Fri, 21 Nov 2008 09:40:17 +0200 (EET) Received: from emh04.mail.saunalahti.fi ([62.142.5.110]) by vs3-10.mail.saunalahti.fi ([62.142.5.94]) with SMTP (gateway) id A0063F23400; Fri, 21 Nov 2008 09:40:17 +0200 Received: from a91-153-125-115.elisa-laajakaista.fi (a91-153-125-115.elisa-laajakaista.fi [91.153.125.115]) by emh04.mail.saunalahti.fi (Postfix) with SMTP id 9F67541BEB; Fri, 21 Nov 2008 09:40:13 +0200 (EET) Date: Fri, 21 Nov 2008 09:40:13 +0200 From: Jaakko Heinonen To: "Paul B. Mahol" Message-ID: <20081121074013.GA818@a91-153-125-115.elisa-laajakaista.fi> References: <200811191510.53793.jhb@FreeBSD.org> <3a142e750811201330p3084255em390d94b352dee532@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3a142e750811201330p3084255em390d94b352dee532@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Antivirus: VAMS Cc: current@freebsd.org Subject: Re: [PATCH] MPSAFE/LOOKUP_SHARED cd9660 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2008 07:56:11 -0000 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