From owner-freebsd-current@FreeBSD.ORG Wed Oct 20 17:27: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 325511065672; Wed, 20 Oct 2010 17:27:35 +0000 (UTC) (envelope-from justin.victoria@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id C57078FC19; Wed, 20 Oct 2010 17:27:34 +0000 (UTC) Received: by ywh2 with SMTP id 2so2194672ywh.13 for ; Wed, 20 Oct 2010 10:27:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :in-reply-to:message-id:references:user-agent:mime-version :content-type; bh=BQ6c7nzmBuRiWQyLWjGiiW3GlKXbAcQkKZapVRkcq8Y=; b=t3KcMtLW/+flhyBhjHU84/Ak4CTR15w/KlHuQVwi1IghvsCo3H8qRO4bG4OOQDRnSU g7ss3TG7V628oTEXG36+c7uxJOtOGKrArS1YTbsSfk+q4+isKs8PCAe+QHAjpNRaf8lp /9lLpi5izSinhQGcGf9etZgq6ZDgl3OpEvAoE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version:content-type; b=iEQFz5aJ1wX5T3hxZL9DXXUwdsmxU+HUvoqc/8vNuOuAgJkeNF/7Mbtpr35TFBGgcO r15RI7EIcsefMAh2mzV3siGMtF45OyPcs/STMziHE9LmPAxDJFZ+aqoxY0ObpzV7ZBpf e9JHWO4VSvgjlew1Ag8tBXm7RXBXeIeklfkv0= Received: by 10.42.179.135 with SMTP id bq7mr441969icb.151.1287594226640; Wed, 20 Oct 2010 10:03:46 -0700 (PDT) Received: from [192.168.1.169] (cpe-67-49-120-184.socal.res.rr.com [67.49.120.184]) by mx.google.com with ESMTPS id w9sm434192ibc.7.2010.10.20.10.03.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 20 Oct 2010 10:03:46 -0700 (PDT) Date: Wed, 20 Oct 2010 10:03:39 -0700 (PDT) From: jcv To: Jung-uk Kim In-Reply-To: <201010201300.05886.jkim@FreeBSD.org> Message-ID: References: <4C732522.1010400@gmail.com> <20101003174833.V62022@sola.nimnet.asn.au> <4CBE42CA.3050103@gmail.com> <201010201300.05886.jkim@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Matt , 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 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:27:35 -0000 Wow, i mounted my phone last nite and nothing that bad happened. Is there any other messages in /var/log/messages?? hbca# dmesg | grep da rum0: need multicast update callback da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da1 at umass-sim0 bus 0 scbus0 target 0 lun 1 da1: Removable Direct Access SCSI-2 device da1: 1.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry (da1:umass-sim0:0:0:1): lost device (da1:umass-sim0:0:0:1): removing device entry da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da1 at umass-sim0 bus 0 scbus0 target 0 lun 1 da1: Removable Direct Access SCSI-2 device da1: 1.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry (da1:umass-sim0:0:0:1): lost device (da1:umass-sim0:0:0:1): removing device entry hbca# 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" >