From owner-freebsd-current@FreeBSD.ORG Thu Nov 19 23:35:46 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 78DEA106566B for ; Thu, 19 Nov 2009 23:35:46 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id 263738FC14 for ; Thu, 19 Nov 2009 23:35:45 +0000 (UTC) Received: by qyk6 with SMTP id 6so1504012qyk.3 for ; Thu, 19 Nov 2009 15:35:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=srG41NkkgQURw9E9cV0iMwB9XfIj3hz/Wwt2vSi65As=; b=A6eyDAWwPB5d4WbGERxbow6brT+mzX+Ut9DC6C+iUSS+jeRfiPuWXPIIexqnps6Uqu wmrbqFzEbze83YUHF/7xL/hiohgAkp+yvmBvUMVcylUNbbXYqG4u+i88qYJienIATqZ9 tjp0JUzS7Of8M0nnern7jQR8GOEA3Iw+EwQNg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=R/aKcWHNgM2leqD+2hiID82bRhcLfNxnsVmwaTF07BpR5ldX36OqYTc03ohVD68TX2 hEUCFoOQj3nU+S2KWsv8SiJmwy/5PjKniRj9Syr+5iVPC5GP0k4kEVprwOkZQhU6H9Qt A0m3VBmyVE0u09S2EPVDffjSU7WhLrRaRTl+I= Received: by 10.224.79.234 with SMTP id q42mr433006qak.364.1258673745177; Thu, 19 Nov 2009 15:35:45 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 4sm1166803qwe.15.2009.11.19.15.35.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 19 Nov 2009 15:35:43 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Thu, 19 Nov 2009 15:35:12 -0800 From: Pyun YongHyeon Date: Thu, 19 Nov 2009 15:35:12 -0800 To: Gonzalo Nemmi Message-ID: <20091119233512.GV1262@michelle.cdnetworks.com> References: <200911171650.06834.gnemmi@gmail.com> <20091117193208.GI1262@michelle.cdnetworks.com> <200911171917.41906.gnemmi@gmail.com> <20091117232347.GJ1262@michelle.cdnetworks.com> <20091118005724.GK1262@michelle.cdnetworks.com> <19e9a5dc0911172040g1107423ck72d30460b030ca27@mail.gmail.com> <20091118233225.GP1262@michelle.cdnetworks.com> <19e9a5dc0911182027y3a326763s25d4bc200aa2a8ab@mail.gmail.com> <20091119203720.GT1262@michelle.cdnetworks.com> <19e9a5dc0911191432r749296ebkeb4be431d43e5c5f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19e9a5dc0911191432r749296ebkeb4be431d43e5c5f@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: Call for bge(4) testers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 23:35:46 -0000 On Thu, Nov 19, 2009 at 07:32:27PM -0300, Gonzalo Nemmi wrote: > On Thu, Nov 19, 2009 at 5:37 PM, Pyun YongHyeon wrote: > > > On Thu, Nov 19, 2009 at 01:27:03AM -0300, Gonzalo Nemmi wrote: > > > On Wed, Nov 18, 2009 at 8:32 PM, Pyun YongHyeon > > wrote: > > > > > > > On Wed, Nov 18, 2009 at 01:40:24AM -0300, Gonzalo Nemmi wrote: > > > > > > > > [...] > > > > > > > > > I just tried ... > > > > > echo 'hw.bge.allow_asf="1"' >> /boot/loader.conf > > > > > reboot > > > > > load if_bge > > > > > acpiconf -s3 > > > > > same results :( > > > > > > > > > > > > > Ok, here is new try. > > > > > > > > > > Let's get on to it then ! > > > > > > Well now, the situation has improved .. here's what I got: > > > http://pastebin.com/f2d152f91 > > > > > > lines 2 to 8 == kldload if_bge > > > line 9 == acpiconf -s3 > > > lines 10 to 18 == resume (notice there are only 2 messages now: lines 12 > > and > > > 13!) > > > lines 19 to 36 == ifconfig bge0 > > > lines 37 to 42 == me mounting the pendrive to get the messages from > > > /var/log/messages =P > > > lines 43 to 46 == kldunload if_bge0 > > > > > > I think you narrowed it down quite a lot this time ! > > > > > > > Hmm, not actually. I guess it just removed unnecessary operation > > for PHY but it still failed to get functional state. :-( > > > > > I have to warn you though, that this time, my kernel was compiled using a > > > ... certainly modified /etc/make.conf file ... just in case you need to > > know > > > how it looks like, you'll fin it in here: > > > http://pastebin.com/f42e356d2 > > > > > > If you think that make.conf config may interfere with your pourposes or > > > tests, just let me know and I'll use a default one. > > > > I think that's ok. > > > > > The good thing about that make.conf is that it saves me quite a time on > > > every recompile ;) > > > > > > > im at your service .. tell me what to do and I'll do it :) > > > > > > > > > > > > > Thanks a lot for your patience and continuous support to fixing > > > > bugs. > > > > > > > > > > Thank _YOU_ for keeping the good work up and for trying to solve a really > > > nasty bug that makes every bge(4) user (think of it > > > _as_every_dell_notebook_owner_) unable to get his laptop to resume .. or > > > even use FreeBSD altoghether just because of this. > > > > > > Dear Pyung, rest assured that as long as you remain commited to fix this, > > or > > > any other bug that I can help you with, you can count on me to do > > everything > > > that may be within the reach of my hand. As long as you remain commited, > > > I'll be there, commited just as well :) > > > > > > > Thanks a lot! This really helps me a lot to fix the bug. > > Here is 4-th try. I added a couple of debug messages to see what > > register contents it have after resume. > > > > Thanks in advance. > > > > Pyung, I have problems applying your patch. 4 out 13 hunks fail. > Take a look in here. > http://pastebin.com/f7eab233f > > I tried to recompile anyways but buildkernel failed at bge ... > > Can you tell me what to do to apply it cleanly and recompile? > Hmm, I guess it was caused by the difference between HEAD and 8.0. I've uploaded complete bge(4) files to the following URL. http://people.freebsd.org/~yongari/bge/resume/if_bge.c http://people.freebsd.org/~yongari/bge/resume/if_bgereg.h Save your original bge(4) files in sys/dev/bge directory and download above files and then rebuild. Hope this helps. > Best Regards > Gonzalo Nemmi