From owner-freebsd-current@FreeBSD.ORG Fri Nov 20 21:53:31 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 F01DF106566B for ; Fri, 20 Nov 2009 21:53:31 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 9A1E68FC14 for ; Fri, 20 Nov 2009 21:53:31 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 9so830502qwb.7 for ; Fri, 20 Nov 2009 13:53:31 -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=Al4ZP7kxuS+izH0HXwTt+NIMHtVKxFkJsUd6B5O0fSg=; b=XN7hBI3pYsaInk3aAg/BUqNTcEsOOIHYb6DLKo3XhzHqw4+/aka4qtmVyE1G1QMCiJ emwsvxDiUATOYfm+vwcaNthSCuPElAt4wM2JKG3FvbEh1DmXjmQsfr7pGP4OtVzaDURu B5YIq8D9aVyQU49Xoa/IlNTg3IBth6ovz157k= 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=o1GTmyB9kKxCiDMVnnekmy+pgmDuLZ0BC2SFL6H1YBn2orcgDrDjrkkXxr+40qzYYc ifbW0oquYh8iOo0Nqr2f9AU0N4N3rX3HEc2b35tCqXRf0w9f/7sKdv7fWcEtyNVFnAme SFA30EG+EXbnet4JEVZDkKHxUjBEmyuETft1g= Received: by 10.224.83.136 with SMTP id f8mr1102572qal.86.1258754011054; Fri, 20 Nov 2009 13:53:31 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 8sm5256863qwj.33.2009.11.20.13.53.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 20 Nov 2009 13:53:29 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Fri, 20 Nov 2009 13:52:59 -0800 From: Pyun YongHyeon Date: Fri, 20 Nov 2009 13:52:59 -0800 To: Gonzalo Nemmi Message-ID: <20091120215259.GW1262@michelle.cdnetworks.com> References: <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> <20091119233512.GV1262@michelle.cdnetworks.com> <19e9a5dc0911192004w5788a02ema959fa218b7d345b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19e9a5dc0911192004w5788a02ema959fa218b7d345b@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: Fri, 20 Nov 2009 21:53:32 -0000 On Fri, Nov 20, 2009 at 01:04:58AM -0300, Gonzalo Nemmi wrote: > On Thu, Nov 19, 2009 at 8:35 PM, Pyun YongHyeon wrote: > > > 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. > > > > Dear Pyung: > > Did as instructed but the result was negative .. so much so that now the > system doesn't even wake up .. upon resume it just shows the usb messages ( > mouse ) and then it freezes .. no more messages ( bge(4) or anything else ), > no coredumps, no nothing .. it just stays there. > The only way to get the system back is to do a hard reset :( > > As usuall, awaiting further instructions :) > Sorry, I didn't expect such a regression. Here is updated one, hope this one wouldn't freeze your box. http://people.freebsd.org/~yongari/bge/resume/if_bge.c http://people.freebsd.org/~yongari/bge/resume/if_bgereg.h > Best Regards > Gonzalo Nemmi