From owner-freebsd-acpi@FreeBSD.ORG Sun Mar 13 07:15:41 2011 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 78D6B1065670 for ; Sun, 13 Mar 2011 07:15:41 +0000 (UTC) (envelope-from aragon@phat.za.net) Received: from mail.geek.sh (decoder.geek.sh [196.36.198.81]) by mx1.freebsd.org (Postfix) with ESMTP id 0F9898FC19 for ; Sun, 13 Mar 2011 07:15:40 +0000 (UTC) Received: from igor.geek.sh (196-209-149-233.dynamic.isadsl.co.za [196.209.149.233]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.geek.sh (Postfix) with ESMTPSA id D415E3B2E8 for ; Sun, 13 Mar 2011 09:07:57 +0200 (SAST) Message-ID: <4D7C6D4C.4000608@phat.za.net> Date: Sun, 13 Mar 2011 09:07:56 +0200 From: Aragon Gouveia User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100725 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-acpi@freebsd.org References: <4D7C6BEF.9070303@phat.za.net> In-Reply-To: <4D7C6BEF.9070303@phat.za.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: C2/C3 states cause poor TCP performance with re(4) 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, 13 Mar 2011 07:15:41 -0000 On 03/13/11 09:02, Aragon Gouveia wrote: > This system is tuned using mav@'s tuning guide: > > http://wiki.freebsd.org/TuningPowerConsumption Additional info: 8.2-RELEASE # grep ^re0 /var/run/dmesg.boot re0: port 0xe800-0xe8ff mem 0xfafff000-0xfaffffff,0xfaff8000-0xfaffbfff irq 18 at device 0.0 on pci3 re0: Using 1 MSI messages re0: Chip rev. 0x28000000 re0: MAC rev. 0x00000000 re0: Ethernet address: 00:01:2e:2f:82:7f re0: [FILTER] # cat /boot/loader.conf autoboot_delay="4" hw.pci.do_power_nodriver=3 kern.hz="100" hint.p4tcc.0.disabled="1" hint.acpi_throttle.0.disabled="1" hint.apic.0.clock="0" hint.atrtc.0.clock="0" hint.ahcich.0.pm_level=3 hint.ahcich.1.pm_level=3 hint.ahcich.2.pm_level=3 hint.ahcich.3.pm_level=3 hint.ahcich.4.pm_level=3 hint.ahcich.5.pm_level=3 hint.ahcich.6.pm_level=3 dev.cpu.0.freq: 1200 dev.cpu.0.freq_levels: 3200/73000 3067/64000 2933/58000 2800/52000 2667/47000 2533/43000 2400/38000 2267/34000 2133/30000 2000/28000 1867/25000 1733/23000 1600/21000 1467/19000 1333/18000 1200/16000 dev.cpu.0.cx_supported: C1/32 C2/96 C3/128 dev.cpu.0.cx_lowest: C3 dev.cpu.0.cx_usage: 0.08% 0.02% 99.89% last 3939us From owner-freebsd-acpi@FreeBSD.ORG Sun Mar 13 07:20:41 2011 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 A632F1065670 for ; Sun, 13 Mar 2011 07:20:41 +0000 (UTC) (envelope-from aragon@phat.za.net) Received: from mail.geek.sh (decoder.geek.sh [196.36.198.81]) by mx1.freebsd.org (Postfix) with ESMTP id 3EE718FC1A for ; Sun, 13 Mar 2011 07:20:40 +0000 (UTC) Received: from igor.geek.sh (196-209-149-233.dynamic.isadsl.co.za [196.209.149.233]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.geek.sh (Postfix) with ESMTPSA id 9E80C3992D for ; Sun, 13 Mar 2011 09:02:09 +0200 (SAST) Message-ID: <4D7C6BEF.9070303@phat.za.net> Date: Sun, 13 Mar 2011 09:02:07 +0200 From: Aragon Gouveia User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100725 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: C2/C3 states cause poor TCP performance with re(4) 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, 13 Mar 2011 07:20:41 -0000 Hi, I've recently been hunting down a TCP performance issue with re(4) on a system that has C3 states enabled. In short, outgoing TCP traffic shows good performance, but incoming TCP traffic has very unstable throughput with substantial packet loss evident in a tcpdump. The same was observed with C2 states enabled. Limiting to C1 states brought performance back to normal. Can anyone confirm if this is reproducible with drivers other than re(4)? Am I expecting too much in the hope of achieving both C3 states and good performance out of re(4)? Any pointers on getting there? This system is tuned using mav@'s tuning guide: http://wiki.freebsd.org/TuningPowerConsumption Thanks, Aragon From owner-freebsd-acpi@FreeBSD.ORG Sun Mar 13 07:41:14 2011 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 0D6031065672 for ; Sun, 13 Mar 2011 07:41:14 +0000 (UTC) (envelope-from aragon@phat.za.net) Received: from mail.geek.sh (decoder.geek.sh [196.36.198.81]) by mx1.freebsd.org (Postfix) with ESMTP id 987BB8FC08 for ; Sun, 13 Mar 2011 07:41:13 +0000 (UTC) Received: from igor.geek.sh (196-209-149-233.dynamic.isadsl.co.za [196.209.149.233]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.geek.sh (Postfix) with ESMTPSA id 077C03B2D4; Sun, 13 Mar 2011 09:41:11 +0200 (SAST) Message-ID: <4D7C7516.3010608@phat.za.net> Date: Sun, 13 Mar 2011 09:41:10 +0200 From: Aragon Gouveia User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100725 Thunderbird/3.0.6 MIME-Version: 1.0 To: Thor Ablestar References: <4D7C6BEF.9070303@phat.za.net> <4D7C7404.8030300@irk.ru> In-Reply-To: <4D7C7404.8030300@irk.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: C2/C3 states cause poor TCP performance with re(4) 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, 13 Mar 2011 07:41:14 -0000 On 03/13/11 09:36, Thor Ablestar wrote: > I have some similar but unrelated problems and during googling saw the > article that states that wakeup from C3 takes significant amount of time > (57 uS). You cannot both have a zero response time and C3. >> dev.cpu.1.cx_supported: C1/1 C2/1 C3/57 > > To accelerate things you should keep 1 core in C1 and all others in C3. Makes sense, and your suggestion works too. Thanks! From owner-freebsd-acpi@FreeBSD.ORG Mon Mar 14 11:06:55 2011 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 AF32C1065675 for ; Mon, 14 Mar 2011 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 83B0D8FC22 for ; Mon, 14 Mar 2011 11:06:55 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2EB6thN002488 for ; Mon, 14 Mar 2011 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2EB6s1h002486 for freebsd-acpi@FreeBSD.org; Mon, 14 Mar 2011 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 14 Mar 2011 11:06:54 GMT Message-Id: <201103141106.p2EB6s1h002486@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, 14 Mar 2011 11:06:55 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/154955 acpi [acpi] Keyboard or ACPI doesn't work on Lenovo S10-3 o kern/152438 acpi [acpi]: patch to acpi_asus(4) to add extra sysctls for o kern/152098 acpi [acpi] Lenovo T61p does not resume o i386/146715 acpi [acpi] Suspend works, resume not on a HP Probook 4510s o kern/145306 acpi [acpi]: Can't change brightness on HP ProBook 4510s o i386/144045 acpi [acpi] [panic] kernel trap with acpi enabled o i386/143798 acpi [acpi] shutdown problem with SiS K7S5A o kern/143420 acpi [acpi] ACPI issues with Toshiba o kern/142263 acpi [acpi] ACPI regression on Asus K8N7-E deluxe motherboa o kern/142009 acpi [acpi] [panic] Panic in AcpiNsGetAttachedObject o amd64/140751 acpi [acpi] BIOS resource allocation and FreeBSD ACPI in TO o kern/139088 acpi [acpi] ACPI Exception: AE_AML_INFINITE_LOOP error o amd64/138210 acpi [acpi] acer aspire 5536 ACPI problems (S3, brightness, o bin/137053 acpi [hang] FreeBSD 8.0 BETA2Compaq Mini 700 locks on boot o kern/137042 acpi [acpi] hp laptop's lcd not wakes up after suspend to r o i386/136008 acpi [acpi] Dell Vostro 1310 will not shutdown (Requires us o bin/135349 acpi [patch] teach acpidump(8) to disassemble arbitrary mem o kern/135070 acpi [acpi] [patch] BIOS resource allocation and FreeBSD AC o kern/132602 acpi [acpi] ACPI Problem with Intel SS4200: System does not o kern/130683 acpi [ACPI] shutdown hangs after syncing disks - ACPI race? o i386/129953 acpi [acpi] ACPI timeout (CDROM) with Shuttle X27D p kern/128634 acpi [patch] fix acpi_asus(4) in asus a6f laptop o kern/124412 acpi [acpi] power off error on Toshiba M40 laptop o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot o kern/121504 acpi [patch] Correctly set hw.acpi.osname on certain machin f kern/119356 acpi [acpi]: i386 ACPI wakeup not work due resource exhaust o kern/119200 acpi [acpi] Lid close switch suspends CPU for 1 second on H o kern/116939 acpi [acpi] PCI-to-PCI misconfigured for bus three and can o i386/114562 acpi [acpi] cardbus is dead after s3 on Thinkpad T43 with a o kern/114165 acpi [acpi] Dell C810 - ACPI problem s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/108695 acpi [acpi]: Fatal trap 9: general protection fault when in o kern/108488 acpi [acpi] ACPI-1304: *** Error: Method execution failed o kern/106924 acpi [acpi] ACPI resume returns g_vfs_done() errors and ker o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 o kern/102252 acpi acpi thermal does not work on Abit AW8D (intel 975) o i386/83018 acpi [install] Installer will not boot on Asus P4S8X BIOS 1 o kern/73823 acpi [request] acpi / power-on by timer support o i386/69750 acpi Boot without ACPI failed on ASUS L5 o kern/56024 acpi ACPI suspend drains battery while in S3 o i386/55661 acpi ACPI suspend/resume problem on ARMADA M700 41 problems total. From owner-freebsd-acpi@FreeBSD.ORG Mon Mar 14 20:50:13 2011 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 554FC106564A for ; Mon, 14 Mar 2011 20:50:13 +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 2A5F88FC12 for ; Mon, 14 Mar 2011 20:50:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2EKoCK3030546 for ; Mon, 14 Mar 2011 20:50:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2EKoCZ9030545; Mon, 14 Mar 2011 20:50:12 GMT (envelope-from gnats) Date: Mon, 14 Mar 2011 20:50:12 GMT Message-Id: <201103142050.p2EKoCZ9030545@freefall.freebsd.org> To: freebsd-acpi@FreeBSD.org From: Irina Liakh Cc: Subject: Re: kern/105537: [acpi] problems in acpi on HP Compaq nc6320 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Irina Liakh List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2011 20:50:13 -0000 The following reply was made to PR kern/105537; it has been noted by GNATS. From: Irina Liakh To: bug-followup@FreeBSD.org, emin@mccme.ru Cc: Subject: Re: kern/105537: [acpi] problems in acpi on HP Compaq nc6320 Date: Mon, 14 Mar 2011 22:23:59 +0200 I use laptop HP Compaq 530 and run 8.2-RELEASE and have the first two problems. I don't know whether the third problem exists, not using two batteries. From owner-freebsd-acpi@FreeBSD.ORG Wed Mar 16 02:28:23 2011 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 E5E28106566B for ; Wed, 16 Mar 2011 02:28:23 +0000 (UTC) (envelope-from thor@irk.ru) Received: from freemail.dsi.ru (freemail.dsi.ru [195.206.40.175]) by mx1.freebsd.org (Postfix) with ESMTP id 904E98FC16 for ; Wed, 16 Mar 2011 02:28:23 +0000 (UTC) Received: from [92.124.13.70] (helo=dream.nowhere.net) by freemail.dsi.ru with esmtpa (Exim 4.74 (FreeBSD)) (envelope-from ) id 1PzgT2-000NDv-KI for freebsd-acpi@freebsd.org; Wed, 16 Mar 2011 10:28:17 +0800 Message-ID: <4D80204E.4040006@irk.ru> Date: Wed, 16 Mar 2011 10:28:30 +0800 From: Thor Ablestar User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.12) Gecko/20101028 Thunderbird/3.0.8 MIME-Version: 1.0 To: freebsd-acpi@freebsd.org References: <201103142050.p2EKoCZ9030545@freefall.freebsd.org> In-Reply-To: <201103142050.p2EKoCZ9030545@freefall.freebsd.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: kern/105537: [acpi] problems in acpi on HP Compaq nc6320 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, 16 Mar 2011 02:28:24 -0000 On 03/15/11 04:50, Irina Liakh wrote: > Subject: Re: kern/105537: [acpi] problems in acpi on HP Compaq nc6320 > Date: Mon, 14 Mar 2011 22:23:59 +0200 > > acpi_tz0: _CRT value is absurd, ignored (256.0C) It's more of a nuisance than a problem but I experienced the _CRT=absolute zero (so my notebook is really cool): You may try something like sysctl hw.acpi.thermal.user_override=1 sysctl hw.acpi.thermal.tz0._CRT=100.0C (don't forget C since this number is natively in tenth of kelvins) sysctl hw.acpi.thermal.user_override=0 but prepare to 2 things: severe underclocking while user_override=1 and possible thermal shutdown while you fiddle with anything *tz0._* You have been warned. For more info about semantics of *tz0._* see the acpi specs Thor From owner-freebsd-acpi@FreeBSD.ORG Wed Mar 16 09:15:22 2011 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 228C71065670 for ; Wed, 16 Mar 2011 09:15:22 +0000 (UTC) (envelope-from micro@heavennet.ru) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id B89AA8FC12 for ; Wed, 16 Mar 2011 09:15:21 +0000 (UTC) Received: by fxm11 with SMTP id 11so1640023fxm.13 for ; Wed, 16 Mar 2011 02:15:20 -0700 (PDT) Received: by 10.223.112.16 with SMTP id u16mr589191fap.120.1300265577432; Wed, 16 Mar 2011 01:52:57 -0700 (PDT) Received: from localhost ([188.128.115.228]) by mx.google.com with ESMTPS id 17sm291796far.43.2011.03.16.01.52.55 (version=SSLv3 cipher=OTHER); Wed, 16 Mar 2011 01:52:56 -0700 (PDT) Date: Wed, 16 Mar 2011 11:52:54 +0300 From: "Ilya A. Archipov" To: freebsd-acpi@FreeBSD.org Message-ID: <20110316115254.59f8b6f7@heavennet.ru> Organization: M1cRO Inc. X-Mailer: Claws Mail 3.7.6 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Panic after update kernel 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, 16 Mar 2011 09:15:22 -0000 hi all acpi@ now i have: micro[11:43]> uname -a FreeBSD micro 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r216094M: Wed Dec 1 12:36:49 MSK 2010 root@micro:/usr/obj/usr/src/head/sys/MICROKERNEL amd64=20 today build && install kernel micro[11:43]> svn info /usr/src=20 Path: /usr/src URL: svn://svn.freebsd.org/base/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 219480 Node Kind: directory Schedule: normal Last Changed Author: adrian Last Changed Rev: 219480 Last Changed Date: 2011-03-11 14:35:36 +0300 (=D0=BF=D1=82, 11 =D0=BC=D0=B0= =D1=80 2011) and see: http://imm.io/4nzZ what information still needs to provide? ---- Best Regards Ilya A. Arhipov From owner-freebsd-acpi@FreeBSD.ORG Wed Mar 16 13:16:29 2011 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 0D12B106566C for ; Wed, 16 Mar 2011 13:16:29 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 3A4F48FC18 for ; Wed, 16 Mar 2011 13:16:27 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA04654; Wed, 16 Mar 2011 15:16:23 +0200 (EET) (envelope-from avg@freebsd.org) Message-ID: <4D80B826.6060402@freebsd.org> Date: Wed, 16 Mar 2011 15:16:22 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: "Ilya A. Archipov" References: <20110316115254.59f8b6f7@heavennet.ru> In-Reply-To: <20110316115254.59f8b6f7@heavennet.ru> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: Panic after update kernel 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, 16 Mar 2011 13:16:29 -0000 on 16/03/2011 10:52 Ilya A. Archipov said the following: > and see: > http://imm.io/4nzZ > > what information still needs to provide? 'bt' command output please (a screenshot is fine). -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Wed Mar 16 14:18:20 2011 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 B0574106564A for ; Wed, 16 Mar 2011 14:18:20 +0000 (UTC) (envelope-from micro@heavennet.ru) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5E9D98FC0A for ; Wed, 16 Mar 2011 14:18:20 +0000 (UTC) Received: by qwc9 with SMTP id 9so1436266qwc.13 for ; Wed, 16 Mar 2011 07:18:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.101.36 with SMTP id a36mr57924qco.74.1300285099442; Wed, 16 Mar 2011 07:18:19 -0700 (PDT) Received: by 10.229.91.195 with HTTP; Wed, 16 Mar 2011 07:18:19 -0700 (PDT) In-Reply-To: <4D80B826.6060402@freebsd.org> References: <20110316115254.59f8b6f7@heavennet.ru> <4D80B826.6060402@freebsd.org> Date: Wed, 16 Mar 2011 17:18:19 +0300 Message-ID: From: "Ilya A. Arhipov" To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-acpi@freebsd.org Subject: Re: Panic after update kernel 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, 16 Mar 2011 14:18:20 -0000 2011/3/16 Andriy Gapon > on 16/03/2011 10:52 Ilya A. Archipov said the following: > > and see: > > http://imm.io/4nzZ > > > > what information still needs to provide? > > 'bt' command output please (a screenshot is fine). > > -- > Andriy Gapon > boot: http://imm.io/4nTZ bt: http://imm.io/4nTS <-first http://imm.io/4nUd <-last -- Best regard. Ilya A. Arhipov From owner-freebsd-acpi@FreeBSD.ORG Wed Mar 16 15:12:05 2011 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 E4484106567B; Wed, 16 Mar 2011 15:12:05 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 02C018FC28; Wed, 16 Mar 2011 15:12:04 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA06741; Wed, 16 Mar 2011 17:12:00 +0200 (EET) (envelope-from avg@freebsd.org) Message-ID: <4D80D340.6080804@freebsd.org> Date: Wed, 16 Mar 2011 17:12:00 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: "Ilya A. Arhipov" , Jung-uk Kim , "Moore, Robert" References: <20110316115254.59f8b6f7@heavennet.ru> <4D80B826.6060402@freebsd.org> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: Panic after update kernel 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, 16 Mar 2011 15:12:06 -0000 on 16/03/2011 16:18 Ilya A. Arhipov said the following: > 2011/3/16 Andriy Gapon > > > on 16/03/2011 10:52 Ilya A. Archipov said the following: > > and see: > > http://imm.io/4nzZ > > > > what information still needs to provide? > > 'bt' command output please (a screenshot is fine). > > -- > Andriy Gapon > > > boot: > http://imm.io/4nTZ > bt: > http://imm.io/4nTS <-first > http://imm.io/4nUd <-last So the panic is that we acquire a regular (non-spin) mutex in an interrupt context. Not sure if this is a FreeBSD issue (implementation of ACPI semaphore) or some ACPICA issue (e.g. doing something wrong in an interrupt handler). Jung-uk, Robert, can you please take a look? Thanks! -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Wed Mar 16 17:30:17 2011 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 536DF106564A for ; Wed, 16 Mar 2011 17:30:17 +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 27F3C8FC0A for ; Wed, 16 Mar 2011 17:30:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2GHUG8Z064992 for ; Wed, 16 Mar 2011 17:30:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2GHUGqB064989; Wed, 16 Mar 2011 17:30:16 GMT (envelope-from gnats) Date: Wed, 16 Mar 2011 17:30:16 GMT Message-Id: <201103161730.p2GHUGqB064989@freefall.freebsd.org> To: freebsd-acpi@FreeBSD.org From: Andriy Gapon Cc: Subject: Re: kern/142263: [acpi] ACPI regression on Asus K8N7-E deluxe motherboard with 8-stable [regression] X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andriy Gapon List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2011 17:30:17 -0000 The following reply was made to PR kern/142263; it has been noted by GNATS. From: Andriy Gapon To: bug-followup@freebsd.org, olivier@cochard.me Cc: Subject: Re: kern/142263: [acpi] ACPI regression on Asus K8N7-E deluxe motherboard with 8-stable [regression] Date: Wed, 16 Mar 2011 19:22:50 +0200 Could you please try recent 8-stable or 8.2 release with the following line in loader.conf? hw.pci.usb_early_takeover="0" Thanks! -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Wed Mar 16 21:17:22 2011 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 4567F106564A for ; Wed, 16 Mar 2011 21:17:22 +0000 (UTC) (envelope-from fbsd@opal.com) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) by mx1.freebsd.org (Postfix) with ESMTP id 033678FC1E for ; Wed, 16 Mar 2011 21:17:21 +0000 (UTC) Received: from pool-141-154-217-103.bos.east.verizon.net ([141.154.217.103] helo=homobox.opal.com) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1PzxiB-000NnB-RZ for freebsd-acpi@freebsd.org; Wed, 16 Mar 2011 20:52:56 +0000 Received: from opal.com (localhost [IPv6:::1]) by homobox.opal.com (8.14.4/8.14.4) with ESMTP id p2GKqs8w099074 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 16 Mar 2011 16:52:54 -0400 (EDT) (envelope-from fbsd@opal.com) Received: from homobox.opal.com ([127.0.0.1] helo=homobox.opal.com) with IPv4:25 by opal.com; 16 Mar 2011 16:52:54 -0400 Received: (from www@localhost) by homobox.opal.com (8.14.4/8.14.4/Submit) id p2GKqsdG099073; Wed, 16 Mar 2011 16:52:54 -0400 (EDT) (envelope-from fbsd@opal.com) X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 141.154.217.103 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/PQZsvNSjkqXiJIllN7fDZ X-Authentication-Warning: homobox.opal.com: www set sender to fbsd@opal.com using -f To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 16 Mar 2011 16:52:54 -0400 From: "J.R. Oldroyd" Message-ID: <8281908fbf8b755d07c38384cf4026bf@opal.com> X-Sender: fbsd@opal.com User-Agent: Roundcube Webmail/0.5.1 Subject: EmbeddedControl errors on Toshiba L675 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, 16 Mar 2011 21:17:22 -0000 Booting 8.2 GENERIC on a Toshiba L675 produces a series of ACPI errors about EmbeddedControl and the boot fails. I've attached the dmesg and the dsdt. I can get it to boot by adding "debug.acpi.disabled="ec" but the messages persist. Can anyone offer any help with this, please? Thanks, From owner-freebsd-acpi@FreeBSD.ORG Wed Mar 16 21:50:54 2011 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 0AC921065676 for ; Wed, 16 Mar 2011 21:50:54 +0000 (UTC) (envelope-from fbsd@opal.com) Received: from mho-01-ewr.mailhop.org (mho-01-ewr.mailhop.org [204.13.248.71]) by mx1.freebsd.org (Postfix) with ESMTP id D07198FC0C for ; Wed, 16 Mar 2011 21:50:53 +0000 (UTC) Received: from pool-141-154-217-103.bos.east.verizon.net ([141.154.217.103] helo=homobox.opal.com) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1PzyJG-000AK8-Ui for freebsd-acpi@freebsd.org; Wed, 16 Mar 2011 21:31:15 +0000 Received: from opal.com (localhost [IPv6:::1]) (authenticated bits=0) by homobox.opal.com (8.14.4/8.14.4) with ESMTP id p2GLop51099811 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 16 Mar 2011 17:50:51 -0400 (EDT) (envelope-from fbsd@opal.com) Received: from shibato.opal.com ([2001:470:8cb8:3:221:63ff:fe5a:c9a7] helo=shibato.opal.com) with IPv6:587 by opal.com; 16 Mar 2011 17:50:51 -0400 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 141.154.217.103 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/JxtnqMUE2z/2luOL+D0Tt Date: Wed, 16 Mar 2011 17:50:51 -0400 From: "J.R. Oldroyd" To: Message-ID: <20110316175051.17bcb501@shibato.opal.com> In-Reply-To: <8281908fbf8b755d07c38384cf4026bf@opal.com> References: <8281908fbf8b755d07c38384cf4026bf@opal.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: EmbeddedControl errors on Toshiba L675 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, 16 Mar 2011 21:50:54 -0000 On Wed, 16 Mar 2011 16:52:54 -0400, "J.R. Oldroyd" wrote: > > Booting 8.2 GENERIC on a Toshiba L675 produces a series of ACPI errors > about EmbeddedControl and the boot fails. > > I've attached the dmesg and the dsdt. > > I can get it to boot by adding "debug.acpi.disabled="ec" but the > messages > persist. > > Can anyone offer any help with this, please? > > Thanks, > Having some trouble here with message size limits on the mailing list. The two files are here: http://opal.com/jr/toshiba_l675/toshiba_l675.dmesg http://opal.com/jr/toshiba_l675/toshiba_l675.dsdt -jr From owner-freebsd-acpi@FreeBSD.ORG Wed Mar 16 22:22:48 2011 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 2F122106566C; Wed, 16 Mar 2011 22:22:48 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Andriy Gapon Date: Wed, 16 Mar 2011 18:22:17 -0400 User-Agent: KMail/1.6.2 References: <20110316115254.59f8b6f7@heavennet.ru> <4D80D340.6080804@freebsd.org> In-Reply-To: <4D80D340.6080804@freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103161822.40131.jkim@FreeBSD.org> Cc: "Ilya A. Arhipov" , freebsd-acpi@freebsd.org, "Moore, Robert" Subject: Re: Panic after update kernel 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, 16 Mar 2011 22:22:48 -0000 On Wednesday 16 March 2011 11:12 am, Andriy Gapon wrote: > on 16/03/2011 16:18 Ilya A. Arhipov said the following: > > 2011/3/16 Andriy Gapon > > > > > on 16/03/2011 10:52 Ilya A. Archipov said the following: > > > and see: > > > http://imm.io/4nzZ > > > > > > what information still needs to provide? > > > > 'bt' command output please (a screenshot is fine). > > > > -- > > Andriy Gapon > > > > > > boot: > > http://imm.io/4nTZ > > bt: > > http://imm.io/4nTS <-first > > http://imm.io/4nUd <-last > > So the panic is that we acquire a regular (non-spin) mutex in an > interrupt context. Not sure if this is a FreeBSD issue > (implementation of ACPI semaphore) or some ACPICA issue (e.g. doing > something wrong in an interrupt handler). > > Jung-uk, Robert, can you please take a look? _GL_ creates a semaphore and this semaphore is exclusively used in interrupt context. Also, it is always used to wait forever if it cannot acquire the necessary global lock. This is really bad for us because a semaphore requires a lock object to prevent sleeping forever without being waken up. Only workaround I can think of is to turn AcpiOsWaitSemaphore() & AcpiOsSignalSemaphore() into tsleep(9) & wakeup(9) because that's exactly what it wants to do, it seems. JK From owner-freebsd-acpi@FreeBSD.ORG Wed Mar 16 23:49:16 2011 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 3AF341065670; Wed, 16 Mar 2011 23:49:16 +0000 (UTC) (envelope-from robert.moore@intel.com) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx1.freebsd.org (Postfix) with ESMTP id 067D78FC0A; Wed, 16 Mar 2011 23:49:15 +0000 (UTC) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 16 Mar 2011 16:49:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.63,196,1299484800"; d="scan'208";a="720972475" Received: from orsmsx602.amr.corp.intel.com ([10.22.226.211]) by orsmga001.jf.intel.com with ESMTP; 16 Mar 2011 16:49:15 -0700 Received: from orsmsx503.amr.corp.intel.com ([10.22.226.47]) by orsmsx602.amr.corp.intel.com ([10.22.226.211]) with mapi; Wed, 16 Mar 2011 16:49:15 -0700 From: "Moore, Robert" To: Jung-uk Kim , Andriy Gapon Date: Wed, 16 Mar 2011 16:49:14 -0700 Thread-Topic: Panic after update kernel Thread-Index: AcvkKK8PmR5PKKtrTdahThYdQ+TPKAADAH4g Message-ID: <4911F71203A09E4D9981D27F9D830858CAD03779@orsmsx503.amr.corp.intel.com> References: <20110316115254.59f8b6f7@heavennet.ru> <4D80D340.6080804@freebsd.org> <201103161822.40131.jkim@FreeBSD.org> In-Reply-To: <201103161822.40131.jkim@FreeBSD.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "Ilya A. Arhipov" , "freebsd-acpi@freebsd.org" Subject: RE: Panic after update kernel 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, 16 Mar 2011 23:49:16 -0000 The latest version of acpica released today (20110316) should fix this issu= e for you. Bob >-----Original Message----- >From: Jung-uk Kim [mailto:jkim@FreeBSD.org] >Sent: Wednesday, March 16, 2011 3:22 PM >To: Andriy Gapon >Cc: Ilya A. Arhipov; Moore, Robert; freebsd-acpi@freebsd.org >Subject: Re: Panic after update kernel > >On Wednesday 16 March 2011 11:12 am, Andriy Gapon wrote: >> on 16/03/2011 16:18 Ilya A. Arhipov said the following: >> > 2011/3/16 Andriy Gapon > >> > >> > on 16/03/2011 10:52 Ilya A. Archipov said the following: >> > > and see: >> > > http://imm.io/4nzZ >> > > >> > > what information still needs to provide? >> > >> > 'bt' command output please (a screenshot is fine). >> > >> > -- >> > Andriy Gapon >> > >> > >> > boot: >> > http://imm.io/4nTZ >> > bt: >> > http://imm.io/4nTS <-first >> > http://imm.io/4nUd <-last >> >> So the panic is that we acquire a regular (non-spin) mutex in an >> interrupt context. Not sure if this is a FreeBSD issue >> (implementation of ACPI semaphore) or some ACPICA issue (e.g. doing >> something wrong in an interrupt handler). >> >> Jung-uk, Robert, can you please take a look? > >_GL_ creates a semaphore and this semaphore is exclusively used in >interrupt context. Also, it is always used to wait forever if it >cannot acquire the necessary global lock. This is really bad for us >because a semaphore requires a lock object to prevent sleeping >forever without being waken up. Only workaround I can think of is to >turn AcpiOsWaitSemaphore() & AcpiOsSignalSemaphore() into tsleep(9) & >wakeup(9) because that's exactly what it wants to do, it seems. > >JK From owner-freebsd-acpi@FreeBSD.ORG Thu Mar 17 00:32:32 2011 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 16293106566B; Thu, 17 Mar 2011 00:32:32 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-acpi@FreeBSD.org Date: Wed, 16 Mar 2011 20:32:22 -0400 User-Agent: KMail/1.6.2 References: <20110316115254.59f8b6f7@heavennet.ru> <201103161822.40131.jkim@FreeBSD.org> <4911F71203A09E4D9981D27F9D830858CAD03779@orsmsx503.amr.corp.intel.com> In-Reply-To: <4911F71203A09E4D9981D27F9D830858CAD03779@orsmsx503.amr.corp.intel.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103162032.23801.jkim@FreeBSD.org> Cc: "Ilya A. Arhipov" , "Moore, Robert" , Andriy Gapon Subject: Re: Panic after update kernel 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: Thu, 17 Mar 2011 00:32:32 -0000 On Wednesday 16 March 2011 07:49 pm, Moore, Robert wrote: > The latest version of acpica released today (20110316) should fix > this issue for you. Cool! I just committed it on HEAD now. Please try it and let us know. Thanks! Jung-uk Kim > Bob > > >-----Original Message----- > >From: Jung-uk Kim [mailto:jkim@FreeBSD.org] > >Sent: Wednesday, March 16, 2011 3:22 PM > >To: Andriy Gapon > >Cc: Ilya A. Arhipov; Moore, Robert; freebsd-acpi@freebsd.org > >Subject: Re: Panic after update kernel > > > >On Wednesday 16 March 2011 11:12 am, Andriy Gapon wrote: > >> on 16/03/2011 16:18 Ilya A. Arhipov said the following: > >> > 2011/3/16 Andriy Gapon >> > > > >> > > >> > on 16/03/2011 10:52 Ilya A. Archipov said the following: > >> > > and see: > >> > > http://imm.io/4nzZ > >> > > > >> > > what information still needs to provide? > >> > > >> > 'bt' command output please (a screenshot is fine). > >> > > >> > -- > >> > Andriy Gapon > >> > > >> > > >> > boot: > >> > http://imm.io/4nTZ > >> > bt: > >> > http://imm.io/4nTS <-first > >> > http://imm.io/4nUd <-last > >> > >> So the panic is that we acquire a regular (non-spin) mutex in an > >> interrupt context. Not sure if this is a FreeBSD issue > >> (implementation of ACPI semaphore) or some ACPICA issue (e.g. > >> doing something wrong in an interrupt handler). > >> > >> Jung-uk, Robert, can you please take a look? > > > >_GL_ creates a semaphore and this semaphore is exclusively used in > >interrupt context. Also, it is always used to wait forever if it > >cannot acquire the necessary global lock. This is really bad for > > us because a semaphore requires a lock object to prevent sleeping > > forever without being waken up. Only workaround I can think of > > is to turn AcpiOsWaitSemaphore() & AcpiOsSignalSemaphore() into > > tsleep(9) & wakeup(9) because that's exactly what it wants to do, > > it seems. > > > >JK > > _______________________________________________ > 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" From owner-freebsd-acpi@FreeBSD.ORG Thu Mar 17 08:08:17 2011 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 708FA1065670; Thu, 17 Mar 2011 08:08:17 +0000 (UTC) (envelope-from micro@heavennet.ru) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id D11268FC13; Thu, 17 Mar 2011 08:08:16 +0000 (UTC) Received: by bwz12 with SMTP id 12so2493648bwz.13 for ; Thu, 17 Mar 2011 01:08:15 -0700 (PDT) Received: by 10.204.32.65 with SMTP id b1mr836297bkd.73.1300349295155; Thu, 17 Mar 2011 01:08:15 -0700 (PDT) Received: from localhost ([188.128.115.228]) by mx.google.com with ESMTPS id j13sm362918faa.3.2011.03.17.01.08.12 (version=SSLv3 cipher=OTHER); Thu, 17 Mar 2011 01:08:14 -0700 (PDT) Date: Thu, 17 Mar 2011 11:08:12 +0300 From: "Ilya A. Archipov" To: Jung-uk Kim Message-ID: <20110317110812.5f25980b@heavennet.ru> In-Reply-To: <201103162032.23801.jkim@FreeBSD.org> References: <20110316115254.59f8b6f7@heavennet.ru> <201103161822.40131.jkim@FreeBSD.org> <4911F71203A09E4D9981D27F9D830858CAD03779@orsmsx503.amr.corp.intel.com> <201103162032.23801.jkim@FreeBSD.org> Organization: M1cRO Inc. X-Mailer: Claws Mail 3.7.6 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org, "Moore, Robert" , Andriy Gapon Subject: Re: Panic after update kernel 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: Thu, 17 Mar 2011 08:08:17 -0000 > On Wednesday 16 March 2011 07:49 pm, Moore, Robert wrote: > > The latest version of acpica released today (20110316) should fix > > this issue for you. > > Cool! > > I just committed it on HEAD now. Please try it and let us know. > > Thanks! > > Jung-uk Kim > Big thx it's work for me ;) ---- Best Regards Ilya A. Arhipov > > Bob > > > > >-----Original Message----- > > >From: Jung-uk Kim [mailto:jkim@FreeBSD.org] > > >Sent: Wednesday, March 16, 2011 3:22 PM > > >To: Andriy Gapon > > >Cc: Ilya A. Arhipov; Moore, Robert; freebsd-acpi@freebsd.org > > >Subject: Re: Panic after update kernel > > > > > >On Wednesday 16 March 2011 11:12 am, Andriy Gapon wrote: > > >> on 16/03/2011 16:18 Ilya A. Arhipov said the following: > > >> > 2011/3/16 Andriy Gapon > >> > > > > >> > > > >> > on 16/03/2011 10:52 Ilya A. Archipov said the following: > > >> > > and see: > > >> > > http://imm.io/4nzZ > > >> > > > > >> > > what information still needs to provide? > > >> > > > >> > 'bt' command output please (a screenshot is fine). > > >> > > > >> > -- > > >> > Andriy Gapon > > >> > > > >> > > > >> > boot: > > >> > http://imm.io/4nTZ > > >> > bt: > > >> > http://imm.io/4nTS <-first > > >> > http://imm.io/4nUd <-last > > >> > > >> So the panic is that we acquire a regular (non-spin) mutex in an > > >> interrupt context. Not sure if this is a FreeBSD issue > > >> (implementation of ACPI semaphore) or some ACPICA issue (e.g. > > >> doing something wrong in an interrupt handler). > > >> > > >> Jung-uk, Robert, can you please take a look? > > > > > >_GL_ creates a semaphore and this semaphore is exclusively used in > > >interrupt context. Also, it is always used to wait forever if it > > >cannot acquire the necessary global lock. This is really bad for > > > us because a semaphore requires a lock object to prevent sleeping > > > forever without being waken up. Only workaround I can think of > > > is to turn AcpiOsWaitSemaphore() & AcpiOsSignalSemaphore() into > > > tsleep(9) & wakeup(9) because that's exactly what it wants to do, > > > it seems. > > > > > >JK > > > > _______________________________________________ > > 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" From owner-freebsd-acpi@FreeBSD.ORG Fri Mar 18 12:35:04 2011 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 17B0C106564A for ; Fri, 18 Mar 2011 12:35:04 +0000 (UTC) (envelope-from thor@irk.ru) Received: from freemail.dsi.ru (freemail.dsi.ru [195.206.40.175]) by mx1.freebsd.org (Postfix) with ESMTP id B0E198FC14 for ; Fri, 18 Mar 2011 12:35:03 +0000 (UTC) Received: from [92.124.31.181] (helo=dream.nowhere.net) by freemail.dsi.ru with esmtpa (Exim 4.74 (FreeBSD)) (envelope-from ) id 1Q0YtR-000Dv2-Fb for freebsd-acpi@FreeBSD.org; Fri, 18 Mar 2011 20:35:01 +0800 Message-ID: <4D8351A6.5020909@irk.ru> Date: Fri, 18 Mar 2011 20:35:50 +0800 From: Thor Ablestar User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.12) Gecko/20101028 Thunderbird/3.0.8 MIME-Version: 1.0 To: freebsd-acpi@FreeBSD.org References: <4D7A2CB8.1080607@irk.ru> In-Reply-To: <4D7A2CB8.1080607@irk.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: HP Pavilion DV6 overheats under FreeBSD 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, 18 Mar 2011 12:35:04 -0000 Hello! On 03/11/11 22:07, Thor Ablestar wrote: > Hello! > > Notebook HP Pavilion DV6-3109er (Mobile Phenom II x4, double Mobility > Radeon) keeps processor temperature about 60 degC under FreeBSD > 8.2-RELEASE GENERIC kernel, and under custom kernel with device > acpi_video and acpi_hp. The battery life is probably 80 minutes, > system fan works at low RPM. > Data files are (If my Apache is OK) > http://plasmodius.dyndns.org/pavilion - if not, make me know. I have looked at the guts of my asl and have found basically the following: If (_OSI ("Windows 2006")) { Store (0x40, TPOS) } and the lot of "If (LEqual (TPOS, 0x40))" everywhere, including thermal and video sections. Can it mean that some functions I need are specifically Windows-only and intentionally disabled in other systems (add Windows conspiration paranoid to taste)? Thor From owner-freebsd-acpi@FreeBSD.ORG Fri Mar 18 14:13:34 2011 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 B26F71065670 for ; Fri, 18 Mar 2011 14:13:34 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 064C18FC08 for ; Fri, 18 Mar 2011 14:13:33 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA15556; Fri, 18 Mar 2011 16:12:52 +0200 (EET) (envelope-from avg@freebsd.org) Message-ID: <4D836863.6020509@freebsd.org> Date: Fri, 18 Mar 2011 16:12:51 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Thor Ablestar References: <4D7A2CB8.1080607@irk.ru> <4D8351A6.5020909@irk.ru> In-Reply-To: <4D8351A6.5020909@irk.ru> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: HP Pavilion DV6 overheats under FreeBSD 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, 18 Mar 2011 14:13:34 -0000 on 18/03/2011 14:35 Thor Ablestar said the following: > Hello! > > On 03/11/11 22:07, Thor Ablestar wrote: >> Hello! >> >> Notebook HP Pavilion DV6-3109er (Mobile Phenom II x4, double Mobility Radeon) >> keeps processor temperature about 60 degC under FreeBSD 8.2-RELEASE GENERIC >> kernel, and under custom kernel with device acpi_video and acpi_hp. The battery >> life is probably 80 minutes, system fan works at low RPM. >> Data files are (If my Apache is OK) http://plasmodius.dyndns.org/pavilion - if >> not, make me know. > I have looked at the guts of my asl and have found basically the following: > > If (_OSI ("Windows 2006")) > { > Store (0x40, TPOS) > } > > > and the lot of "If (LEqual (TPOS, 0x40))" everywhere, including thermal and video > sections. > > Can it mean that some functions I need are specifically Windows-only and > intentionally disabled in other systems (add Windows conspiration paranoid to taste)? FreeBSD, or to be precise the ACPICA version in FreeBSD, should return true in that query. -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Sat Mar 19 15:23:22 2011 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 4BB891065678 for ; Sat, 19 Mar 2011 15:23:22 +0000 (UTC) (envelope-from thor@irk.ru) Received: from freemail.dsi.ru (freemail.dsi.ru [195.206.40.175]) by mx1.freebsd.org (Postfix) with ESMTP id E1D908FC14 for ; Sat, 19 Mar 2011 15:23:21 +0000 (UTC) Received: from [92.124.41.249] (helo=dream.nowhere.net) by freemail.dsi.ru with esmtpa (Exim 4.74 (FreeBSD)) (envelope-from ) id 1Q0xzr-000Ils-Jf for freebsd-acpi@freebsd.org; Sat, 19 Mar 2011 23:23:19 +0800 Message-ID: <4D84CA9E.6020000@irk.ru> Date: Sat, 19 Mar 2011 23:24:14 +0800 From: Thor Ablestar User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.12) Gecko/20101028 Thunderbird/3.0.8 MIME-Version: 1.0 To: freebsd-acpi@freebsd.org References: <4D7A2CB8.1080607@irk.ru> <4D8351A6.5020909@irk.ru> <4D836863.6020509@freebsd.org> In-Reply-To: <4D836863.6020509@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: HP Pavilion DV6 overheats under FreeBSD 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, 19 Mar 2011 15:23:22 -0000 Hello! One more question: In my .asl I basically see the following: Method (_PTS, 1, NotSerialized) { // Some text skipped If (LEqual (Arg0, 0x03)) { S34E () Store (Zero, \_SB.PCI0.SMBS.G52O) Store (Zero, \_SB.PCI0.SMBS.G53O) Store (One, \_SB.PCI0.SMBS.G99S) Store (0x53, IO80) \_SB.S80H (0x53) Store (One, \_SB.PCI0.SMBS.SLPS) } Also, I don't see "_GTS". Does it mean that the text above is _THE_ code that transfers the machine to the state when everything except the system memory and possibly the processor itself off, and since this text is too short, it turns off the system non-selectively and I should look for selective powerdown elsewhere? Thor From owner-freebsd-acpi@FreeBSD.ORG Sat Mar 19 20:29:57 2011 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 E234A106564A for ; Sat, 19 Mar 2011 20:29:57 +0000 (UTC) (envelope-from fbsd@opal.com) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) by mx1.freebsd.org (Postfix) with ESMTP id B87B48FC1B for ; Sat, 19 Mar 2011 20:29:57 +0000 (UTC) Received: from pool-141-154-217-103.bos.east.verizon.net ([141.154.217.103] helo=homobox.opal.com) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Q12ma-0003GV-TC for freebsd-acpi@freebsd.org; Sat, 19 Mar 2011 20:29:57 +0000 Received: from opal.com (localhost [IPv6:::1]) (authenticated bits=0) by homobox.opal.com (8.14.4/8.14.4) with ESMTP id p2JKTsFj087266 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 19 Mar 2011 16:29:55 -0400 (EDT) (envelope-from fbsd@opal.com) Received: from shibato.opal.com ([173.77.125.60] helo=shibato.opal.com) with IPv4:587 by opal.com; 19 Mar 2011 16:29:54 -0400 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 141.154.217.103 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18HSp/ufNkWC17LiaeYLE3F Date: Sat, 19 Mar 2011 16:29:52 -0400 From: "J.R. Oldroyd" Cc: Message-ID: <20110319162952.0013ee3c@shibato.opal.com> In-Reply-To: <20110316175051.17bcb501@shibato.opal.com> References: <8281908fbf8b755d07c38384cf4026bf@opal.com> <20110316175051.17bcb501@shibato.opal.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: ACPI issues on Toshiba L675 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, 19 Mar 2011 20:29:58 -0000 Following up on my earlier message, there's another ACPI issue on this laptop. 1. First issue is all the EmbeddedControl errors that cause the boot to fail unless debug.acpi.disabled="ec" is set, as documented in the earlier message. 2. Second issue is that the S3 suspend/resume does work inasmuch as the system does suspend and the screen/keyboard/mouse/disk do work after resume. But, after resume, the built-in re(4) Ethernet no longer works, nor do any USB devices. After the suspend, there are these log entries: Mar 17 00:15:33 spc kernel: re0: reset never completed! Mar 17 00:15:33 spc kernel: re0: PHY write failed Mar 17 00:15:33 spc last message repeated 4 times Mar 17 00:15:34 spc kernel: usb_alloc_device: set address 2 failed (USB_ERR_STALLED, ignored) After the resume, there are no messages about re0, but there are messages about USB: Mar 17 00:15:38 spc kernel: usb_dev_resume_peer: Resuming port failed Mar 17 00:15:38 spc root: Unknown USB device: vendor 0x04f2 product 0xb1d6 bus uhub3 Mar 17 00:15:38 spc root: Unknown USB device: vendor 0x04f2 product 0xb1d6 bus uhub3 Mar 17 00:15:39 spc root: Unknown USB device: vendor 0x0bda product 0x0138 bus uhub3 After resume, a usbconfig command does still list all the attached USB devices. I've played with sending usb suspend, resume and reset commands after the resume but to no avail. The re(4) and the USB bus did work fine before the suspend/resume cycle, btw. Any suggestions on how to get this to work? Or further info I can provide to assist? Thanks, -jr http://opal.com/jr/toshiba_l675/toshiba_l675.dmesg http://opal.com/jr/toshiba_l675/toshiba_l675.dsdt http://opal.com/jr/toshiba_l675/toshiba_l675.hw.acpi http://opal.com/jr/toshiba_l675/toshiba_l675.pci http://opal.com/jr/toshiba_l675/toshiba_l675.usb