From owner-freebsd-acpi@FreeBSD.ORG Tue Nov 17 21:17:48 2009 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53FA91065693; Tue, 17 Nov 2009 21:17:48 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: from mail-gx0-f218.google.com (mail-gx0-f218.google.com [209.85.217.218]) by mx1.freebsd.org (Postfix) with ESMTP id EBDF58FC18; Tue, 17 Nov 2009 21:17:47 +0000 (UTC) Received: by gxk10 with SMTP id 10so466227gxk.3 for ; Tue, 17 Nov 2009 13:17:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=DBoDvT4DEE7EpXS2ExN6Ef2TrCKeNw5PhunfwW2V3Rc=; b=rPabTv1XeTDiMnTTu8EARJDgUNihk+fjqMukAulLoHK8RjAEjIsy5yOiy2VOQOo65I DD2p3b18x6E9asQ3Wp7pI66Fz/7hvEM0lO81tlBGqfSNM7BJoO+DgkSHbDd3jcajTwkK AlMVJsXnXsBGE2u4DRdCBBRrLMG+gp/JOVNIg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=C1WtCZTf5q5KmT26YMiPsAf9PFovUFj9uMaGwJDNL759Da7psY6Sj1yn0LBgbhws8Y gRxA+YkmUojg+JNigOZMaj2LbdLCEsGrdhSUx/z7F18gz5mFmV530nYsnQrSe2Di+kRN +5jUPPe2hxhJo5Zbs1xsciAPWS9smwdSLcNCo= Received: by 10.150.174.36 with SMTP id w36mr915995ybe.144.1258492665421; Tue, 17 Nov 2009 13:17:45 -0800 (PST) Received: from ?192.168.1.101? ([190.177.192.49]) by mx.google.com with ESMTPS id 5sm68287ywd.8.2009.11.17.13.17.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Nov 2009 13:17:44 -0800 (PST) From: Gonzalo Nemmi To: pyunyh@gmail.com Date: Tue, 17 Nov 2009 19:17:41 -0200 User-Agent: KMail/1.9.10 References: <20091111223751.GE15449@michelle.cdnetworks.com> <200911171650.06834.gnemmi@gmail.com> <20091117193208.GI1262@michelle.cdnetworks.com> In-Reply-To: <20091117193208.GI1262@michelle.cdnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200911171917.41906.gnemmi@gmail.com> Cc: freebsd-acpi@freebsd.org, freebsd-current@freebsd.org Subject: Re: Call for bge(4) testers X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 21:17:48 -0000 On Tuesday 17 November 2009 5:32:08 pm Pyun YongHyeon wrote: > On Tue, Nov 17, 2009 at 04:50:06PM -0200, Gonzalo Nemmi wrote: > > [...] > > > Well, I proceeded as I told you I would, applied your patch and > > even if it didn't solve the problem (bge still doesn't resume) at > > least it improved the previous situation given that now it doesn't > > loop timing out once and again as before. > > > > You can find a tail from /var/log/messages in here: > > http://pastebin.com/f643555f7 > > > > As you can see, the first 3 lines corresponds to "kldload if_bge" > > Line number 4 is "acpiconf -s3" > > > > At line number 17 bge0 finally fails and let's the machine wake up > > at line 18. > > > > Then, as soon as I could I issued a "ifconfig bge0" to see what I > > could get .. that's what you can see from line 20 to line 41. (as > > you can see > > Ok, would you try this one? I guess bge(4) register access method > could be in uninitialized state after resume. Just did .. same result .. you=B4ll find the messages here: http://pastebin.com/f38369b3c 1.- root login 2 to 9.- "kldload if_bge" 10.- "acpiconf -s3" 11 to 13.- wpi0 messages before suspending 14 to 23.- bge0 messages upon resume 24.- wakeup BTW: is there an easy way to unroll the patches so I get a pristine copy=20 back and apply the patch over it again? Im asking because the 3rd chunk=20 of your patch ( bge_reset(sc); ) didn't apply cleanly and I had to edit=20 if_bge.c by hand to add that line in the right place. Still willing to keep on trying and awaiting orders :) Best Regards Gonzalo Nemmi > > in there, I found there are problems resuming umass devices as > > well ... ) > > Probably Hans can help you on USB issues. > > > Line 42 to 53 correspond to "kldnuload if_bge" .. which, by the > > way, once unloaded, I could load it again but bge0 never showed on > > "ifconfig". > > > > Line 54 till the end correspond to "umount_msdos /dev/ad0s1" ... > > which ended with pulling the pendrive out as the system coldn't > > umount it ... > > > > I also found I get wpi0 messages on resume .. it spouts: > > wpi0 could not lock memory > > wpi0 could not lock memory > > wpi0 could not lock memory > > wpi0 could not lock memory > > wpi0 could not lock memory > > wpi0 could not lock memory > > wpi0 could not lock memory > > and then it let's the system resume. > > Don't know what it really means. You'd be better to ask wpi(4) > author Benjamin Close(benjsc@). > > > All in all .. there's _a_lot_of_problems_on_resume_ > > > > > > Pyun, if you'd like me to try a new patch or to do some tests or > > whatever, just let me know. I'm here awaiting orders :) > > > > Best Regards > > Gonzalo Nemmi =2D-=20 Blessings Gonzalo Nemmi