From owner-freebsd-acpi@FreeBSD.ORG Sun Jan 20 04:07:36 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 87A7916A420; Sun, 20 Jan 2008 04:07:36 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5435013C4D3; Sun, 20 Jan 2008 04:07:36 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0K47aqk089195; Sun, 20 Jan 2008 04:07:36 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0K47aLg089191; Sun, 20 Jan 2008 04:07:36 GMT (envelope-from linimon) Date: Sun, 20 Jan 2008 04:07:36 GMT Message-Id: <200801200407.m0K47aLg089191@freefall.freebsd.org> To: merlyn500@gmail.com, linimon@FreeBSD.org, freebsd-acpi@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: bin/109760: [acpi]: [modules] kldunload acpi_video - crash 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: Sun, 20 Jan 2008 04:07:36 -0000 Synopsis: [acpi]: [modules] kldunload acpi_video - crash State-Changed-From-To: open->feedback State-Changed-By: linimon State-Changed-When: Sun Jan 20 04:07:20 UTC 2008 State-Changed-Why: Note that submitter was asked for feedback. http://www.freebsd.org/cgi/query-pr.cgi?pr=109760 From owner-freebsd-acpi@FreeBSD.ORG Sun Jan 20 16:57:13 2008 Return-Path: Delivered-To: acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C0AD16A41A; Sun, 20 Jan 2008 16:57:13 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from vms173003pub.verizon.net (vms173003pub.verizon.net [206.46.173.3]) by mx1.freebsd.org (Postfix) with ESMTP id 158DE13C448; Sun, 20 Jan 2008 16:57:13 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from [10.0.3.231] ([70.111.176.160]) by vms173003.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JUY0034D9IF0GV0@vms173003.mailsrvcs.net>; Sun, 20 Jan 2008 09:54:17 -0600 (CST) Date: Sun, 20 Jan 2008 10:55:21 -0500 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: To: Daniel Eischen Message-id: <1200844521.33164.18.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port Content-type: text/plain Content-transfer-encoding: 7bit References: <1200369199.2054.38.camel@RabbitsDen> Cc: acpi@freebsd.org Subject: Re: How to disable acpi thermal? 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: Sun, 20 Jan 2008 16:57:13 -0000 On Tue, 2008-01-15 at 15:34 -0500, Daniel Eischen wrote: > [ Redirected from -current ] > > On Mon, 14 Jan 2008, Alexandre "Sunny" Kovalenko wrote: > > > > > On Mon, 2008-01-14 at 21:56 -0500, Daniel Eischen wrote: > >> > >> Thermal zone 0 skyrockets past 110C in a couple of minutes > >> when trying to build a kernel. All the other zones stay > >> relatively static. I suspect something is wrong somewhere > >> because this machine is very lightly loaded and has never > >> had a problem until now. I just upgraded it from 4.x to > >> 7.0. > > > > It need not to be bogus -- if I turn off fan on my ThinkPad it will > > overheat and shut itself down within couple of minutes of buildworld, > > starting from the relative cool state. From the look of the stuff below > > your fan should kick in no later then 10 seconds after tz0 reached 77C. > > Do you hear it running before shutdown? If yes, maybe lowering threshold > > in AC0 down from 77C will help. If not -- you will need to figure out > > who is supposed to turn on the fan. You can dump your ASL (instructions > > in the handbook) and post it someplace accessible -- I will take a look > > and maybe spot something interesting, but, being far from the expert in > > the field, I do not promise too much. > > I posted the acpidump here: > > http://people.freebsd.org/~deischen/stl2.iasl > > The problem is that acpi_thermal keeps shutting down the system > after 2 minutes into a buildkernel. The system has no load other > than the buildkernel at the time it shuts down. > > The system is a Intel STL2 Tupelo motherboard with 1 CPU, the > other CPU socket being occupied by a CPU terminator thingy. > I uncovered the rackmount system and watched it while building > a kernel. With the cover off the acpi monitored temperature > went to 107C and stayed there. It only took a minute or two > to get there. I felt around inside the chassis and nothing > was even near being to warm or hot. With the cover on, the > temperature goes to 111/112C before being shutdown by acpi_thermal > (the limit being 110C). There is no way anything in that > chassis is anywhere near 100C. I've disabled acpi_thermal > for now, but it'd be nice to get a better fix. > > Any ideas? > Firstly, sorry for the delay in answer -- daytime job decided to kick in with the vengeance. I took a look at the ASL and it does seem that this thing has embedded controller and that is where _TMP method gets its temperature reading from (this being conditional on the CPU present in the socket -- otherwise you get 5 degrees Celsius, hardcoded in the ASL). So the questions are: -- does temperature in TZ2 grow over time as well? (TZ1 should stay at 5C all the time). -- do you see AE_NO_HARDWARE_RESPONSE messages, and if yes, could you try to increase debug.acpi.ec.timeout -- I think (sm) it is in ms and default is 750. -- do you have ACPI_DEBUG option in your kernel? If not, could you, maybe, build kernel with that, and turn on full debug, let temperature climb for a while and send me debug output. -- Alexandre "Sunny" Kovalenko From owner-freebsd-acpi@FreeBSD.ORG Mon Jan 21 02:56:37 2008 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 CFE9716A41A for ; Mon, 21 Jan 2008 02:56:37 +0000 (UTC) (envelope-from kaox.gen@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.freebsd.org (Postfix) with ESMTP id 8EBC713C459 for ; Mon, 21 Jan 2008 02:56:35 +0000 (UTC) (envelope-from kaox.gen@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so2672345pyb.10 for ; Sun, 20 Jan 2008 18:56:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=MvPFQXTaLNMjfsLZvWpv8x2LResVlZhDmVhOzXGsBdc=; b=BqLKMHUXNcSUugb2B8+eF7SEkDYmb81kr5kNPxUykaBtE+T534N3Eh46BQebijFccPd+IYECjCFDCkhR15p/FiDb97bjweSBr0ac5ezgyRgbytbVgCHJF+1JW9vlr3PXGuOgxotpRMjI/R+y8OqAEonjNtfx2uI/jDTXZMpDQXI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=bOp2HyyiTsiteTll5TGF83ln8YtrGLA0gn9GsZt/FI8/knuwN7BTZmywR/fmNOJLMYloHtnpWJbTbM7vBvQISvQepTdAN4RU4plqJKPSceJ4GQxbWVwaa8Y5tdQjEZZ6jSvLnzbS/PHrjnJ48s801J3Vmn7tmthEkHunPDzuuw4= Received: by 10.35.90.1 with SMTP id s1mr7245048pyl.53.1200882517187; Sun, 20 Jan 2008 18:28:37 -0800 (PST) Received: by 10.35.38.11 with HTTP; Sun, 20 Jan 2008 18:28:37 -0800 (PST) Message-ID: Date: Mon, 21 Jan 2008 04:28:37 +0200 From: "=?ISO-8859-1?Q?Ali_Okan_Y=DCKSEL?=" To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: freezing-reboot problem and details 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: Mon, 21 Jan 2008 02:56:38 -0000 Hello When i try to reboot after sync work, i see "rebooting" message and system freezes. so i read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html and i tried something like: acsiconf -s 1 3 4 and 5.. i think they work fine. I tried other solutions like: http://www.freebsdwiki.net/index.php/ACPI,_enabling recompiled kernel with this options: nodevice apic nodevice smp and cat /boot/loader.conf output: hint.sio.0.disabled="1" hint.sio.1.disabled="1" hint.psm.0.flags="0x3000" hint.apic.0.disabled="1" but freezing problem still exists. Problem: freezing on reboot # acpidump -dt > name-system.asl output is here: http://www.siyahsapka.org/okan-asusp4s800mxse.asl dmesg output: http://www.siyahsapka.org/dmesg_output.txt Regards Ali Okan YUKSEL -- http://www.knyksl.com/ From owner-freebsd-acpi@FreeBSD.ORG Mon Jan 21 11:06:54 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 5E63F16A420 for ; Mon, 21 Jan 2008 11:06:54 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4EC0313C469 for ; Mon, 21 Jan 2008 11:06:54 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0LB6smg046909 for ; Mon, 21 Jan 2008 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0LB6rel046905 for freebsd-acpi@FreeBSD.org; Mon, 21 Jan 2008 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 21 Jan 2008 11:06:53 GMT Message-Id: <200801211106.m0LB6rel046905@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-acpi@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-acpi@FreeBSD.org 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: Mon, 21 Jan 2008 11:06:54 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/54756 acpi ACPI suspend/resume problem on CF-W2 laptop o i386/55661 acpi ACPI suspend/resume problem on ARMADA M700 o kern/56024 acpi ACPI suspend drains battery while in S3 o i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Armada 1750 o i386/79081 acpi ACPI suspend/resume not working on HP nx6110 o kern/81000 acpi [apic] Via 8235 sound card worked great with FreeBSD 5 s i386/91748 acpi acpi problem on Acer TravelMare 4652LMi (nvidia panic, o kern/102252 acpi acpi thermal does not work on Abit AW8D (intel 975) o kern/104625 acpi ACPI on ASUS A8N-32 SLI/ASUS P4P800 does not show ther o kern/106924 acpi [acpi] ACPI resume returns g_vfs_done() errors and ker o kern/108954 acpi [acpi] 'sleep(1)' sleeps >1 seconds when speedstep (Cx o kern/114113 acpi [acpi] [patch] ACPI kernel panic during S3 suspend / r o i386/114562 acpi [acpi] cardbus is dead after s3 on Thinkpad T43 with a o amd64/115011 acpi ACPI problem ,reboot system down. o kern/116939 acpi [acpi] PCI-to-PCI misconfigured for bus three and can o i386/117918 acpi HP dc5750 will only boot with ACPI disabled o bin/118973 acpi [acpi]: Kernel panic with acpi boot o kern/119200 acpi [acpi] Lid close switch suspends CPU for 1 second on H o kern/119356 acpi [acpi]: i386 ACPI wakeup not work due resource exhaust o i386/119485 acpi 6.3 RC2 boot only CD hangs in dell d830 - 'ACPI autolo o kern/119716 acpi [acpi] vm_fault when trying to boot 7.0 ACPI on HP dc5 21 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/67309 acpi zzz reboot computer (ACPI S3) o i386/69750 acpi Boot without ACPI failed on ASUS L5 o i386/72179 acpi [acpi] [patch] Inconsistent apm(8) output regarding th o kern/73823 acpi [feature request] acpi / power-on by timer support o kern/76950 acpi ACPI wrongly blacklisted on Micron ClientPro 766Xi sys o kern/89411 acpi [acpi] acpiconf bug o kern/97383 acpi Volume buttons on IBM Thinkpad crash system with ACPI o kern/98171 acpi [acpi] ACPI 1304 / 0501 errors on Acer 5024WLMi Laptop o kern/103365 acpi [acpi] acpi poweroff doesn't work with geli device att o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 o kern/108017 acpi [acpi]: Acer Aspire 5600 o kern/108488 acpi [acpi] ACPI-1304: *** Error: Method execution failed o kern/108581 acpi [sysctl] sysctl: hw.acpi.cpu.cx_lowest: Invalid argume o kern/108695 acpi [acpi]: Fatal trap 9: general protection fault when in f bin/109760 acpi [acpi]: [modules] kldunload acpi_video - crash o kern/111591 acpi [acpi] dev.acpi_ibm.0.events returns I/O error (regres o kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/114165 acpi [acpi] Dell C810 - ACPI problem o kern/114649 acpi [patch][acpi] panic: recursed on non-recursive mutex o kern/117605 acpi [acpi] request for debug.cpufreq.highest 20 problems total. From owner-freebsd-acpi@FreeBSD.ORG Mon Jan 21 20:44:45 2008 Return-Path: Delivered-To: acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 168A516A419 for ; Mon, 21 Jan 2008 20:44:45 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id EA0F213C458 for ; Mon, 21 Jan 2008 20:44:44 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.2/8.14.2/NETPLEX) with ESMTP id m0LKihmA005635; Mon, 21 Jan 2008 15:44:43 -0500 (EST) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.0 (mail.netplex.net [204.213.176.10]); Mon, 21 Jan 2008 15:44:43 -0500 (EST) Date: Mon, 21 Jan 2008 15:44:43 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: "Alexandre \"Sunny\" Kovalenko" In-Reply-To: <1200844521.33164.18.camel@RabbitsDen> Message-ID: References: <1200369199.2054.38.camel@RabbitsDen> <1200844521.33164.18.camel@RabbitsDen> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: acpi@freebsd.org Subject: Re: How to disable acpi thermal? X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 20:44:45 -0000 On Sun, 20 Jan 2008, Alexandre "Sunny" Kovalenko wrote: > > On Tue, 2008-01-15 at 15:34 -0500, Daniel Eischen wrote: >> [ Redirected from -current ] >> >> >> I posted the acpidump here: >> >> http://people.freebsd.org/~deischen/stl2.iasl >> >> The problem is that acpi_thermal keeps shutting down the system >> after 2 minutes into a buildkernel. The system has no load other >> than the buildkernel at the time it shuts down. >> >> The system is a Intel STL2 Tupelo motherboard with 1 CPU, the >> other CPU socket being occupied by a CPU terminator thingy. >> I uncovered the rackmount system and watched it while building >> a kernel. With the cover off the acpi monitored temperature >> went to 107C and stayed there. It only took a minute or two >> to get there. I felt around inside the chassis and nothing >> was even near being to warm or hot. With the cover on, the >> temperature goes to 111/112C before being shutdown by acpi_thermal >> (the limit being 110C). There is no way anything in that >> chassis is anywhere near 100C. I've disabled acpi_thermal >> for now, but it'd be nice to get a better fix. >> >> Any ideas? >> > Firstly, sorry for the delay in answer -- daytime job decided to kick in > with the vengeance. > > I took a look at the ASL and it does seem that this thing has embedded > controller and that is where _TMP method gets its temperature reading > from (this being conditional on the CPU present in the socket -- > otherwise you get 5 degrees Celsius, hardcoded in the ASL). > > So the questions are: > > -- does temperature in TZ2 grow over time as well? (TZ1 should stay at > 5C all the time). No, it stays around the same. I saw it go to 38 from 35 in the same time that TZ0 went to over 110C. I didn't see it get any higher than that. > -- do you see AE_NO_HARDWARE_RESPONSE messages, and if yes, could you > try to increase debug.acpi.ec.timeout -- I think (sm) it is in ms and > default is 750. No, I don't get any of those messages. > -- do you have ACPI_DEBUG option in your kernel? If not, could you, > maybe, build kernel with that, and turn on full debug, let temperature > climb for a while and send me debug output. I did this with: debug.acpi.level: ACPI_LV_ERROR ACPI_LV_WARN ACPI_LV_INIT ACPI_LV_DEBUG_OBJECT ACPI_LV_INFO ACPI_LV_ALL_EXCEPTIONS debug.acpi.layer: ACPI_UTILITIES ACPI_HARDWARE ACPI_EVENTS ACPI_TABLES ACPI_NAMESPACE ACPI_PARSER ACPI_DISPATCHER ACPI_EXECUTER ACPI_RESOURCES ACPI_CA_DEBUGGER ACPI_OS_SERVICES ACPI_CA_DISASSEMBLER ACPI_ALL_COMPONENTS ACPI_THERMAL This was with settings debug.acpi.level="ACPI_LV_ALL_EXCEPTIONS" and debug.acpi.layer="ACPI_ALL_COMPONENTS ACPI_THERMAL". I tried debug.acpi.level="ACPI_LV_VERBOSITY3 ACPI_LV_VERBOSE" but it made the system unusable (hung). The messages I get are basicall the same thing over and over, posted here: http://people.freebsd.org/~deischen/acpi.debug.012108 I do see this a lot: dsobject-0491 [2238] DsBuildInternalPackage: Package List length larger than NumElements count (2), truncated The beginning of the log is with tz0 temperature at around 44C (just before the 'sudo make -DNO_CLEAN -DNO_CLEANDIR buildworld', also caught in the log). The end of the log, about 2 minutes later, tz0 temperature is 113C. tz2 temperature was 36C and 38C respectively. -- DE From owner-freebsd-acpi@FreeBSD.ORG Mon Jan 21 22:39:22 2008 Return-Path: Delivered-To: acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A86DD16A417 for ; Mon, 21 Jan 2008 22:39:22 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 665E713C468 for ; Mon, 21 Jan 2008 22:39:22 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.2/8.14.2/NETPLEX) with ESMTP id m0LMdLXY017277; Mon, 21 Jan 2008 17:39:21 -0500 (EST) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.0 (mail.netplex.net [204.213.176.10]); Mon, 21 Jan 2008 17:39:21 -0500 (EST) Date: Mon, 21 Jan 2008 17:39:21 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: "Alexandre \"Sunny\" Kovalenko" In-Reply-To: Message-ID: References: <1200369199.2054.38.camel@RabbitsDen> <1200844521.33164.18.camel@RabbitsDen> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: acpi@freebsd.org Subject: Re: How to disable acpi thermal? X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 22:39:22 -0000 On Mon, 21 Jan 2008, Daniel Eischen wrote: > On Sun, 20 Jan 2008, Alexandre "Sunny" Kovalenko wrote: > >> >> On Tue, 2008-01-15 at 15:34 -0500, Daniel Eischen wrote: >>> [ Redirected from -current ] >>> >>> >>> I posted the acpidump here: >>> >>> http://people.freebsd.org/~deischen/stl2.iasl >>> >>> The problem is that acpi_thermal keeps shutting down the system >>> after 2 minutes into a buildkernel. The system has no load other >>> than the buildkernel at the time it shuts down. >>> >>> The system is a Intel STL2 Tupelo motherboard with 1 CPU, the >>> other CPU socket being occupied by a CPU terminator thingy. >>> I uncovered the rackmount system and watched it while building >>> a kernel. With the cover off the acpi monitored temperature >>> went to 107C and stayed there. It only took a minute or two >>> to get there. I felt around inside the chassis and nothing >>> was even near being to warm or hot. With the cover on, the >>> temperature goes to 111/112C before being shutdown by acpi_thermal >>> (the limit being 110C). There is no way anything in that >>> chassis is anywhere near 100C. I've disabled acpi_thermal >>> for now, but it'd be nice to get a better fix. >>> >>> Any ideas? >>> >> Firstly, sorry for the delay in answer -- daytime job decided to kick in >> with the vengeance. >> >> I took a look at the ASL and it does seem that this thing has embedded >> controller and that is where _TMP method gets its temperature reading >> from (this being conditional on the CPU present in the socket -- >> otherwise you get 5 degrees Celsius, hardcoded in the ASL). >> >> So the questions are: >> >> -- does temperature in TZ2 grow over time as well? (TZ1 should stay at >> 5C all the time). > > No, it stays around the same. I saw it go to 38 from 35 in > the same time that TZ0 went to over 110C. I didn't see it > get any higher than that. One additional note, this is a dual CPU system with only one CPU in it, and I am not running an SMP kernel. I was looking at the iasl, and noticed this for TZ0: ThermalZone (TZC0) { Method (_TMP, 0, NotSerialized) { --> If (LNotEqual (And (\_SB.NCPU, 0x01), 0x01)) { Return (\_SB.PCI0.ISA0.EC0.TC2K (0x05)) } Else { Store (\_SB.PCI0.ISA0.EC0.EGTV (0x21, 0x00), TZT0) If (LEqual (TZT0, CTC0)) { Add (TZT0, 0x0A, TZT0) } Return (TZT0) } } Is it possible that my configuration with only one CPU is confusing things? -- DE From owner-freebsd-acpi@FreeBSD.ORG Tue Jan 22 03:37:09 2008 Return-Path: Delivered-To: acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9C3416A468; Tue, 22 Jan 2008 03:37:09 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from vms173001pub.verizon.net (vms173001pub.verizon.net [206.46.173.1]) by mx1.freebsd.org (Postfix) with ESMTP id 7111A13C447; Tue, 22 Jan 2008 03:37:09 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from [10.0.3.231] ([70.111.176.160]) by vms173001.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JV100CUX05F4SZ3@vms173001.mailsrvcs.net>; Mon, 21 Jan 2008 21:24:53 -0600 (CST) Date: Mon, 21 Jan 2008 22:35:18 -0500 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: To: Daniel Eischen Message-id: <1200972918.897.47.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port Content-type: multipart/mixed; boundary="=-JZCI1fVh8WO43FmrSOtC" References: <1200369199.2054.38.camel@RabbitsDen> <1200844521.33164.18.camel@RabbitsDen> Cc: acpi@freebsd.org Subject: Re: How to disable acpi thermal? 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: Tue, 22 Jan 2008 03:37:09 -0000 --=-JZCI1fVh8WO43FmrSOtC Content-Type: text/plain Content-Transfer-Encoding: 7bit On Mon, 2008-01-21 at 17:39 -0500, Daniel Eischen wrote: > On Mon, 21 Jan 2008, Daniel Eischen wrote: > > > On Sun, 20 Jan 2008, Alexandre "Sunny" Kovalenko wrote: > > > >> > >> On Tue, 2008-01-15 at 15:34 -0500, Daniel Eischen wrote: > >>> [ Redirected from -current ] > >>> > >>> > >>> I posted the acpidump here: > >>> > >>> http://people.freebsd.org/~deischen/stl2.iasl > >>> > >>> The problem is that acpi_thermal keeps shutting down the system > >>> after 2 minutes into a buildkernel. The system has no load other > >>> than the buildkernel at the time it shuts down. > >>> > >>> The system is a Intel STL2 Tupelo motherboard with 1 CPU, the > >>> other CPU socket being occupied by a CPU terminator thingy. > >>> I uncovered the rackmount system and watched it while building > >>> a kernel. With the cover off the acpi monitored temperature > >>> went to 107C and stayed there. It only took a minute or two > >>> to get there. I felt around inside the chassis and nothing > >>> was even near being to warm or hot. With the cover on, the > >>> temperature goes to 111/112C before being shutdown by acpi_thermal > >>> (the limit being 110C). There is no way anything in that > >>> chassis is anywhere near 100C. I've disabled acpi_thermal > >>> for now, but it'd be nice to get a better fix. > >>> > >>> Any ideas? > >>> > >> Firstly, sorry for the delay in answer -- daytime job decided to kick in > >> with the vengeance. > >> > >> I took a look at the ASL and it does seem that this thing has embedded > >> controller and that is where _TMP method gets its temperature reading > >> from (this being conditional on the CPU present in the socket -- > >> otherwise you get 5 degrees Celsius, hardcoded in the ASL). > >> > >> So the questions are: > >> > >> -- does temperature in TZ2 grow over time as well? (TZ1 should stay at > >> 5C all the time). > > > > No, it stays around the same. I saw it go to 38 from 35 in > > the same time that TZ0 went to over 110C. I didn't see it > > get any higher than that. That is what bothers me more then slightly -- _TMP methods for tz0 and tz2 (see more on tz1 below) call the same function (EGTV) with the different first parameter. As far as I can tell (and I did mention before that I am not an expert in the area) this value is, in turn, populated in one of the EC registers and then values are read from other EC registers and given back to the caller as temperature, AC0 value and CRT value respectively. Since the call path is identical in the both cases it is quite possible that erratic reading is coming from the actual sensor as someone in this thread suggested. I was hoping that we would be able to follow call trace in the debug ACPI output, but apparently, I do not remember it that well (I was playing these games about two years ago). I will see if I can cobble together necessary combination of level and layer settings here before asking you to do anything else -- I do apologize for not doing my homework properly. > > One additional note, this is a dual CPU system with only one > CPU in it, and I am not running an SMP kernel. I was looking > at the iasl, and noticed this for TZ0: > > ThermalZone (TZC0) > { > Method (_TMP, 0, NotSerialized) > { > --> If (LNotEqual (And (\_SB.NCPU, 0x01), 0x01)) > { > Return (\_SB.PCI0.ISA0.EC0.TC2K (0x05)) > } > Else > { > Store (\_SB.PCI0.ISA0.EC0.EGTV (0x21, 0x00), TZT0) > If (LEqual (TZT0, CTC0)) > { > Add (TZT0, 0x0A, TZT0) > } > > Return (TZT0) > } > } > > Is it possible that my configuration with only one CPU > is confusing things? > As far as I can judge from the similar code in TZC1 and stable 5C temperature in the corresponding thermal zone (tz1), this merely checks presence of the chip in the socket and returns stable (and bogus) temperature when there is none. If your system is capable of running with the CPU in socket 1 and placeholder in the socket 0, I would suspect that your tz0 will be stuck at 5C and your tz1 will demonstrate some dynamics. On the slightly different note -- if you don't mind exploring another potential dead end, I have attached patch for your ASL which fixes the situation when _OFF method of one of the fans grabs mutex and never releases it. You can recompile your ASL and override it on boot. No promises though ;) -- Alexandre "Sunny" Kovalenko --=-JZCI1fVh8WO43FmrSOtC Content-Disposition: attachment; filename=stl2.iasl.patch Content-Type: text/x-patch; name=stl2.iasl.patch; charset=utf-8 Content-Transfer-Encoding: 7bit --- stl2.iasl.orig 2008-01-21 22:19:56.000000000 -0500 +++ stl2.iasl 2008-01-21 22:24:49.000000000 -0500 @@ -105,7 +105,7 @@ * Creator ID "MSFT" * Creator Revision 0x0100000A (16777226) */ -DefinitionBlock ("/tmp/acpidump.aml", "DSDT", 1, "INTEL ", "024B ", 0x00000001) +DefinitionBlock ("stl2.aml", "DSDT", 1, "INTEL ", "024B ", 0x00000001) { Name (TBUF, Buffer (0x04) { @@ -5152,6 +5152,7 @@ Store (0x01, Local0) } + Release (ECX0) Return (Local0) } Else --=-JZCI1fVh8WO43FmrSOtC-- From owner-freebsd-acpi@FreeBSD.ORG Tue Jan 22 08:30:23 2008 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 54FCA16A417 for ; Tue, 22 Jan 2008 08:30:23 +0000 (UTC) (envelope-from williamromsay@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.188]) by mx1.freebsd.org (Postfix) with ESMTP id 818FA13C43E for ; Tue, 22 Jan 2008 08:30:21 +0000 (UTC) (envelope-from williamromsay@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so2278728rvb.43 for ; Tue, 22 Jan 2008 00:30:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=rUL6rtzP83ZveLsG70AaWJVtFi97BO70P6IPEO5Y7v4=; b=MJ8oiuzo/zvYF5+/H9ZmzRDeYu94YbN6FwSU+IRAozmsyPq1oSVLJPDMZFP6Hdv8qgvDfPB4GJewyQPWVmnNDXGnhDq9VV6eOJu0Ovo5LzUCvvCnEWhyzUmMFaz2GFW//Qu14lqlOeQjMglnFdL/zJz3ZjaFByD8M3lsDwlLwM4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=H1xyEq26lPar5IMBvWe1OHf65ve7G1uGNQb2nwYY7IozxDLj/+Kl4qw/zNZpMWSEvaQA0tQqQZSTr3/CDlS9gMxXiaZ8EJxfg45WJX6w65WMUyrVwEVE+d7/uPIQrg4naFzlUy++Yz+UJzrIiIrHUkUn9BY0h5tXOSQvsr85vjU= Received: by 10.141.18.14 with SMTP id v14mr5161956rvi.242.1200990621300; Tue, 22 Jan 2008 00:30:21 -0800 (PST) Received: by 10.140.170.11 with HTTP; Tue, 22 Jan 2008 00:30:21 -0800 (PST) Message-ID: <9e338f8f0801220030w6eec523dpa540752f1b1f84a2@mail.gmail.com> Date: Tue, 22 Jan 2008 10:30:21 +0200 From: "william romsay" To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Hershey Felder, Wabash Musical Instruments ? Your Instrument Of Choice 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: Tue, 22 Jan 2008 08:30:23 -0000 Hershey Felder, Wabash Musical Instruments ? Your Instrument Of Choice In this article we shall discuss wabash musical instruments. From owner-freebsd-acpi@FreeBSD.ORG Tue Jan 22 11:59:32 2008 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 CE55716A473 for ; Tue, 22 Jan 2008 11:59:32 +0000 (UTC) (envelope-from william88@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.184]) by mx1.freebsd.org (Postfix) with ESMTP id 8A21313C4D3 for ; Tue, 22 Jan 2008 11:59:32 +0000 (UTC) (envelope-from william88@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so2330423rvb.43 for ; Tue, 22 Jan 2008 03:59:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=DhnGR6KWXwgw6EW8kDmQuhqiQLnczmNrfyKcOokyIVs=; b=AFSjyAGd0YwBNWMq75cTjj/3HBg6eysT7Txl3k4JZovyhRGsHEP9Pg62a8qk3hAiwFxN6uk3vipYKfDhusS+CNMUpaikUaWYtUq1XjB+Ckybv/kpOFcX34LK5V5l9vgSNeF6u8vlAnikbvfNO0tngAZc/lyo8TUKQ/EZ3JwzjFs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=eVwk+JZdVquBQDl8aRrmAMVU+ZCzX2ZLBHWQ4kNUFGKuXhliwcgjolk/kH2znzwVWhM4QxwehahQWC1e9/idmjavt5DNN+XmTVxp6dnX4mpsvdsTUaml638OvLpTlddOnIRpiPRe8WbqvjWlOTdeJqwM7XVGZyr/P+yZ0VhO+E8= Received: by 10.141.99.4 with SMTP id b4mr5276568rvm.217.1201001728663; Tue, 22 Jan 2008 03:35:28 -0800 (PST) Received: by 10.141.29.7 with HTTP; Tue, 22 Jan 2008 03:35:28 -0800 (PST) Message-ID: <632825b40801220335h2d2b8e85t9885fda61e32fe46@mail.gmail.com> Date: Tue, 22 Jan 2008 09:35:28 -0200 From: William To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: ASL compilation from Acer 5570z 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: Tue, 22 Jan 2008 11:59:32 -0000 Hi, Some months ago I wrote an email to this mailing list about issues with my Acer 5570z but I was a little busy to look it more carefully. The worst problem is about the ethernet: mskc0: irq 16 at device 0.0 on pci2 mskc0: 0x4000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). mskc0: unknown device: id=0x00, rev=0x00 device_attach: mskc0 attach returned 6 Yesterday I'd take a look in the ASL generated from acpidump -dt and tried to compile it with iasl and I got 10 messages like this: -- acpi.asl 8254: Name (_T_0, 0x00) Error 4081 - Use of reserved word ^ (_T_0) and 1 like this:acpi.asl 8960: Method (WMBD, 3, NotSerialized) Warning 1086 - ^ Not all control paths return a value (WMBD) Maybe if I fix this the problem with the ethernet can be solved, right? Can someone help me to fix it or tell me where I should look? My ASL: http://www.inf.ufpr.br/wg06/acpi.gz Thanks, William Grzybowski ------------------------------------------ Jabber: william88 at gmail dot com Curitiba/PR - Brazil From owner-freebsd-acpi@FreeBSD.ORG Tue Jan 22 13:30:05 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 3F06C16A41B for ; Tue, 22 Jan 2008 13:30:05 +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 1F20F13C46B for ; Tue, 22 Jan 2008 13:30:05 +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 m0MDU4IC094942 for ; Tue, 22 Jan 2008 13:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0MDU49R094937; Tue, 22 Jan 2008 13:30:04 GMT (envelope-from gnats) Date: Tue, 22 Jan 2008 13:30:04 GMT Message-Id: <200801221330.m0MDU49R094937@freefall.freebsd.org> To: freebsd-acpi@FreeBSD.org From: Pete French Cc: Subject: Re: kern/119716: [acpi] vm_fault when trying to boot 7.0 ACPI on HP dc5750 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pete French List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 13:30:05 -0000 The following reply was made to PR kern/119716; it has been noted by GNATS. From: Pete French To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/119716: [acpi] vm_fault when trying to boot 7.0 ACPI on HP dc5750 Date: Tue, 22 Jan 2008 13:23:32 +0000 With the help of John Baldwin on freebsd-stable I traced this a bit closer. Inside madt_probe in /usr/src/sys/i386/acpica/madt.c the code is ttaking the second brank of the 'ifi' statement - i.e. the branch which is for non 2.0 systems. It successfully completes the madt_map_table call, but then crashes when ttrying to access the returned data. Printing out the value of rsdp->RsdtPhysicalAddress on the retrun gives 0x7fec7f40. From owner-freebsd-acpi@FreeBSD.ORG Wed Jan 23 00:56:59 2008 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 BC37516A418 for ; Wed, 23 Jan 2008 00:56:59 +0000 (UTC) (envelope-from tomd2004@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.187]) by mx1.freebsd.org (Postfix) with ESMTP id 0B4B513C467 for ; Wed, 23 Jan 2008 00:56:58 +0000 (UTC) (envelope-from tomd2004@gmail.com) Received: by mu-out-0910.google.com with SMTP id w8so2136237mue.4 for ; Tue, 22 Jan 2008 16:56:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=7wnkXgeoyQUwgvhcYeaX58T2+tg83fpvzo1g9uEeYNI=; b=A1jlycyqet1CiZtc5pwJBDkRUrMmBQmc+3oY8W9LMytMZZsXZvfbZ+uHFsALDFdtUtg0bF7X/+tQ5KJmIdtGYiSlJ06dzNDwuCbV7Bo4ZbRQWKHHZtfuQr9QBG9DtMrPQn3YHRgVRdVyu5u8S/bKvk95kgOystY+rGsnv0XVxGg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=FyRpSwsiRm9vgMIHx5H4ou7a7ffLyC1r87XS1c1BYxyTnoUgt8qTtKFlH3YYFHABGtLfXI3XYGuXm6MFMzaWFnla7rjyRAzw3ZxmkBF0IjroBba8ZeITdXWpCsQ1NJGaoW3C5a4R942BAQSVHfV387m792pqgygWIbg0jcXMwQ0= Received: by 10.78.204.20 with SMTP id b20mr12290180hug.33.1201048183165; Tue, 22 Jan 2008 16:29:43 -0800 (PST) Received: by 10.78.16.3 with HTTP; Tue, 22 Jan 2008 16:29:43 -0800 (PST) Message-ID: <6f6f4a050801221629t50ab6aedm46de162fcda3729@mail.gmail.com> Date: Wed, 23 Jan 2008 00:29:43 +0000 From: Tom To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: ACPI-0438: *** Error: Looking up [LNKC] in namespace, AE_NOT_FOUND 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, 23 Jan 2008 00:56:59 -0000 Hi, I'm getting the following errors using a GENERIC 6.3-RELEASE kernel on amd64: acpi0: on motherboard acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 21 ACPI-0438: *** Error: Looking up [LNKC] in namespace, AE_NOT_FOUND SearchNode 0xffffff0000c8ebc0 StartNode 0xffffff0000c8ebc0 ReturnNode 0 ACPI-0438: *** Error: Looking up [LNKD] in namespace, AE_NOT_FOUND SearchNode 0xffffff0000c8ea40 StartNode 0xffffff0000c8ea40 ReturnNode 0 ACPI-0438: *** Error: Looking up [LNKA] in namespace, AE_NOT_FOUND SearchNode 0xffffff0000c8e8c0 StartNode 0xffffff0000c8e8c0 ReturnNode 0 ACPI-0438: *** Error: Looking up [LNKB] in namespace, AE_NOT_FOUND SearchNode 0xffffff0000c8e740 StartNode 0xffffff0000c8e740 ReturnNode 0 ACPI-0438: *** Error: Looking up [LNKC] in namespace, AE_NOT_FOUND SearchNode 0xffffff0000cd29c0 StartNode 0xffffff0000cd29c0 ReturnNode 0 ACPI-0438: *** Error: Looking up [LNKD] in namespace, AE_NOT_FOUND SearchNode 0xffffff0000cd2840 StartNode 0xffffff0000cd2840 ReturnNode 0 ACPI-0438: *** Error: Looking up [LNKA] in namespace, AE_NOT_FOUND SearchNode 0xffffff0000cd26c0 StartNode 0xffffff0000cd26c0 ReturnNode 0 acpi0: Power Button (fixed) ACPI-0381: *** Error: Looking up [_PCT] in namespace, AE_ALREADY_EXISTS ACPI-1304: *** Error: Method execution failed [\\_SB_.MEM_._CRS] (Node 0xffffff0000c95a00), AE_ALREADY_EXISTS ACPI-0239: *** Error: Method execution failed [\\_SB_.MEM_._CRS] (Node 0xffffff0000c95a00), AE_ALREADY_EXISTS can't fetch resources for \\_SB_.MEM_ - AE_ALREADY_EXISTS Is this anything to worry about? Below is a full dmesg, please let me know if there is anymore information I an provide. Regards Tom Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.3-RELEASE #0: Wed Jan 16 01:43:02 UTC 2008 root@palmer.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ (2299.75-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x60fb1 Stepping = 1 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x11f Cores per package: 2 real memory = 1039007744 (990 MB) avail memory = 989507584 (943 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Jan 16 2008 01:41:13) acpi0: on motherboard acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 21 ACPI-0438: *** Error: Looking up [LNKC] in namespace, AE_NOT_FOUND SearchNode 0xffffff0000c8ebc0 StartNode 0xffffff0000c8ebc0 ReturnNode 0 ACPI-0438: *** Error: Looking up [LNKD] in namespace, AE_NOT_FOUND SearchNode 0xffffff0000c8ea40 StartNode 0xffffff0000c8ea40 ReturnNode 0 ACPI-0438: *** Error: Looking up [LNKA] in namespace, AE_NOT_FOUND SearchNode 0xffffff0000c8e8c0 StartNode 0xffffff0000c8e8c0 ReturnNode 0 ACPI-0438: *** Error: Looking up [LNKB] in namespace, AE_NOT_FOUND SearchNode 0xffffff0000c8e740 StartNode 0xffffff0000c8e740 ReturnNode 0 ACPI-0438: *** Error: Looking up [LNKC] in namespace, AE_NOT_FOUND SearchNode 0xffffff0000cd29c0 StartNode 0xffffff0000cd29c0 ReturnNode 0 ACPI-0438: *** Error: Looking up [LNKD] in namespace, AE_NOT_FOUND SearchNode 0xffffff0000cd2840 StartNode 0xffffff0000cd2840 ReturnNode 0 ACPI-0438: *** Error: Looking up [LNKA] in namespace, AE_NOT_FOUND SearchNode 0xffffff0000cd26c0 StartNode 0xffffff0000cd26c0 ReturnNode 0 acpi0: Power Button (fixed) ACPI-0381: *** Error: Looking up [_PCT] in namespace, AE_ALREADY_EXISTS ACPI-1304: *** Error: Method execution failed [\\_SB_.MEM_._CRS] (Node 0xffffff0000c95a00), AE_ALREADY_EXISTS ACPI-0239: *** Error: Method execution failed [\\_SB_.MEM_._CRS] (Node 0xffffff0000c95a00), AE_ALREADY_EXISTS can't fetch resources for \\_SB_.MEM_ - AE_ALREADY_EXISTS Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 5.0 (no driver attached) atapci0: port 0xfe00-0xfe07,0xfd00-0xfd03,0xfc00-0xfc07,0xfb00-0xfb03,0xfa00-0xfa0f mem 0xfe02f000-0xfe02f1ff irq 23 at device 17.0 on pci0 ata2: on atapci0 ata3: on atapci0 atapci1: port 0xf900-0xf907,0xf800-0xf803,0xf700-0xf707,0xf600-0xf603,0xf500-0xf50f mem 0xfe02e000-0xfe02e1ff irq 22 at device 18.0 on pci0 ata4: on atapci1 ata5: on atapci1 ohci0: mem 0xfe02d000-0xfe02dfff irq 19 at device 19.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered ohci1: mem 0xfe02c000-0xfe02cfff irq 19 at device 19.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 4 ports with 4 removable, self powered ehci0: mem 0xfe02b000-0xfe02bfff irq 19 at device 19.2 on pci0 ehci0: [GIANT-LOCKED] usb2: waiting for BIOS to give up control usb2: timed out waiting for BIOS usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 8 ports with 8 removable, self powered umass0: Generic USB2.0-CRW, rev 2.00/11.22, addr 2 pci0: at device 20.0 (no driver attached) atapci2: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf300-0xf30f at device 20.1 on pci0 ata0: on atapci2 ata1: on atapci2 isab0: at device 20.3 on pci0 isa0: on isab0 pcib2: at device 20.4 on pci0 pci2: on pcib2 rl0: port 0xde00-0xdeff mem 0xfddff000-0xfddff0ff irq 22 at device 5.0 on pci2 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:19:21:3a:67:6c pci0: at device 20.5 (no driver attached) acpi_tz0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ppc0: port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: at iomem 0xc0000-0xcefff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 uhub0: device problem (SET_ADDR_FAILED), disabling port 2 ukbd0: vendor 0x1241 USB Keyboard, rev 1.10/2.90, addr 2, iclass 3/1 kbd2 at ukbd0 uhid0: vendor 0x1241 USB Keyboard, rev 1.10/2.90, addr 2, iclass 3/1 Timecounters tick every 1.000 msec hptrr: no controller detected. ad8: 152627MB at ata4-master SATA150 acd0: DVDR at ata5-master SATA150 SMP: AP CPU #1 Launched! da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da1 at umass-sim0 bus 0 target 0 lun 1 da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da2 at umass-sim0 bus 0 target 0 lun 2 da2: Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da3 at umass-sim0 bus 0 target 0 lun 3 da3: Removable Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad8s1a From owner-freebsd-acpi@FreeBSD.ORG Fri Jan 25 13:53:40 2008 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 88A2E16A420 for ; Fri, 25 Jan 2008 13:53:40 +0000 (UTC) (envelope-from williamromsay@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.191]) by mx1.freebsd.org (Postfix) with ESMTP id 4055613C4E5 for ; Fri, 25 Jan 2008 13:53:40 +0000 (UTC) (envelope-from williamromsay@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so628826rvb.43 for ; Fri, 25 Jan 2008 05:53:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=asx1zASXBLRtTbGZJuEah1yRodeIgG5BqMkwiqGbslE=; b=NciHhAAv7/RJXF+iNBDvF1hh6YPeZUuKty3LmsRzyuoAH4gX5delMmnHERKi0oXUIm9C40N0AQdEwH9lHg1h4fuisN0cMYFAXWtzkPdzQDKt4TUdVMXdfDmiUc+s/TrgRu8sYXf8RdJfXNo1mOBC09LYqpa3yzeeIh9iuMHhn/Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=I5F/ssv+wiNQkQXcZtCA3Zx+rsxyybLyiRKJoNLnD/L1mk7yjRQYJ+RjwqKUwGIY1vxO8byrKVIFTgu7kJtQl1IyqrV0eIiBOU991O2bM6mlz8gy4V90HmHQ3bpSlkN2eK/4JK5a38LoTZR9QCeBhAUW6dws/NKmEWe5/NQUCZ0= Received: by 10.140.251.1 with SMTP id y1mr1454259rvh.11.1201269219670; Fri, 25 Jan 2008 05:53:39 -0800 (PST) Received: by 10.140.170.11 with HTTP; Fri, 25 Jan 2008 05:53:39 -0800 (PST) Message-ID: <9e338f8f0801250553oa2f8a71t980bf94dce77233a@mail.gmail.com> Date: Fri, 25 Jan 2008 15:53:39 +0200 From: "william romsay" To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Peak IT, Small Businesses Get Free Help with Internet Marketing 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: Fri, 25 Jan 2008 13:53:40 -0000 Peak IT, Small Businesses Get Free Help with Internet Marketing Yorba Linda, CA (PRWEB) January 17, 2008 -- Telecentrex LLC, a leading provider of hosted telecommunications services for small business, has launched a new blog aimed to help small business owners grow their business in today's competitive online marketplace. The Internet Marketing for Small Business blog, located at Marketme.com, is authored by two of Telecentrex's Co-founders, Tim Paulino, CEO and Brandi Cummings, Chief Content Officer. Together Paulino and Cummings are responsible for generating over $1.9 million in recurring revenues by marketing their services online using various Internet marketing techniques. "The field of Internet marketing is constantly evolving and requires a commitment to staying educated", said Paulino. "The rules, trends and strategies are changing so quickly that what's relevant today may not be as relevant a few months from now." The idea for the blog came about from the many requests made by friends, family and colleagues who were interested in their online success and wanted to know more about how they did it. Cummings stated, "We decided to create a blog so we could share our knowledge about marketing a small business in today's online marketplace. This way we can offer current information as things change and we're not just sharing our knowledge with a select few who asked us personally, but with anyone who has the same desire to grow their business online." "We certainly don't claim to be know-it-alls in the field of Internet Marketing and this is partially the reason for our success", added Paulino. "Sometimes it just takes diving in and getting involved when you don't know much at all." About Telecentrex, LLC Telecentrex markets a suite of advanced hosted telephony services that provide both front- and back-end services to existing telephone infrastructures. Services include virtual PBX () phone systems, which allow small businesses to sound bigger and more professional, call capture () hotlines, which provide real estate professionals with the ability to automatically generate leads 24/7, Internet fax () services which enables anyone with a computer to send, receive and manage fax traffic without a fax machine, and televerification () fraud protection solutions for online merchants. For more information, call 1-800-494-4641 or visit our web sites. From owner-freebsd-acpi@FreeBSD.ORG Sat Jan 26 18:01:50 2008 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 D3BAD16A421 for ; Sat, 26 Jan 2008 18:01:50 +0000 (UTC) (envelope-from artur@ebasoft.com.pl) Received: from poczta.ebasoft.com.pl (ftp.ebasoft.com.pl [85.237.185.105]) by mx1.freebsd.org (Postfix) with ESMTP id 4CBE913C44B for ; Sat, 26 Jan 2008 18:01:50 +0000 (UTC) (envelope-from artur@ebasoft.com.pl) Received: from localhost (localhost [127.0.0.1]) by poczta.ebasoft.com.pl (Postfix) with ESMTP id 839021AF4C9 for ; Sat, 26 Jan 2008 18:37:34 +0100 (CET) X-Virus-Scanned: amavisd-new 2.4.4 (20061120) at ebasoft.com.pl Received: from poczta.ebasoft.com.pl ([127.0.0.1]) by localhost (ns.ebasoft.com.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NZXvX0ZhF88U for ; Sat, 26 Jan 2008 18:37:29 +0100 (CET) Received: from [192.168.0.42] (unknown [192.168.0.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by poczta.ebasoft.com.pl (Postfix) with ESMTP id C533A1AF4C8 for ; Sat, 26 Jan 2008 18:37:29 +0100 (CET) From: Artur =?iso-8859-2?q?Ba=E6?= Organization: EBASoft To: freebsd-acpi@freebsd.org Date: Sat, 26 Jan 2008 18:37:26 +0100 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200801261837.26708.artur@ebasoft.com.pl> Subject: Need info about ACPI - implementing acer_acpi, amilo 1650g 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: Sat, 26 Jan 2008 18:01:51 -0000 Hello I need little help in implementing acpi suplementary driver for my Laptop . Abstract: I implement via acpi, a HotKey switch for enabling WiFi antena In linux community there is acerhk and acer_acpi module wich does this for= =20 linux. It works even on FujitsuSiemens Amilo1650G when on linux. So, i dumped DSDT , then corrected errors and I try to find namespace and=20 method in acpi which is responsible for enablig such radio antena. Digging in acerhk i found : #define EC_STATUS_REG 0x66 /* Status register of EC (R) */ #define EC_CNTL_REG 0x66 /* Controller command register of EC (W) */ #define EC_DATA_REG 0x62 /* EC data register (R/W) */ and in acer_acpi /* * Magic Number * Meaning is unknown - this number is required for writing to ACPI for AMW0 * (it's also used in acerhk when directly accessing the EC) */ #define ACER_AMW0_WRITE 0x9610 /* * Bit masks for the old AMW0 interface */ #define ACER_AMW0_WIRELESS_MASK 0x35 #define ACER_AMW0_BLUETOOTH_MASK 0x34 #define ACER_AMW0_MAILLED_MASK 0x31 /* * Acer ACPI method GUIDs */ #define AMW0_GUID1 "67C3371D-95A3-4C37-BB61-DD47B491DAAB" #define WMID_GUID1 "6AF4F258-B401-42fd-BE91-3D4AC2D7C0D3" #define WMID_GUID2 "95764E09-FB56-4e83-B31A-37761F60994A" I tryed to much such things in my DSTD since acer_acpi worked with linux on= my=20 laptop and i found in namespace \_SB.PCI0.LPC0.EC0 OperationRegion (ECO1, SystemIO, 0x62, 0x01) OperationRegion (ECO2, SystemIO, 0x66, 0x01) here is cut of my DSDT Scope (\_SB) { Device (AMW0) { Method (_WED, 1, NotSerialized) { Store (0xB0, DBGP) If (LEqual (Arg0, 0xB0)) { Store (WLID, B0ED) Return (B0ED) } } } Device (PCI0) { Device (LPC0) { Device (EC0) { Name (_HID, EisaId ("PNP0C09")) Name (_GPE, 0x03) Method (_STA, 0, NotSerialized) { Return (0x0F) } =09 Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0062, // Range Minimum 0x0062, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0066, // Range Minimum 0x0066, // Range Maximum 0x00, // Alignment 0x01, // Length ) }) OperationRegion (ECO1, SystemIO, 0x62, 0x01) Field (ECO1, ByteAcc, Lock, Preserve) { PX62, 8 } =09 OperationRegion (ECO2, SystemIO, 0x66, 0x01) Field (ECO2, ByteAcc, Lock, Preserve) { PX66, 8 } Method (_REG, 2, NotSerialized) { If (LEqual (Arg0, 0x03)) { Store (Arg1, ECON) TINI () } } Since i'm not weak in C/C++ i'm able to write such kld module with Your hel= p=20 and looking at other written by You in sys/acpi_module Questions: 1) Is this namespace and registers the ones which I need to switch on/off w= ifi=20 antena, did I found crrect ones ? 2) Could any one give me hints/help how to move forward since there are=20 registers and normaly there should be some method to call, is the Method=20 (_REG, 2, NotSerialized) the one that schould be called by me, or maybe i=20 should use AMW0 methods ? 3)the FreeBSD module acpi_fujitsu will not work since it has different OMEI= D,=20 =46ujitsuSiemens AMilo has got "FUJ ", "W37 " Any help will be apreciated. =2D-=20 Sincerelly Artur Ba=E6 From owner-freebsd-acpi@FreeBSD.ORG Sat Jan 26 23:52:14 2008 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 4A3B316A417 for ; Sat, 26 Jan 2008 23:52:14 +0000 (UTC) (envelope-from mikael.ikivesi@pp.inet.fi) Received: from pne-smtpout3-sn1.fre.skanova.net (pne-smtpout3-sn1.fre.skanova.net [81.228.11.120]) by mx1.freebsd.org (Postfix) with ESMTP id 1164D13C474 for ; Sat, 26 Jan 2008 23:52:14 +0000 (UTC) (envelope-from mikael.ikivesi@pp.inet.fi) Received: from [80.221.12.61] (80.221.12.61) by pne-smtpout3-sn1.fre.skanova.net (7.3.129) (authenticated as tansmi-f) id 478149BD0012118A for freebsd-acpi@freebsd.org; Sat, 26 Jan 2008 23:41:03 +0100 From: Mikael Ikivesi To: freebsd-acpi In-Reply-To: <200801261837.26708.artur@ebasoft.com.pl> References: <200801261837.26708.artur@ebasoft.com.pl> Content-Type: text/plain; charset=utf8 Date: Sun, 27 Jan 2008 00:42:03 +0200 Message-Id: <1201387323.7237.2.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 8bit Subject: Re: Need info about ACPI - implementing acer_acpi, amilo 1650g 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: Sat, 26 Jan 2008 23:52:14 -0000 Hi.. I really hope you can make it. I got the same kind of laptop... And I hate the fact that I gotta have small linux partition just to turn on wifi antena with it and then boot to FreeBSD. On Sat, 2008-01-26 at 18:37 +0100, Artur Bać wrote: > Hello > I need little help in implementing acpi suplementary driver for my Laptop .