From owner-freebsd-acpi@FreeBSD.ORG Tue Jan 15 16:40:04 2008 Return-Path: Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D375F16A418 for ; Tue, 15 Jan 2008 16:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C99DB13C45A for ; Tue, 15 Jan 2008 16:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0FGe4Mh005361 for ; Tue, 15 Jan 2008 16:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0FGe4hT005360; Tue, 15 Jan 2008 16:40:04 GMT (envelope-from gnats) Date: Tue, 15 Jan 2008 16:40:04 GMT Message-Id: <200801151640.m0FGe4hT005360@freefall.freebsd.org> To: freebsd-acpi@FreeBSD.org From: Leo Bicknell Cc: Subject: Re: kern/119675: [acpi] apic_hpet0 probe causes divide by zero kernel panic X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Leo Bicknell List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2008 16:40:04 -0000 The following reply was made to PR kern/119675; it has been noted by GNATS. From: Leo Bicknell To: John Baldwin Cc: bug-followup@FreeBSD.org Subject: Re: kern/119675: [acpi] apic_hpet0 probe causes divide by zero kernel panic Date: Tue, 15 Jan 2008 11:33:14 -0500 In a message written on Tue, Jan 15, 2008 at 10:13:07AM -0500, John Baldwin wrote: > You can try the patch below. It fixes a couple of places where we don't > honor the spec (we don't shut it off in S1 and S2 as required and we don't > preserve reserved bits in the global configuration register). It also > fails the attach if the period is zero which should fix your panic and > just leave you with no HPET. Good news and bad news. With the patch "invalid period" is printed out, so I believe it's correctly detecting the hpet0 issue. However, I immediately get an "integer divide fault while in kernel mode" panic and the boot still fails. I tried with boot -v and the message is right after the "invalid period", so I'm not quite sure what's causing it. Any recomendations, other than setting up a kernel debugger to see where it's coming from? -- Leo Bicknell - bicknell@ufp.org - CCIE 3440 PGP keys at http://www.ufp.org/~bicknell/ Read TMBG List - tmbg-list-request@tmbg.org, www.tmbg.org