From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 22 23:40:40 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6559716A400; Thu, 22 Feb 2007 23:40:40 +0000 (UTC) (envelope-from robert.moore@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx1.freebsd.org (Postfix) with ESMTP id DDFFA13C494; Thu, 22 Feb 2007 23:40:39 +0000 (UTC) (envelope-from robert.moore@intel.com) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by mga09.intel.com with ESMTP; 22 Feb 2007 15:40:39 -0800 Received: from orsmsx334.jf.intel.com ([10.22.226.45]) by fmsmga002.fm.intel.com with ESMTP; 22 Feb 2007 15:40:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: i="4.14,207,1170662400"; d="scan'208"; a="49707145:sNHT24961167" Received: from orsmsx415.amr.corp.intel.com ([10.22.226.49]) by orsmsx334.jf.intel.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 22 Feb 2007 15:40:36 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 22 Feb 2007 15:40:36 -0800 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Laptop won't power off Thread-Index: AcdW2ZVUxrPdhRZqSvKiPrT4x2RSfQAARVaA From: "Moore, Robert" To: "Pietro Cerutti" X-OriginalArrivalTime: 22 Feb 2007 23:40:36.0803 (UTC) FILETIME=[DA42F930:01C756DA] X-Mailman-Approved-At: Fri, 23 Feb 2007 00:19:38 +0000 Cc: rodrigc@crodrigues.org, freebsd-acpi@freebsd.org, freebsd-hackers@freebsd.org, Nate Lawson Subject: RE: Laptop won't power off X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 23:40:40 -0000 Not likely to be cause of power off problems Compiler runs on linux, should run on bsd. > -----Original Message----- > From: Pietro Cerutti [mailto:pietro.cerutti@gmail.com] > Sent: Thursday, February 22, 2007 3:31 PM > To: Moore, Robert > Cc: Nate Lawson; rodrigc@crodrigues.org; freebsd-hackers@freebsd.org; > freebsd-acpi@freebsd.org > Subject: Re: Laptop won't power off >=20 > On 2/23/07, Moore, Robert wrote: > > > MSI-1034.orig.asl 4206: If (SS1) > > > Error 1037 - syntax error ^ > > > > 3) Newer versions of iASL will allow executable statements outside of > > control methods. >=20 > So, sorry if I'm a bit slow, but this isn't likely to be the cause to > my problems, isn't it? >=20 > Any plan to port a new version of iASL (supporting the new features) to > FreeBSD? >=20 >=20 > > > > > ASL Optimizing Compiler / AML Disassembler version 20041119 [Feb 22 > > 2007] > > > > Like mid 2006 and newer. > > Bob > > > > > > > -----Original Message----- > > > From: owner-freebsd-acpi@freebsd.org [mailto:owner-freebsd- > > > acpi@freebsd.org] On Behalf Of Pietro Cerutti > > > Sent: Thursday, February 22, 2007 2:54 PM > > > To: Nate Lawson; rodrigc@crodrigues.org > > > Cc: freebsd-hackers@freebsd.org; freebsd-acpi@freebsd.org > > > Subject: Re: Laptop won't power off > > > > > > On 2/22/07, Nate Lawson wrote: > > > > Pietro Cerutti wrote: > > > > > Hi Lists, > > > > > first off, sorry for cross-posting, but I'm not subscribed to > > > > > freebsd-acpi@, so acpi guys please CC me. > > > > > > > > > > The problem here is that my laptop doesn't power off when issuing > > halt > > > > > -p or shutdown -p now. > > > > > This is the machine: > > > > > http://www.msicomputer.com/NB/product_spec.asp?model=3DMS- > > > 1034_(Core2_Duo) > > > > > > > > > > Any hint is greatly appreciated! > > > > > CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (2000.15-MHz > > > > > 686-class CPU) > > > > > Origin =3D "GenuineIntel" Id =3D 0x6f6 Stepping =3D 6 > > > > > > > > > > Features=3D0xbfebfbff > ,M > > > CA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > > > > > > > > > > > > > > > Features2=3D0xe3bd,CX16,, > > > > > > > > AMD Features=3D0x20100000 > > > > > AMD Features2=3D0x1 > > > > > Cores per package: 2 > > > > > > > > Try disabling SMP so only 1 core is running. Build a kernel without > > SMP > > > > option or at loader prompt type: > > > > > > > > set hint.apic.0.disabled=3D"1" > > > > > > I already tried this way, but without any results... disabling SMPing > > > only enables S3 state, which doesn't work otherwise.. > > > > > > Moreover, following the directives on "11.16 Using and Debugging > > > FreeBSD ACPI" of the FreeBSD handbook, I put my ASL online here: > > > > > > https://staff.hti.bfh.ch/ctp3/MSI-1034.asl > > > > > > If I try to recompile it, there are a few errors: > > > > > > > iasl MSI-1034.asl > > > > > > Intel ACPI Component Architecture > > > ASL Optimizing Compiler / AML Disassembler version 20041119 [Feb 22 > > 2007] > > > Copyright (C) 2000 - 2004 Intel Corporation > > > Supports ACPI Specification Revision 2.0c > > > > > > MSI-1034.orig.asl 4128: PTS (Arg0) > > > Error 1022 - ^ Object does not exist (PTS_) > > > > > > MSI-1034.orig.asl 4149: WAK (Arg0) > > > Error 1022 - ^ Object does not exist (WAK_) > > > > > > MSI-1034.orig.asl 4206: If (SS1) > > > Error 1037 - syntax error ^ > > > > > > ASL Input: MSI-1034.orig.asl - 4406 lines, 130275 bytes, 1862 > > keywords > > > Compilation complete. 3 Errors, 0 Warnings, 0 Remarks, 536 > > Optimizations > > > > > > I solved the first two by putting the function declarations of PRS and > > > WAK above the actual call at line 4128 and 4149, but I can't really > > > figure out how to fix the third error. > > > > > > Thanx in advance! > > > > > > > > > > > -- > > > > Nate > > > > > > > > > > > > > -- > > > Pietro Cerutti > > > > > > - ASCII Ribbon Campaign - > > > against HTML e-mail and > > > proprietary attachments > > > www.asciiribbon.org > > > _______________________________________________ > > > freebsd-acpi@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-acpi > > > To unsubscribe, send any mail to > > "freebsd-acpi-unsubscribe@freebsd.org" > > >=20 >=20 > -- > Pietro Cerutti >=20 > - ASCII Ribbon Campaign - > against HTML e-mail and > proprietary attachments > www.asciiribbon.org