From owner-freebsd-amd64@FreeBSD.ORG Wed Dec 26 11:40:01 2012 Return-Path: Delivered-To: freebsd-amd64@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9BE70ADA for ; Wed, 26 Dec 2012 11:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7D2A38FC0A for ; Wed, 26 Dec 2012 11:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBQBe1af053958 for ; Wed, 26 Dec 2012 11:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBQBe1FB053957; Wed, 26 Dec 2012 11:40:01 GMT (envelope-from gnats) Date: Wed, 26 Dec 2012 11:40:01 GMT Message-Id: <201212261140.qBQBe1FB053957@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org Cc: From: KAHO Toshikazu Subject: Re: amd64/174409: stopping during resume caused by io_apic.c change(r243764) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: KAHO Toshikazu List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Dec 2012 11:40:01 -0000 The following reply was made to PR amd64/174409; it has been noted by GNATS. From: KAHO Toshikazu To: Andriy Gapon Cc: bug-followup@freebsd.org Subject: Re: amd64/174409: stopping during resume caused by io_apic.c change(r243764) Date: Wed, 26 Dec 2012 20:34:41 +0900 Hello, Hmm.. The machine has a broken ACPI but OS doesn't catch it before r243764, and the broken ACPI doesn't make any ill effect. After r243764, OS catch the broken information and treat it as a correct information, so that the machine stops. It is a story I understand from your mail. > o cpuset -l 1 -x 9 -- to try to see what happens if SCI/IRQ9 > is delivered to the AP instead of BSP I cannot find any effect from `cpuset -l 1 -x 9` command. With pure head + your acpi.c patch, the machine can wake up from sleep. But "irq9: acpi0" rate showed by "vmstat -i" is increasing every second after resume. To close and open LCD makes 2 irq9 before resume, but irq9 rate is too fast after resume. "vmstat -i" shows -- before sleep -- interrupt total rate irq1: atkbd0 1153 2 irq9: acpi0 56 0 irq12: psm0 75744 177 irq20: hpet0 30065 70 irq23: ehci1 uhci1 83 0 irq256: ahci0 4572 10 irq258: hdac0 93 0 irq259: vgapci0 1022 2 Total 112788 264 -- after wake up from sleep -- interrupt total rate irq1: atkbd0 1427 2 irq9: acpi0 2364611 4564 irq12: psm0 78870 152 irq20: hpet0 42270 81 irq23: ehci1 uhci1 166 0 irq256: ahci0 4740 9 irq258: hdac0 99 0 irq259: vgapci0 1615 3 Total 2493798 4814 -- after resume and some times later -- interrupt total rate irq1: atkbd0 1643 0 irq9: acpi0 103768672 45313 irq12: psm0 86056 37 irq20: hpet0 442586 193 irq23: ehci1 uhci1 166 0 irq256: ahci0 4942 2 irq258: hdac0 99 0 irq259: vgapci0 3091 1 irq260: alc0 42 0 Total 104307297 45549 -- kaho@elam.kais.kyoto-u.ac.jp