From owner-freebsd-acpi@FreeBSD.ORG Thu Mar 17 08:08:17 2011 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 708FA1065670; Thu, 17 Mar 2011 08:08:17 +0000 (UTC) (envelope-from micro@heavennet.ru) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id D11268FC13; Thu, 17 Mar 2011 08:08:16 +0000 (UTC) Received: by bwz12 with SMTP id 12so2493648bwz.13 for ; Thu, 17 Mar 2011 01:08:15 -0700 (PDT) Received: by 10.204.32.65 with SMTP id b1mr836297bkd.73.1300349295155; Thu, 17 Mar 2011 01:08:15 -0700 (PDT) Received: from localhost ([188.128.115.228]) by mx.google.com with ESMTPS id j13sm362918faa.3.2011.03.17.01.08.12 (version=SSLv3 cipher=OTHER); Thu, 17 Mar 2011 01:08:14 -0700 (PDT) Date: Thu, 17 Mar 2011 11:08:12 +0300 From: "Ilya A. Archipov" To: Jung-uk Kim Message-ID: <20110317110812.5f25980b@heavennet.ru> In-Reply-To: <201103162032.23801.jkim@FreeBSD.org> References: <20110316115254.59f8b6f7@heavennet.ru> <201103161822.40131.jkim@FreeBSD.org> <4911F71203A09E4D9981D27F9D830858CAD03779@orsmsx503.amr.corp.intel.com> <201103162032.23801.jkim@FreeBSD.org> Organization: M1cRO Inc. X-Mailer: Claws Mail 3.7.6 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org, "Moore, Robert" , Andriy Gapon Subject: Re: Panic after update kernel X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2011 08:08:17 -0000 > On Wednesday 16 March 2011 07:49 pm, Moore, Robert wrote: > > The latest version of acpica released today (20110316) should fix > > this issue for you. > > Cool! > > I just committed it on HEAD now. Please try it and let us know. > > Thanks! > > Jung-uk Kim > Big thx it's work for me ;) ---- Best Regards Ilya A. Arhipov > > Bob > > > > >-----Original Message----- > > >From: Jung-uk Kim [mailto:jkim@FreeBSD.org] > > >Sent: Wednesday, March 16, 2011 3:22 PM > > >To: Andriy Gapon > > >Cc: Ilya A. Arhipov; Moore, Robert; freebsd-acpi@freebsd.org > > >Subject: Re: Panic after update kernel > > > > > >On Wednesday 16 March 2011 11:12 am, Andriy Gapon wrote: > > >> on 16/03/2011 16:18 Ilya A. Arhipov said the following: > > >> > 2011/3/16 Andriy Gapon > >> > > > > >> > > > >> > on 16/03/2011 10:52 Ilya A. Archipov said the following: > > >> > > and see: > > >> > > http://imm.io/4nzZ > > >> > > > > >> > > what information still needs to provide? > > >> > > > >> > 'bt' command output please (a screenshot is fine). > > >> > > > >> > -- > > >> > Andriy Gapon > > >> > > > >> > > > >> > boot: > > >> > http://imm.io/4nTZ > > >> > bt: > > >> > http://imm.io/4nTS <-first > > >> > http://imm.io/4nUd <-last > > >> > > >> So the panic is that we acquire a regular (non-spin) mutex in an > > >> interrupt context. Not sure if this is a FreeBSD issue > > >> (implementation of ACPI semaphore) or some ACPICA issue (e.g. > > >> doing something wrong in an interrupt handler). > > >> > > >> Jung-uk, Robert, can you please take a look? > > > > > >_GL_ creates a semaphore and this semaphore is exclusively used in > > >interrupt context. Also, it is always used to wait forever if it > > >cannot acquire the necessary global lock. This is really bad for > > > us because a semaphore requires a lock object to prevent sleeping > > > forever without being waken up. Only workaround I can think of > > > is to turn AcpiOsWaitSemaphore() & AcpiOsSignalSemaphore() into > > > tsleep(9) & wakeup(9) because that's exactly what it wants to do, > > > it seems. > > > > > >JK > > > > _______________________________________________ > > freebsd-acpi@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-acpi > > To unsubscribe, send any mail to > > "freebsd-acpi-unsubscribe@freebsd.org"