From owner-freebsd-mobile@FreeBSD.ORG Fri Jan 2 17:11:10 2004 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 0487116A4CE for ; Fri, 2 Jan 2004 17:11:10 -0800 (PST) Received: from infidyne.com (io.infidyne.com [212.112.161.72]) by mx1.FreeBSD.org (Postfix) with SMTP id BF9EC43D3F for ; Fri, 2 Jan 2004 17:11:06 -0800 (PST) (envelope-from peter.schuller@infidyne.com) Received: (qmail 11836 invoked from network); 3 Jan 2004 01:11:06 -0000 Received: from localhost (HELO scode.mine.nu) (scode@127.0.0.1) by localhost with SMTP; 3 Jan 2004 01:11:06 -0000 Received: from localhost (localhost [127.0.0.1]) by scode.mine.nu (Postfix) with ESMTP id 4326A888BE; Sat, 3 Jan 2004 02:18:25 +0100 (CET) From: Peter Schuller To: t12 , freebsd-mobile@freebsd.org Date: Sat, 3 Jan 2004 02:18:24 +0100 User-Agent: KMail/1.5.4 References: <20040102203423.GA8924@bloomcounty.org> In-Reply-To: <20040102203423.GA8924@bloomcounty.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401030218.24812.peter.schuller@infidyne.com> Subject: Re: thinkpad t41, acpi + ICH4 woes 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: Sat, 03 Jan 2004 01:11:10 -0000 > I recently got a new thinkpad t41 (23739FU), and have been working on > FreeBSD 5.2-RC2. Everything has been excelent, except of course for > suspend/resume. T40p here. > In both ACPI and APM suspends, I get a hang on resume. With APM, > occasionally it would resume safely. This appears to be a common problem, > across multiple fbsd releases. I've been tinkering with that ata driver, > which seems to be at least involved with the problems. I'm at an impasse at > this point, and am wondering if anyone would like to help, or has input. Based on the rest of the message you seems to have a lot more of a clue about this than me, but just in case: If you are running apmd, try turning it off. I am basing this on a gut feeling based on trial-and error, but I believe the hang happens if there is disk activity during the suspend process. apmd tends to create such activity. Having apmd running with a config where it doesn't do anything was not a problem, but when adding some pre/post-processing it would hang. Disabling apmd fixes this for me. I also had to patch the em driver in order for em0 to survive the suspend/resume. Dunno if the t41 has the same nic though. -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org