From owner-freebsd-current@FreeBSD.ORG Wed Oct 20 09:41:27 2010 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 1F0AD1065679 for ; Wed, 20 Oct 2010 09:41:27 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9AA178FC16 for ; Wed, 20 Oct 2010 09:41:25 +0000 (UTC) Received: by fxm12 with SMTP id 12so2432171fxm.13 for ; Wed, 20 Oct 2010 02:41:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:reply-to:x-mailer:mime-version :content-type:content-transfer-encoding; bh=q6oZGwMHmxwdsNtKXq4kGVnBGNGroo8ojIGEnsFRVP8=; b=nwom/0X5UVm2SISx7GgxV4kYfS/raHEb1pUX8WC6zpLzhRD+Efu6sXrcmj/XO0kI98 FUb2wZFC3tAaFqfXybzHDghsqoWSvSHegX3R+foo3Xf4SVhGGHi+Wu7oxVGDrpw/grXK 3SImregAHJYxDAdHs76hKxa30vnk4oayUhWHY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :x-mailer:mime-version:content-type:content-transfer-encoding; b=pGlQIfb2H8fCHDfRUyf2KeqJcYViUTsWH9Zm6fbtoFKI1AdrJWdneM5Pd+SdwRMeK4 LGv/6TVeHmg6/9yaZQWAbqS+ai7i6lSblgcyqTm7z6yURbayRSnCjqaq4C1sSlvqdCPV ZZKQqI5NpoXG86TwE0R8heC4tn2ceQnQpJB2g= Received: by 10.103.221.6 with SMTP id y6mr6310912muq.17.1287567684532; Wed, 20 Oct 2010 02:41:24 -0700 (PDT) Received: from ernst.jennejohn.org (p578E1575.dip.t-dialin.net [87.142.21.117]) by mx.google.com with ESMTPS id y19sm3573670fau.41.2010.10.20.02.41.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 20 Oct 2010 02:41:23 -0700 (PDT) Date: Wed, 20 Oct 2010 11:41:21 +0200 From: Gary Jennejohn To: Matt Message-ID: <20101020114121.476961db@ernst.jennejohn.org> In-Reply-To: <4CBE42CA.3050103@gmail.com> References: <4C732522.1010400@gmail.com> <4CA556EB.902@gmail.com> <20101001144505.C62022@sola.nimnet.asn.au> <20101002142419.G62022@sola.nimnet.asn.au> <1286051977.1655.45.camel@RabbitsDen.RabbitsLawn.verizon.net> <20101003174833.V62022@sola.nimnet.asn.au> <4CBE42CA.3050103@gmail.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.18.7; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Sleep/Lenovo SL410 fails again after csup & clang X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2010 09:41:27 -0000 On Tue, 19 Oct 2010 18:15:54 -0700 Matt wrote: > My experience with a sleeping freebsd laptop has been shortlived! > > Today I rebuilt world using clang & this morning's csup current. > Clang build went just swimmingly. > > Unthinkingly, I closed my laptop lid and put it in my case. > When I got to my house, it was roasting with fans spinning and sleep > light flashing. No damage, thankfully. > > Low and behold, hw.pci.do_power_resume=0 no longer lets my laptop sleep! > > I had recently fiddled with powerd, but problem persisted after > reverting to previous configuration of associated sysctls etc. > > Interestingly, sleep bounce now fails with a hard freeze, which it never > has in the past. > > Verbose output shows the wifi then re0 network interfaces going from > D0->D3 as last living output. > > Please note problem persists regardless of user, X running, sleep_delay > sysctl, do_power_resume, do_power_nodriver, powerd running/not running. > > Without sleep bounce, problem is characterized by flashing sleep light > and spinning fans (CPU temperature is high). > > No devices added or removed, was sleeping this morning before > buildworld. Is it worth rebuilding with gcc? Or a content change and not > a compiler issue? Any major pci changes lately maybe? > > Matt > sendtomatt@gmail.com > > Not sure where to go from here... > If it is helpful, I can provide any required logs, verbose dmesg etc. > Did you _not_ have this problem when compiling with the base C compiler (gcc)? Not really clear from your description. -- Gary Jennejohn