From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 18 05:21:54 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9DA616A412 for ; Mon, 18 Dec 2006 05:21:54 +0000 (UTC) (envelope-from drgerlists@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 5CA0343CAF for ; Mon, 18 Dec 2006 05:21:51 +0000 (GMT) (envelope-from drgerlists@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so785525pyh for ; Sun, 17 Dec 2006 21:21:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:organization:reply-to:to:subject:message-id:user-agent:mime-version:content-type:content-transfer-encoding; b=e8d8bAqSWpSuqfuSgLj27Wj2D3WYOQQebF/b4Y/i+OyjrNqr2zKY7Tym3M4WVgwGuo6bn1yFiG+HUNmPIvyIoNeHhxwKKE7k3qIbO+tYtP70rLlhEPEzXREDqwcC6JMhCxEYtbVa1n7JHtG9wu7ni22TYioDgTbL2lNVsc/sy7E= Received: by 10.35.102.1 with SMTP id e1mr5840473pym.1166417788012; Sun, 17 Dec 2006 20:56:28 -0800 (PST) Received: from lmrmac.uhw.utoledo.edu ( [131.183.86.111]) by mx.google.com with ESMTP id w38sm7909215pyg.2006.12.17.20.56.27; Sun, 17 Dec 2006 20:56:27 -0800 (PST) Date: Sun, 17 Dec 2006 23:56:26 -0500 From: drgerlists@gmail.com (Dr. Gary E. RAFE) Organization: Dr. Gary E. RAFE To: freebsd-acpi@freebsd.org Message-ID: <45861f7a.zYIiWx1ykT/kBPh3u2NsUJfU@lmrmac.uhw.utoledo.edu> User-Agent: Heirloom mailx 12.1 6/15/06 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: ACPI Resume returns g_vfs_done() error and kernel panic... X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: drgerlists@gmail.com List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Dec 2006 05:21:55 -0000 Background: Toshiba Satellite Pro 6100 BIOS Version 1.90 (latest, dated 11 Aug 2003) FreeBSD 6.1-RELEASE, custom kernel(s) APM Suspend/Resume works without trouble on this configuration (*with* USB devices compiled into the kernel). Currently: After reconfiguring my wife's Toshiba Satellite Pro 4600 recently with FreeBSD 6.1-RELEASE and finding ACPI Suspend/Resume appears to work mostly as it should (USB still complains a bit, but it does work OK), I decided to re-visit ACPI on my 6100. The first ACPI suspend attempt on the 6100 with a (new) USB-free kernel appeared to suspend the system OK with "acpiconf -s S3". Lid-open resume on this first attempt returned a corrupted text console that came back OK following an Fn-F5 cycle. Many "g_vfs_done():ad0s2a..." error messages on the text console suggested trouble, however, so "init 6" was issued, which immediately initiated a kernel panic. Following the reboot, I discovered that my /etc/rc.local file was corrupted (truncated) -- darn. A complete "verbose" dmesg(8) output from a subsequent ACPI suspend/resume cycle is posted here: Note that setting "sysctl hw.acpi.video_reset=0" fixed the corrupted text console on this Toshiba. By way of contrast, dmesg(8) output from a working APM suspend/resume is here: For completeness, hardware ACPI-related sysctl(8) information is here: And the ASL dump from acpidump(8): Since APM Suspend/Resume is known to work, this is not a show-stopper for me. I have been interested, however, in getting ACPI services to work on this Toshiba. Guidance & direction as to where to look next by list readers and ACPI experts will be appreciated. -- Dr Gary E RAFE: drgerlists at gmail dot com