From owner-freebsd-current@FreeBSD.ORG Tue Mar 31 15:03:41 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 23E911065776; Tue, 31 Mar 2009 15:03:41 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id E46948FC14; Tue, 31 Mar 2009 15:03:40 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (pool-98-109-39-197.nwrknj.fios.verizon.net [98.109.39.197]) by cyrus.watson.org (Postfix) with ESMTPSA id 92AA046B17; Tue, 31 Mar 2009 11:03:40 -0400 (EDT) Received: from localhost (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id n2VF3Na2032302; Tue, 31 Mar 2009 11:03:34 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Tue, 31 Mar 2009 10:45:26 -0400 User-Agent: KMail/1.9.7 References: <1236802980.00085518.1236789602@10.7.7.3> <1238498590.00094580.1238487605@10.7.7.3> <49D1FEAE.4050006@FreeBSD.org> In-Reply-To: <49D1FEAE.4050006@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903311045.27391.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Tue, 31 Mar 2009 11:03:35 -0400 (EDT) X-Virus-Scanned: ClamAV 0.94.2/9186/Tue Mar 31 05:51:33 2009 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Alexander Motin , Gustavo Perez Querol , Jung-uk Kim 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: Tue, 31 Mar 2009 15:03:41 -0000 On Tuesday 31 March 2009 7:29:50 am Alexander Motin wrote: > Gustavo Perez Querol wrote: > > Finally report that kldloading if_bge after resume doesn't make the card > > work. Making pciconf -lv shows the card, but no driver attaches to the > > card. > > My bge suspends fine without unloading and works fine after resume. > > bge0@pci0:4:0:0: class=0x020000 card=0x011b1025 chip=0x169314e4 > rev=0x02 hdr=0x00 It probably depends on the card. I used to have an HP nc6220 and it's bge0 would lose its mind after resume. I tried adding code to reset the phy on resume but that didn't help. The Linux tg3 driver actually has a good bit of code to manage suspend / resume. -- John Baldwin