From mboxrd@z Thu Jan 1 00:00:00 1970 From: Len Brown Subject: Re: acpi exception with current -mm lineup (HPET) Date: Thu, 31 May 2007 02:02:17 -0400 Message-ID: <200705310202.18124.lenb@kernel.org> References: <20070530211759.aa083623.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from hera.kernel.org ([140.211.167.34]:45220 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758329AbXEaGC3 (ORCPT ); Thu, 31 May 2007 02:02:29 -0400 In-Reply-To: <20070530211759.aa083623.akpm@linux-foundation.org> Content-Disposition: inline Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Andrew Morton , "Pallipadi, Venkatesh" Cc: linux-acpi@vger.kernel.org On Thursday 31 May 2007 00:17, Andrew Morton wrote: > initcall 0xffffffff8066281b: rtc_init+0x0/0x1aa() returned 0. > initcall 0xffffffff8066281b ran for 0 msecs: rtc_init+0x0/0x1aa() > Calling initcall 0xffffffff806629c5: hpet_init+0x0/0x69() > hpet_resources: 0xfed00000 is busy > ACPI Error (utglobal-0126): Unknown exception code: 0xFFFFFFF0 [20070126] > > Call Trace: > [] acpi_format_exception+0x38/0x43 > [] acpi_ut_status_exit+0x43/0x85 > [] hpet_resources+0x0/0x138 This stack track is actually triggered in acpi_walk_resources(), by return_ACPI_STATUS(status); because the return type here static acpi_status hpet_resources(struct acpi_resource *res, void *data) is not consistent with the return value here: return -EBUSY; > [] acpi_walk_resources+0x13c/0x14e > [] hpet_acpi_add+0x40/0x91 > [] acpi_device_probe+0x51/0x109 > [] driver_probe_device+0xdd/0x164 > [] __driver_attach+0x89/0xc9 > [] __driver_attach+0x0/0xc9 > [] bus_for_each_dev+0x49/0x7a > [] driver_attach+0x1c/0x1e > [] bus_add_driver+0x7f/0x184 > [] driver_register+0x73/0x77 > [] acpi_bus_register_driver+0x3e/0x40 > [] hpet_init+0x3b/0x69 > [] kernel_init+0x171/0x2e1 > [] _spin_unlock_irq+0x14/0x30 > [] child_rip+0xa/0x12 > [] kernel_init+0x0/0x2e1 > [] child_rip+0x0/0x12 > initcall 0xffffffff806629c5: hpet_init+0x0/0x69() returned 0. > > This is with a git pull from this morning. The machine is one > of those Intel Noncna boxen. I'm not sure how it identifies itself. Nocona > I put a copy of /proc/acpi/dsdt at http://userweb.kernel.org/~akpm/dsdt > if that's any help. > > Full dmesg at http://userweb.kernel.org/~akpm/dmesg-x.txt Okay, this BIOS actually has a real HPET table: ACPI: HPET 7FFD7460, 0038 (r1 A M I OEMHPET 5000427 MSFT 97) and the hpet is actually found: Calling initcall 0xffffffff80652488: late_hpet_init+0x0/0xd1() hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 hpet0: 3 64-bit timers, 14318180 Hz initcall 0xffffffff80652488: late_hpet_init+0x0/0xd1() returned 0. initcall 0xffffffff80652488 ran for 0 msecs: late_hpet_init+0x0/0xd1() ... Perhaps Venki can comment on if the resource conflict is expected to be fatal or not. -Len