From owner-freebsd-acpi@FreeBSD.ORG Tue Jan 3 11:20:20 2006 Return-Path: X-Original-To: freebsd-acpi@FreeBSD.org Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9C6916A41F for ; Tue, 3 Jan 2006 11:20:20 +0000 (GMT) (envelope-from dthiele@gmx.net) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 8B1E243D45 for ; Tue, 3 Jan 2006 11:20:19 +0000 (GMT) (envelope-from dthiele@gmx.net) Received: (qmail invoked by alias); 03 Jan 2006 11:20:17 -0000 Received: from p548610B6.dip0.t-ipconnect.de (EHLO [192.168.1.33]) [84.134.16.182] by mail.gmx.net (mp015) with SMTP; 03 Jan 2006 12:20:17 +0100 X-Authenticated: #19302822 Message-ID: <43BA5E03.4080306@gmx.net> Date: Tue, 03 Jan 2006 12:20:35 +0100 From: Daniel Thiele User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051220) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-acpi@FreeBSD.org, "Daniel Thiele (gmx)" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Subject: ACPI S3 and S5 Problem with HDD on ThinkPad R40 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, 03 Jan 2006 11:20:20 -0000 Hello, I have been playing around with ACPI on my ThinkPad R40 (2722-BDG) recently. Suspend to RAM and Soft Off seem to work fine except for one thing. During S3 when the hard disk is supposed to be switched of it does switch off, but I do not like the sound it makes at that point. This is the same noise you get when switching off the notebook manually by force by pressing the power button long enough. When I power off the notebook using soft off (S5) you can observe the same problem. The notebook powers off smoothly when I use APM to do so, but it would be nice if I could use ACPI. A SuSE Linux 9.3 LiveDVD with Kernel 2.6.11.4-20a-default that I found in some magazine does not seem to have that problem and suspends and powers off without making that noise, so the problem is probably not hardware related. Has someone else experienced the same problem or has a solution? Is there something else I could try? Here is what I tried so far: I am booting with the acpi.ko and the acpi_ibm.ko kernel modules loaded at boot time via /boot/loader.conf. I also tried switching off APIC by using hint.apic.0.disabled="1" in /boot/loader.conf, but that seems not to affect the problem. I tried hw.acpi.disable_on_poweroff="0" too, but again without any success. Using ACPI with debugging enabled by doing "cd /sys/modules/acpi/acpi && make clean && make && make install" results in an acpi.ko kernel module that makes the kernel panic during boot: link_elf: symbol db_readline undefined. Fatal trap 12: page fault ... The machine is a ThinkPad R40 (2722-BDG) running FreeBSD 6.0-STABLE #0: Sun Jan 1 19:08:23 CET 2006 Additional information about this machine can be found at the following URL: http://www-public.tu-bs.de:8080/~y0023183/FreeBSD_R40/ acpi_sysctls: all acpi related sysctls on that machine dmesg_with_apic: dmesg after a "boot -v" with APIC enabled dmesg_without_apic: dmesg after a "boot -v" with APIC disabled system_console_S3_suspend_resume: the messages on the system console (after booting with "boot -v") I get during suspend and resume r40-freebsd.asl: ASL dump from that machine. Trying to compile this file results in 3 errors: ---- % iasl r40-freebsd.asl Intel ACPI Component Architecture ASL Optimizing Compiler / AML Disassembler version 20041119 [Jan 1 2006] Copyright (C) 2000 - 2004 Intel Corporation Supports ACPI Specification Revision 2.0c r40-freebsd.asl 6512: Field (U7CS, DWordAcc, NoLock, Preserve) Error 1047 - ^ Access width is greater than region size r40-freebsd.asl 6514: PWKI, 1, Error 1051 - ^ Access width of Field Unit extends beyond region limit r40-freebsd.asl 6515: PWUC, 6, Error 1051 - ^ Access width of Field Unit extends beyond region limit ASL Input: r40-freebsd.asl - 9213 lines, 304035 bytes, 4160 keywords Compilation complete. 3 Errors, 0 Warnings, 0 Remarks, 1830 Optimizations ---- Best regards Daniel Thiele