From owner-freebsd-stable@FreeBSD.ORG Wed May 5 13:57:55 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 534091065670; Wed, 5 May 2010 13:57:55 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 84B258FC15; Wed, 5 May 2010 13:57:54 +0000 (UTC) Received: by wwb39 with SMTP id 39so537148wwb.13 for ; Wed, 05 May 2010 06:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=VCUqo4ZRDcwfJj22hA6BEGSHv21/FUJwpm7iXo6k+3I=; b=x0zP1EirJHjEkuz5KB6f5MsMkB1KPl0xNPLC7Vf/pcA5GGHzVJLfa2SDZZh+n8clXP 0rH9VqAuOQ5pOn9lmktBVzcy92w1y6cwNxkHGIVd022g4KJ2Iql3Xs373TwCXSyIu9R5 6gG0wB+Gh+cNG56UYfqluINKFrJ6ACnEMTOQM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=cOkOWLarsLTTqwN6dNArwZVo1yOFoEwVnuAIkdike48ux0ja82mChPaMExawLubeRq OEGvZVp9G8X4DkFLGz/+/Xd5Iah+VSGJNOttJc3eZJAV0lgrGq6XlOPdQYcHHYwdwcgJ xobwYvUVoArdmtn1uFWTBYH5Hjm8uOhw/81PU= Received: by 10.216.89.74 with SMTP id b52mr208143wef.77.1273067867523; Wed, 05 May 2010 06:57:47 -0700 (PDT) Received: from Melon.malikania.fr (wifi-osiris-sec-181-106.u-strasbg.fr [130.79.181.106]) by mx.google.com with ESMTPS id g17sm2754884wee.17.2010.05.05.06.57.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 05 May 2010 06:57:46 -0700 (PDT) Date: Wed, 5 May 2010 15:57:43 +0200 From: Demelier David To: Rui Paulo Message-ID: <20100505135743.GA1613@Melon.malikania.fr> References: <20100504200139.GP23646@deviant.kiev.zoral.com.ua> <20100504203809.GR23646@deviant.kiev.zoral.com.ua> <42ACDAF6-7EA9-4CE9-AA8D-FDA678A1EA74@FreeBSD.org> <20100505074045.GA28030@Abricot.malikania.fr> <4DEBDE2C-C0D2-469D-AC42-DD5027926424@FreeBSD.org> <20100505110332.GA1578@Melon.malikania.fr> <96F538BA-488A-46B3-99A0-BC324DB0F73A@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <96F538BA-488A-46B3-99A0-BC324DB0F73A@FreeBSD.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Kostik Belousov , Giovanni Trematerra , freebsd-stable@freebsd.org, freebsd-acpi@freebsd.org Subject: Re: Kernel panic when unpluggin AC adaptor X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2010 13:57:55 -0000 On Wed, May 05, 2010 at 12:45:46PM +0100, Rui Paulo wrote: > Please try this patch: > > Index: acpi_cpu.c > =================================================================== > --- acpi_cpu.c (revision 207322) > +++ acpi_cpu.c (working copy) > @@ -997,12 +997,12 @@ > if (notify != ACPI_NOTIFY_CX_STATES) > return; > > + ACPI_SERIAL_BEGIN(cpu); > /* Update the list of Cx states. */ > acpi_cpu_cx_cst(sc); > acpi_cpu_cx_list(sc); > > /* Update the new lowest useable Cx state for all CPUs. */ > - ACPI_SERIAL_BEGIN(cpu); > cpu_cx_count = 0; > for (i = 0; i < cpu_ndevices; i++) { > isc = device_get_softc(cpu_devices[i]); > Tested, but exactly same panic an backtrace. Cheers. -- Demelier David