From owner-freebsd-acpi@FreeBSD.ORG Sun Nov 11 02:48:55 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 5006D16A419 for ; Sun, 11 Nov 2007 02:48:55 +0000 (UTC) (envelope-from chardon.frederic@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.freebsd.org (Postfix) with ESMTP id B19D613C48E for ; Sun, 11 Nov 2007 02:48:54 +0000 (UTC) (envelope-from chardon.frederic@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so528376pyb for ; Sat, 10 Nov 2007 18:48:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=BSW7OT7eXLTqHtUx8pIC7QGXgKL9puqkV9sNDJIbdr8=; b=EGt9YTXmnYVdMGCUWUNJ1ZMbNTatIu5skKJyd+H1f03UCt8NNG+Q8QKhAD1HGCBwlC/Wui9m80OJLuDyw9Wp1379FFY5uMg0z+OIMeSFGeiBCqhWFSkKjtDgJ1tizTsRaC0MtxC4l3KKrLpdAQQBhXTrjSNT2qYx1Rs8oSsaBxs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Wim/Q0f/gVX7hj/NE+Zh7hvZZPsQhGmH4OStnNEtcSmLnhDVFt7AQcMrqTX2uuCQhMwNr+97nPxuxKwG6oTg7icN9++Q6+5gqayf5jYQc7VR1S+HJHf6PSwnp9bC7pfv4mFMk/tXyuyAN8UeC/jeIBlKimHJ3sN/+MxDe7x30oA= Received: by 10.35.84.9 with SMTP id m9mr4159438pyl.1194747742919; Sat, 10 Nov 2007 18:22:22 -0800 (PST) Received: by 10.35.97.6 with HTTP; Sat, 10 Nov 2007 18:22:22 -0800 (PST) Message-ID: <8e73e8440711101822h5d39b420odeca4dfcda33799d@mail.gmail.com> Date: Sun, 11 Nov 2007 03:22:22 +0100 From: "Frederic Chardon" To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_6422_14144755.1194747742904" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: i386/79080: acpi thermal changes freezes HP nx6110 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, 11 Nov 2007 02:48:55 -0000 ------=_Part_6422_14144755.1194747742904 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello I have exactly the same problem as described here http://www.freebsd.org/cgi/query-pr.cgi?pr=79080 Acpi works in 6.2, in 6.3 works more or less (lot of error message about mutexes), I didn't test suspend / resume. In 7-BETA2 it's exactly as described in the pr with 5.4-PRERELEASE. Attached you can find the asl. If you want me to test something, please ask. Regards Frederic ------=_Part_6422_14144755.1194747742904-- From owner-freebsd-acpi@FreeBSD.ORG Sun Nov 11 10:31:42 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 25D0916A421 for ; Sun, 11 Nov 2007 10:31:42 +0000 (UTC) (envelope-from ykirill@yahoo.com) Received: from web58709.mail.re1.yahoo.com (web58709.mail.re1.yahoo.com [66.196.100.186]) by mx1.freebsd.org (Postfix) with SMTP id CEFF013C48D for ; Sun, 11 Nov 2007 10:31:41 +0000 (UTC) (envelope-from ykirill@yahoo.com) Received: (qmail 4292 invoked by uid 60001); 11 Nov 2007 10:04:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=BXVu2CkgTXbtzvsk4qmGUarCoSMu4BZs7w7gIhz0GM6bv9QPMLqdzo2f4pWN+4YLVduGAAEs7E+xqc+CafnzTg8s2ypuPEhtcHJOMQhDTJIjRkoKoN+w5Z2r7/qXRIPAYJ8j2m/BBSvzxIS22tRieJzAh+Ym+FlM5ZMcXjDb2xQ=; X-YMail-OSG: v_6aqPwVM1nb12ZCBP6Zv5mK_SuwxqvStg74zSjDcKmnBrJebtOZCG5FSzoU9mxo104L0uk0pQBj_6271U_tFrvZTO98WdGWG7gnoHX9RVJaRrRSqN.MAhwhlgH58g-- Received: from [77.108.70.123] by web58709.mail.re1.yahoo.com via HTTP; Sun, 11 Nov 2007 02:04:45 PST Date: Sun, 11 Nov 2007 02:04:45 -0800 (PST) From: Kirill Yelizarov To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <447886.4121.qm@web58709.mail.re1.yahoo.com> Subject: Can't get information from batteries with apm 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, 11 Nov 2007 10:31:42 -0000 Hi, I have WalkAbout HammerHead HH3 tablet pc with recent FreBSD 6.3-PRERELEASE. This is a PIII-400MHz PC. I get the following trap when i call apm when one or both batteries are inserted. When there are no batteries inserted the following function doesn't generate a trap. kernel trap 9 with interrupts disabled Fatal trap 9: general protection fault while in kernel mode instruction pointer = 0x70:0x3a45 stack pointer = 0x28:0xcd32bb60 frame pointer = 0x28:0xcd32bb78 code segment = base 0x00f0000, limit 0xffff, type 0x1b = DPL 0, pres 1, def32 0, gran 0 processor eflags = resume, IOPL = 0 current process = 968 (apm) [thread pid 968 tid 100073 ] Stopped at 0x3a45: *** error reading from address 3a45 *** db> trace Tracing pid 968 tid 100073 td 0xc26bd300 db> This happens /usr/src/usr.sbin/apm/apm.c on line 226: for (i = 0; i < aip->ai_batteries; ++i) { bzero(&aps, sizeof(aps)); aps.ap_device = PMDV_BATT0 + i; if (ioctl(fd, APMIO_GETPWSTATUS, &aps) == -1) continue; printf("Battery %d:\n", i); if (aps.ap_batt_flag & APM_BATT_NOT_PRESENT) { printf("not present\n"); continue; } in function APM_GETPWSTATUS. I don't see battery initialization messages in dmesg. This PC has APM v1.2 only. Tell me, what else should i check to make APM and batteries work? Regards, Kirill __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-acpi@FreeBSD.ORG Sun Nov 11 19:46:55 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 A007016A419 for ; Sun, 11 Nov 2007 19:46:53 +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 E560713C4BD for ; Sun, 11 Nov 2007 19:46:52 +0000 (UTC) (envelope-from aragon@phat.za.net) Received: by mail.geek.sh (Postfix, from userid 1000) id BD00F24D1F; Sun, 11 Nov 2007 21:21:13 +0200 (SAST) Date: Sun, 11 Nov 2007 21:21:13 +0200 From: Aragon Gouveia To: freebsd-acpi@freebsd.org Message-ID: <20071111192113.GA23686@phat.za.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.10-RELEASE-p2 i386 Subject: My recent powerd problem 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, 11 Nov 2007 19:46:55 -0000 --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I recently installed FreeBSD 7.0-BETA2 onto my new HP Pavilion dv2600 notebook. I've encountered a couple of hiccups with it and this is my report of one of them... For some reason powerd would not lower the CPU frequency of my 2.2 GHz Core 2 Duo when it was in adaptive mode. When I ran it with -v I noticed it'd endlessly try set the CPU frequency to 2200 when the machine idled. Here's why: dev.cpu.0.freq_levels: 2201/35000 2200/35000 1925/30625 1650/26250 1600/23000 1400/20125 1200/16000 1050/14000 900/12000 800/14000 700/12250 600/10500 500/8750 400/7000 300/5250 200/3500 100/1750 # sysctl -w dev.cpu.0.freq=2200 dev.cpu.0.freq: 2201 -> 2201 So when trying to set the frequency to 2200 it gets changed back to 2201. Powerd would endlessly try set 2200 but it'd stay at 2201. So I wrote a patch to powerd to detect this and remove a frequency if it was unable to set it. It is attached to this mail. Well the patch works great and powerd is functioning normally now. However, I'm not sure this is the best fix. I'd really like to know why dev.cpu.0.freq_levels has 2201 and 2200 listed, and more importantly why 2200 can't be set despite its listing. Could this be a problem with my ACPI? Would an AML mod fix it? Thanks, Aragon --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="powerd-rmfreq.diff" --- powerd.c.orig 2007-06-13 21:05:11.000000000 +0200 +++ powerd.c 2007-11-10 23:59:09.000000000 +0200 @@ -79,6 +79,7 @@ static int read_usage_times(long *idle, long *total); static int read_freqs(int *numfreqs, int **freqs, int **power); +static void rm_freq(int *numfreqs, int rmfreq, int **freqs, int **power); static int set_freq(int freq); static void acline_init(void); static void acline_read(void); @@ -189,6 +190,41 @@ return (0); } +static void +rm_freq(int *numfreqs, int rmfreq, int **freqs, int **power) +{ + int i, j=0, newfreqs[(*numfreqs)-1], newpower[(*numfreqs)-1]; + + if (*numfreqs < 2) { + // nothing more we can do + free(*freqs); + free(*power); + errx(1, "No more CPU frequencies to set"); + } + + for (i=0; i<*numfreqs; i++) { + if (i == rmfreq) continue; + newfreqs[j] = (*freqs)[i]; + newpower[j] = (*power)[i]; + j++; + } + + free(*freqs); + free(*power); + (*numfreqs)--; + if ((*freqs = malloc(*numfreqs * sizeof(int))) == NULL) + err(1, "error removing CPU frequency"); + if ((*power = malloc(*numfreqs * sizeof(int))) == NULL) { + free(*freqs); + err(1, "error removing CPU frequency"); + } + + for (i=0; i<=j; i++) { + (*freqs)[i] = newfreqs[i]; + (*power)[i] = newpower[i]; + } +} + static int set_freq(int freq) { @@ -555,6 +591,13 @@ freqs[numfreqs - 1]); continue; } + if (sysctl(freq_mib, 4, &curfreq, &len, NULL, 0) == 0) { + if (curfreq != freqs[numfreqs-1]) { + if (vflag) + printf("error setting CPU frequency %d, removing from list\n", freqs[numfreqs-1]); + rm_freq(&numfreqs, numfreqs-1, &freqs, &mwatts); + } + } } continue; } @@ -573,6 +616,13 @@ freqs[0]); continue; } + if (sysctl(freq_mib, 4, &curfreq, &len, NULL, 0) == 0) { + if (curfreq != freqs[0]) { + if (vflag) + printf("error setting CPU frequency %d, removing from list\n", freqs[0]); + rm_freq(&numfreqs, 0, &freqs, &mwatts); + } + } } continue; } @@ -605,6 +655,15 @@ if (set_freq(freqs[i])) warn("error setting CPU frequency %d", freqs[i]); + // Check if it actually got set + len = sizeof(curfreq); + if (sysctl(freq_mib, 4, &curfreq, &len, NULL, 0) == 0) { + if (curfreq != freqs[i]) { + if (vflag) + printf("error setting CPU frequency %d, removing from list\n", freqs[i]); + rm_freq(&numfreqs, i, &freqs, &mwatts); + } + } } else if (idle > (total * cpu_idle_mark) / 100 && curfreq > freqs[numfreqs - 1]) { i++; @@ -616,6 +675,15 @@ if (set_freq(freqs[i]) != 0) warn("error setting CPU frequency %d", freqs[i]); + // Check if it actually got set + len = sizeof(curfreq); + if (sysctl(freq_mib, 4, &curfreq, &len, NULL, 0) == 0) { + if (curfreq != freqs[i]) { + if (vflag) + printf("error setting CPU frequency %d, removing from list\n", freqs[i]); + rm_freq(&numfreqs, i, &freqs, &mwatts); + } + } } } free(freqs); --xHFwDpU9dbj6ez1V-- From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 12 07:53: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 7DB2B16A419 for ; Mon, 12 Nov 2007 07:53:23 +0000 (UTC) (envelope-from chardon.frederic@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.freebsd.org (Postfix) with ESMTP id AE78B13C4B3 for ; Mon, 12 Nov 2007 07:53:22 +0000 (UTC) (envelope-from chardon.frederic@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so1142513pyb for ; Sun, 11 Nov 2007 23:53:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=86gZbJ2nQD7yCE1KkLjNWodgIaXxmuTdXOgQGS6ywis=; b=B6X4WuanHSVduRbKR+Gt0Ab9RwDi6PLUPcXH2Pp0IDvDdB/Pg4sptKXEmuCpICOPcxKyICEwLqL0K9FsyQeDe2KQWx96HdQ8itIBLBk/ZUitrk2JQn/JczSyZtrhtM5c56+dg77aeegIMZ+Kw4wnaukjXSKUH0LyAQvl99hCliE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=dgK5upVhrtexwQYlNsVfuxfsGUTd08KknvEKfP5Bp0vxW5HZczg5guKYprX+XvTVyh6qIwVhcIBetsTcKfzRZnACARul0PPwsuXlPr2QwTOkVbG3K9EYMok0rOLdTPDsYWxV5ePuKk0d6L35t2WYz2RejclXz0DoQCxH2eR94Rs= Received: by 10.35.115.18 with SMTP id s18mr5756998pym.1194853984572; Sun, 11 Nov 2007 23:53:04 -0800 (PST) Received: by 10.35.97.6 with HTTP; Sun, 11 Nov 2007 23:53:03 -0800 (PST) Message-ID: <8e73e8440711112353p7eb7bec9ja5ce654cbd7bc87@mail.gmail.com> Date: Mon, 12 Nov 2007 08:53:03 +0100 From: "Frederic Chardon" To: nate@root.org, freebsd-acpi@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_9013_24568354.1194853983322" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: i386/79080: acpi thermal changes freezes HP nx6110 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, 12 Nov 2007 07:53:23 -0000 ------=_Part_9013_24568354.1194853983322 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello the list, Nate, link to pr: http://www.freebsd.org/cgi/query-pr.cgi?pr=79080 Nate, I am really sorry to send directly to you this mail but it seems that freebsd-acpi@FreeBSD.org delete attached document. I send again the ASL for HP nx6110. Your mail adress is in the pr, I apologize if I made a mistake by adressing to you. I made some more test under load (make -j4 buildworld + compilation of firefox and vlc while using opera under xorg), here are my observations: Pavel Rydvan stated in the pr that if the temperature doesn't change there is no problem. In fact, it is not completely true: problem arises when ACx _increase_. When it decreases if there is a freeze it is unnoticable. After a variable number of freezes (usually 4-5) the usb mouse usm0 stop responding while the pad on psm0 works fine. Without ACPI the usm doesn't works at all. If I manually set hw.acpi.thermal.tz0.active then there is no more problem (apart from the thermal function of ACPI becomes useless). Pavel Rydvan said that it is due to IRQ storm, I can't dig deeper this because I don't know how to do. What is _very_ surprising for me is that on 6.2 there is absolutely no problem. Everything worked fine out of the box. I don't know how to compile acpi.ko from 6.2 to test it under 7, if someone can explain me how to do... (or send it to me by mail ;-) ). Regards Fred ------=_Part_9013_24568354.1194853983322-- From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 12 11:06:52 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 559AA16A46C for ; Mon, 12 Nov 2007 11:06:52 +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 42C8113C4A3 for ; Mon, 12 Nov 2007 11:06:52 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lACB6q60089593 for ; Mon, 12 Nov 2007 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lACB6p33089589 for freebsd-acpi@FreeBSD.org; Mon, 12 Nov 2007 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 Nov 2007 11:06:51 GMT Message-Id: <200711121106.lACB6p33089589@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, 12 Nov 2007 11:06:52 -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 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/114722 acpi [acpi] [patch] Nearly duplicate p-state entries report o kern/117605 acpi [acpi] request for debug.cpufreq.highest 19 problems total. From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 12 15:10:06 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 239F516A41B for ; Mon, 12 Nov 2007 15:10:06 +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 EF8A413C494 for ; Mon, 12 Nov 2007 15:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lACFA5At005114 for ; Mon, 12 Nov 2007 15:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lACFA5QU005113; Mon, 12 Nov 2007 15:10:05 GMT (envelope-from gnats) Date: Mon, 12 Nov 2007 15:10:05 GMT Message-Id: <200711121510.lACFA5QU005113@freefall.freebsd.org> To: freebsd-acpi@FreeBSD.org From: "Thomas Sandford" Cc: Subject: Re: kern/108581: [sysctl] sysctl: hw.acpi.cpu.cx_lowest: Invalid argument X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thomas Sandford List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2007 15:10:06 -0000 The following reply was made to PR kern/108581; it has been noted by GNATS. From: "Thomas Sandford" To: , Cc: Subject: Re: kern/108581: [sysctl] sysctl: hw.acpi.cpu.cx_lowest: Invalid argument Date: Mon, 12 Nov 2007 15:05:40 -0000 This bug is still present in FreeBSD 7.0-BETA2. From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 12 23:06:18 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 CFACA16A420 for ; Mon, 12 Nov 2007 23:06:18 +0000 (UTC) (envelope-from olidrew@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.177]) by mx1.freebsd.org (Postfix) with ESMTP id 6194213C4CC for ; Mon, 12 Nov 2007 23:06:17 +0000 (UTC) (envelope-from olidrew@gmail.com) Received: by el-out-1112.google.com with SMTP id s27so363717ele for ; Mon, 12 Nov 2007 15:05:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Af7o+ntPzRK+QVs+juImK0O0S9D/GoJ5lvYAd+uyW/0=; b=tR3juQ40t1UxnrNjk6qL6TRJz5zuE30Ek8F+BKykz5Kx5jyehJLfscsGbVjOjlKooWfrz3lhDC4POo1KWwGz5XOr2/9FiSB8csx/Jqr7Xnvo1kPhMjaVQvhqioCuOuF7J1Vz2KndinWK1Ai6U0XGuOS3y3d2m+9BRMWLlASB9TA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=M3RoZDhonH3vpG23fUN3XAlFBl9p8gwj5a/6QMWRZAWmHA4RURJArQy3GdZBLTwtKd4Z7liVDnKOu2lC8b+k5Ugif/w+yUpLAMUwCmOzBj0+rz3IFU4um0pSV9moc+abON2IxMlo5DcagWsOEAWPJelbKfsv4sTixsDh0b+YHN8= Received: by 10.142.174.8 with SMTP id w8mr1019416wfe.1194908731441; Mon, 12 Nov 2007 15:05:31 -0800 (PST) Received: by 10.142.89.15 with HTTP; Mon, 12 Nov 2007 15:05:31 -0800 (PST) Message-ID: <67c71cdd0711121505x616755eakf323c7883c7f861b@mail.gmail.com> Date: Mon, 12 Nov 2007 18:05:31 -0500 From: "Oli Drew" To: freebsd-acpi@freebsd.org In-Reply-To: <67c71cdd0711121503vba31a96s86f5d1eabddf96ba@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <11033.78765.qm@web33703.mail.mud.yahoo.com> <67c71cdd0711080738n45c8178cu1af57b1d94b152df@mail.gmail.com> <67c71cdd0711121503vba31a96s86f5d1eabddf96ba@mail.gmail.com> Subject: Intel server board, fans running at full speed. 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, 12 Nov 2007 23:06:19 -0000 ---------- Forwarded message ---------- From: Oli Drew Date: Nov 12, 2007 6:03 PM Subject: Re: Intel server board, fans running at full speed. To: Abdullah Ibn Hamad Al-Marri bump, I found a couple of things but I'm not sure how they relate to my problem: 1) From a reseller web site: Super I/O Controller National Semiconductor PC87372, including fan speed control/monitor pins 2) From the intel tech spec (http://download.intel.com/support/motherboards/server/sb/se7230nh1_tps_14.pdf) : LPC (Low Pin Count) bus segment with one embedded device - Super I/O controller chips providing all PC-compatible I/O (floppy, serial, keyboard, mouse, two serial com port ) and integrated hardware monitoring - LC Super I/O = SMsC* LP47M182NR - LX Super I/O = National Semiconductor* PC8374LOIBU From what I understand this hardware should be accessible through "mbmon -d", right ? The device file should be /dev/smb0 ? Am I close or what? I'm not able to check with another OS right now, but the guy who installed the server originally told me he saw some version of windows on it and the fan were working ok, for whatever it's worth ;-) Oli. On Nov 8, 2007 10:38 AM, Oli Drew wrote: > Hi, sorry for the delay. > > It's close but the images are still limited to 1.44 Mo. > > Can I use mkisofs to create a larger image, will dos boot on it ? > I'm not even sure if acpi thermal zone is supported, how can I know ? > > Thanks. > > Oli > > > > > > On Nov 1, 2007 6:36 PM, Abdullah Ibn Hamad Al-Marri wrote: > > ----- Original Message ---- > > > From: Olivier Drouin > > > To: freebsd-acpi@FreeBSD.org > > > Sent: Thursday, November 1, 2007 9:03:53 PM > > > Subject: Intel server board, fans running at full speed. > > > > > > Hello gurus! > > > > > > > > > > > > I'm using an Intel board SE7230NH1-E. The fans > > > are > > > > > always > > > running at full speed. > > > > > > > > > > > > I read: HYPERLINK > > > "http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html"h > > > ttp://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html > > > > > > > > > > > > I wanted to update the bios but what Intel > > > gives > > > > > (IFLASH.exe > > > NH1340P.BIO & NH1340P.ITK) is > 1.44 Meg so it doesn't fit on a > > > DOS > > > > > boot > > > disk. How can I update the BIOS? Do you feel it can fix my problem ? > > > > > > > > > How about http://www.linux-sxs.org/hardware/flash_boot_cd.html ? > > > > > You can reply to olidrew at gmail. > > > > > > > > > > > > Olivier. > > > > > > --- > > Regards, > > -Abdullah Ibn Hamad Al-Marri > > Arab Portal > > http://www.WeArab.Net/ > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > From owner-freebsd-acpi@FreeBSD.ORG Wed Nov 14 21:15:57 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 18B5216A468 for ; Wed, 14 Nov 2007 21:15:57 +0000 (UTC) (envelope-from chardon.frederic@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id BA0F513C48E for ; Wed, 14 Nov 2007 21:15:56 +0000 (UTC) (envelope-from chardon.frederic@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so3148336pyb for ; Wed, 14 Nov 2007 13:15:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=3XtvxU918A+4agmDmQOs/9XvSK7lfMObuBA5py9o1d8=; b=Y7ELhfxpfb21CNuaCzX9QXRzIbYNsXR6xQAKL+q01oZUNbWfiFvk63xN/WZ/CmOV0D3E9THGwmZJWuYLh3ZWFtUvJHXF0vmD6fRvTNdTiVr36NzdPbhEeHoqr51kiPf0bxCJscojfrN/eUmSOA0LMLfBgbVebo9GFPuxVBTxwUI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=tS1ycmgElQBJq44ub7ikMIiJvNw/9FW1/U4MwbG/uuP/kBEg0QULqtP0aLMok81nlzAzyltySsG8pkGFys8Yc5/eBBbjSt+b7ApYIxW+7zuFUfr/wFIo+u0OYa7zLPxb5DFv71ksCknyyW/V4pZzlblJe8evOIgYizk9wv8Qxpk= Received: by 10.35.28.12 with SMTP id f12mr9269478pyj.1195074955027; Wed, 14 Nov 2007 13:15:55 -0800 (PST) Received: by 10.35.97.6 with HTTP; Wed, 14 Nov 2007 13:15:55 -0800 (PST) Message-ID: <8e73e8440711141315n193fbcfcjb9d37fdef3f05027@mail.gmail.com> Date: Wed, 14 Nov 2007 22:15:55 +0100 From: "Frederic Chardon" To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [solved ?] i386/79080: acpi thermal changes freezes HP nx6110 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, 14 Nov 2007 21:15:57 -0000 Hello, I found a workaround to avoid freeze while change _ACx state on nx6110. In kernel, use options SCHED_ULE device apic options AUTO_EOI_1 options AUTO_EOI_2 ULE and apic allow the freeze to last only a few second (without it, I never waited more than 10 minutes but I supposed it can be long...). AUTO_EOI_1 and AUTO_EOI_2 have no impact without ULE and apic. Separately they don't have noticeable effect. Now when changing thermal mode the number of interrupts dropped from 3000 to around 50. Here is what I obtain after repeated cycles of big CPU activity / idle time (thanks boinc, it is very usefull to quickly make heat). $21:51|fredzio@/home::>vmstat -i interrupt total rate irq1: atkbd0 15716 1 irq9: acpi0 7293 0 irq12: psm0 1492 0 irq14: ata0 121152 10 irq16: bfe0 drm0 34598 3 irq22: fwohci0 3 0 irq23: uhci0 ehci0 136853 12 cpu0: timer 22099902 1999 Total 22417009 2028 I still don't know if the acpi table is buggy, when I try to compile it with iasl there is just a warning about a return value not used. I am a complete newby in these things, some research make me think that there may be a problem in APIC: Type=INT Override BUS=0 IRQ=0 INTR=2 Flags={Polarity=conforming, Trigger=conforming} Type=INT Override BUS=0 IRQ=9 INTR=9 Flags={Polarity=active-hi, Trigger=level} I read that IRQ 2 and IRQ 9 (used in acpi0 in my case) are somewhat linked together. If os, shouldn't they have same parameters? Moreover in the archives there is a mail stating that PCI interrupt should be level/lo. I suppose acpi is not on isa bus, so it must be PCI. Am I right? If so, should I change values? Both flags? I don't care a lot if I break OS but I am a bit more worried about hardware... Anyway, now the laptop is usable, I hope this can be useful if someone else have interrupt trouble with acpi. Regards Fred From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 16 18:16:26 2007 Return-Path: Delivered-To: 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 7B97416A41A; Fri, 16 Nov 2007 18:16:26 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 508C513C457; Fri, 16 Nov 2007 18:16:26 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from freefall.freebsd.org (kmacy@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAGIGQ3Y025971; Fri, 16 Nov 2007 18:16:26 GMT (envelope-from kmacy@freefall.freebsd.org) Received: (from kmacy@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAGIGQVS025967; Fri, 16 Nov 2007 18:16:26 GMT (envelope-from kmacy) Date: Fri, 16 Nov 2007 18:16:26 GMT Message-Id: <200711161816.lAGIGQVS025967@freefall.freebsd.org> To: kmacy@FreeBSD.org, freebsd-bugs@FreeBSD.org, acpi@FreeBSD.org From: kmacy@FreeBSD.org Cc: Subject: Re: kern/117591: [acpi][panic] Divide by zero bug in 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: Fri, 16 Nov 2007 18:16:26 -0000 Old Synopsis: [panic] Divide by zero bug in ACPI New Synopsis: [acpi][panic] Divide by zero bug in ACPI Responsible-Changed-From-To: freebsd-bugs->acpi Responsible-Changed-By: kmacy Responsible-Changed-When: Fri Nov 16 18:16:05 UTC 2007 Responsible-Changed-Why: assign to owner http://www.freebsd.org/cgi/query-pr.cgi?pr=117591 From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 16 18:18:51 2007 Return-Path: Delivered-To: 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 5611B16A46D; Fri, 16 Nov 2007 18:18:51 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2B64513C455; Fri, 16 Nov 2007 18:18:51 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from freefall.freebsd.org (kmacy@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAGIIobq026135; Fri, 16 Nov 2007 18:18:50 GMT (envelope-from kmacy@freefall.freebsd.org) Received: (from kmacy@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAGIIoYU026131; Fri, 16 Nov 2007 18:18:50 GMT (envelope-from kmacy) Date: Fri, 16 Nov 2007 18:18:50 GMT Message-Id: <200711161818.lAGIIoYU026131@freefall.freebsd.org> To: kmacy@FreeBSD.org, freebsd-bugs@FreeBSD.org, acpi@FreeBSD.org From: kmacy@FreeBSD.org Cc: Subject: Re: kern/114649: [patch][acpi] panic: recursed on non-recursive mutex 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, 16 Nov 2007 18:18:51 -0000 Synopsis: [patch][acpi] panic: recursed on non-recursive mutex Responsible-Changed-From-To: freebsd-bugs->acpi Responsible-Changed-By: kmacy Responsible-Changed-When: Fri Nov 16 18:18:34 UTC 2007 Responsible-Changed-Why: Assign to owner http://www.freebsd.org/cgi/query-pr.cgi?pr=114649 From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 16 18:21:18 2007 Return-Path: Delivered-To: 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 96AAC16A419; Fri, 16 Nov 2007 18:21:18 +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 6BFD713C45D; Fri, 16 Nov 2007 18:21:18 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAGILIsT026380; Fri, 16 Nov 2007 18:21:18 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAGILIi4026376; Fri, 16 Nov 2007 18:21:18 GMT (envelope-from remko) Date: Fri, 16 Nov 2007 18:21:18 GMT Message-Id: <200711161821.lAGILIi4026376@freefall.freebsd.org> To: remko@FreeBSD.org, acpi@FreeBSD.org, freebsd-acpi@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: kern/117591: [acpi][panic] Divide by zero bug in 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: Fri, 16 Nov 2007 18:21:18 -0000 Synopsis: [acpi][panic] Divide by zero bug in ACPI Responsible-Changed-From-To: acpi->freebsd-acpi Responsible-Changed-By: remko Responsible-Changed-When: Fri Nov 16 18:20:53 UTC 2007 Responsible-Changed-Why: Assign to expanded group http://www.freebsd.org/cgi/query-pr.cgi?pr=117591 From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 16 18:21:18 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 96AAC16A419; Fri, 16 Nov 2007 18:21:18 +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 6BFD713C45D; Fri, 16 Nov 2007 18:21:18 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAGILIsT026380; Fri, 16 Nov 2007 18:21:18 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAGILIi4026376; Fri, 16 Nov 2007 18:21:18 GMT (envelope-from remko) Date: Fri, 16 Nov 2007 18:21:18 GMT Message-Id: <200711161821.lAGILIi4026376@freefall.freebsd.org> To: remko@FreeBSD.org, acpi@FreeBSD.org, freebsd-acpi@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: kern/117591: [acpi][panic] Divide by zero bug in 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: Fri, 16 Nov 2007 18:21:18 -0000 Synopsis: [acpi][panic] Divide by zero bug in ACPI Responsible-Changed-From-To: acpi->freebsd-acpi Responsible-Changed-By: remko Responsible-Changed-When: Fri Nov 16 18:20:53 UTC 2007 Responsible-Changed-Why: Assign to expanded group http://www.freebsd.org/cgi/query-pr.cgi?pr=117591 From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 16 18:21:36 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 6FE0F16A475; Fri, 16 Nov 2007 18:21:36 +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 455B213C4D5; Fri, 16 Nov 2007 18:21:36 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAGILa20026445; Fri, 16 Nov 2007 18:21:36 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAGILaEw026441; Fri, 16 Nov 2007 18:21:36 GMT (envelope-from remko) Date: Fri, 16 Nov 2007 18:21:36 GMT Message-Id: <200711161821.lAGILaEw026441@freefall.freebsd.org> To: remko@FreeBSD.org, acpi@FreeBSD.org, freebsd-acpi@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: kern/114649: [patch][acpi] panic: recursed on non-recursive mutex 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, 16 Nov 2007 18:21:36 -0000 Synopsis: [patch][acpi] panic: recursed on non-recursive mutex Responsible-Changed-From-To: acpi->freebsd-acpi Responsible-Changed-By: remko Responsible-Changed-When: Fri Nov 16 18:21:26 UTC 2007 Responsible-Changed-Why: Towards expanded group http://www.freebsd.org/cgi/query-pr.cgi?pr=114649 From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 16 18:21:36 2007 Return-Path: Delivered-To: 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 6FE0F16A475; Fri, 16 Nov 2007 18:21:36 +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 455B213C4D5; Fri, 16 Nov 2007 18:21:36 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lAGILa20026445; Fri, 16 Nov 2007 18:21:36 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lAGILaEw026441; Fri, 16 Nov 2007 18:21:36 GMT (envelope-from remko) Date: Fri, 16 Nov 2007 18:21:36 GMT Message-Id: <200711161821.lAGILaEw026441@freefall.freebsd.org> To: remko@FreeBSD.org, acpi@FreeBSD.org, freebsd-acpi@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: kern/114649: [patch][acpi] panic: recursed on non-recursive mutex 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, 16 Nov 2007 18:21:36 -0000 Synopsis: [patch][acpi] panic: recursed on non-recursive mutex Responsible-Changed-From-To: acpi->freebsd-acpi Responsible-Changed-By: remko Responsible-Changed-When: Fri Nov 16 18:21:26 UTC 2007 Responsible-Changed-Why: Towards expanded group http://www.freebsd.org/cgi/query-pr.cgi?pr=114649 From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 16 21:27:13 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 C79D416A41B; Fri, 16 Nov 2007 21:27:13 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 5C63A13C469; Fri, 16 Nov 2007 21:27:13 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id lAGLQnMf017683; Fri, 16 Nov 2007 16:26:49 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-current@FreeBSD.org Date: Fri, 16 Nov 2007 16:26:43 -0500 User-Agent: KMail/1.6.2 References: <200711161338.54270.jkim@FreeBSD.org> <20071116211754.GY7943@bunrab.catwhisker.org> In-Reply-To: <20071116211754.GY7943@bunrab.catwhisker.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200711161626.46834.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.91.2/4817/Fri Nov 16 15:06:29 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: freebsd-acpi@FreeBSD.org, David Wolfskill Subject: Re: [Call for Testers] ACPI-CA 20071114 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, 16 Nov 2007 21:27:13 -0000 On Friday 16 November 2007 04:17 pm, David Wolfskill wrote: > On Fri, Nov 16, 2007 at 01:38:52PM -0500, Jung-uk Kim wrote: > > Please test the following patch on -CURRENT: > > > > http://people.freebsd.org/~jkim/acpica-import-20071114.diff.gz > > > > I believe it should apply for RELENG_7 as well. FYI, ACPI-CA > > changes from the -CURRENT is here: > > > > http://people.freebsd.org/~jkim/acpica-changes-20070320-20071114. > >txt > > OK; working from a just-built-this-morning HEAD, I fetched the > patch & applied it with no problems. Building was also uneventful. > :-} > > Booting was OK, up to the point where I tried to use one of my > scripts that uses getopt(1); at that point -- where I had been > successful with the unpatched HEAD -- I got: > > /libexec/ld-elf.so.1: Undefined symbol "__mb_sb_limit" referenced > from COPY relocation in getopt Usage: /usr/local/sbin/mk_table [-d] > [-f] [-s] [-t] [-v] [-T table#] directory|files... set_ip RC was > 512 for command "/bin/sh /etc/rc.firewall-post-dhcp -i > 128.241.20.116 -m 255.255.255.192 -g 128.241.20.126 -b > 128.241.20.127 -n 128.241.20.64" > > (The script that uses getopt(1) is /usr/local/sbin/mk_table, which > I use to populate an IPFW table; I've attached a copy for > reference. In turn, the script was being invoked from a Perl script > I was using to set a NIC's IP address on a network that doesn't > seem to have a DHCP server. Neither script is very exciting.) > > Oh: this is an i386: > > localhost(8.0-C)[1] uname -a > FreeBSD localhost 8.0-CURRENT FreeBSD 8.0-CURRENT #594: Fri Nov 16 > 12:16:52 PST 2007 > root@localhost:/common/S4/obj/usr/src/sys/CANARY i386 > localhost(8.0-C)[2] > > I'm quite willing to test patches; I keep a private copy of the > FreeBSD CVS repository on this laptop to facilitate such things. > (And recovering from them....) 'Undefined symbol "__mb_sb_limit" is totally unrelated to ACPI, i.e., it is caused by recent API breakage. I think 'make buildworld; make installworld' should fix it. Anyway, thanks for testing! Jung-uk Kim From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 16 21:29:12 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 4370516A478; Fri, 16 Nov 2007 21:29:12 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 8164613C447; Fri, 16 Nov 2007 21:29:10 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id lAGLT5Qg017896; Fri, 16 Nov 2007 16:29:05 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-current@FreeBSD.org Date: Fri, 16 Nov 2007 16:28:59 -0500 User-Agent: KMail/1.6.2 References: <200711161338.54270.jkim@FreeBSD.org> <20071116211754.GY7943@bunrab.catwhisker.org> <200711161626.46834.jkim@FreeBSD.org> In-Reply-To: <200711161626.46834.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200711161629.02845.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.91.2/4817/Fri Nov 16 15:06:29 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: freebsd-acpi@FreeBSD.org, David Wolfskill Subject: Re: [Call for Testers] ACPI-CA 20071114 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, 16 Nov 2007 21:29:12 -0000 On Friday 16 November 2007 04:26 pm, Jung-uk Kim wrote: > 'Undefined symbol "__mb_sb_limit" is totally unrelated to ACPI, > i.e., it is caused by recent API breakage. I think 'make > buildworld; make installworld' should fix it. Also, you have rebuild your /usr/local/sbin/mk_table binary with the world. Jung-uk Kim From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 16 21:43: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 801F816A417; Fri, 16 Nov 2007 21:43:10 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id 338AB13C44B; Fri, 16 Nov 2007 21:43:10 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.13.3/8.13.3) with ESMTP id lAGLHsQt099220; Fri, 16 Nov 2007 13:17:54 -0800 (PST) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.13.3/8.13.1/Submit) id lAGLHs8a099219; Fri, 16 Nov 2007 13:17:54 -0800 (PST) (envelope-from david) Date: Fri, 16 Nov 2007 13:17:54 -0800 From: David Wolfskill To: Jung-uk Kim Message-ID: <20071116211754.GY7943@bunrab.catwhisker.org> References: <200711161338.54270.jkim@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JZhpBjp/UIQS9x0q" Content-Disposition: inline In-Reply-To: <200711161338.54270.jkim@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-acpi@freebsd.org, freebsd-current@freebsd.org Subject: Re: [Call for Testers] ACPI-CA 20071114 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, 16 Nov 2007 21:43:10 -0000 --JZhpBjp/UIQS9x0q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 16, 2007 at 01:38:52PM -0500, Jung-uk Kim wrote: > Please test the following patch on -CURRENT: >=20 > http://people.freebsd.org/~jkim/acpica-import-20071114.diff.gz >=20 > I believe it should apply for RELENG_7 as well. FYI, ACPI-CA changes=20 > from the -CURRENT is here: >=20 > http://people.freebsd.org/~jkim/acpica-changes-20070320-20071114.txt OK; working from a just-built-this-morning HEAD, I fetched the patch & applied it with no problems. Building was also uneventful. :-} Booting was OK, up to the point where I tried to use one of my scripts that uses getopt(1); at that point -- where I had been successful with the unpatched HEAD -- I got: /libexec/ld-elf.so.1: Undefined symbol "__mb_sb_limit" referenced from COPY= relocation in getopt Usage: /usr/local/sbin/mk_table [-d] [-f] [-s] [-t] [-v] [-T table#] direct= ory|files... set_ip RC was 512 for command "/bin/sh /etc/rc.firewall-post-dhcp -i 128.24= 1.20.116 -m 255.255.255.192 -g 128.241.20.126 -b 128.241.20.127 -n 128.241.= 20.64" (The script that uses getopt(1) is /usr/local/sbin/mk_table, which I use to populate an IPFW table; I've attached a copy for reference. In turn, the script was being invoked from a Perl script I was using to set a NIC's IP address on a network that doesn't seem to have a DHCP server. Neither script is very exciting.) Oh: this is an i386: localhost(8.0-C)[1] uname -a FreeBSD localhost 8.0-CURRENT FreeBSD 8.0-CURRENT #594: Fri Nov 16 12:16:52= PST 2007 root@localhost:/common/S4/obj/usr/src/sys/CANARY i386 localhost(8.0-C)[2]=20 I'm quite willing to test patches; I keep a private copy of the FreeBSD CVS repository on this laptop to facilitate such things. (And recovering from them....) Peace, david --=20 David H. Wolfskill david@catwhisker.org Proprietary data formats obfuscate, rather than disseminate, information. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --JZhpBjp/UIQS9x0q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAkc+CQIACgkQmprOCmdXAD2ggQCfVRZMzjQ6gSP/0plM95W0GQyh J6EAnjt6Rwan1B6klFBq93Kn17vmg1MJ =35g1 -----END PGP SIGNATURE----- --JZhpBjp/UIQS9x0q-- From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 16 22:10: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 AD2E416A474 for ; Fri, 16 Nov 2007 22:10:59 +0000 (UTC) (envelope-from pawel.worach@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 40F0713C447 for ; Fri, 16 Nov 2007 22:10:57 +0000 (UTC) (envelope-from pawel.worach@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so881256uge for ; Fri, 16 Nov 2007 14:10:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=KtCa3i06c6YiDUme2R45XqpkuEBU4gqmft/q0hS1wDc=; b=ja6ZpQQxOtqD1rnu0y0AhsJXYLVPdqqZSEB6Pg7lnsij9qXPaCpXEE9TCzVs5HQAKH+TE5JHSfPyXzNLE25j3qyKvZ+akmoCDvPFSgVm3h95gSyY+7ZvLYuQQlNwpb8iru414/Xi8QPO2SL6TNp7lPzhxOKUsNsVibSYnsu3u60= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=mOSvcc7TuAjUQGOfG1igYtILw1iWrRtBkZxPSdmI7IyRGMkhXr/7rHLO3PcR6kEldC6/oaIFeg6fYCAaAaw8oLAnPCNpvco+8sAtrScnChyxkbPmN1yROwlqbSdgif3ED0LMHMMZ+ECJZmbih8P+f0Cl7RAt22bv4C5crRwMLO8= Received: by 10.66.240.12 with SMTP id n12mr1362604ugh.1195249326804; Fri, 16 Nov 2007 13:42:06 -0800 (PST) Received: from ?192.168.10.200? ( [80.216.208.24]) by mx.google.com with ESMTPS id 13sm3116831ugb.2007.11.16.13.42.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 16 Nov 2007 13:42:05 -0800 (PST) Message-ID: <473E0EA6.1070904@gmail.com> Date: Fri, 16 Nov 2007 22:41:58 +0100 From: Pawel Worach User-Agent: Thunderbird 2.0.0.7pre (X11/20071106) MIME-Version: 1.0 To: Jung-uk Kim References: <200711161338.54270.jkim@FreeBSD.org> In-Reply-To: <200711161338.54270.jkim@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: [Call for Testers] ACPI-CA 20071114 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, 16 Nov 2007 22:10:59 -0000 Jung-uk Kim wrote: > Please test the following patch on -CURRENT: > > http://people.freebsd.org/~jkim/acpica-import-20071114.diff.gz > Hi, Looks good here on a ThinkPad T60 except for a new LOR. acpi_ibm0: on acpi0 lock order reversal: (sleepable after non-sleepable) 1st 0xc083cb00 LED mtx (LED mtx) @ /usr/src/sys/dev/led/led.c:263 2nd 0xc09cc304 ACPI IBM extras (ACPI IBM extras) @ /usr/src/sys/modules/acpi/acpi_ibm/../../../dev/acpi_support/acpi_ibm.c:311 KDB: stack backtrace: db_trace_self_wrapper(c07c70b6,c0c20aa0,c057ffea,c07c945c,c09cc304,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c07c945c,c09cc304,c09cb165,c09cb165,c09caed0,...) at kdb_backtrace+0x29 witness_checkorder(c09cc304,9,c09caed0,137,c0c20ac4,...) at witness_checkorder+0x6af _sx_xlock(c09cc304,0,c09caed0,137,c3bf6b80,...) at _sx_xlock+0x77 ibm_led_task(c3bfe200,c0c20b04,c09c9937,1,c09ca7e3,...) at ibm_led_task+0x2e AcpiOsExecute(1,c09ca7e3,c3bfe200,c0c20b2c,c04b3170,...) at AcpiOsExecute+0x21 ibm_led(c3bfe200,0,c04b31c6,0,180,...) at ibm_led+0x37 led_create_state(c09c9900,c3bfe200,c09cb01f,0,80000003,...) at led_create_state+0x18f acpi_ibm_attach(c3b78400,c3b18050,c0806458,c07c69bd,80000000,...) at acpi_ibm_attach+0x2dd device_attach(c3b78400,c3b78400,c07c691b,917,c3b78400,...) at device_attach+0x36a device_probe_and_attach(c3b78400,f3ffffff,c0c20c60,c09ff544,c3acac80,...) at device_probe_and_attach+0xfa bus_generic_attach(c3acac80,f0000000,f3ffffff,c3b7b8c8,f0000000,...) at bus_generic_attach+0x19 acpi_attach(c3acac80,c3aef050,c0806458,c07c69bd,80000000,...) at acpi_attach+0xa38 device_attach(c3acac80,c3acac80,c07c691b,917,c3acac80,...) at device_attach+0x36a device_probe_and_attach(c3acac80,c3b05700,c0c20ce8,c0773f28,c3b05700,...) at device_probe_and_attach+0xfa bus_generic_attach(c3b05700,c3b23335,c0c20d2c,c056bdd8,c3b05700,...) at bus_generic_attach+0x19 nexus_attach(c3b05700,c3adc850,c0806458,c07c69bd,80000000,...) at nexus_attach+0x1a device_attach(c3b05700,c3b05700,c07c691b,917,c3b05700,...) at device_attach+0x36a device_probe_and_attach(c3b05700,c3a71a84,c0c20d6c,c076054d,c0a1e1e7,...) at device_probe_and_attach+0xfa root_bus_configure(c0a1e1e7,c0c20d88,c051c1fc,0,c1ec00,...) at root_bus_configure+0x1b configure(0,c1ec00,c1ec00,c1e000,c25000,...) at configure+0xc mi_startup() at mi_startup+0x90 begin() at begin+0x2c # sysctl hw.acpi hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S3 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 1 hw.acpi.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 0 hw.acpi.cpu.cx_lowest: C1 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 52.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 0 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: -1 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 127.0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz1.temperature: 54.0C hw.acpi.thermal.tz1.active: -1 hw.acpi.thermal.tz1.passive_cooling: 0 hw.acpi.thermal.tz1.thermal_flags: 0 hw.acpi.thermal.tz1._PSV: 94.5C hw.acpi.thermal.tz1._HOT: -1 hw.acpi.thermal.tz1._CRT: 99.0C hw.acpi.thermal.tz1._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.battery.life: 100 hw.acpi.battery.time: -1 hw.acpi.battery.state: 0 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 hw.acpi.acline: 1 # sysctl debug.acpi.acpi_ca_version debug.acpi.acpi_ca_version: 20071114 Full dmesg at: http://81.232.79.60/~pwo/dmesg -- Pawel From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 16 23:01:57 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 DDF8C16A481; Fri, 16 Nov 2007 23:01:57 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 9AD9113C457; Fri, 16 Nov 2007 23:01:57 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id lAGN1uqe023152; Fri, 16 Nov 2007 18:01:56 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Pawel Worach Date: Fri, 16 Nov 2007 18:01:39 -0500 User-Agent: KMail/1.6.2 References: <200711161338.54270.jkim@FreeBSD.org> <473E0EA6.1070904@gmail.com> In-Reply-To: <473E0EA6.1070904@gmail.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200711161801.53513.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.91.2/4819/Fri Nov 16 16:41:15 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: freebsd-acpi@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: [Call for Testers] ACPI-CA 20071114 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, 16 Nov 2007 23:01:58 -0000 On Friday 16 November 2007 04:41 pm, Pawel Worach wrote: > Jung-uk Kim wrote: > > Please test the following patch on -CURRENT: > > > > http://people.freebsd.org/~jkim/acpica-import-20071114.diff.gz > > Hi, > > Looks good here on a ThinkPad T60 except for a new LOR. > > acpi_ibm0: on acpi0 > lock order reversal: (sleepable after non-sleepable) > 1st 0xc083cb00 LED mtx (LED mtx) @ /usr/src/sys/dev/led/led.c:263 > 2nd 0xc09cc304 ACPI IBM extras (ACPI IBM extras) @ > /usr/src/sys/modules/acpi/acpi_ibm/../../../dev/acpi_support/acpi_i >bm.c:311 KDB: stack backtrace: --- >8 --- SKIP --- >8 --- I have to admit that I haven't really tested anything under sys/dev/acpi_support because I don't own any of these laptops. :-( Anyway, can you test the following? --- sys/dev/acpi_support/acpi_ibm.c 25 Oct 2007 17:30:18 -0000 +++ sys/dev/acpi_support/acpi_ibm.c 16 Nov 2007 22:43:39 -0000 @@ -300,7 +300,7 @@ sc->led_busy = 1; sc->led_state = onoff; - AcpiOsExecute(OSL_NOTIFY_HANDLER, (void *)ibm_led_task, sc); + acpi_queue_task(OSL_NOTIFY_HANDLER, (void *)ibm_led_task, sc); } static void Thanks, Jung-uk Kim From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 16 23:09:11 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 C9DDD16A418; Fri, 16 Nov 2007 23:09:11 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id 781D113C447; Fri, 16 Nov 2007 23:09:11 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.13.3/8.13.3) with ESMTP id lAGN9A0f099968; Fri, 16 Nov 2007 15:09:11 -0800 (PST) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.13.3/8.13.1/Submit) id lAGN9AnN099967; Fri, 16 Nov 2007 15:09:10 -0800 (PST) (envelope-from david) Date: Fri, 16 Nov 2007 15:09:10 -0800 From: David Wolfskill To: Jung-uk Kim Message-ID: <20071116230910.GZ7943@bunrab.catwhisker.org> References: <200711161338.54270.jkim@FreeBSD.org> <20071116211754.GY7943@bunrab.catwhisker.org> <200711161626.46834.jkim@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="15+E349fsei051WC" Content-Disposition: inline In-Reply-To: <200711161626.46834.jkim@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-acpi@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: [Call for Testers] ACPI-CA 20071114 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, 16 Nov 2007 23:09:11 -0000 --15+E349fsei051WC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 16, 2007 at 04:26:43PM -0500, Jung-uk Kim wrote: > ... > 'Undefined symbol "__mb_sb_limit" is totally unrelated to ACPI, i.e.,=20 > it is caused by recent API breakage. That's what I thought, but I also thought it would be useful for me to report what I saw, rather than what I thought I should have seen. :-} > I think 'make buildworld; make=20 > installworld' should fix it. Anyway, thanks for testing! Well, I re-booted again -- in a slightly different environment (one where I have a DHCP server on the net), and didn't see a recurrence of that whine about __mb_sb_limit. (I always do a "make buildworld && make kernel && make installworld" (with appropriate invocations of assorted other things, such as mergemaster).) I tried the Fn+Esc keyboard chord to suspend the machine (from vty0, rather than X); the power LED started blinking, but screen didn't even blank. I then tried to resume the machine (by pressing & releasing the power button quickly); that caused the display to blank, but I couldn't get it "un-blanked." So I flipped to vty2 and logged in (blind) and issued "sudo reboot" (which worked). On reboot, I tried using "sudo zzz" to suspend the machine. That did not cause the power LED to blink, but it did cause the display to blank. I tried pressing & releasing the power button quickly; no noticable effect. I tried using the Fn+F8 keyboard chord to cause the display to show something, and it showed what looked like a strange "test pattern" (sort like a bunch of vertical lines made of hyphens). Pressing the Fn+F8 keybaord chord again powered the machine off again, rather quickly. Apparently the disk buffers were flaushed though, as no file systems were dirty. FWIW, I'm pretty sure this is the same (fairly broken) behavior as I see now. The machine is a Dell Inspiron 8200. Peace, david --=20 David H. Wolfskill david@catwhisker.org Proprietary data formats obfuscate, rather than disseminate, information. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --15+E349fsei051WC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAkc+IxYACgkQmprOCmdXAD157wCghyMWVaEvIsXZtHLKV+ZvkkMz VzYAnA2o7LmBna3PFr2raom40h6HyTjr =C/wo -----END PGP SIGNATURE----- --15+E349fsei051WC-- From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 16 23:18: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 0F23616A419 for ; Fri, 16 Nov 2007 23:18:38 +0000 (UTC) (envelope-from pawel.worach@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 88C4F13C447 for ; Fri, 16 Nov 2007 23:18:37 +0000 (UTC) (envelope-from pawel.worach@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so887816uge for ; Fri, 16 Nov 2007 15:18:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=e887DtSVdly8wGnVhTcwLfnFRiTHoEtXPOSk3FjszxI=; b=CqA8DoJHalZe3xvunZjiuBvqlafFUP/Aybao539JAc1zog/tVdQ9yKQi+L+PMNqNd8GopJTvStfbTmVoEhB/yy7G5y+K4t/JEWbblZFwi8oY31xOtu4uOjs7UVubOrun4fb/M+lMxIxE77D48AH1hdn+0Buv67mwj5uKSvHOwUk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=VEx0hPDBirKCXNMKkSnrA9tkS0lY9tqsV18jC94xufjODMZvKpRrKELfFZCcBbidod1SC1KrdkR+vmgQJ4eiLKt9MUGKCYP+MTh9owX6pagsPGmAFb3Fe8leF8D5f5Wmli+EtoJP0bNXusuk8/YkWfLg8th56e9OhhQA48X1f9c= Received: by 10.66.248.5 with SMTP id v5mr438833ugh.1195255116230; Fri, 16 Nov 2007 15:18:36 -0800 (PST) Received: from ?192.168.10.200? ( [80.216.208.24]) by mx.google.com with ESMTPS id e1sm8513442ugf.2007.11.16.15.18.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 16 Nov 2007 15:18:35 -0800 (PST) Message-ID: <473E2545.30504@gmail.com> Date: Sat, 17 Nov 2007 00:18:29 +0100 From: Pawel Worach User-Agent: Thunderbird 2.0.0.7pre (X11/20071106) MIME-Version: 1.0 To: Jung-uk Kim References: <200711161338.54270.jkim@FreeBSD.org> <473E0EA6.1070904@gmail.com> <200711161801.53513.jkim@FreeBSD.org> In-Reply-To: <200711161801.53513.jkim@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: [Call for Testers] ACPI-CA 20071114 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, 16 Nov 2007 23:18:38 -0000 Jung-uk Kim wrote: > On Friday 16 November 2007 04:41 pm, Pawel Worach wrote: >> Jung-uk Kim wrote: >>> Please test the following patch on -CURRENT: >>> >>> http://people.freebsd.org/~jkim/acpica-import-20071114.diff.gz >> Hi, >> >> Looks good here on a ThinkPad T60 except for a new LOR. >> >> acpi_ibm0: on acpi0 >> lock order reversal: (sleepable after non-sleepable) >> 1st 0xc083cb00 LED mtx (LED mtx) @ /usr/src/sys/dev/led/led.c:263 >> 2nd 0xc09cc304 ACPI IBM extras (ACPI IBM extras) @ >> /usr/src/sys/modules/acpi/acpi_ibm/../../../dev/acpi_support/acpi_i >> bm.c:311 KDB: stack backtrace: > > --- >8 --- SKIP --- >8 --- > > I have to admit that I haven't really tested anything under > sys/dev/acpi_support because I don't own any of these laptops. :-( > Anyway, can you test the following? > > --- sys/dev/acpi_support/acpi_ibm.c 25 Oct 2007 17:30:18 -0000 > +++ sys/dev/acpi_support/acpi_ibm.c 16 Nov 2007 22:43:39 -0000 > @@ -300,7 +300,7 @@ > sc->led_busy = 1; > sc->led_state = onoff; > > - AcpiOsExecute(OSL_NOTIFY_HANDLER, (void *)ibm_led_task, sc); > + acpi_queue_task(OSL_NOTIFY_HANDLER, (void *)ibm_led_task, sc); > } > > static void > Yes, that fixed the LOR, thanks! -- Pawel From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 16 23:23:45 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 5C95B16A46D; Fri, 16 Nov 2007 23:23:45 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id DFBF513C468; Fri, 16 Nov 2007 23:23:44 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id lAGNNKdK024238; Fri, 16 Nov 2007 18:23:20 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: David Wolfskill Date: Fri, 16 Nov 2007 18:23:14 -0500 User-Agent: KMail/1.6.2 References: <200711161338.54270.jkim@FreeBSD.org> <200711161626.46834.jkim@FreeBSD.org> <20071116230910.GZ7943@bunrab.catwhisker.org> In-Reply-To: <20071116230910.GZ7943@bunrab.catwhisker.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200711161823.17730.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.91.2/4820/Fri Nov 16 17:50:55 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: freebsd-acpi@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: [Call for Testers] ACPI-CA 20071114 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, 16 Nov 2007 23:23:45 -0000 On Friday 16 November 2007 06:09 pm, David Wolfskill wrote: > On Fri, Nov 16, 2007 at 04:26:43PM -0500, Jung-uk Kim wrote: > > ... > > 'Undefined symbol "__mb_sb_limit" is totally unrelated to ACPI, > > i.e., it is caused by recent API breakage. > > That's what I thought, but I also thought it would be useful for me > to report what I saw, rather than what I thought I should have > seen. :-} > > > I think 'make buildworld; make > > installworld' should fix it. Anyway, thanks for testing! > > Well, I re-booted again -- in a slightly different environment (one > where I have a DHCP server on the net), and didn't see a recurrence > of that whine about __mb_sb_limit. > > (I always do a "make buildworld && make kernel && make > installworld" (with appropriate invocations of assorted other > things, such as mergemaster).) > > I tried the Fn+Esc keyboard chord to suspend the machine (from > vty0, rather than X); the power LED started blinking, but screen > didn't even blank. I then tried to resume the machine (by pressing > & releasing the power button quickly); that caused the display to > blank, but I couldn't get it "un-blanked." So I flipped to vty2 > and logged in (blind) and issued "sudo reboot" (which worked). > > On reboot, I tried using "sudo zzz" to suspend the machine. That > did not cause the power LED to blink, but it did cause the display > to blank. I tried pressing & releasing the power button quickly; no > noticable effect. I tried using the Fn+F8 keyboard chord to cause > the display to show something, and it showed what looked like a > strange "test pattern" (sort like a bunch of vertical lines made of > hyphens). Pressing the Fn+F8 keybaord chord again powered the > machine off again, rather quickly. Apparently the disk buffers > were flaushed though, as no file systems were dirty. > > FWIW, I'm pretty sure this is the same (fairly broken) behavior as > I see now. > > The machine is a Dell Inspiron 8200. You mean it did not improve nor regress anything, right? Jung-uk Kim From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 16 23:28:35 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 9C10816A418; Fri, 16 Nov 2007 23:28:35 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id 6A01813C442; Fri, 16 Nov 2007 23:28:35 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.13.3/8.13.3) with ESMTP id lAGNSUKA000170; Fri, 16 Nov 2007 15:28:30 -0800 (PST) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.13.3/8.13.1/Submit) id lAGNSUfT000169; Fri, 16 Nov 2007 15:28:30 -0800 (PST) (envelope-from david) Date: Fri, 16 Nov 2007 15:28:30 -0800 From: David Wolfskill To: Jung-uk Kim Message-ID: <20071116232830.GB7943@bunrab.catwhisker.org> References: <200711161338.54270.jkim@FreeBSD.org> <200711161626.46834.jkim@FreeBSD.org> <20071116230910.GZ7943@bunrab.catwhisker.org> <200711161823.17730.jkim@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/Z3Qj54wC++taHdq" Content-Disposition: inline In-Reply-To: <200711161823.17730.jkim@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-acpi@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: [Call for Testers] ACPI-CA 20071114 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, 16 Nov 2007 23:28:35 -0000 --/Z3Qj54wC++taHdq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 16, 2007 at 06:23:14PM -0500, Jung-uk Kim wrote: > ... > > FWIW, I'm pretty sure this is the same (fairly broken) behavior as > > I see now. > > > > The machine is a Dell Inspiron 8200. >=20 > You mean it did not improve nor regress anything, right? Correct: no leakage of "magic smoke;" no behavioral change that I see. I didn't even get the LOR (though if that was specific to the IBM ACPI stuff, it would make a certain amount of sense that I wouldn'tsee it.) Peace, david --=20 David H. Wolfskill david@catwhisker.org Proprietary data formats obfuscate, rather than disseminate, information. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --/Z3Qj54wC++taHdq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAkc+J50ACgkQmprOCmdXAD0yLwCeKzWCrKMKFrLpBUJ9gNsIzF6u aCwAnioobQe//JvkD3kF227VMwCZz7YG =/JVR -----END PGP SIGNATURE----- --/Z3Qj54wC++taHdq-- From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 16 23:44:39 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 821A016A419; Fri, 16 Nov 2007 23:44:39 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 40CD713C457; Fri, 16 Nov 2007 23:44:39 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id lAGNiTB1024920; Fri, 16 Nov 2007 18:44:29 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: David Wolfskill Date: Fri, 16 Nov 2007 18:44:16 -0500 User-Agent: KMail/1.6.2 References: <200711161338.54270.jkim@FreeBSD.org> <200711161823.17730.jkim@FreeBSD.org> <20071116232830.GB7943@bunrab.catwhisker.org> In-Reply-To: <20071116232830.GB7943@bunrab.catwhisker.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200711161844.27009.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.91.2/4820/Fri Nov 16 17:50:55 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: freebsd-acpi@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: [Call for Testers] ACPI-CA 20071114 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, 16 Nov 2007 23:44:39 -0000 On Friday 16 November 2007 06:28 pm, David Wolfskill wrote: > On Fri, Nov 16, 2007 at 06:23:14PM -0500, Jung-uk Kim wrote: > > ... > > > > > FWIW, I'm pretty sure this is the same (fairly broken) behavior > > > as I see now. > > > > > > The machine is a Dell Inspiron 8200. > > > > You mean it did not improve nor regress anything, right? > > Correct: no leakage of "magic smoke;" no behavioral change that I > see. Good to know. > I didn't even get the LOR (though if that was specific to the IBM > ACPI stuff, it would make a certain amount of sense that I > wouldn'tsee it.) Yes, it was IBM (and Asus) specific issue and I just updated the patchset with the fix. Thanks for the feedback! Jung-uk Kim From owner-freebsd-acpi@FreeBSD.ORG Sat Nov 17 00:51:50 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 B71C316A41A for ; Sat, 17 Nov 2007 00:51:50 +0000 (UTC) (envelope-from john_m_cooper@yahoo.com) Received: from web50711.mail.re2.yahoo.com (web50711.mail.re2.yahoo.com [206.190.38.163]) by mx1.freebsd.org (Postfix) with SMTP id 18B3D13C4B8 for ; Sat, 17 Nov 2007 00:51:49 +0000 (UTC) (envelope-from john_m_cooper@yahoo.com) Received: (qmail 21387 invoked by uid 60001); 17 Nov 2007 00:25:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=kaMWZUvVbIiPx/FHP1gOsQadJ5clK21ZuReMiPkbpaZI2bh3CNRwu+IrJdZEUesqU1KyhhgYiujuOUx0eZJvKswvRF92KIN1Da7c+irsMK4YzOmVEDvQ0dmN6BsJspCRdhYwQZu4ljUt+T+WmHNkQo0ZUsWYBa3zKuYzOmBdo3k=; X-YMail-OSG: QGL2rq0VM1mc.SSY.dsCRXHhRnxhU8yX0.6QzfATmE7EUgo0KNLxwfcp7i_20xteyuCRYgGDavrjtIS60vb.EFSN.9zqdwW7dRnwxmii3tF7_Ma5w4JdGgnJ4T2G Received: from [134.121.240.131] by web50711.mail.re2.yahoo.com via HTTP; Fri, 16 Nov 2007 16:25:01 PST X-Mailer: YahooMailRC/818.27 YahooMailWebService/0.7.157 Date: Fri, 16 Nov 2007 16:25:01 -0800 (PST) From: John Merryweather Cooper To: Jung-uk Kim , David Wolfskill MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <374989.21132.qm@web50711.mail.re2.yahoo.com> Cc: freebsd-acpi@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: [Call for Testers] ACPI-CA 20071114 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, 17 Nov 2007 00:51:50 -0000 ----- Original Message ---- From: Jung-uk Kim To: David Wolfskill Cc: freebsd-acpi@FreeBSD.org; freebsd-current@FreeBSD.org Sent: Friday, November 16, 2007 3:44:16 PM Subject: Re: [Call for Testers] ACPI-CA 20071114 On Friday 16 November 2007 06:28 pm, David Wolfskill wrote: > On Fri, Nov 16, 2007 at 06:23:14PM -0500, Jung-uk Kim wrote: > > ... > > > > > FWIW, I'm pretty sure this is the same (fairly broken) behavior > > > as I see now. > > > > > > The machine is a Dell Inspiron 8200. > > > > You mean it did not improve nor regress anything, right? > > Correct: no leakage of "magic smoke;" no behavioral change that I > see. Good to know. > I didn't even get the LOR (though if that was specific to the IBM > ACPI stuff, it would make a certain amount of sense that I > wouldn'tsee it.) Yes, it was IBM (and Asus) specific issue and I just updated the patchset with the fix. Thanks for the feedback! Jung-uk Kim _______________________________________________ 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" It works no better (and no worse) than before on my HP Pavillion dv9420us. I still can't suspend/resume. jmc From owner-freebsd-acpi@FreeBSD.ORG Sat Nov 17 01:26:29 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 0E44416A419; Sat, 17 Nov 2007 01:26:29 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.73]) by mx1.freebsd.org (Postfix) with ESMTP id CF1C113C481; Sat, 17 Nov 2007 01:26:27 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (asmtp009-s [10.150.69.72]) by smtpoutm.mac.com (Xserve/smtpout010/MantshX 4.0) with ESMTP id lAH12Zle025687; Fri, 16 Nov 2007 17:02:35 -0800 (PST) Received: from [192.168.1.100] (209-128-86-226.bayarea.net [209.128.86.226]) (authenticated bits=0) by mac.com (Xserve/asmtp009/MantshX 4.0) with ESMTP id lAH12XuA015459 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 16 Nov 2007 17:02:34 -0800 (PST) Message-Id: <5378A0A2-D438-4C63-AC5D-EF212DD40C9E@mac.com> From: Marcel Moolenaar To: Jung-uk Kim In-Reply-To: <200711161338.54270.jkim@FreeBSD.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Fri, 16 Nov 2007 17:02:33 -0800 References: <200711161338.54270.jkim@FreeBSD.org> X-Mailer: Apple Mail (2.915) Cc: freebsd-acpi@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: [Call for Testers] ACPI-CA 20071114 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, 17 Nov 2007 01:26:29 -0000 On Nov 16, 2007, at 10:38 AM, Jung-uk Kim wrote: > Please test the following patch on -CURRENT: > > http://people.freebsd.org/~jkim/acpica-import-20071114.diff.gz No obvious problems on ia64. FYI, -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-acpi@FreeBSD.ORG Sat Nov 17 05:23:42 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 D3DEB16A418; Sat, 17 Nov 2007 05:23:42 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from vms173001pub.verizon.net (vms173001pub.verizon.net [206.46.173.1]) by mx1.freebsd.org (Postfix) with ESMTP id AF07313C455; Sat, 17 Nov 2007 05:23:42 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from [10.0.3.231] ([70.21.144.51]) by vms173001.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JRM00LK8UF800M1@vms173001.mailsrvcs.net>; Fri, 16 Nov 2007 22:13:57 -0600 (CST) Date: Fri, 16 Nov 2007 23:22:22 -0500 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <200711161338.54270.jkim@FreeBSD.org> To: Jung-uk Kim Message-id: <1195273342.724.3.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Content-type: text/plain Content-transfer-encoding: 7bit References: <200711161338.54270.jkim@FreeBSD.org> Cc: freebsd-acpi@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: [Call for Testers] ACPI-CA 20071114 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, 17 Nov 2007 05:23:42 -0000 On Fri, 2007-11-16 at 13:38 -0500, Jung-uk Kim wrote: > Please test the following patch on -CURRENT: > > http://people.freebsd.org/~jkim/acpica-import-20071114.diff.gz > > I believe it should apply for RELENG_7 as well. FYI, ACPI-CA changes No problems here: RELENG_7 (Nov 16, ~19:00 EST) on ThinkPad X60, acpi_ibm loaded. > Jung-uk Kim > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Alexandre "Sunny" Kovalenko From owner-freebsd-acpi@FreeBSD.ORG Sat Nov 17 08:03:17 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 C654916A419 for ; Sat, 17 Nov 2007 08:03:17 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 63E0513C43E for ; Sat, 17 Nov 2007 08:03:16 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id lAGIcuQ9006244; Fri, 16 Nov 2007 13:38:56 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-acpi@FreeBSD.org Date: Fri, 16 Nov 2007 13:38:52 -0500 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200711161338.54270.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.91.2/4813/Fri Nov 16 12:18:48 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: freebsd-current@FreeBSD.org Subject: [Call for Testers] ACPI-CA 20071114 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, 17 Nov 2007 08:03:17 -0000 Please test the following patch on -CURRENT: http://people.freebsd.org/~jkim/acpica-import-20071114.diff.gz I believe it should apply for RELENG_7 as well. FYI, ACPI-CA changes from the -CURRENT is here: http://people.freebsd.org/~jkim/acpica-changes-20070320-20071114.txt Thanks, Jung-uk Kim From owner-freebsd-acpi@FreeBSD.ORG Sat Nov 17 20:15: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 C60FB16A418 for ; Sat, 17 Nov 2007 20:15:06 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id 824A213C457 for ; Sat, 17 Nov 2007 20:15:05 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so275243anc for ; Sat, 17 Nov 2007 12:14:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=WFgj2unDcJL9ADasa9BIJ2OwNbg26UyNa8gTaJEjfvo=; b=RqkuKmLwMwV60Ha+GkLVuBEtU8rEKKlQC4YTXfEBMjqcFDdbe7NpgUkquP+kxFaJ9lxJX23QhGn1V0R6yGwQDaLbEQKmLpNeh3LjFgX1Lae0w8Wor4QShQtZCDI9XjmPOHBFqh6ExWXu/nzGSEfchgPQR1ArNEeTYmhwSVLdQfo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=bvxgqLqh07qwJdxJWlPdCT4YQGdPdDjgxr6CMG7BZFpPVR/DsUoEG0WKqfbC0WmzMhpWDtY8uqpV8D2M/hNRRpqodZgyqdg82ezrcK0G93HM2/NHVFryQmB/oFGQ3MtOYP1HDHflyu/Z0Nu6WDOGMFWIep7NS3xHRnbKd+JcrYk= Received: by 10.100.228.17 with SMTP id a17mr4302258anh.1195328990216; Sat, 17 Nov 2007 11:49:50 -0800 (PST) Received: from ?192.168.6.226? ( [201.41.170.198]) by mx.google.com with ESMTPS id l22sm6500043wrl.2007.11.17.11.49.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 17 Nov 2007 11:49:49 -0800 (PST) From: Sergio Lenzi To: freebsd-acpi@FreeBSD.org In-Reply-To: <200711161844.27009.jkim@FreeBSD.org> References: <200711161338.54270.jkim@FreeBSD.org> <200711161823.17730.jkim@FreeBSD.org> <20071116232830.GB7943@bunrab.catwhisker.org> <200711161844.27009.jkim@FreeBSD.org> Content-Type: text/plain Date: Sat, 17 Nov 2007 17:49:31 +0000 Message-Id: <1195321771.2219.1.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Subject: Re: [Call for Testers] ACPI-CA 20071114 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, 17 Nov 2007 20:15:06 -0000 this works on my laptop... it is an ACER 5060 model 3284... In my laptop (FreBSD 7.0 cvsup every day...) almost everything worked sound, ac-line, lid, batery, usb, but not the atheros wireless.... the acpi does not show the correct register map to the pci bus, so the ath driver complains with: ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) ath0: mem 0xc0200000-0xc020ffff irq 16 at device 0.0 on pci2 ath0: cannot map register space the atheros stuff says it is an acpi problem.... that gives to pci code no information about registers for that device/slot. ==================================================== using your new acpidump, and iasl, it produces a good DSDT.aml file (after some fixes...) the acpudump in 6.2 produces wrong code. now on the boot... it shows... ============================================================= FreeBSD 7.0-BETA3 #7: Sat Nov 17 10:42:03 UTC 2007 lzt@lenzinote70.cwb.casa:/usr/src/sys/i386/compile/notebook Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Turion(tm) 64 Mobile Technology MK-38 (2199.99-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x40fc2 Stepping = 2 Features=0x78bfbff Features2=0x2001 AMD Features=0xea500800 real memory = 938016768 (894 MB) avail memory = 908550144 (866 MB) ACPI APIC Table: MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) unknown: I/O range not supported <<<<<<<<<<<<<< PROBLEM????? acpi0: reservation of 0, 1000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0x9000-0x90ff mem 0xc8000000-0xcfffffff,0xc0100000-0xc010ffff irq 17 at device 5.0 on pci1 =============================================== thanks for any comments... I have the disassembled code from the acpidump avaiable... Sergio