Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 15 Feb 2002 07:13:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 15 Feb 2002 07:13:19 -0500 Received: from gate.perex.cz ([194.212.165.105]:46860 "EHLO gate.perex.cz") by vger.kernel.org with ESMTP id ; Fri, 15 Feb 2002 07:13:06 -0500 Date: Fri, 15 Feb 2002 13:12:55 +0100 (CET) From: Jaroslav Kysela X-X-Sender: To: Jos Hulzink cc: Linux Kernel Development , ALSA development Subject: Re: 2.5.5-pre1: Deadlocks and ALSA driver problems In-Reply-To: <20020215110243.U68580-100000@toad.stack.nl> Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323584-1329462030-1013775175=:608" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --8323584-1329462030-1013775175=:608 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 15 Feb 2002, Jos Hulzink wrote: > Hi, > > Still fighting with the debug tools (I'm new to kernel debugging), but > maybe this info is useful to others: > > 2.5.5-pre1 deadlocked completely about 7 times in 40 minutes. The Magic > SysRq key didn't work anymore. Don't know if it is related, but after I > recompiled the ALSA driver as modules, the system was stable for about 4 > hours. (With ALSA modules loaded, playing music, and I rebooted it myself > afterwards.) > > Besides: the ALSA /proc interface is terribly broken, any cat > /proc/asound/... results in a no such device error. The ALSA /dev entries > return the same errors while opening them, but the OSS emulation layer > works fine. Attached patch for linux/sound/core/info.c fixes the problem with /proc entries. Jaroslav ----- Jaroslav Kysela Linux Kernel Sound Maintainer ALSA Project http://www.alsa-project.org SuSE Linux http://www.suse.com --8323584-1329462030-1013775175=:608 Content-Type: TEXT/plain; name="out.txt" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="out.txt" SW5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LT5kYXRhOw0K --8323584-1329462030-1013775175=:608-- - 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/