From owner-freebsd-acpi@FreeBSD.ORG Sun Dec 2 00:48:23 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 92D1116A417 for ; Sun, 2 Dec 2007 00:48:23 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 3882113C458 for ; Sun, 2 Dec 2007 00:48:20 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp121-45-70-253.lns10.adl6.internode.on.net [121.45.70.253]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id lB20DeGj037959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 2 Dec 2007 10:43:47 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-acpi@freebsd.org Date: Sun, 2 Dec 2007 10:43:15 +1030 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1814573.f70z870SS8"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200712021043.24033.doconnor@gsoft.com.au> X-Spam-Score: -2.312 () BAYES_00,UPPERCASE_25_50 X-Scanned-By: MIMEDefang 2.58 on 203.31.81.10 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Supermicro C2SBA ACPI warnings 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, 02 Dec 2007 00:48:23 -0000 --nextPart1814573.f70z870SS8 Content-Type: multipart/mixed; boundary="Boundary-01=_difUHHKiAz6cOKR" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_difUHHKiAz6cOKR Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I have a Supermicro C2SBA=20 http://www.supermicro.com/products/motherboard/Core2Duo/G33/C2SBA.cfm It seems to work fairly well (although if I load USB after the kernel then usbd stalls in usbsyn..) however I do see these messages repeated in dmesg quite a bit.. ACPI-0438: *** Error: Looking up [\\_SB_.PCI0.PSKB] in namespace, AE_NO= T_FOUND SearchNode 0xffffff0000c84200 StartNode 0xffffff0000c84200 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.SIO_.KB= C0._STA] (Node 0xffffff0000c84200), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [\\_SB_.PCI0.PSKB] in namespace, AE_NO= T_FOUND SearchNode 0xffffff0000c84200 StartNode 0xffffff0000c84200 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.SIO_.KB= C0._STA] (Node 0xffffff0000c84200), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [\\_SB_.PCI0.PSMS] in namespace, AE_NO= T_FOUND SearchNode 0xffffff0000c84040 StartNode 0xffffff0000c84040 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.SIO_.MS= E0._STA] (Node 0xffffff0000c84040), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [\\_SB_.PCI0.PSMS] in namespace, AE_NO= T_FOUND SearchNode 0xffffff0000c84040 StartNode 0xffffff0000c84040 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.SIO_.MS= E0._STA] (Node 0xffffff0000c84040), AE_NOT_FOUND What do they mean? (My BIOS vendor is an idiot? :)=20 =46ull dmesg and ASL are available here.. http://www.gsoft.com.au/~doconnor/Supermicro-C2SBA.asl.gz MD5 (Supermicro-C2SBA.asl.gz) =3D 7fff7694574a1dee0c11aacbefe5486b http://www.gsoft.com.au/~doconnor/Supermicro-C2SBA.dmesg.gz MD5 (Supermicro-C2SBA.dmesg.gz) =3D c00f53aaf0c608d13ec2ab88a68bf7cf Thanks. PS please CC me as I am not subscribed to the list. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --Boundary-01=_difUHHKiAz6cOKR-- --nextPart1814573.f70z870SS8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHUfij5ZPcIHs/zowRAsN5AJ471YxX5TW+ugDoXRcqhjJg1F+THgCfZXWI FIWZ2N6RTobbk2Qa/IWyCCo= =wazh -----END PGP SIGNATURE----- --nextPart1814573.f70z870SS8-- From owner-freebsd-acpi@FreeBSD.ORG Sun Dec 2 17:27:28 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 99F0216A419 for ; Sun, 2 Dec 2007 17:27:28 +0000 (UTC) (envelope-from llevier-lists@argosnet.com) Received: from mx.levier.org (ns.argosnet.com [213.251.139.26]) by mx1.freebsd.org (Postfix) with ESMTP id 5CC1813C468 for ; Sun, 2 Dec 2007 17:27:28 +0000 (UTC) (envelope-from llevier-lists@argosnet.com) Received: from localhost (ns [213.251.139.26]) by mx.levier.org (Postfix) with ESMTP id B12A2267F96 for ; Sun, 2 Dec 2007 18:09:29 +0100 (CET) X-Virus-Scanned: amavisd-new at argosnet.com Received: from mx.levier.org ([213.251.139.26]) by localhost (ns.levier.org [213.251.139.26]) (amavisd-new, port 10024) with ESMTP id qiEEURtcT-0Z for ; Sun, 2 Dec 2007 18:09:23 +0100 (CET) Received: from Osgiliath.argosnet.com (tirion.argosnet.com [82.224.1.141]) by mx.levier.org (Postfix) with ESMTP id E4574267CBD for ; Sun, 2 Dec 2007 18:09:22 +0100 (CET) X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sun, 02 Dec 2007 18:09:19 +0100 To: freebsd-acpi@freebsd.org From: Laurent LEVIER Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-Id: <20071202170922.E4574267CBD@mx.levier.org> Subject: Power savings on USB Hard drives 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, 02 Dec 2007 17:27:28 -0000 Hi Guys, I am using FreeBSD 6.2, soon 7.0 over a server and a laptop. I would like, on both configurations, to be able to have hard drive power savings as on internal IDE drives. At the moment, my external USB2 drive, when mounted but even not adresses, keeps running permanently despite it is just mounted for backups (no access out of backup times on sunday then). I digged on mailing lists, but cant find why the HD keep running. Can someone help? Thanks in advance Brgrds From owner-freebsd-acpi@FreeBSD.ORG Sun Dec 2 18:21:09 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 444C416A41B for ; Sun, 2 Dec 2007 18:21:09 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 11E8C13C4CC for ; Sun, 2 Dec 2007 18:21:09 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from working (c-71-60-127-199.hsd1.pa.comcast.net [71.60.127.199]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 157B0EBC3C; Sun, 2 Dec 2007 13:21:08 -0500 (EST) Date: Sun, 2 Dec 2007 13:21:07 -0500 From: Bill Moran To: Laurent LEVIER Message-Id: <20071202132107.e6941324.wmoran@potentialtech.com> In-Reply-To: <20071202170922.E4574267CBD@mx.levier.org> References: <20071202170922.E4574267CBD@mx.levier.org> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: Power savings on USB Hard drives 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, 02 Dec 2007 18:21:09 -0000 Laurent LEVIER wrote: > > Hi Guys, > > I am using FreeBSD 6.2, soon 7.0 over a server and a laptop. > > I would like, on both configurations, to be able to have hard drive > power savings as on internal IDE drives. > > At the moment, my external USB2 drive, when mounted but even not > adresses, keeps running permanently despite it is just mounted for > backups (no access out of backup times on sunday then). > > I digged on mailing lists, but cant find why the HD keep running. > > Can someone help? Are you sure the hardware is capable of spinning it down? If you have the drive connected, but unmounted does it spin down? If so, would it work to just have a cron job that mounts/umounts the partition at the beginning/end of backup runs? -- Bill Moran http://www.potentialtech.com From owner-freebsd-acpi@FreeBSD.ORG Sun Dec 2 18:36:38 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 798D316A417 for ; Sun, 2 Dec 2007 18:36:38 +0000 (UTC) (envelope-from llevier-lists@argosnet.com) Received: from mx.levier.org (ns.argosnet.com [213.251.139.26]) by mx1.freebsd.org (Postfix) with ESMTP id 3A2B713C467 for ; Sun, 2 Dec 2007 18:36:38 +0000 (UTC) (envelope-from llevier-lists@argosnet.com) Received: from localhost (ns [213.251.139.26]) by mx.levier.org (Postfix) with ESMTP id 3223D267E87; Sun, 2 Dec 2007 19:36:39 +0100 (CET) X-Virus-Scanned: amavisd-new at argosnet.com Received: from mx.levier.org ([213.251.139.26]) by localhost (ns.levier.org [213.251.139.26]) (amavisd-new, port 10024) with ESMTP id Xn11iq2seHxd; Sun, 2 Dec 2007 19:36:35 +0100 (CET) Received: from Osgiliath.argosnet.com (tirion.argosnet.com [82.224.1.141]) by mx.levier.org (Postfix) with ESMTP id EEDBC267E22; Sun, 2 Dec 2007 19:36:34 +0100 (CET) X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sun, 02 Dec 2007 19:36:31 +0100 To: Bill Moran From: Laurent LEVIER In-Reply-To: <20071202132107.e6941324.wmoran@potentialtech.com> References: <20071202170922.E4574267CBD@mx.levier.org> <20071202132107.e6941324.wmoran@potentialtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-Id: <20071202183634.EEDBC267E22@mx.levier.org> Cc: freebsd-acpi@freebsd.org Subject: Re: Power savings on USB Hard drives 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, 02 Dec 2007 18:36:38 -0000 Hi Bill, At 19:21 02/12/2007, Bill Moran wrote: >Are you sure the hardware is capable of spinning it down? Bad comparison, but under Windows, USB HD power saves And same physical HD on IDE on FreeBSD power saves too. >If you have the drive connected, but unmounted does it spin down? I did not check as this. Must do it. >If so, would it work to just have a cron job that mounts/umounts the >partition at the beginning/end of backup runs? Cron job for mounting/unmounting wont be good for me because I intend to use it later also for a file server. However, if unmounted it power saves, I could use automount... Brgrds From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 3 00:15:10 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 2A5CD16A418 for ; Mon, 3 Dec 2007 00:15:10 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id DE20E13C459 for ; Mon, 3 Dec 2007 00:15:09 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 87758 invoked from network); 3 Dec 2007 00:15:11 -0000 Received: from adsl-71-141-123-117.dsl.snfc21.pacbell.net (HELO ?192.168.1.77?) (nate-mail@71.141.123.117) by root.org with ESMTPA; 3 Dec 2007 00:15:11 -0000 Message-ID: <47534A89.3010403@root.org> Date: Sun, 02 Dec 2007 16:15:05 -0800 From: Nate Lawson User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Laurent LEVIER References: <20071202170922.E4574267CBD@mx.levier.org> In-Reply-To: <20071202170922.E4574267CBD@mx.levier.org> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: Power savings on USB Hard drives 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, 03 Dec 2007 00:15:10 -0000 Laurent LEVIER wrote: > Hi Guys, > > I am using FreeBSD 6.2, soon 7.0 over a server and a laptop. > > I would like, on both configurations, to be able to have hard drive > power savings as on internal IDE drives. > > At the moment, my external USB2 drive, when mounted but even not > adresses, keeps running permanently despite it is just mounted for > backups (no access out of backup times on sunday then). > > I digged on mailing lists, but cant find why the HD keep running. > > Can someone help? > > Thanks in advance > > Brgrds This is outside the realm of acpi. Have you tried the ataidle ported application? It works for most internal drives but I'm not sure how it would do over USB. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 3 00:40:44 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 7A3E016A417 for ; Mon, 3 Dec 2007 00:40:44 +0000 (UTC) (envelope-from nate@root.org) Received: from root.org (root.org [67.118.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id 3CCD713C43E for ; Mon, 3 Dec 2007 00:40:42 +0000 (UTC) (envelope-from nate@root.org) Received: (qmail 90818 invoked from network); 3 Dec 2007 00:40:43 -0000 Received: from adsl-71-141-123-117.dsl.snfc21.pacbell.net (HELO ?192.168.1.77?) (nate-mail@71.141.123.117) by root.org with ESMTPA; 3 Dec 2007 00:40:43 -0000 Message-ID: <47535086.8060204@root.org> Date: Sun, 02 Dec 2007 16:40:38 -0800 From: Nate Lawson User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Kevin Oberman References: <20071203002752.ADB184500E@ptavv.es.net> In-Reply-To: <20071203002752.ADB184500E@ptavv.es.net> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: Power savings on USB Hard drives 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, 03 Dec 2007 00:40:44 -0000 Kevin Oberman wrote: >> Date: Sun, 02 Dec 2007 16:15:05 -0800 >> From: Nate Lawson >> Sender: owner-freebsd-acpi@freebsd.org >> >> Laurent LEVIER wrote: >>> Hi Guys, >>> >>> I am using FreeBSD 6.2, soon 7.0 over a server and a laptop. >>> >>> I would like, on both configurations, to be able to have hard drive >>> power savings as on internal IDE drives. >>> >>> At the moment, my external USB2 drive, when mounted but even not >>> adresses, keeps running permanently despite it is just mounted for >>> backups (no access out of backup times on sunday then). >>> >>> I digged on mailing lists, but cant find why the HD keep running. >>> >>> Can someone help? >>> >>> Thanks in advance >>> >>> Brgrds >> This is outside the realm of acpi. Have you tried the ataidle ported >> application? It works for most internal drives but I'm not sure how it >> would do over USB. > > Almost all external USB drives use umass and are not handled as ATA but > as SCSI. As such, camcontrol is the tool that should probably be > used, but I have no such devices and I don't know what the appropriate > command might be. > > Asking on usb@ might provide the needed information. Hmm, camcontrol stop/start used to work for Fibre Channel drives back in 2001. I have no idea what his usb interface might support though. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 3 00:41:58 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 E599616A41B for ; Mon, 3 Dec 2007 00:41:58 +0000 (UTC) (envelope-from SRS0=11d5d4287f1a41039727d21ec84b7f3722cc6a2f=537=es.net=oberman@es.net) Received: from postal1.es.net (postal4.es.net [198.124.252.66]) by mx1.freebsd.org (Postfix) with ESMTP id 97E3813C469 for ; Mon, 3 Dec 2007 00:41:58 +0000 (UTC) (envelope-from SRS0=11d5d4287f1a41039727d21ec84b7f3722cc6a2f=537=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal4.es.net (Postal Node 4) with ESMTP (SSL) id IME00454; Sun, 02 Dec 2007 16:27:54 -0800 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id ADB184500E; Sun, 2 Dec 2007 16:27:52 -0800 (PST) To: Nate Lawson In-Reply-To: Your message of "Sun, 02 Dec 2007 16:15:05 PST." <47534A89.3010403@root.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1196641672_62821P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sun, 02 Dec 2007 16:27:52 -0800 From: "Kevin Oberman" Message-Id: <20071203002752.ADB184500E@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ; ; ; X-Sender: X-To_Name: Nate Lawson X-To_Domain: root.org X-To: Nate Lawson X-To_Email: nate@root.org X-To_Alias: nate Cc: freebsd-acpi@freebsd.org Subject: Re: Power savings on USB Hard drives 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, 03 Dec 2007 00:41:59 -0000 --==_Exmh_1196641672_62821P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Sun, 02 Dec 2007 16:15:05 -0800 > From: Nate Lawson > Sender: owner-freebsd-acpi@freebsd.org > > Laurent LEVIER wrote: > > Hi Guys, > > > > I am using FreeBSD 6.2, soon 7.0 over a server and a laptop. > > > > I would like, on both configurations, to be able to have hard drive > > power savings as on internal IDE drives. > > > > At the moment, my external USB2 drive, when mounted but even not > > adresses, keeps running permanently despite it is just mounted for > > backups (no access out of backup times on sunday then). > > > > I digged on mailing lists, but cant find why the HD keep running. > > > > Can someone help? > > > > Thanks in advance > > > > Brgrds > > This is outside the realm of acpi. Have you tried the ataidle ported > application? It works for most internal drives but I'm not sure how it > would do over USB. Almost all external USB drives use umass and are not handled as ATA but as SCSI. As such, camcontrol is the tool that should probably be used, but I have no such devices and I don't know what the appropriate command might be. Asking on usb@ might provide the needed information. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1196641672_62821P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFHU02Ikn3rs5h7N1ERAsdQAJ955HeEa2KcZYUoT6N0qAyC1xU4HwCghm1p 75WGq2kU2tNGdoAKhc9ESpI= =CJb0 -----END PGP SIGNATURE----- --==_Exmh_1196641672_62821P-- From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 3 07:29:31 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 2018216A473 for ; Mon, 3 Dec 2007 07:29:31 +0000 (UTC) (envelope-from llevier-lists@argosnet.com) Received: from mx.levier.org (ns.argosnet.com [213.251.139.26]) by mx1.freebsd.org (Postfix) with ESMTP id F1CEA13C455 for ; Mon, 3 Dec 2007 07:29:30 +0000 (UTC) (envelope-from llevier-lists@argosnet.com) Received: from localhost (ns [213.251.139.26]) by mx.levier.org (Postfix) with ESMTP id A0A56267E87; Mon, 3 Dec 2007 08:29:31 +0100 (CET) X-Virus-Scanned: amavisd-new at argosnet.com Received: from mx.levier.org ([213.251.139.26]) by localhost (ns.levier.org [213.251.139.26]) (amavisd-new, port 10024) with ESMTP id OqZj2DCc5voL; Mon, 3 Dec 2007 08:29:27 +0100 (CET) Received: from Osgiliath.argosnet.com (tirion.argosnet.com [82.224.1.141]) by mx.levier.org (Postfix) with ESMTP id B8AF6267E14; Mon, 3 Dec 2007 08:29:26 +0100 (CET) X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 03 Dec 2007 08:29:22 +0100 To: Nate Lawson From: Laurent LEVIER In-Reply-To: <47534A89.3010403@root.org> References: <20071202170922.E4574267CBD@mx.levier.org> <47534A89.3010403@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-Id: <20071203072926.B8AF6267E14@mx.levier.org> Cc: freebsd-acpi@freebsd.org Subject: Re: Power savings on USB Hard drives 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, 03 Dec 2007 07:29:31 -0000 Hi Nate, At 01:15 03/12/2007, Nate Lawson wrote: >This is outside the realm of acpi. Have you tried the ataidle ported >application? Nope, but HD over IDE power saves normally... I just have some issues at wake up time where kernel detects HD errors that do not exist in fact. This is since I moved from FreeBSD 4.x to 5.x/6.x I intend to reinstall fully my box when FreeBSD 7.x will be released, in case this comes from the many updates. > It works for most internal drives but I'm not sure how it would > do over USB. I'll play with this. Thanks! Brgrds From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 3 07:31:06 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 85F4C16A417 for ; Mon, 3 Dec 2007 07:31:06 +0000 (UTC) (envelope-from llevier-lists@argosnet.com) Received: from mx.levier.org (ns.argosnet.com [213.251.139.26]) by mx1.freebsd.org (Postfix) with ESMTP id 61FD613C459 for ; Mon, 3 Dec 2007 07:31:06 +0000 (UTC) (envelope-from llevier-lists@argosnet.com) Received: from localhost (ns [213.251.139.26]) by mx.levier.org (Postfix) with ESMTP id 69FD8267E87; Mon, 3 Dec 2007 08:31:07 +0100 (CET) X-Virus-Scanned: amavisd-new at argosnet.com Received: from mx.levier.org ([213.251.139.26]) by localhost (ns.levier.org [213.251.139.26]) (amavisd-new, port 10024) with ESMTP id 9XqS4owjE-xV; Mon, 3 Dec 2007 08:31:02 +0100 (CET) Received: from Osgiliath.argosnet.com (tirion.argosnet.com [82.224.1.141]) by mx.levier.org (Postfix) with ESMTP id B517C267E14; Mon, 3 Dec 2007 08:31:01 +0100 (CET) X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 03 Dec 2007 08:30:56 +0100 To: "Kevin Oberman" From: Laurent LEVIER In-Reply-To: <20071203002752.ADB184500E@ptavv.es.net> References: <20071203002752.ADB184500E@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-Id: <20071203073101.B517C267E14@mx.levier.org> Cc: freebsd-acpi@freebsd.org Subject: Re: Power savings on USB Hard drives 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, 03 Dec 2007 07:31:06 -0000 Hi Kevin, At 01:27 03/12/2007, Kevin Oberman wrote: >Almost all external USB drives use umass and are not handled as ATA but >as SCSI. As such, camcontrol is the tool that should probably be >used, but I have no such devices and I don't know what the appropriate >command might be. In fact, this is more compatible with whatI read. camcontrol is used to control some USB devices, but I did not saw some things about power management + camcontrol... >Asking on usb@ might provide the needed information. ? Thanks Brgrds From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 3 11:06:55 2007 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 D85A116A417 for ; Mon, 3 Dec 2007 11:06:55 +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 C79CC13C459 for ; Mon, 3 Dec 2007 11:06:55 +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 lB3B6tOr005493 for ; Mon, 3 Dec 2007 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lB3B6t5o005489 for freebsd-acpi@FreeBSD.org; Mon, 3 Dec 2007 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Dec 2007 11:06:55 GMT Message-Id: <200712031106.lB3B6t5o005489@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, 03 Dec 2007 11:06:55 -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 s i386/79080 acpi acpi thermal changes freezes HP nx6110 o i386/79081 acpi ACPI suspend/resume not working on HP nx6110 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/114113 acpi [patch] ACPI kernel panic during S3 suspend / resume 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/116169 acpi [PATCH] acpi_ibm => psm0 not found problem 14 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 o 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 Dell C810 - ACPI problem o kern/114649 acpi [patch][acpi] panic: recursed on non-recursive mutex o kern/114722 acpi [acpi] [patch] Nearly duplicate p-state entries report o kern/117605 acpi [acpi] request for debug.cpufreq.highest 21 problems total. From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 3 20:00:20 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 F106516A468 for ; Mon, 3 Dec 2007 20:00:20 +0000 (UTC) (envelope-from llevier-lists@argosnet.com) Received: from mx.levier.org (ns.argosnet.com [213.251.139.26]) by mx1.freebsd.org (Postfix) with ESMTP id C820A13C461 for ; Mon, 3 Dec 2007 20:00:20 +0000 (UTC) (envelope-from llevier-lists@argosnet.com) Received: from localhost (ns [213.251.139.26]) by mx.levier.org (Postfix) with ESMTP id EAEB9267E14 for ; Mon, 3 Dec 2007 21:00:20 +0100 (CET) X-Virus-Scanned: amavisd-new at argosnet.com Received: from mx.levier.org ([213.251.139.26]) by localhost (ns.levier.org [213.251.139.26]) (amavisd-new, port 10024) with ESMTP id 99eqmzAHWolW for ; Mon, 3 Dec 2007 21:00:16 +0100 (CET) Received: from Osgiliath.argosnet.com (tirion.argosnet.com [82.224.1.141]) by mx.levier.org (Postfix) with ESMTP id 69DBC267E6C for ; Mon, 3 Dec 2007 21:00:16 +0100 (CET) X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 03 Dec 2007 21:00:12 +0100 To: freebsd-acpi@freebsd.org From: Laurent LEVIER In-Reply-To: <47534A89.3010403@root.org> References: <20071202170922.E4574267CBD@mx.levier.org> <47534A89.3010403@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-Id: <20071203200016.69DBC267E6C@mx.levier.org> Subject: Re: Power savings on USB Hard drives 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, 03 Dec 2007 20:00:21 -0000 Hi Everyone, Since my post, I found some new interesting stuff digging & playing around. I got here 2 USB2 HD: One based on a Western Digital "Mybook Essential Edition" 500 GB HD (black book design with a circle green light as indicator) Another one based on a basic Textorm alloy case, with fan + switch. When I plug the Textorm to my M$ Windows PC, HD does not spin down at disconnect time. However, WD does (in fact, it switches off completely). So I connected my WD on my FreeBSD 6.2p8 and the "camcontrol stop da0", or start or eject (except it ejects nothing), are working perfectly. When I try this with Textorm case, I receive as answer an illegal request: # camcontrol stop da0 -v Error received from stop unit command (pass0:umass-sim0:0:0:0): STOP START UNIT. CDB: 1b 0 0 0 0 0 (pass0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (pass0:umass-sim0:0:0:0): SCSI Status: Check Condition (pass0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0 (pass0:umass-sim0:0:0:0): Invalid command operation code So, after this first analysis: definitely the USB case makes the difference. The USB->IDE Interface must be able to understand the SCSI start/stop commands so camcontrol works properly. About the timeouts now... Of course, the Textorm plugged on FreeBSD keeps running infinitely, even unmounted. The WD case spins down by itself (I supposed) after a while. Final test, WD mounted, after a while, guess what?? External HD normall spins down after 15mn, that is the delay to power save in my bios!!! So as a summ, definitely the case makes possible or not to have power save on USB hard drives. The point is: how to know the case you are purchasing can (or not) do this? All I can say is the one I purchased from WD is ok. Hope this will help everyone Brgrds From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 4 05:10:34 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 06B9B16A417 for ; Tue, 4 Dec 2007 05:10:34 +0000 (UTC) (envelope-from gofda-freebsd-acpi@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id C2DFC13C468 for ; Tue, 4 Dec 2007 05:10:33 +0000 (UTC) (envelope-from gofda-freebsd-acpi@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1IzPLC-00083N-6W for freebsd-acpi@freebsd.org; Tue, 04 Dec 2007 04:25:02 +0000 Received: from 81.210.227.230 ([81.210.227.230]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Dec 2007 04:25:02 +0000 Received: from saper by 81.210.227.230 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Dec 2007 04:25:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-acpi@freebsd.org From: Marcin Cieslak Date: Tue, 04 Dec 2007 03:04:27 +0100 Lines: 28 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 81.210.227.230 User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.9) Gecko/20071119 SeaMonkey/1.1.6 Sender: news Subject: Sony VAIO SZ5MN - unable to power off using ACPI 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, 04 Dec 2007 05:10:34 -0000 Hello, I have kinda got used to the fact that recent VAIOs are unable to go to S3 sleep properly. However I've found strange with my new one - going to S5 does not work properly. Instead of powering off, LEDs stay on, one can hear CPU fan louder, and only screen turns itself off, however I could still glimpse "Entering sleep state [S5]" message from /sys/contrib/dev/acpica/hwsleep.c:432 OS: FreeBSD 7.0-BETA3 amd64, tried both original and 20071114 code. i386 kernel had the same problem. Dump of ACPI tables: http://akson.sgh.waw.pl/~saper/FreeBSD/acpi/sony.asl The strange thing about this machine is that it has two graphic cards on board selected using a special switch that works only at system boot. In "speed" position NVidia GeForce 7400 card is used, in "stamina" position standard Intel 950 from the chipset. If in "stamina" mode, NVidia card disappears from PCI device listing completely. (This does not happen after the system is running - only you can tell from different pciconf outputs after reboot). Any ideas how to proceed with debugging? --Marcin From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 4 14:04:31 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 B8CAC16A41B for ; Tue, 4 Dec 2007 14:04:31 +0000 (UTC) (envelope-from glorgster@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 6910513C455 for ; Tue, 4 Dec 2007 14:04:31 +0000 (UTC) (envelope-from glorgster@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so3305990rvb for ; Tue, 04 Dec 2007 06:04: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; bh=VIBaq+H7KcqzZhWrT8lXDbDlQ2KbTBrr8YBOOLNvZ9Y=; b=IHHRtF1Ezv9uxQww97/ERFJ6xNNz0/IYGySJuVddHjywdnHyF2pZsSgTDaeTYNP4UJlR1frqYM5CyACd9FgfbnWk+YGM/voky3IrOE2x39WFvoG66F2TNkP+fq/H9zhmItptkHLFOu9xh+eekxSjfYMknVCqcjLd5JjXUe8hEn8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:mime-version:content-type; b=vDlr3r0be68NRlzF23Q5CnhjIihUqR3csp95T7iLHvkuQmHpoSZ41fC6bY0fkBEJ8ypvUYrh3nHUnmXYmXquegjUTngwONOpXRbFAPLJjoyKcuLR683lfcMmqzn1bjHoqERTt5ZgqhVBv0hPXQRiwy0YofS6xg7gxRnrlNso3hk= Received: by 10.141.13.16 with SMTP id q16mr318323rvi.1196775540831; Tue, 04 Dec 2007 05:39:00 -0800 (PST) Received: by 10.141.42.16 with HTTP; Tue, 4 Dec 2007 05:39:00 -0800 (PST) Message-ID: Date: Tue, 4 Dec 2007 23:39:00 +1000 From: "Alexey Tarasov" 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: Re: Sony VAIO SZ5MN - unable to power off using ACPI 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, 04 Dec 2007 14:04:31 -0000 > Hello, > > I have kinda got used to the fact that recent VAIOs are unable to go to > S3 sleep properly. However I've found strange with my new one - going to > S5 does not work properly. Instead of powering off, LEDs stay on, one > can hear CPU fan louder, and only screen turns itself off, however I > could still glimpse "Entering sleep state [S5]" message from > /sys/contrib/dev/acpica/hwsleep.c:432 > > OS: FreeBSD 7.0-BETA3 amd64, tried both original and 20071114 code. > > i386 kernel had the same problem. > The same is on SZ4MRN. I've tryed both FreeBSD-6.2 and FreeBSD7-BETA3. My dumped asl is compilable by iasl without any errors. i've tryed change OS name to Linux (it exists in asl), and different Windows names. Result always was the same. > The strange thing > about this machine is that it has two graphic cards on > board selected using a special switch that works only at system boot. > In "speed" position NVidia GeForce 7400 card is used, in "stamina" > position standard Intel 950 from the chipset. If in "stamina" mode, > NVidia card disappears from PCI device listing completely. (This does > not happen after the system is running - only you can tell from > different pciconf outputs after reboot). By the way, it seems that Windows always loads both drivers (at least services of nvidia and intel video cards always are loaded), but changing of mode (stamina/speed) also needs reboot. There are also such differences from some other VAIO models - TPM (Trusted platform module) and web-camera (AFAIK, connected internally through USB). There is no also ACPI driver for SPIC (Sony Programmable Input/Output), but exists /sys/i386/isa/spic.c, which supports type 1 and type 2 laptops (SZ4 is type 3 as says Linux driver). But I also think, problem is in two graphics cards. I've compiled kernel practically without statically linked modules and unloaded all firewire, WiFi, Ethernet and etc related, before going to S5, but was not able to power off correctly (the only way to power off - switch off power cord and plug off battery. Or use shutdown -h, then power off manually by pressing and holding power button. But in last case, HDD is not correctly parked). When nVidia GeForce is offed ("stamina" mode) ACPI driver writes such message: "can't evaluate \_SB_.PCI0.GFX0.LCD_.DCS - AE_NOT_FOUND" --- Best regards, Alexey From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 4 18:08:09 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 3577616A420 for ; Tue, 4 Dec 2007 18:08:09 +0000 (UTC) (envelope-from gofda-freebsd-acpi@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id B550E13C45A for ; Tue, 4 Dec 2007 18:08:08 +0000 (UTC) (envelope-from gofda-freebsd-acpi@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IzcBi-0001Z7-4L for freebsd-acpi@freebsd.org; Tue, 04 Dec 2007 18:08:06 +0000 Received: from 81.210.227.230 ([81.210.227.230]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Dec 2007 18:08:06 +0000 Received: from saper by 81.210.227.230 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Dec 2007 18:08:06 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-acpi@freebsd.org From: Marcin Cieslak Date: Tue, 04 Dec 2007 19:07:33 +0100 Lines: 63 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 81.210.227.230 User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.9) Gecko/20071119 SeaMonkey/1.1.6 In-Reply-To: Sender: news Subject: Re: Sony VAIO SZ5MN - unable to power off using ACPI 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, 04 Dec 2007 18:08:09 -0000 Alexey Tarasov wrote: >> The strange thing >> about this machine is that it has two graphic cards on >> board selected using a special switch that works only at system boot. >> In "speed" position NVidia GeForce 7400 card is used, in "stamina" >> position standard Intel 950 from the chipset. If in "stamina" mode, >> NVidia card disappears from PCI device listing completely. (This does >> not happen after the system is running - only you can tell from >> different pciconf outputs after reboot). > > > By the way, it seems that Windows always loads both drivers (at least > services of nvidia and intel video cards always are loaded), but changing of > mode (stamina/speed) also needs reboot. No, it doesn't. After fresh Windows install I was using only nVidia, when I switched to Intel ("stamina") after installation and reboot it booted in low resolution mode started installing Intel drivers only then. Only after driver install I got normal resolution. > But I also think, problem is in two graphics cards. I've compiled kernel > practically without statically linked modules and unloaded all firewire, > WiFi, Ethernet and etc related, before going to S5, but was not able to > power off correctly (the only way to power off - switch off power cord and > plug off battery. Or use shutdown -h, then power off manually by pressing > and holding power button. But in last case, HDD is not correctly parked). I don't know if two cards are a problem .... after switching to nVidia the following two PCI devices are starting to be just normal "pcib" stuff. And additional nVidia PCI device appears. vgapci0@pci0:0:2:0: class=0x030000 card=0x81e6104d chip=0x27a28086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile 945GM/GU Express Integrated Graphics Controller' class = display subclass = VGA vgapci1@pci0:0:2:1: class=0x038000 card=0x81e6104d chip=0x27a68086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile 945GM/GU Express Integrated Graphics Controller' class = display I think I don't have TPM (no option in BIOS at least). > When nVidia GeForce is offed ("stamina" mode) ACPI driver writes such > message: "can't evaluate \_SB_.PCI0.GFX0.LCD_.DCS - AE_NOT_FOUND" Same here. I get two slightly different ASLs when booting into nVidia mode: http://akson.sgh.waw.pl/~saper/FreeBSD/acpi/asl.diff Looks like one memory region is shifted then. Some things like IGDS and GPIC look interesting, maybe in theory it is possible to switch graphic cards at run-time? :-) Need to learn a bit more ASL :) Can you post your ASLs somewhere? --Marcin From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 5 14:40:59 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 67D7216A418 for ; Wed, 5 Dec 2007 14:40:59 +0000 (UTC) (envelope-from glorgster@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.189]) by mx1.freebsd.org (Postfix) with ESMTP id D4BCD13C4EF for ; Wed, 5 Dec 2007 14:40:58 +0000 (UTC) (envelope-from glorgster@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so3797582rvb for ; Wed, 05 Dec 2007 06:40:58 -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=EUzZtZwvvpd8DgZBrFkIwCwuVoiqErrXs+01NK5A4yo=; b=nOJ1Za+h57p0lxM9fXqeQqOwleVHDWoSGTZgflM3KQ98X1pmiSRYnMntDb2XzC8uIetPiitFFtvWTx3y9wRHUaqEU9wp19MgoUl8+PtjXFtLTJeSAcGV1LFSnYCuIB2sLnJPk0KGRdg2REql5wzTLP/wT8BuEMyMWnm+MG8M61E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:mime-version:content-type; b=iionrYaruMCwvaB4s3/Qr6dwJ6jRcIdY42l4COBTQFB0qstDML/2N/k6LUk0+I1k7EkN5HLhrpxhfw2OLYVO/6D+0MrmrSkNNyBWXaD0eTr0Seu7RhIgM2x59EkL4C/1C/U74lXbcUVtjcEtTWWi1tz48o8jBs33gHA4o0dZwVM= Received: by 10.141.34.12 with SMTP id m12mr1219946rvj.1196865657351; Wed, 05 Dec 2007 06:40:57 -0800 (PST) Received: by 10.141.42.16 with HTTP; Wed, 5 Dec 2007 06:40:57 -0800 (PST) Message-ID: Date: Thu, 6 Dec 2007 00:40:57 +1000 From: "Alexey Tarasov" 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: Re: Sony VAIO SZ5MN - unable to power off using ACPI 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, 05 Dec 2007 14:40:59 -0000 Marcin Cieslak wrote: > No, it doesn't. After fresh Windows install I was using only nVidia, > when I switched to Intel ("stamina") after installation and reboot it > booted in low resolution mode started installing Intel drivers only > then. Only after driver install I got normal resolution. Yes, i was wrong, according to System information only one driver is enabled for each configuration (speed/stamina). I don't know if two cards are a problem .... after switching to nVidia > the following two PCI devices are starting to be just normal "pcib" > stuff. And additional nVidia PCI device appears. > > vgapci0@pci0:0:2:0: class=0x030000 card=0x81e6104d chip=0x27a28086 > rev=0x03 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Mobile 945GM/GU Express Integrated Graphics Controller' > class = display > subclass = VGA > vgapci1@pci0:0:2:1: class=0x038000 card=0x81e6104d chip=0x27a68086 > rev=0x03 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Mobile 945GM/GU Express Integrated Graphics Controller' > class = display > In my case, this intel related pci0:0:2:0 and pci0:0:2:1 are disappearing completely in "speed" mode. As for TPM, on my laptop BIOS at POST says that "No TPM or TPM problem", I've used a little bit before Japanese version of SZ9 (or SZ8, It was not my notebook, so I may be wrong), there was no such message there. Theoretically, most of SZ models must have it (it's one of features of SZ series). Looks like one > memory region is shifted then. > > Some things like IGDS and GPIC look interesting, maybe in theory it is > possible to switch graphic cards at run-time? :-) As I understand, BIOS is not capable (or not willing) to relocate resources after booting till next booting. So even in theory... Need to learn a bit more ASL :) > > Can you post your ASLs somewhere? here it is: http://freebsd.d-strict.com/sony_vgn-sz4mrn_speed.asl http://freebsd.d-strict.com/sony_vgn-sz4mrn_stamina.asl --- Best regards, Alexey From owner-freebsd-acpi@FreeBSD.ORG Sat Dec 8 03:42:58 2007 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 939FA16A418 for ; Sat, 8 Dec 2007 03:42:58 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by mx1.freebsd.org (Postfix) with ESMTP id 7743413C4DD for ; Sat, 8 Dec 2007 03:42:58 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from [10.0.3.231] ([70.21.144.51]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JSP00ITVOZB57TL@vms044.mailsrvcs.net> for acpi@freebsd.org; Fri, 07 Dec 2007 21:42:48 -0600 (CST) Date: Fri, 07 Dec 2007 22:41:55 -0500 From: "Alexandre \"Sunny\" Kovalenko" To: acpi@freebsd.org Message-id: <1197085315.5011.1.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Content-type: text/plain Content-transfer-encoding: 7bit Cc: Subject: Loading hifn.ko causes [panic: lock "ACPI global lock" 0xc08606a0 already initialized] on 7.0-BETA4 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, 08 Dec 2007 03:42:58 -0000 Looks like return from device_attach corrupts the stack (see "Stack trace after panic" and "Stack trace prior to panic" below). System was built from the cvs sources as of Dec 5 (approx 18:00 EST). Config is pretty much GENERIC with the full complement of the debugging options and firewire/dcons for remote debugging. Messages produced on the console are: fbsd-dev# kldload hifn acpi0: on motherboard panic: lock "ACPI global lock" 0xc08606a0 already initialized KDB: enter: panic Stack trace after the panic is: #0 kdb_enter (msg=0xc0672db4 "panic") at /usr/src/sys/kern/subr_kdb.c:310 #1 0xc04e28c5 in panic (fmt=0xc06759b1 "lock \"%s\" %p already initialized") at /usr/src/sys/kern/kern_shutdown.c:547 #2 0xc0509b54 in lock_init (lock=0xc1017808, class=0xc06ab364, name=0xc0859973 "ACPI global lock", type=0x0, flags=131072) at /usr/src/sys/kern/subr_lock.c:201 #3 0xc04d6f54 in mtx_init (m=0xc08606a0, name=0xc0859973 "ACPI global lock", type=0x0, opts=0) at /usr/src/sys/kern/kern_mutex.c:740 #4 0xc083d49e in ?? () #5 0xc08606a0 in ?? () #6 0xc0859973 in ?? () #7 0x00000000 in ?? () #8 0x00000000 in ?? () #9 0x00000000 in ?? () #10 0x00000000 in ?? () #11 0xc297b280 in ?? () #12 0xc29299cc in ?? () #13 0xd49a1698 in ?? () #14 0xc062756f in Xtimerint () at apic_vector.s:108 #15 0xd49a1618 in ?? () #16 0xd49a0008 in ?? () #17 0x00000028 in ?? () #18 0xc2920028 in ?? () #19 0xc2929980 in ?? () #20 0xc29299cc in ?? () #21 0xd49a1698 in ?? () #22 0xd49a1644 in ?? () #23 0xc297b280 in ?? () #24 0xc295d000 in ?? () #25 0x00000014 in ?? () #26 0xc085e650 in ?? () #27 0x00000000 in ?? () #28 0xc297b280 in ?? () #29 0xc29299cc in ?? () #30 0xc2929980 in ?? () #31 0xd49a1698 in ?? () #32 0xc0504d8f in device_attach (dev=0xc2929980) at device_if.h:178 Previous frame identical to this frame (corrupt stack?) Stack trace prior to the panic is: #0 device_attach (dev=0xc2929980) at device_if.h:177 #1 0xc0505890 in device_probe_and_attach (dev=0xc2929980) at /usr/src/sys/kern/subr_bus.c:2347 #2 0xc0505945 in bus_generic_driver_added (dev=0xc297b280, driver=0xc2eff270) at /usr/src/sys/kern/subr_bus.c:3087 #3 0xc0503bb8 in devclass_add_driver (dc=0xc28ec1c0, driver=0xc2eff270) at bus_if.h:183 #4 0xc0504949 in driver_module_handler (mod=0xc2e8fbc0, what=0, arg=0xc2eff25c) at /usr/src/sys/kern/subr_bus.c:3796 #5 0xc04d64c7 in module_register_init (arg=0xc2eff250) at /usr/src/sys/kern/kern_module.c:124 #6 0xc04d14ba in linker_load_module (kldname=Variable "kldname" is not available. ) at /usr/src/sys/kern/kern_linker.c:226 #7 0xc04d1844 in linker_load_dependencies (lf=0xc2d24600) at /usr/src/sys/kern/kern_linker.c:1935 #8 0xc04fbc61 in link_elf_load_file (cls=0xc06ad700, filename=0xc2ad6840 "/boot/kernel/hifn.ko", result=0xd49a1c24) at /usr/src/sys/kern/link_elf.c:780 #9 0xc04d139b in linker_load_module (kldname=Variable "kldname" is not available. ) at linker_if.h:110 #10 0xc04d1968 in kern_kldload (td=0xc29ba630, file=0xc29ca400 "hifn", fileid=0xd49a1c70) at /usr/src/sys/kern/kern_linker.c:869 #11 0xc04d1a24 in kldload (td=0xc29ba630, uap=0xd49a1cfc) at /usr/src/sys/kern/kern_linker.c:896 #12 0xc063d9e3 in syscall (frame=0xd49a1d38) at /usr/src/sys/i386/i386/trap.c:1008 #13 0xc0626ff0 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196 From owner-freebsd-acpi@FreeBSD.ORG Sat Dec 8 19:22:10 2007 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 2B80616A417; Sat, 8 Dec 2007 19:22:10 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0499713C448; Sat, 8 Dec 2007 19:22:10 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lB8JM9C3030286; Sat, 8 Dec 2007 19:22:09 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lB8JM9Zq030280; Sat, 8 Dec 2007 19:22:09 GMT (envelope-from remko) Date: Sat, 8 Dec 2007 19:22:09 GMT Message-Id: <200712081922.lB8JM9Zq030280@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-acpi@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: kern/118497: [acpi][patch] Incorrectly determined device count in thermal zone monitoring thread. 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, 08 Dec 2007 19:22:10 -0000 Synopsis: [acpi][patch] Incorrectly determined device count in thermal zone monitoring thread. Responsible-Changed-From-To: freebsd-bugs->freebsd-acpi Responsible-Changed-By: remko Responsible-Changed-When: Sat Dec 8 19:21:56 UTC 2007 Responsible-Changed-Why: reassign to acpi team http://www.freebsd.org/cgi/query-pr.cgi?pr=118497