From owner-freebsd-hackers@FreeBSD.ORG Wed May 15 09:11:57 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6267D587 for ; Wed, 15 May 2013 09:11:57 +0000 (UTC) (envelope-from lstewart@freebsd.org) Received: from lauren.room52.net (lauren.room52.net [210.50.193.198]) by mx1.freebsd.org (Postfix) with ESMTP id 2AC6FAA6 for ; Wed, 15 May 2013 09:11:56 +0000 (UTC) Received: from lstewart.caia.swin.edu.au (lstewart.caia.swin.edu.au [136.186.229.95]) by lauren.room52.net (Postfix) with ESMTPSA id 63B757E81E; Wed, 15 May 2013 19:11:48 +1000 (EST) Message-ID: <51935154.8090305@freebsd.org> Date: Wed, 15 May 2013 19:11:48 +1000 From: Lawrence Stewart User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130314 Thunderbird/17.0.4 MIME-Version: 1.0 To: Computer Network Man Subject: Re: A problem with alq module! References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lauren.room52.net Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2013 09:11:57 -0000 On 05/13/13 16:37, Computer Network Man wrote: > Dear Guys; > In a fresh FreeBSD 9 or 9.1 Release if you just run these commands: > # kldload alq > # kldunload alq > # init 0 or shutdown -p now > it will panic! > maybe it's a bug. > We have a module which uses alq API's. > MODULE_DEPEND(mymodule, alq, 1, 1, 1) > when our module starts, loads alq. and when it stops, unloads alq. So after > starting and stoping our module and shutdown, we have panic. > any opinion in this regard would be appreciated. Please test this patch: http://people.freebsd.org/~lstewart/patches/misc/alq_deregister_eventhandler_10.x.r250136.diff Cheers, Lawrence