From owner-freebsd-current@FreeBSD.ORG Thu Mar 26 04:26:51 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A53191065672 for ; Thu, 26 Mar 2009 04:26:51 +0000 (UTC) (envelope-from ambrisko@ambrisko.com) Received: from mail.ambrisko.com (mail.ambrisko.com [64.174.51.43]) by mx1.freebsd.org (Postfix) with ESMTP id 7C4848FC14 for ; Thu, 26 Mar 2009 04:26:51 +0000 (UTC) (envelope-from ambrisko@ambrisko.com) X-Ambrisko-Me: Yes Received: from server2.ambrisko.com (HELO www.ambrisko.com) ([192.168.1.2]) by ironport.ambrisko.com with ESMTP; 25 Mar 2009 20:59:34 -0700 Received: from ambrisko.com (localhost [127.0.0.1]) by www.ambrisko.com (8.14.3/8.14.1) with ESMTP id n2Q3whGa004014 for ; Wed, 25 Mar 2009 20:58:43 -0700 (PDT) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.14.3/8.14.3/Submit) id n2Q3whYg004013 for freebsd-current@freebsd.org; Wed, 25 Mar 2009 20:58:43 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200903260358.n2Q3whYg004013@ambrisko.com> In-Reply-To: <1237926289.1735.17.camel@localhost> To: freebsd-current@freebsd.org Date: Wed, 25 Mar 2009 20:58:43 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Subject: Re: [HEADSUP] amd64 suspend/resume code to be comitted X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2009 04:26:51 -0000 FWIW, I have it working on a ThinkPad Z61p. Things I had to do was hack the isa vga driver to not attach since both the isa and pci drivers attached to the vga and that caused issues. I had to remove usb from my kernel since it causes a panic. My bge NIC seems to work fine. Previously, I disabled pccard from suspending since it used to cause an interrupt storm with USB sharing the same interrupt. The latest ATA code works great, before I had to use a slightly hacked FreeBSD 7.0 version. I do the suspend/resume thing vidcontrol -s 1 < /dev/ttyv0 and vidcontrol -s 9 < /dev/ttyv0 since that seems to help X. It's been a long time, that I've waited to have suspend and resume work on amd64/smp! Till now, I've been stuck with i386/up :-( I have 2 boot partitions so I can boot 32bit or 64bit. I mount my 32bit stuff as /32bit.. then add /32bit/usr/local/bin to my path and ldconfig -32 -m /32bit/usr/local/lib for some app's that aren't available for amd64 like vnc. After another patch to rtld and fixing an absolute sym-link versus relative my 32bit stuff runs great on amd64. Doug A.