From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Trenton D. Adams" Subject: Re: 2.6.29 on MacBook 2,1 fails to reboot (was Re: 2.6.29-git13: Reported regressions from 2.6.28) Date: Tue, 7 Apr 2009 14:52:59 -0600 Message-ID: <9b1675090904071352x513510ecm8b2574859b088275@mail.gmail.com> References: <49DB7C77.1000702@s5r6.in-berlin.de> <9b1675090904070944m798ed608i1d9194ebd1ed3961@mail.gmail.com> <49DB8909.3000905@s5r6.in-berlin.de> <9b1675090904071122k6a53295fwfffc336011edee8e@mail.gmail.com> <49DBA821.1070408@s5r6.in-berlin.de> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Mny/ouydLJmE2VKNtU9Iv0hvAAt3V+RsK0hAr0S9UcM=; b=XcLNiRZmLjgclo+QacPXEFNFC+3DEVTUBum9xQ+Lf2tcxoVEffJHlukgJol+rpxan2 BxhjkBNa4WWAe62/vpKsGxee9tDnBRS2kyg/ES3HqTfCOVdberDQ6RuCp9MIDg3bGaJr Z5GyIXoUauU+1y6bG0pEH1OMe7j2ng+2xWGwk= In-Reply-To: <49DBA821.1070408-MtYdepGKPcBMYopoZt5u/LNAH6kLmebB@public.gmane.org> Sender: kernel-testers-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="iso-8859-1" To: Stefan Richter Cc: 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 On Tue, Apr 7, 2009 at 1:23 PM, Stefan Richter wrote: > Trenton D. Adams wrote: >> On Tue, Apr 7, 2009 at 11:10 AM, Stefan Richter >> wrote: >>>>> http://bugs.gentoo.org/show_bug.cgi?id=3D253535 >>> Interdependencies between ALSA modules have changed. =A0The Gentoo = init >>> scripts attempted to unload them in an order which deadlocked modpr= obe >>> due to dependencies. =A0The fix for Gentoo is to just not unload th= e >>> modules on system shutdown. =A0My Gentoo/amd64 Mac mini was affecte= d by >>> this too; fixed by userland update. >>> >> >> While that is interesting, I am not seeing that problem on my Gentoo >> box (the macbook), which is completely up-to-date. =A02.6.28 works, = and >> 2.6.29 doesn't. =A0Same init scripts, different kernels. > > Note that the respective update changed /etc/conf.d/alsasound (a loca= l > configuration file) to include > UNLOAD_ON_STOP=3D"no" > KILLPROC_ON_STOP=3D"no" > This change by update is not activated by a mere emerge; one needs to > incorporate that change with dispatch-conf or an equivalent method. > (Or simply edit the file to have these variables set to "no".) I run dispatch-conf every time I update. It did not set it to no by default. I do see the option though. > >> And sure, I could put a comment on the rmmod, in the init script, bu= t >> IMO that would be a hack around a _bug_. =A0Which is fine for me. =A0= But, >> is it worth leaving the issue in the kernel? > > Is it a kernel issue if a script attempts to unload a busy module, th= en > fails to proceed? =A0I wouldn't think so. I don't know really. It worked before, now it doesn't. But, now I'm recalling something you said earlier. They are being done in the wrong order. The gentoo bug mentions the correct order. I hadn't realized that. > > But more importantly, is this init scripts related bug really what's > happening at your system? =A0Or do you actually experience an entirel= y > different bug? It could be. I will try it out when I get home from work, and get back to you. That would be cool if it was a simple init script problem. Cause then I don't have to do anymore git bisects. ;) > -- > Stefan Richter > -=3D=3D=3D=3D=3D-=3D-=3D=3D=3D -=3D-=3D -=3D=3D-=3D > http://arcgraph.de/sr/ >