From owner-freebsd-acpi@FreeBSD.ORG Wed Nov 14 21:15:57 2007 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 18B5216A468 for ; Wed, 14 Nov 2007 21:15:57 +0000 (UTC) (envelope-from chardon.frederic@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id BA0F513C48E for ; Wed, 14 Nov 2007 21:15:56 +0000 (UTC) (envelope-from chardon.frederic@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so3148336pyb for ; Wed, 14 Nov 2007 13:15:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=3XtvxU918A+4agmDmQOs/9XvSK7lfMObuBA5py9o1d8=; b=Y7ELhfxpfb21CNuaCzX9QXRzIbYNsXR6xQAKL+q01oZUNbWfiFvk63xN/WZ/CmOV0D3E9THGwmZJWuYLh3ZWFtUvJHXF0vmD6fRvTNdTiVr36NzdPbhEeHoqr51kiPf0bxCJscojfrN/eUmSOA0LMLfBgbVebo9GFPuxVBTxwUI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=tS1ycmgElQBJq44ub7ikMIiJvNw/9FW1/U4MwbG/uuP/kBEg0QULqtP0aLMok81nlzAzyltySsG8pkGFys8Yc5/eBBbjSt+b7ApYIxW+7zuFUfr/wFIo+u0OYa7zLPxb5DFv71ksCknyyW/V4pZzlblJe8evOIgYizk9wv8Qxpk= Received: by 10.35.28.12 with SMTP id f12mr9269478pyj.1195074955027; Wed, 14 Nov 2007 13:15:55 -0800 (PST) Received: by 10.35.97.6 with HTTP; Wed, 14 Nov 2007 13:15:55 -0800 (PST) Message-ID: <8e73e8440711141315n193fbcfcjb9d37fdef3f05027@mail.gmail.com> Date: Wed, 14 Nov 2007 22:15:55 +0100 From: "Frederic Chardon" To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [solved ?] i386/79080: acpi thermal changes freezes HP nx6110 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: Wed, 14 Nov 2007 21:15:57 -0000 Hello, I found a workaround to avoid freeze while change _ACx state on nx6110. In kernel, use options SCHED_ULE device apic options AUTO_EOI_1 options AUTO_EOI_2 ULE and apic allow the freeze to last only a few second (without it, I never waited more than 10 minutes but I supposed it can be long...). AUTO_EOI_1 and AUTO_EOI_2 have no impact without ULE and apic. Separately they don't have noticeable effect. Now when changing thermal mode the number of interrupts dropped from 3000 to around 50. Here is what I obtain after repeated cycles of big CPU activity / idle time (thanks boinc, it is very usefull to quickly make heat). $21:51|fredzio@/home::>vmstat -i interrupt total rate irq1: atkbd0 15716 1 irq9: acpi0 7293 0 irq12: psm0 1492 0 irq14: ata0 121152 10 irq16: bfe0 drm0 34598 3 irq22: fwohci0 3 0 irq23: uhci0 ehci0 136853 12 cpu0: timer 22099902 1999 Total 22417009 2028 I still don't know if the acpi table is buggy, when I try to compile it with iasl there is just a warning about a return value not used. I am a complete newby in these things, some research make me think that there may be a problem in APIC: Type=INT Override BUS=0 IRQ=0 INTR=2 Flags={Polarity=conforming, Trigger=conforming} Type=INT Override BUS=0 IRQ=9 INTR=9 Flags={Polarity=active-hi, Trigger=level} I read that IRQ 2 and IRQ 9 (used in acpi0 in my case) are somewhat linked together. If os, shouldn't they have same parameters? Moreover in the archives there is a mail stating that PCI interrupt should be level/lo. I suppose acpi is not on isa bus, so it must be PCI. Am I right? If so, should I change values? Both flags? I don't care a lot if I break OS but I am a bit more worried about hardware... Anyway, now the laptop is usable, I hope this can be useful if someone else have interrupt trouble with acpi. Regards Fred