From owner-freebsd-current@FreeBSD.ORG Sat Nov 21 04:33:59 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 AFF50106566B for ; Sat, 21 Nov 2009 04:33:59 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 1752E8FC1B for ; Sat, 21 Nov 2009 04:33:58 +0000 (UTC) Received: by fxm27 with SMTP id 27so4472858fxm.3 for ; Fri, 20 Nov 2009 20:33:58 -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=mENGcbElQVoWbkDt+Z1zuviNPltZBo/U7AezfB8c6+8=; b=vIg57IzqpSNIU+I0HLWL3XAT7mS7Ek6fg4st1JcTrTnQ2tLXsh9lBBzSFt1h8si7CH TQQf0xyQVPEbI2+aNlMRY08xynw2L5Avbf2hvVF+oLS8QUkHLHYf4JtMalXaDsS21VbZ CxrftH+bKMhq90g1Wb2QFs2P1HMRO4YDnG02o= 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=Yb7IlMZUKtE5b0BBLx2/Pl3FzF8AtCOANrtvFDgK8sow0yPjWFd7O9Yeh6TIgUjeOH FSBlWYO+sxa1pYl73MrwoPjH6WT2HRDsd+MzTTd5U6XxafNw9axztAvgCgiJrUqJWj1e YegYJEHHippeobTPOeL4pt3Qsa4W0WVUy4C5s= MIME-Version: 1.0 Received: by 10.103.184.5 with SMTP id l5mr54761mup.34.1258778038083; Fri, 20 Nov 2009 20:33:58 -0800 (PST) In-Reply-To: <20091120215259.GW1262@michelle.cdnetworks.com> References: <200911171917.41906.gnemmi@gmail.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> <20091120215259.GW1262@michelle.cdnetworks.com> Date: Sat, 21 Nov 2009 01:33:58 -0300 Message-ID: <19e9a5dc0911202033w2fd52bc8r708bc852d345e940@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: Sat, 21 Nov 2009 04:33:59 -0000 On Fri, Nov 20, 2009 at 6:52 PM, Pyun YongHyeon wrote: > 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 < > pyunyh@gmail.com> > > > > > 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 > > Don't worry ! No harm done ! I just recompiled with the files you sent me and here's the output: http://pastebin.com/f414aa4c7 Hope that info is more usefull Awaiting further orders :D Best Regards Gonzalo Nemmi