[lkml]   [2009]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject2.6.29 on MacBook 2,1 fails to reboot (was Re: 2.6.29-git13: Reported regressions from 2.6.28)
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 :
>>>> 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?
>> "System hangs when unloading alsa modules"
>> "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 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
Stefan Richter
-=====-=-=== -=-= -==-=

 \ /
  Last update: 2009-04-07 19:19    [W:0.110 / U:5.100 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site