Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D6CEC4338F for ; Mon, 2 Aug 2021 15:22:26 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0BEDA60725 for ; Mon, 2 Aug 2021 15:22:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0BEDA60725 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=vanheusden.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 8EE7716C9; Mon, 2 Aug 2021 17:21:33 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8EE7716C9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1627917743; bh=Z4qPUQ6qms2IroExM+VKhsKvCSq8E2bwSTu2FujNUlI=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=BlB19IB94uR6wNK+DMZ7KgrOJ1Go6Ycy2I4g9kRdp9+9U3liRb+HNOBR7aU0/uUcP OT0Wvg/8C7nP3n4RQVL0GhdT1hsNddff49tBaaJhnHRPsIUx9tkjfDnd2xZETj3B3M 30gR3mvBghmlWUSTJpValVwQQpQlSPGSU0/HnVMs= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 0F77CF80095; Mon, 2 Aug 2021 17:21:33 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A5677F8025F; Mon, 2 Aug 2021 17:21:31 +0200 (CEST) Received: from lb2-smtp-cloud8.xs4all.net (lb2-smtp-cloud8.xs4all.net [194.109.24.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 95529F8014D for ; Mon, 2 Aug 2021 17:21:22 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 95529F8014D Received: from cust-b66e5d83 ([IPv6:fc0c:c157:b88d:62c6:5e3c:5f07:82d0:1b4]) by smtp-cloud8.xs4all.net with ESMTPA id AZklmM9KQXTlcAZkmmiEYw; Mon, 02 Aug 2021 17:21:20 +0200 Received: from localhost (localhost [127.0.0.1]) by keetweej.vanheusden.com (Postfix) with ESMTP id EDA041626F6; Mon, 2 Aug 2021 17:21:18 +0200 (CEST) Received: from keetweej.vanheusden.com ([127.0.0.1]) by localhost (mauer.intranet.vanheusden.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kf_z4f-cJufD; Mon, 2 Aug 2021 17:21:17 +0200 (CEST) Received: from belle.intranet.vanheusden.com (belle.intranet.vanheusden.com [192.168.64.100]) by keetweej.vanheusden.com (Postfix) with ESMTP id 52F3815F770; Mon, 2 Aug 2021 17:21:17 +0200 (CEST) Received: by belle.intranet.vanheusden.com (Postfix, from userid 1000) id 4375816063C; Mon, 2 Aug 2021 17:21:17 +0200 (CEST) Date: Mon, 2 Aug 2021 17:21:17 +0200 From: folkert To: Takashi Iwai Subject: Re: aconnect occasionally causes kernel oopses Message-ID: <20210802152117.GT890690@belle.intranet.vanheusden.com> References: <20210801182754.GP890690@belle.intranet.vanheusden.com> <20210802061845.GQ890690@belle.intranet.vanheusden.com> <20210802091012.GR890690@belle.intranet.vanheusden.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Reply-By: Fri 16 Jul 2021 08:34:34 AM CEST User-Agent: Mutt/1.10.1 (2018-07-13) X-CMAE-Envelope: MS4xfNvJRq3MAIGIHmUcWurCrqOU3B5sg1r3WBSlXjw7ulyNo8T1ojOS4H8G2QRcCxxAfpJ+Yv33RXAcO7kXkbp3StupApFLKPmWFjguC9XSm8lTwjHZ0Qoz IN3GyqgOQ8G54LqTuCNG4FV8OYoqt6S5zbAnVTv8W7QhOyZNoqkWavX1qarv+V79/HtWxOObxUwsZCU0vcMxXgVHGLHkdG74fyOsVyITPsVQGq097zewoNuO K7Cbpia+28nuB1JVSVPGlA== Cc: alsa-devel@alsa-project.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" [ kernel bug if repeatingly aconnect'ing midi devices ] > Does this happen if you do reconnect of kernel sequencer client? > You can use snd-virmidi as well as snd-dummy. > I'm asking it because it'll simplify the test a lot, which will be > almost self-contained. Like this? root@lappiemctopface:~# aplaymidi -l Port Client name Port name 14:0 Midi Through Midi Through Port-0 20:0 Virtual Raw MIDI 1-0 VirMIDI 1-0 21:0 Virtual Raw MIDI 1-1 VirMIDI 1-1 22:0 Virtual Raw MIDI 1-2 VirMIDI 1-2 23:0 Virtual Raw MIDI 1-3 VirMIDI 1-3 128:0 rtpmidi lappiemctopface Network 128:1 rtpmidi lappiemctopface metronoom 128:2 rtpmidi lappiemctopface AppleMidi2IPMidiBridge 128:3 rtpmidi lappiemctopface oensoens 130:0 FLUID Synth (11462) Synth input port (11462:0) and then: root@lappiemctopface:~# cat test.sh while true do aconnect 20:0 21:0 aconnect -d 20:0 21:0 done root@lappiemctopface:~# for i in `seq 0 3` ; do (./test.sh &) ; done This hard locks-up my laptop: it doesn't even respond to capslock (led on/off) anymore nor the ctrl+prtscr+alt+b combination.