From owner-freebsd-stable@FreeBSD.ORG Wed Jan 5 14:54:26 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE2DA16A4CE for ; Wed, 5 Jan 2005 14:54:26 +0000 (GMT) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2315243D2F for ; Wed, 5 Jan 2005 14:54:26 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (nkdqte@localhost [127.0.0.1]) by lurza.secnetix.de (8.12.11/8.12.11) with ESMTP id j05EsNS3067708 for ; Wed, 5 Jan 2005 15:54:23 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.11/8.12.11/Submit) id j05EsNFd067707; Wed, 5 Jan 2005 15:54:23 +0100 (CET) (envelope-from olli) Date: Wed, 5 Jan 2005 15:54:23 +0100 (CET) Message-Id: <200501051454.j05EsNFd067707@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG In-Reply-To: <200501042217.47934.craig@feniz.gank.org> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.10-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: fsck: broken file system with background check remains broken after bootup X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2005 14:54:27 -0000 Craig Boston wrote: > On Tuesday 04 January 2005 9:57 pm, Wilkinson, Alex wrote: > > How can I confirm that ACPI has been setup to do this ? > > Hmm, well, the easiest thing to check is to run > > sysctl hw.acpi.power_button_state > > and see if that sysctl exists and if so, what it's set to (mine is S5, which > IIRC is complete power-off). Also, check dmesg and see if you see a line > similar to > > acpi_button0: on acpi0 > > If both of those show up, chances are that your ASL has a power button entry > and it should do the right thing. Other than that, you could always wait > until the system is idle and just try hitting the button to see what > happens ;) I'd recommend to quit all applications (particularly X11), then forcibly re-mount all filesystems to read-only (using "mount -ufo ro ..."), then press the power button. That way no harm will be done to the filesystems if it doesn't work. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things." -- Doug Gwyn