Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759024AbZDGRVF (ORCPT ); Tue, 7 Apr 2009 13:21:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754639AbZDGRUm (ORCPT ); Tue, 7 Apr 2009 13:20:42 -0400 Received: from mail-qy0-f118.google.com ([209.85.221.118]:63289 "EHLO mail-qy0-f118.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758160AbZDGRUk convert rfc822-to-8bit (ORCPT ); Tue, 7 Apr 2009 13:20:40 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=EBC9KtzscUPkFp37NiU9b7i0Gwu3HPM271aS5Bmr4c7uTyX29urfWrfDfioUrQJutH J4ZMyA054HvBtDk+MH3qMe53vb26QEnRIRLJjGnKlXM/VPwmoJ+QXgUT8BI/FAEVRTcd GIdDy20TrBQhgByrOof/cpEzku44TyNeKXuco= MIME-Version: 1.0 In-Reply-To: <49DB8909.3000905@s5r6.in-berlin.de> References: <49DB7C77.1000702@s5r6.in-berlin.de> <9b1675090904070944m798ed608i1d9194ebd1ed3961@mail.gmail.com> <49DB8909.3000905@s5r6.in-berlin.de> Date: Tue, 7 Apr 2009 10:20:37 -0700 Message-ID: Subject: Re: 2.6.29 on MacBook 2,1 fails to reboot (was Re: 2.6.29-git13: Reported regressions from 2.6.28) From: Justin Mattock To: Stefan Richter Cc: "Trenton D. Adams" , Linus Torvalds , "Rafael J. Wysocki" , Linux Kernel Mailing List , Adrian Bunk , Andrew Morton , Natalie Protasevich , Kernel Testers List , Network Development , Linux ACPI , Linux PM List , Linux SCSI List , Takashi Iwai Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2687 Lines: 69 On Tue, Apr 7, 2009 at 10:10 AM, Stefan Richter wrote: > Trenton D. Adams wrote: >> On Tue, Apr 7, 2009 at 10:16 AM, Stefan Richter >> wrote: >>> Linus Torvalds wrote: >>>> On Mon, 6 Apr 2009, Rafael J. Wysocki wrote: >>>>> Bug-Entry ? ?: http://bugzilla.kernel.org/show_bug.cgi?id=13018 >>>>> Subject ? ? ? ? ? ? ?: 2.6.29 on MacBook 2,1 fails to reboot > ... >>>> The bug _sounds_ like some deadlock due to lock problems - the shutdown >>>> path often triggers locks that no other path really cares about. And we >>>> had some lock problems in the sound subsystem that got fixed post-2.6.28, >>>> for example. >>>> >>>> And it looks like the problem is somewhere in sound shutdown: >>>> >>>> 12181 delete_module("snd_hda_codec", O_RDONLY|O_EXCL) = -1 EAGAIN (Resource temporarily unavailable) <0.000011> >>>> >>>> So commits like 91054598f794fb5d8a0b1e747ff8e2e8fc2115b3 ("ALSA: pcm_oss, >>>> fix locking typo") might explain it. > ... >>> could it be the same as this one? >>> http://bugzilla.kernel.org/show_bug.cgi?id=12321 >>> "System hangs when unloading alsa modules" >>> http://bugs.gentoo.org/show_bug.cgi?id=253535 >>> "System hangs when unloading alsa modules on Kernel >2.6.28" > ... >> The first one looks similar, if not identical. ?The second one >> doesn't, because my problem happens on 2.6.29 only, not 2.6.28. > > The Gentoo bug entry too is about a regression _after_ 2.6.28. :-) > I.e. 2.6.28.y. are unaffected. ?It's actually just the downstream > duplicate of the kernel.org bug entry. > >> Either way, the unload problem with the module didn't happen in >> 2.6.28. > > Interdependencies between ALSA modules have changed. ?The Gentoo init > scripts attempted to unload them in an order which deadlocked modprobe > due to dependencies. ?The fix for Gentoo is to just not unload the > modules on system shutdown. ?My Gentoo/amd64 Mac mini was affected by > this too; fixed by userland update. > > (Added Cc to tiwai@suse.de) > -- > Stefan Richter > -=====-=-=== -=-= -==-= > http://arcgraph.de/sr/ > -- > 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/ > With the imac(kernel 2.6.29) /sbin/shutdown -h now (works) but /sbin/reboot hangs -- Justin P. Mattock -- 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/