From owner-freebsd-stable@FreeBSD.ORG Mon May 19 10:50:11 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81ED2106566C for ; Mon, 19 May 2008 10:50:11 +0000 (UTC) (envelope-from sweetnavelorange@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.190]) by mx1.freebsd.org (Postfix) with ESMTP id 1251D8FC24 for ; Mon, 19 May 2008 10:50:10 +0000 (UTC) (envelope-from sweetnavelorange@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so847173tid.3 for ; Mon, 19 May 2008 03:50:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=Tdv0korFyFBmcbl8GWa8N4Mg9brBqgGOkQzpVLm3xi8=; b=U+c2iOa01SLpYeI2xosWMKWS7t5dZVgTwrZxiHgfePqTlakVphBJCROXpFJqDd1twPrVZREOaLVN5uAJuHC+8mhNDRhHF9Bdx6GCQnB71c5zgMXXsETsNF9yJLYgQRREqpJZs66xPJXv48YMzvKez233GYjpOiP4zr/9dy4a3l8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=xd8we3kn1oivx95KnsqDFgzfgmMdScLnVNcFdocVUeqdyg5f6o5HnMuUF7SN5W+1PVu+nW5j6lLHqUCaTBcTCyQHq5K4p5n1psQXdFofj2K4wHk6FeHZ0u0nKDlczgWQ8jdkPqZDMsKxuqj3gPD5m7OqlwZoTv0963kdT4GG+Yc= Received: by 10.110.46.3 with SMTP id t3mr897671tit.33.1211192683990; Mon, 19 May 2008 03:24:43 -0700 (PDT) Received: by 10.110.31.17 with HTTP; Mon, 19 May 2008 03:24:43 -0700 (PDT) Message-ID: Date: Mon, 19 May 2008 22:24:43 +1200 From: "James Butler" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Suspend/resume on IBM X31 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 10:50:11 -0000 Greetings I am having trouble with suspend/resume on my Thinkpad X31, running 7.0-STABLE as of April 23. Any help would be appreciated. First problem: When I run "acpiconf -s3" from mulituser mode, the system suspends immediately, without executing /etc/rc.suspend (which has mode 755); then on resume, I get a panic. Second problem: When the system panics, I don't get a dump (or textdump for that matter, when I turn them on); in the boot messages, I see "kernel dumps on /dev/ad0s2b" and then later (from memory), "Looking for core dumps on /dev/ad0s2b.... savecore: no dumps found" or somesuch. I know from trying out textdumps that dumping works in other circumstances. These issues together make it hard to debug further, but I did a few tests in single-user mode. First, with no services running, "acpiconf -s3" seems to work OK (although /etc/rc.suspend is still not executed) - I can suspend and resume and the machine keeps working. See: http://homepages.ihug.co.nz/~sweetnavelorange/dmesg.1 for my dmesg after one successful cycle - there are a few warnings to do with firewire. However if I start powerd before suspending, I get the following extra kernel messages (hand transcribed): acpi_ec0: warning: EC done before starting event wait subdisk0: detached ad0: detached and any subsequent attempts to access the disk (eg. dmesg>/some/file, kldstat) produce errors of the form: g_vfs_done(): ad0s2e[READ(offset=8478572544, length=16384)] error=6 and eventually another panic. Of course if /etc/rc.suspend worked, I could disable powerd before suspending :-/. If anyone has any ideas, I'd love to hear them, and I'll provide any more info that's needed. Other than this, I'm really pleased with FreeBSD 7 - thanks all! -James Butler