From owner-freebsd-doc@FreeBSD.ORG Fri Oct 2 17:35:52 2009 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B27E7106568B; Fri, 2 Oct 2009 17:35:52 +0000 (UTC) (envelope-from oberman@es.net) Received: from mailgw.es.net (mail1.es.net [IPv6:2001:400:201:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9720E8FC14; Fri, 2 Oct 2009 17:35:52 +0000 (UTC) Received: from ptavv.es.net (ptavv.es.net [IPv6:2001:400:910::29]) by mailgw.es.net (8.14.3/8.14.3) with ESMTP id n92HZnHw032719 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 2 Oct 2009 10:35:50 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id A341E1CC0E; Fri, 2 Oct 2009 10:35:48 -0700 (PDT) To: kama In-reply-to: Your message of "Fri, 02 Oct 2009 19:23:29 +0200." <20091002192133.R37424@ns1.as.pvp.se> Date: Fri, 02 Oct 2009 10:35:48 -0700 From: "Kevin Oberman" Message-Id: <20091002173548.A341E1CC0E@ptavv.es.net> X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2009-10-02_08:2009-09-29, 2009-10-02, 2009-10-02 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-0910020097 Cc: "Marat N.Afanasyev" , freebsd-doc@freebsd.org, freebsd-stable@freebsd.org Subject: Re: acpi doc misconfusion... X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2009 17:35:52 -0000 > Date: Fri, 2 Oct 2009 19:23:29 +0200 (CEST) > From: kama > > > On Fri, 2 Oct 2009, Kevin Oberman wrote: > > > > Date: Fri, 02 Oct 2009 19:30:58 +0400 > > > From: "Marat N.Afanasyev" > > > Sender: owner-freebsd-stable@freebsd.org > > > > > > kama wrote: > > > > Hi, > > > > > > > > there are a lot of different errors in various document regarding acpi > > > > that are wrong. > > > > > > > > In 'man acpi' it says that 'hint.acpi.0.disabled' should be placed in > > > > loader.conf. > > > > > > > > ------------- > > > > LOADER TUNABLES > > > > Tunables can be set at the loader(8) prompt before booting the kernel > > > > or > > > > stored in /boot/loader.conf. Many of these tunables also have a > > > > matching > > > > sysctl(8) entry for access after boot. > > > > ... > > > > hint.acpi.0.disabled > > > > Set this to 1 to disable all of ACPI. If ACPI has been > > > > disabled > > > > on your system due to a blacklist entry for your BIOS, you > > > > can > > > > set this to 0 to re-enable ACPI for testing. > > > > ... > > > > ------------- > > > > > > > > > > > > > > > > In 'man loader' it says: > > > > ------------- > > > > acpi_load > > > > Unset this to disable automatic loading of the ACPI module. > > > > See also hint.acpi.0.disabled in device.hints(5). > > > > ------------- > > > > > > > > In 'man device.hints' > > > > ------------- > > > > The following example disables the ACPI driver: > > > > > > > > hint.acpi.0.disabled="1" > > > > ------------- > > > > > > > > http://www.freebsd.org/doc/en/articles/laptop/article.html page also > > > > states that it should be in device.hints. > > > > > > > > > > > > Well, these are the ones I have found. There are a lot of misconfusion in > > > > various forums what to put where and how its done. Maybe its accurate on > > > > both places, but then that should be noted somewhere. > > > > > > > > /Bjorn > > > > > > > I was told that there's no difference between loader.conf and > > > device.hints, so you can place this option in either file > > > > This is sort of correct. Hints may be placed in either place with the > > same results. But there is a difference on how the files, themselves are > > handled. > > > > /boot/loader.conf is never touched by a FreeBSD update, even for major > > versions. /boot/device.hints is subject to modification between > > versions. It is not automatically updated, but a new version is included > > in the /sys/ARCH/conf directory and an update may be required as drivers > > change. This will delete any custom hints. (E.g. The sio to uart > > transition on 8.0.) > > > > This is why I generally but any hints that really need to survive in > > /boot/loader.conf. (In my case, I have to disable APIC on my laptop.) > > But shouldnt this be mentioned somewhere then? To ease the confusion? Sounds like a good idea. Feel free to submit patches/text to the FreeBSD doc folks. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751