From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 30 02:58:09 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FE7416A4CE for ; Sun, 30 Jan 2005 02:58:09 +0000 (GMT) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49DC643D1D for ; Sun, 30 Jan 2005 02:58:09 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id IBA74465; Sat, 29 Jan 2005 18:58:09 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 9EFB45D07; Sat, 29 Jan 2005 18:58:08 -0800 (PST) To: dwalton@acm.org In-reply-to: Your message of "Fri, 28 Jan 2005 23:20:37 PST." <41FB3945.8000901@acm.org> Date: Sat, 29 Jan 2005 18:58:08 -0800 From: "Kevin Oberman" Message-Id: <20050130025808.9EFB45D07@ptavv.es.net> cc: Søren Schmidt cc: freebsd-mobile@freebsd.org Subject: Re: Trouble with APM suspend in 5.3-R X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jan 2005 02:58:09 -0000 > Date: Fri, 28 Jan 2005 23:20:37 -0800 > From: Dave Walton > > That sounds like what APM in plain 5.3-R does on my ThinkPad 770Z. Try > upgrading ata_all.c to version 1.233 from CVS. That fixed suspend for > me. Whether you'll have problems with resume is another question > entirely... > > Dave > > > Kevin Oberman wrote: > > > > Hmmm. For some time I have been using ACPI on Stable on my ThinkPad T30, > > but I thought I should make sure that it still worked with APM and... > > I can no longer suspend my system with APM. I enter 'zzz' and get a > > return and a prompt with no other messages, and the system is locked up > > and requires a system reset and reboot. > > > > While I plan on switching back to ACPI, APM worked for a long time on > > this system and really should still work. I recall reports of APM > > problems on Stable a while back, but I thought that the problem had been > > resolved. Thanks, Dave. This is an odd one. One of the changes in 1.233 was MFC'ed in 1.222.2.5, but the second part, describes as: Cosmetic change to suspend, dont call tsleep an extra time at exit. has never been MFCed for some reason. I'm copying Søren in hoes that he will MFC the remainder of 1.233. It does allow my system to suspend just fine, but it now locks up with the disk active on resume :-( I'll have to try the patch Gleb posted to see if it fixes this one! -- 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