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=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 EE3F7C433DF for ; Fri, 9 Oct 2020 00:52:13 +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 A92DB22256 for ; Fri, 9 Oct 2020 00:52:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="bgIJmcu7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A92DB22256 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=renesas.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@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 6D1CB1665; Fri, 9 Oct 2020 02:51:18 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 6D1CB1665 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1602204728; bh=QvugbE8/WKPQYUzmRZU6zXc2IuegZlmesQK7Rx/5cyM=; h=Date:From:To:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=bgIJmcu7JNfg3kXA7pre68/VHOPQc8TofTYJleRk9SYkv08J3sxlC4ytiQJQW+/p9 TLc78cpy/Xpdwhjqium1AMxzy1jyCR2RiipzXJIDlkW4w/r645QJdNYvlUogwHKE30 87hlBntbKZRpXsnzb8J5PDmComfJCk0SYhv2/lJc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id D1305F8015B; Fri, 9 Oct 2020 02:51:17 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5D483F80164; Fri, 9 Oct 2020 02:51:15 +0200 (CEST) Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by alsa1.perex.cz (Postfix) with ESMTP id 193EEF8015B for ; Fri, 9 Oct 2020 02:51:07 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 193EEF8015B Date: 09 Oct 2020 09:51:03 +0900 X-IronPort-AV: E=Sophos;i="5.77,353,1596466800"; d="scan'208";a="59085110" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 09 Oct 2020 09:51:03 +0900 Received: from mercury.renesas.com (unknown [10.166.252.133]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 0E4EA414FC06 for ; Fri, 9 Oct 2020 09:51:03 +0900 (JST) Message-ID: <877ds08buf.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Linux-ALSA Subject: Question about buildroot vs aplay/arecord with -d User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII 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" Hi ALSA ML I'm now using buildroot, and want to use aplay/arecord in the same time with -d option. This works for me aplay -d 3 xxx And this works for me, too arecord -d 3 yyy But, this doesn't work, and system will hung up aplay -d 3 xxx & arecord -d 3 yyy Sometimes it will indicates this message rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-....: (1 GPs behind) idle=496/0/0x1 softirq=228/228 fqs=2172 (detected by 1, t=6502 jiffies, g=-103, q=17) Task dump for CPU 0: task:swapper/0 state:R running task stack: 0 pid: 0 ppid: 0 flags:0x0000002a Call trace: __switch_to+0x144/0x1a0 init_task+0x0/0x1780 ... Do you know why this happen ? Thank you for your help !! Best regards --- Kuninori Morimoto