public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: "Trenton D. Adams" <trenton.d.adams@gmail.com>
Cc: Adrian Bunk <bunk@kernel.org>,
	Linux SCSI List <linux-scsi@vger.kernel.org>,
	Takashi Iwai <tiwai@suse.de>,
	Network Development <netdev@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Natalie Protasevich <protasnb@gmail.com>,
	Linux ACPI <linux-acpi@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Kernel Testers List <kernel-testers@vger.kernel.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Linux PM List <linux-pm@lists.linux-foundation.org>
Subject: 2.6.29 on MacBook 2, 1 fails to reboot (was Re: 2.6.29-git13: Reported regressions from 2.6.28)
Date: Tue, 07 Apr 2009 19:10:33 +0200	[thread overview]
Message-ID: <49DB8909.3000905@s5r6.in-berlin.de> (raw)
In-Reply-To: <9b1675090904070944m798ed608i1d9194ebd1ed3961@mail.gmail.com>

Trenton D. Adams wrote:
> On Tue, Apr 7, 2009 at 10:16 AM, Stefan Richter
> <stefanr@s5r6.in-berlin.de> 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/

  parent reply	other threads:[~2009-04-07 17:10 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <n4io5wq70ZO.A.gzG.rFn2JB@chimera>
2009-04-06 21:53 ` 2.6.29-git13: Reported regressions from 2.6.28 Linus Torvalds
     [not found] ` <alpine.LFD.2.00.0904061443000.7443@localhost.localdomain>
2009-04-06 22:34   ` Rafael J. Wysocki
2009-04-07  3:56   ` Trenton D. Adams
     [not found]   ` <9b1675090904062056v235af58ehc99cce8ff97fe501@mail.gmail.com>
2009-04-07  4:07     ` Linus Torvalds
2009-04-07  4:23       ` Trenton D. Adams
2009-04-07 16:16   ` Stefan Richter
     [not found]   ` <49DB7C77.1000702@s5r6.in-berlin.de>
2009-04-07 16:44     ` Trenton D. Adams
     [not found]     ` <9b1675090904070944m798ed608i1d9194ebd1ed3961@mail.gmail.com>
2009-04-07 17:10       ` Stefan Richter [this message]
2009-04-07 17:20         ` 2.6.29 on MacBook 2, 1 fails to reboot (was Re: 2.6.29-git13: Reported regressions from 2.6.28) Justin Mattock
2009-04-07 18:22         ` Trenton D. Adams
     [not found]         ` <9b1675090904071122k6a53295fwfffc336011edee8e@mail.gmail.com>
2009-04-07 19:23           ` Stefan Richter
     [not found]           ` <49DBA821.1070408@s5r6.in-berlin.de>
2009-04-07 20:52             ` Trenton D. Adams
     [not found]             ` <9b1675090904071352x513510ecm8b2574859b088275@mail.gmail.com>
2009-04-08  1:16               ` Trenton D. Adams
     [not found]               ` <9b1675090904071816k59080f1fn39737767db4dc0c@mail.gmail.com>
2009-04-08  8:00                 ` Rafael J. Wysocki
     [not found]   ` <200904070035.00784.rjw@sisk.pl>
2009-04-16 21:08     ` 2.6.29-git13: Reported regressions from 2.6.28 Chris Friesen
     [not found]     ` <49E79E58.9000606@nortel.com>
2009-04-16 21:35       ` Linus Torvalds
     [not found]       ` <alpine.LFD.2.00.0904161432000.4042@localhost.localdomain>
2009-04-20 21:22         ` Chris Friesen
     [not found]         ` <49ECE783.5050704@nortel.com>
2009-04-20 23:08           ` Hugh Dickins
     [not found]           ` <Pine.LNX.4.64.0904202352520.2924@blonde.anvils>
2009-04-22 19:32             ` Chris Friesen
2009-04-17 16:23 ` Rolf Eike Beer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49DB8909.3000905@s5r6.in-berlin.de \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=akpm@linux-foundation.org \
    --cc=bunk@kernel.org \
    --cc=kernel-testers@vger.kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=protasnb@gmail.com \
    --cc=tiwai@suse.de \
    --cc=torvalds@linux-foundation.org \
    --cc=trenton.d.adams@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox