From owner-freebsd-acpi@FreeBSD.ORG Sun Oct 18 20:11:11 2009 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 A06291065693; Sun, 18 Oct 2009 20:11:11 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id ACFC18FC2B; Sun, 18 Oct 2009 20:11:10 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id XAA17362; Sun, 18 Oct 2009 23:11:08 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Mzc5s-000FSW-8A; Sun, 18 Oct 2009 23:11:08 +0300 Message-ID: <4ADB764C.2010900@icyb.net.ua> Date: Sun, 18 Oct 2009 23:10:52 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: freebsd-acpi@freebsd.org, freebsd-hackers@freebsd.org X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: SB7xx watchdog: new driver for review and testing 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, 18 Oct 2009 20:11:11 -0000 Please review and/or test a new driver for watchdog driver included into AMD SB7xx: http://people.freebsd.org/~avg/amdsbwd.tgz I have tested this driver only with SB700 on Gigabyte GA-MA780G-UD3H motherboard. ichwd driver was used as a starting point for this driver. This can be seen from some function names, general code organization and some small code snippets. Many thanks to ichwd authors and maintainers! Right now I have infrastructure only for building this driver as a module. Things for which that I need the most feedback/ideas: 1. If the driver actually works on your hardware and the hardware description. The driver can be tested by loading the driver and doing 'watchdog -t '. Having debug.bootverbose=1 may provide additional useful info. And better to test this from single-user mode with filesystems mounted r/o. 2. Better name for the driver. amdsbwd stands for "AMD S(outh)B(ridge) WatchDog", but this abbreviation could be cryptic to decipher. 3. Proper location for this driver. At least on my system this driver needs resources (I/O ports and MEM range) that are claimed by ACPI, thus I've made it a child of acpi bus. But this driver doesn't have anything else ACPI-ish in it, so I decided that it doesn't belong under acpica/ or acpi_support/. Am I correct about this? Anything else you would like to report or comment or advise to me. Thank you very much for your help. -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Sun Oct 18 20:15:10 2009 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 243BA1065698; Sun, 18 Oct 2009 20:15:10 +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 1A8448FC15; Sun, 18 Oct 2009 20:15:08 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id XAA17430; Sun, 18 Oct 2009 23:15:07 +0300 (EEST) (envelope-from avg@freebsd.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Mzc9j-000FSr-7B; Sun, 18 Oct 2009 23:15:07 +0300 Message-ID: <4ADB773C.8090600@freebsd.org> Date: Sun, 18 Oct 2009 23:14:52 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: freebsd-acpi@freebsd.org, freebsd-hackers@freebsd.org References: <4ADB764C.2010900@icyb.net.ua> In-Reply-To: <4ADB764C.2010900@icyb.net.ua> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: Re: SB7xx watchdog: new driver for review and testing 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, 18 Oct 2009 20:15:10 -0000 on 18/10/2009 23:10 Andriy Gapon said the following: > Please review and/or test a new driver for watchdog driver included into AMD ^^^^^^^^^-hardware Oh, and please note things marked with XXX and TODO in the code. -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Mon Oct 19 11:06:47 2009 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 45D78106566C for ; Mon, 19 Oct 2009 11:06:47 +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 1A89F8FC2F for ; Mon, 19 Oct 2009 11:06:47 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9JB6kbb063347 for ; Mon, 19 Oct 2009 11:06:46 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9JB6kJ2063345 for freebsd-acpi@FreeBSD.org; Mon, 19 Oct 2009 11:06:46 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 Oct 2009 11:06:46 GMT Message-Id: <200910191106.n9JB6kJ2063345@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, 19 Oct 2009 11:06:47 -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/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 kern/136808 acpi [acpi] panic when switching to s3 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 o kern/129618 acpi [acpi] Problem with ACPI on HP Pavilion DV2899 laptop o kern/129563 acpi [acpi] sleep broken on IBM/Lenovo T61 in amd64 mode f kern/128639 acpi [patch] [acpi_asus] acpi for ASUS A6F,A3E,A3F,A3N not f kern/128634 acpi [patch] fix acpi_asus(4) in asus a6f laptop o kern/127581 acpi [patch] [acpi_sony] Add support for more Sony features o kern/124744 acpi [acpi] [patch] incorrect _BST result validation for To 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/121454 acpi [pst] Promise SuperTrak SX6000 does not load during bo o amd64/121439 acpi [boot] Installation of FreeBSD 7.0 fails: ACPI problem o kern/121102 acpi [acpi_fujitsu] [patch] update acpi_fujitsu for the P80 o kern/120515 acpi [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc o 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/118973 acpi [acpi]: Kernel panic with acpi boot o kern/117605 acpi [acpi] [request] add debug.cpufreq.highest 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/108954 acpi [acpi] 'sleep(1)' sleeps >1 seconds when speedstep (Cx 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/108017 acpi [acpi]: Acer Aspire 5600 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/104625 acpi ACPI on ASUS A8N-32 SLI/ASUS P4P800 does not show ther o kern/102252 acpi acpi thermal does not work on Abit AW8D (intel 975) o kern/97383 acpi Volume buttons on IBM Thinkpad crash system with ACPI s i386/91748 acpi acpi problem on Acer TravelMare 4652LMi (nvidia panic, s kern/91038 acpi [panic] [ata] [acpi] 6.0-RELEASE on Fujitsu Siemens Am s kern/90243 acpi Laptop fan doesn't turn off (ACPI enabled) (Packard Be o i386/83018 acpi [install] Installer will not boot on Asus P4S8X BIOS 1 f kern/81000 acpi [apic] Via 8235 sound card worked great with FreeBSD 5 o i386/79081 acpi ACPI suspend/resume not working on HP nx6110 o kern/76950 acpi ACPI wrongly blacklisted on Micron ClientPro 766Xi sys s kern/73823 acpi [request] acpi / power-on by timer support o i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Armada 1750 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 o i386/54756 acpi ACPI suspend/resume problem on CF-W2 laptop 54 problems total. From owner-freebsd-acpi@FreeBSD.ORG Mon Oct 19 11:17:26 2009 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 D04411065679; Mon, 19 Oct 2009 11:17:26 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id 38E558FC18; Mon, 19 Oct 2009 11:17:25 +0000 (UTC) Received: by fxm18 with SMTP id 18so4902497fxm.37 for ; Mon, 19 Oct 2009 04:17:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=2XJ3S1ZDhInOZK5OjBecgSoAnc3Q5PuamF509Z4i/EU=; b=KUKSTbRJazWtkcLoRppIzS4Ct3VNEp3V2cOmdJ03C99lh7kpxnaZApx0lC6GflVrRH IzMKFhlDj0PTmWIpt8YKRQ6r7a9pBHUIy80I+BRthzmh+KTYzLkdhvj1E5URq11FiIWh RyAHd4bfV3ri6xm5c3GcasPi3HLDGDHynTfxo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=Oj1Qu6bu+xFa/1BrOx13hcZcPmIbwJRJ+TJJb/ErM5av6NBRQd+L99CFPPgU+uVnfX wfruC0pQbjlRwUxM2xtvjYz+b+iukQtp3etxQLee9wuE5cwyuc7pGR69NCqs5QAGT1CB s5hfZGXn8zV3KeLcJvqy8e6EkLMhaGj6mQSWQ= Received: by 10.204.15.3 with SMTP id i3mr4744738bka.71.1255951045080; Mon, 19 Oct 2009 04:17:25 -0700 (PDT) Received: from mac-mini.lan (bl6-159-136.dsl.telepac.pt [82.155.159.136]) by mx.google.com with ESMTPS id 13sm589223bwz.14.2009.10.19.04.17.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 Oct 2009 04:17:24 -0700 (PDT) Sender: Rui Paulo Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes From: Rui Paulo In-Reply-To: <4ADB764C.2010900@icyb.net.ua> Date: Mon, 19 Oct 2009 12:17:22 +0100 Content-Transfer-Encoding: 7bit Message-Id: <5E0DD277-CAA3-4F01-8561-35CF6C511718@freebsd.org> References: <4ADB764C.2010900@icyb.net.ua> To: Andriy Gapon X-Mailer: Apple Mail (2.1076) Cc: freebsd-hackers@freebsd.org, freebsd-acpi@freebsd.org Subject: Re: SB7xx watchdog: new driver for review and testing 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, 19 Oct 2009 11:17:27 -0000 On 18 Oct 2009, at 21:10, Andriy Gapon wrote: > Please review and/or test a new driver for watchdog driver included > into AMD SB7xx: > http://people.freebsd.org/~avg/amdsbwd.tgz > I have tested this driver only with SB700 on Gigabyte GA-MA780G-UD3H > motherboard. > > ichwd driver was used as a starting point for this driver. This can > be seen from > some function names, general code organization and some small code > snippets. > Many thanks to ichwd authors and maintainers! > > Right now I have infrastructure only for building this driver as a > module. > > Things for which that I need the most feedback/ideas: > 1. If the driver actually works on your hardware and the hardware > description. > The driver can be tested by loading the driver and doing 'watchdog - > t number>'. Having debug.bootverbose=1 may provide additional useful > info. > And better to test this from single-user mode with filesystems > mounted r/o. > > 2. Better name for the driver. amdsbwd stands for "AMD S(outh)B(ridge) > WatchDog", but this abbreviation could be cryptic to decipher. > > 3. Proper location for this driver. > At least on my system this driver needs resources (I/O ports and MEM > range) that > are claimed by ACPI, thus I've made it a child of acpi bus. But this > driver > doesn't have anything else ACPI-ish in it, so I decided that it > doesn't belong > under acpica/ or acpi_support/. Am I correct about this? > > Anything else you would like to report or comment or advise to me. > Thank you very much for your help. The driver looks good in general. A few questions: - Can you make the magic numbers a define ? Where did they come from ? - Are you missing a device_set_desc() call ? - If this is what you want to commit, C++ comments are not allowed per- style Regards, -- Rui Paulo From owner-freebsd-acpi@FreeBSD.ORG Mon Oct 19 11:23:43 2009 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 B5391106566B; Mon, 19 Oct 2009 11:23:43 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 8DEBB8FC21; Mon, 19 Oct 2009 11:23:42 +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 OAA01763; Mon, 19 Oct 2009 14:23:40 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4ADC4C3C.3000007@icyb.net.ua> Date: Mon, 19 Oct 2009 14:23:40 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20090825) MIME-Version: 1.0 To: Rui Paulo References: <4ADB764C.2010900@icyb.net.ua> <5E0DD277-CAA3-4F01-8561-35CF6C511718@freebsd.org> In-Reply-To: <5E0DD277-CAA3-4F01-8561-35CF6C511718@freebsd.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, freebsd-acpi@freebsd.org Subject: Re: SB7xx watchdog: new driver for review and testing 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, 19 Oct 2009 11:23:43 -0000 on 19/10/2009 14:17 Rui Paulo said the following: > On 18 Oct 2009, at 21:10, Andriy Gapon wrote: > >> Please review and/or test a new driver for watchdog driver included >> into AMD SB7xx: >> http://people.freebsd.org/~avg/amdsbwd.tgz >> I have tested this driver only with SB700 on Gigabyte GA-MA780G-UD3H >> motherboard. >> >> ichwd driver was used as a starting point for this driver. This can be >> seen from >> some function names, general code organization and some small code >> snippets. >> Many thanks to ichwd authors and maintainers! >> >> Right now I have infrastructure only for building this driver as a >> module. >> >> Things for which that I need the most feedback/ideas: >> 1. If the driver actually works on your hardware and the hardware >> description. >> The driver can be tested by loading the driver and doing 'watchdog -t >> > number>'. Having debug.bootverbose=1 may provide additional useful info. >> And better to test this from single-user mode with filesystems mounted >> r/o. >> >> 2. Better name for the driver. amdsbwd stands for "AMD S(outh)B(ridge) >> WatchDog", but this abbreviation could be cryptic to decipher. >> >> 3. Proper location for this driver. >> At least on my system this driver needs resources (I/O ports and MEM >> range) that >> are claimed by ACPI, thus I've made it a child of acpi bus. But this >> driver >> doesn't have anything else ACPI-ish in it, so I decided that it >> doesn't belong >> under acpica/ or acpi_support/. Am I correct about this? >> >> Anything else you would like to report or comment or advise to me. >> Thank you very much for your help. > > The driver looks good in general. A few questions: > - Can you make the magic numbers a define ? Where did they come from ? Yes, will do this. The numbers are from register definitions in AMD SB700/710/750 Register Reference Guide: http://developer.amd.com/assets/43009_sb7xx_rrg_pub_1.00.pdf I will add a link to the document too. > - Are you missing a device_set_desc() call ? Yes, I missed this. Thanks! > - If this is what you want to commit, C++ comments are not allowed > per-style Those lines were a result of quick hacking. I will remove them altogether, -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Mon Oct 19 11:24:07 2009 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 E9B2C106566B; Mon, 19 Oct 2009 11:24:07 +0000 (UTC) (envelope-from kama@pvp.se) Received: from ms1.as.pvp.se (mail.pvp.se [213.64.187.227]) by mx1.freebsd.org (Postfix) with ESMTP id A53CC8FC13; Mon, 19 Oct 2009 11:24:07 +0000 (UTC) Received: by ms1.as.pvp.se (Postfix, from userid 1001) id 490D09A; Mon, 19 Oct 2009 13:24:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by ms1.as.pvp.se (Postfix) with ESMTP id 43D2B6D; Mon, 19 Oct 2009 13:24:06 +0200 (CEST) Date: Mon, 19 Oct 2009 13:24:06 +0200 (CEST) From: kama X-X-Sender: kama@ns1.as.pvp.se To: Andriy Gapon In-Reply-To: <20091002212626.O37424@ns1.as.pvp.se> Message-ID: <20091019131327.U33520@ns1.as.pvp.se> References: <20090921140345.H37424@ns1.as.pvp.se> <20090922103150.V37424@ns1.as.pvp.se> <4AB8A95E.3060307@icyb.net.ua> <20090922142526.P37424@ns1.as.pvp.se> <4AB8E082.8050100@icyb.net.ua> <20090922215700.V37424@ns1.as.pvp.se> <4ABA1D1F.3080704@icyb.net.ua> <20090923171004.Q37424@ns1.as.pvp.se> <4ABA457E.3060800@freebsd.org> <20090924141927.Y37424@ns1.as.pvp.se> <20090925110209.E37424@ns1.as.pvp.se> <4ABC894E.7040204@freebsd.org> <20090928092026.B37424@ns1.as.pvp.se> <4AC06ED6.7030402@freebsd.org> <20090928235136.F37424@ns1.as.pvp.se> <20090929085000.B37424@ns1.as.pvp.se> <4AC211AC.1070404@freebsd.org> <20090929204651.G37424@ns1.as.pvp.se> <4AC34952.9010508@freebsd.org> <20090930151542.G37424@ns1.as.pvp.se> <4AC35CC6.1020103@freebsd.org> <20091002132218.P37424@ns1.as.pvp.se> <20091002212626.O37424@ns1.as.pvp.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 7.2-STABLE boot freeze 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, 19 Oct 2009 11:24:08 -0000 On Fri, 2 Oct 2009, kama wrote: > > > Do you get this message in all cases? That is, every time you tried? > > > Or only with ACPI_DEBUG defined? > > > > I cant recall. I have tried so many things lately. But I believe I get it > > on a verbose boot without ACPI_DEBUG. > > > > Im currently rebuilding the system to 8.0. > > Just upgrading to 8.0 did not help regarding the freezes. > > I ran into the bge freeze bug too when disabling acpi. > > I then read the acpi-manpage abit more carefully. > > With ACPI_DEBUG and debug.acpi.disabled="timer" in loader.conf and verbose > boot seems to help against the freeze and freezes again if I dont run it > in verbose mode. But thats just after 5 starts. Anyhow its better. > > loader.conf: > debug.acpi.disabled="timer" > debug.acpi.layer="ACPI_ALL_COMPONENTS" > debug.acpi.level="ACPI_LV_VERBOSE,ACPI_LV_VERBOSITY3,ACPI_LV_VERBOSITY1,ACPI_LV_ALL_EXCEPTIONS" > I just wanted to bump this. After the checkout yesterday and installation today I still get these freezes. # cat /boot/loader.conf hw.bge.allow_asf="0" hw.acpi.verbose="1" debug.acpi.max_threads="1" debug.acpi.disabled="timer" debug.acpi.layer="ACPI_ALL_COMPONENTS" debug.acpi.level="ACPI_LV_VERBOSE,ACPI_LV_VERBOSITY3,ACPI_LV_VERBOSITY1,ACPI_LV_ALL_EXCEPTIONS" # With this setup and with an GENERIC kernel I am able to boot if I choose a verbose boot. I dont know why it should work with these. If I only use debug.acpi.disabled="timer" it will freeze. Is there anyway for me to get more info when it exactly freezes. Like having it print out to the screen when it enters and leaves functions or something. Im not to familiar with where to put these and its "quite" a large project for me to start to understand where everything goes. If someone wants to give me patches or specify which files to alter and how I print to the screen during boot I might be able to pinpoint where it freezes and mail in the results. /Bjorn From owner-freebsd-acpi@FreeBSD.ORG Mon Oct 19 15:41:50 2009 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 3BD4B106568D; Mon, 19 Oct 2009 15:41:50 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 0085C8FC20; Mon, 19 Oct 2009 15:41:48 +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 SAA06646; Mon, 19 Oct 2009 18:41:47 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4ADC88BA.10507@icyb.net.ua> Date: Mon, 19 Oct 2009 18:41:46 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20090825) MIME-Version: 1.0 To: Rui Paulo , freebsd-acpi@freebsd.org, freebsd-hackers@freebsd.org References: <4ADB764C.2010900@icyb.net.ua> <5E0DD277-CAA3-4F01-8561-35CF6C511718@freebsd.org> In-Reply-To: <5E0DD277-CAA3-4F01-8561-35CF6C511718@freebsd.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: SB7xx watchdog: new driver for review and testing 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, 19 Oct 2009 15:41:50 -0000 I have put updated version of the driver (C file only) here: http://people.freebsd.org/~avg/amdsbwd.c Please let me know how it looks now. Thank you! -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Mon Oct 19 15:47:38 2009 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 BE6391065679; Mon, 19 Oct 2009 15:47:38 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 26F078FC14; Mon, 19 Oct 2009 15:47:37 +0000 (UTC) Received: by fxm22 with SMTP id 22so4937946fxm.36 for ; Mon, 19 Oct 2009 08:47:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=TaKQMhcMEoAa1c00xmYh8DIE+AMCnoDPwyEyRHebS3Y=; b=mZn/R0iA53B4ExJs8Y4ngAr1NSw07TP43c6oEeYt12JctuKeSUvxZokH177A7RiRzn szZxeyC2dggxH3bwYd4piy8yCtxDSH+BgEfhMB8UDcIgvsFTckX+HGbN3SpEKMty5cFu eNYiozbcmUwwwXvS5JAOD0Liwqd0sv57FUK/c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=NnE94l9cMrT2HMx0uY3sgSDam8+h7g/n2Egk5rE9pG53rqgXJc9pcSAHmjH7RXW4h4 Si1pSkNWw2B3nQE0PUVlV4GfvxlfOBg83h3Q1frJd7fHO9D/tboeEl/z/zHSk52a7igo 4AjPNM8DtmuUF0XoDN2YPmcAeLZtJ9K0SZEik= Received: by 10.204.25.66 with SMTP id y2mr4992622bkb.59.1255967256601; Mon, 19 Oct 2009 08:47:36 -0700 (PDT) Received: from mac-mini.lan (bl9-152-74.dsl.telepac.pt [85.242.152.74]) by mx.google.com with ESMTPS id 16sm666313bwz.3.2009.10.19.08.47.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 Oct 2009 08:47:35 -0700 (PDT) Sender: Rui Paulo Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed From: Rui Paulo In-Reply-To: <4ADC88BA.10507@icyb.net.ua> Date: Mon, 19 Oct 2009 16:47:34 +0100 Content-Transfer-Encoding: 7bit Message-Id: References: <4ADB764C.2010900@icyb.net.ua> <5E0DD277-CAA3-4F01-8561-35CF6C511718@freebsd.org> <4ADC88BA.10507@icyb.net.ua> To: Andriy Gapon X-Mailer: Apple Mail (2.1076) Cc: freebsd-hackers@freebsd.org, freebsd-acpi@freebsd.org Subject: Re: SB7xx watchdog: new driver for review and testing 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, 19 Oct 2009 15:47:38 -0000 On 19 Oct 2009, at 16:41, Andriy Gapon wrote: > > I have put updated version of the driver (C file only) here: > http://people.freebsd.org/~avg/amdsbwd.c Looks good to me. -- Rui Paulo From owner-freebsd-acpi@FreeBSD.ORG Mon Oct 19 19:43:57 2009 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 543D9106568B; Mon, 19 Oct 2009 19:43:57 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 2E0258FC1E; Mon, 19 Oct 2009 19:43:55 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id WAA09959; Mon, 19 Oct 2009 22:43:54 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Mzy94-000JVK-21; Mon, 19 Oct 2009 22:43:54 +0300 Message-ID: <4ADCC16A.1080203@icyb.net.ua> Date: Mon, 19 Oct 2009 22:43:38 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: Rui Paulo , freebsd-acpi@freebsd.org, freebsd-hackers@freebsd.org References: <4ADB764C.2010900@icyb.net.ua> <5E0DD277-CAA3-4F01-8561-35CF6C511718@freebsd.org> <4ADC88BA.10507@icyb.net.ua> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: SB7xx watchdog: new driver for review and testing 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, 19 Oct 2009 19:43:57 -0000 on 19/10/2009 18:47 Rui Paulo said the following: > On 19 Oct 2009, at 16:41, Andriy Gapon wrote: > >> >> I have put updated version of the driver (C file only) here: >> http://people.freebsd.org/~avg/amdsbwd.c > > Looks good to me. Thank you for the review and the help! I have now produced a diff against the main tree for full integration of this driver: http://people.freebsd.org/~avg/amdsbwd.diff -- Andriy Gapon From owner-freebsd-acpi@FreeBSD.ORG Sat Oct 24 11:18:56 2009 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 ED49B106566B; Sat, 24 Oct 2009 11:18:56 +0000 (UTC) (envelope-from c.r.n.a@wanadoo.fr) Received: from smtp20.orange.fr (smtp20.orange.fr [193.252.22.31]) by mx1.freebsd.org (Postfix) with ESMTP id B0E578FC08; Sat, 24 Oct 2009 11:18:56 +0000 (UTC) Received: from smtp20.orange.fr (mwinf2017 [172.22.130.117]) by mwinf2020.orange.fr (SMTP Server) with ESMTP id 017371C01439; Sat, 24 Oct 2009 12:35:58 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2017.orange.fr (SMTP Server) with ESMTP id 65D1520000AF; Sat, 24 Oct 2009 12:35:56 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2017.orange.fr (SMTP Server) with ESMTP id 573C620000B7; Sat, 24 Oct 2009 12:35:56 +0200 (CEST) Received: from [192.168.1.13] (ABordeaux-551-1-15-87.w86-196.abo.wanadoo.fr [86.196.242.87]) by mwinf2017.orange.fr (SMTP Server) with ESMTP id 182A920000AF; Sat, 24 Oct 2009 12:35:56 +0200 (CEST) X-ME-UUID: 20091024103556992.182A920000AF@mwinf2017.orange.fr Message-ID: <4AE2D7DC.1080800@wanadoo.fr> Date: Sat, 24 Oct 2009 12:33:00 +0200 From: Nicolas User-Agent: Thunderbird 2.0.0.23 (X11/20091022) MIME-Version: 1.0 To: rpaulo@freebsd.org, freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: acpi_hp 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, 24 Oct 2009 11:18:57 -0000 Hi, I'm trying to use the acpi_hp but no luck: acpi_wmi0: on acpi0 acpi_hp0: on acpi0 acpi_hp0: WMI device does not provide the HP BIOS GUID device_attach: acpi_hp0 attach returned 22 What's the problem with my computer ? I need this driver to switch on my wireless card. Thanks in advance, Nicolas. From owner-freebsd-acpi@FreeBSD.ORG Sat Oct 24 11:28:34 2009 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 DE1451065679 for ; Sat, 24 Oct 2009 11:28:34 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id 6EC2D8FC13 for ; Sat, 24 Oct 2009 11:28:34 +0000 (UTC) Received: by ewy18 with SMTP id 18so9263654ewy.43 for ; Sat, 24 Oct 2009 04:28:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=qixJgRaOG/VnMhxCxxm3/bU/Cvcwbyc477+ZVR8NfxM=; b=Ro7msbaxuQrhkDNru10eu9pP3T+DVavkxMmsc43IfUIv56lnCHVZy8Knvt5bLylqvi +NM88G11NpuJuXLm9m9bF0MbrGC5sbIQEKsMPIGsXW8bhZnInYTPBnyt1ZBbhT5YGowO XSeTaAVDcP7tyyCfIFuTW3DmGfL6qThs3YsfE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=QAIggfdZuLGznLjaf/1lu4C3gdScTeAdWDwCg1Z0sW3FoHvpaGdQCMvSi1MmoWEEaY 29NhBMa5OLC/zerV7b3tS+dCjgA9rpyCrv0AnoP+/xMDeK80CByr1y8kg2MQtRmVdwRK 61Uqymd0gGu/MuxEYIcKHaKZqXlF4kpW7kOrU= Received: by 10.211.173.16 with SMTP id a16mr4417806ebp.66.1256383713544; Sat, 24 Oct 2009 04:28:33 -0700 (PDT) Received: from mac-mini.lan (bl11-0-248.dsl.telepac.pt [85.244.0.248]) by mx.google.com with ESMTPS id 28sm703022eyg.14.2009.10.24.04.28.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 24 Oct 2009 04:28:33 -0700 (PDT) Sender: Rui Paulo Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed From: Rui Paulo In-Reply-To: <4AE2D7DC.1080800@wanadoo.fr> Date: Sat, 24 Oct 2009 12:28:30 +0100 Content-Transfer-Encoding: 7bit Message-Id: References: <4AE2D7DC.1080800@wanadoo.fr> To: Nicolas X-Mailer: Apple Mail (2.1076) Cc: freebsd-acpi@freebsd.org, Michael Gmelin Subject: Re: acpi_hp 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, 24 Oct 2009 11:28:34 -0000 On 24 Oct 2009, at 11:33, Nicolas wrote: > Hi, > > I'm trying to use the acpi_hp but no luck: > > acpi_wmi0: on acpi0 > acpi_hp0: on acpi0 > acpi_hp0: WMI device does not provide the HP BIOS GUID > device_attach: acpi_hp0 attach returned 22 > > What's the problem with my computer ? > I need this driver to switch on my wireless card. Try asking Michael (CC'ed). Regards, -- Rui Paulo