From owner-freebsd-current@FreeBSD.ORG Fri Nov 20 04:05:00 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 D9F94106568B for ; Fri, 20 Nov 2009 04:05:00 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 3CF2E8FC1B for ; Fri, 20 Nov 2009 04:04:59 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e12so2742810fga.13 for ; Thu, 19 Nov 2009 20:04:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=iZRPJRPJCR3Wq5r4RoKbedlckSGUc1AJtr/5AL19tcg=; b=IXpDLIdK4p9XlvQjDzNyouU2BNWvlX7bazfks6/40of7aWrmrgtVAg7LtcYzlMcwlw YUmxoaD3qmms3clL02+Ae+dWQUBWi+Kc3U65GYuK4BVbIMXpnWoMLlMccH5iTXBt2iX4 1Wy937QMaNG3A09RtFhmvZnOqJSonHsskvIRE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=yBtQNMXve7A3TRf72vINa0/IsU9kZtUMXFXIm249OxCysxN8Fj7/ihDS1nyL5fsR2S vhDzkmuXwhfXcJCGIglCwtf0Vfm4eeZs6L44AI/AQAWzG+auK/2F9T3Ca699/1hiac7i Q7gXRrrO2rHC2vqDlyKv6YI32RymDST2KSdMg= MIME-Version: 1.0 Received: by 10.103.81.35 with SMTP id i35mr413707mul.43.1258689898987; Thu, 19 Nov 2009 20:04:58 -0800 (PST) In-Reply-To: <20091119233512.GV1262@michelle.cdnetworks.com> References: <200911171650.06834.gnemmi@gmail.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> <20091119233512.GV1262@michelle.cdnetworks.com> Date: Fri, 20 Nov 2009 01:04:58 -0300 Message-ID: <19e9a5dc0911192004w5788a02ema959fa218b7d345b@mail.gmail.com> From: Gonzalo Nemmi To: pyunyh@gmail.com Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 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 04:05:00 -0000 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 :) Best Regards Gonzalo Nemmi