Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261667AbUCKTGP (ORCPT ); Thu, 11 Mar 2004 14:06:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261665AbUCKTGP (ORCPT ); Thu, 11 Mar 2004 14:06:15 -0500 Received: from ns.suse.de ([195.135.220.2]:25055 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id S261667AbUCKTEz (ORCPT ); Thu, 11 Mar 2004 14:04:55 -0500 Date: Thu, 11 Mar 2004 20:04:54 +0100 Message-ID: From: Takashi Iwai To: Alexander Nyberg Cc: linux-kernel@vger.kernel.org, alsa-devel@lists.sourceforge.net Subject: Re: Badness in remove_proc_entry called from snd_via82xx_remove (2.6.4-mm) In-Reply-To: <1079026696.810.26.camel@boxen> References: <20040204203426.GA1841@miriel.finwe.eu.org> <1079026696.810.26.camel@boxen> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 MULE XEmacs/21.4 (patch 13) (Rational FORTRAN) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1137 Lines: 33 At Thu, 11 Mar 2004 18:38:16 +0100, Alexander Nyberg wrote: > > This happens at shutdown when alsa is to be closed with kernel 2.6.4-mm. > I'm running debian sid, snd_via82xx compiled as module. > Happens also on 2.6.4-rc2-mm1, I can try on more kernels as well if it > is not a clear case. > > > I slapped a printk on these just before the badness: > de->subdir->name = "id", de->name = "card0" does the attached patch work? -- Takashi Iwai ALSA Developer - www.alsa-project.org --- linux/sound/core/init.c 4 Mar 2004 17:54:06 -0000 1.37 +++ linux/sound/core/init.c 11 Mar 2004 19:01:42 -0000 @@ -281,7 +281,7 @@ } if (card->private_free) card->private_free(card); - snd_info_free_entry(card->proc_id); + snd_info_unregister(card->proc_id); if (snd_info_card_free(card) < 0) { snd_printk(KERN_WARNING "unable to free card info\n"); /* Not fatal error */ - 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/