Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262304AbVBVOWc (ORCPT ); Tue, 22 Feb 2005 09:22:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262309AbVBVOWc (ORCPT ); Tue, 22 Feb 2005 09:22:32 -0500 Received: from sccrmhc12.comcast.net ([204.127.202.56]:928 "EHLO sccrmhc12.comcast.net") by vger.kernel.org with ESMTP id S262304AbVBVOWW (ORCPT ); Tue, 22 Feb 2005 09:22:22 -0500 Date: Tue, 22 Feb 2005 09:22:17 -0500 From: John M Flinchbaugh To: acpi-devel@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org Subject: Re: Thinkpad R40 freezes after swsusp resume Message-ID: <20050222142217.GA24536@butterfly.hjsoft.com> References: <20050216195940.GA32423@butterfly.hjsoft.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <20050216195940.GA32423@butterfly.hjsoft.com> User-Agent: Mutt/1.5.6+20040907i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3497 Lines: 97 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 16, 2005 at 02:59:40PM -0500, John M Flinchbaugh wrote: > correcting the problem, so I can get swsusp and ACPI coexisting=20 > happily > on my Thinkpad R40. > Does anyone here on the ACPI list have some logical next steps for=20 > me to > test? > ----- Forwarded message from John M Flinchbaugh =20 > As Murphy's Law would have it, I usually get these lockups at=20 > inopportune times when I really don't want to have to punch the=20 > power=20 > button, like when I'm in a hurry trying to find something or during > long-running network backups. It also does it when sitting idle, so > this isn't a rule. >=20 > I've run most of a backup from an NFS mount to the local drive (for > about 10 minutes), stopped it, swsusp, ran another backup, and it's > looking fine so far. >=20 > To be sure that it's not going to freeze, I'd almost have to let it=20 > go > for a week, though, because sometimes I had just gotten lucky and=20 > not > seen the issue for upto 4 days at a time. > ----- End forwarded message ----- I've recompiled my 2.6.11-rc4 kernel without ACPI sleep states, and I've enabled lots of debugging. Upon swsusp, I see this oops: [nosave pfn 0x38c]<7>[nosave pfn 0x38d]<3>Debug: sleeping function called from invalid context at mm/slab.c:2082 in_atomic():0, irqs_disabled():1 [] dump_stack+0x17/0x20 [] __might_sleep+0xac/0xc0 [] kmem_cache_alloc+0x5e/0x60 [] acpi_pci_link_set+0x7a/0x24e [] acpi_pci_link_resume+0x47/0x7d [] irqrouter_resume+0x45/0x6d [] sysdev_resume+0xf7/0xfc [] device_power_up+0x8/0xe [] swsusp_suspend+0x48/0x50 [] pm_suspend_disk+0x51/0xc0 [] enter_state+0x8a/0x90 [] state_store+0xa3/0xaa [] subsys_attr_store+0x37/0x40 [] flush_write_buffer+0x2e/0x40 [] sysfs_write_file+0x6f/0x90 [] vfs_write+0xa4/0x110 [] sys_write+0x41/0x70 [] syscall_call+0x7/0xb Otherwise, the swsusp works and resumes. After the resume, I see these messages: Feb 22 09:00:54 navi kernel: osl-0958 [1385] os_wait_semaphore : Failed to acquire semaphore[c14de5e0|1|0], AE_TIME Feb 22 09:04:29 navi kernel: osl-0958 [1734] os_wait_semaphore : Failed to acquire semaphore[c14de5e0|1|0], AE_TIME Feb 22 09:07:53 navi kernel: osl-0958 [2076] os_wait_semaphore : Failed to acquire semaphore[c14de5e0|1|0], AE_TIME Feb 22 09:12:09 navi kernel: osl-0958 [2534] os_wait_semaphore : Failed to acquire semaphore[c14de5e0|1|0], AE_TIME I haven't frozen the box yet, but I wouldn't be surprised if these contribute to the conditions that cause the freeze. Thanks. --=20 John M Flinchbaugh john@hjsoft.com --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCG0AZCGPRljI8080RAqDyAJ4hDGsL0p4igpL51Up7Fh861I9vlACaAnux ZyMSrCLDPtxZCszPnh8PJP8= =1ibO -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/