From owner-freebsd-current@FreeBSD.ORG Wed Oct 20 17:37:35 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 EA7361065701 for ; Wed, 20 Oct 2010 17:37:34 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9D3178FC12 for ; Wed, 20 Oct 2010 17:37:34 +0000 (UTC) Received: by gxk3 with SMTP id 3so1618458gxk.13 for ; Wed, 20 Oct 2010 10:37:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=LgHP4zbAZJdI9VWInn2iaz2+jJWExZ9k/CG4A2xtGwA=; b=qcOx09PaoPdt1im4sVe8OpaqsWBcqvHLmF4Zw5LVxsbZihzDZlIPs7DoelJw0qFqpQ SoN69GrTXLvBSNfhC38w7YPHwF4OJ/H6RR9RZS93a9+ZLXDnP+UuT1YLkAucZZDcGTmE s52CTv4LI6drvktUkCpiz8WC6/AnxOGZFQ2ys= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=CyqRkoTICZF8owaMmFnwMcPwBPA9kijsghRacs//Ov5xxMQ39g80dlajquSCR9MEdI OddrDO04O5qC0KJI6MMZqlMozgsIpqNRWr8jrMGUJz3omiR4eLnktolcVBeeE1USvDVf r504HE7UeayIq/JH8hmDFN9rjpPVRkUQJx9x4= Received: by 10.103.247.1 with SMTP id z1mr2819936mur.74.1287596253036; Wed, 20 Oct 2010 10:37:33 -0700 (PDT) Received: from ono-sendai.local ([75.111.34.169]) by mx.google.com with ESMTPS id y19sm283801fau.17.2010.10.20.10.37.30 (version=SSLv3 cipher=RC4-MD5); Wed, 20 Oct 2010 10:37:31 -0700 (PDT) Message-ID: <4CBF28D8.3090207@gmail.com> Date: Wed, 20 Oct 2010 10:37:28 -0700 From: Matt User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100918 Thunderbird/3.1.4 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <4C732522.1010400@gmail.com> <20101003174833.V62022@sola.nimnet.asn.au> <4CBE42CA.3050103@gmail.com> <201010201300.05886.jkim@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Sleep/Lenovo SL410 fails again after csup & clang 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: Wed, 20 Oct 2010 17:37:35 -0000 > On Wed, 20 Oct 2010, Jung-uk Kim wrote: > >> On Tuesday 19 October 2010 09:15 pm, 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? >> >> Can you please update source and try again? If it does not work, >> please set a new tunable "hw.pci.do_power_suspend=0" and tell me >> whether it helps or not. FYI, hw.pci.do_power_resume does not apply >> to suspend any more. So, if you want to restore the previous >> behaviour, you need both "hw.pci.do_power_resume=0" and >> "hw.pci.do_power_suspend=0". However, my hunch tells me that you >> only need the latter. >> >> Also, if possible, I'd like to see 'devinfo -rv', 'pciconf -clv', >> 'acpidump -dt', and 'lspci -vvv' output. Note lspci is available via >> ports/sysutils/pciutils. >> >> Thanks, >> >> Jung-uk Kim >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to >> "freebsd-current-unsubscribe@freebsd.org" >> > A >> dump file of the above commands in order: http://pastebin.com/KhFn9xaK I'm grabbing a new csup now, glad it wasn't clang at least. When I did Mac development, LLVM binaries were generally significantly faster for some things. Interesting, I got some phone related topic added into your post, and no direct mail, so hopefully you can get your hands on the pastebin link. Thank you, I will let you know if the new tunable does the trick. Matt