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=-0.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,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 61DFAC4338F for ; Wed, 25 Aug 2021 01:07:04 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (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 A481B6108F for ; Wed, 25 Aug 2021 01:07:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A481B6108F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=etri.re.kr Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94.2) (envelope-from ) id 1mIhNE-0007aI-O0; Tue, 24 Aug 2021 21:06:36 -0400 Received: from mscreen.etri.re.kr ([129.254.9.16]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (Exim 4.94.2) (envelope-from ) id 1mIhN9-0007ZK-JH for kernelnewbies@kernelnewbies.org; Tue, 24 Aug 2021 21:06:32 -0400 Received: from unknown (HELO send001-relay.gov-dooray.com) (211.180.235.152) by 129.254.9.16 with ESMTP; 25 Aug 2021 10:06:23 +0900 X-Original-SENDERIP: 211.180.235.152 X-Original-MAILFROM: ckim@etri.re.kr X-Original-RCPTTO: kernelnewbies@kernelnewbies.org Received: from [10.162.225.106] (HELO smtp001-imp.gov-dooray.com) ([10.162.225.106]) by send001-relay.gov-dooray.com with SMTP id ddfb20736125978f; Wed, 25 Aug 2021 10:06:23 +0900 DKIM-Signature: a=rsa-sha256; b=VxZklh5iWz9wbAxSDDFJVnrP1oE4T9qrUG9s+3dfGIdMUT47r89gLt3NxVFB5gcSgNb1tTA67y JIEAXhwJM04sfAWQgBkkpjpI7RZTYOc/9qiQHCkYfN+rGKPEkGJgJ3N8vcBNf9EUaHoGwAmt7tk+ +DWRKYIgw6m154Si2hXZWyYgGzUE5uCa12QmBRr/eSVh1FQijHkLMU4c8I1NUPDzGFwCIfIFFm3J XzdsyKDwNVuGOKWLnmJuKQn6LWnp07vBZ48WechxchlDB4wbgQiD+3OvLZSOHjA/HcBaHMD+b9Pl GNO4MKz4XJwAW6oADtT4n5emXoqyWCCQMPOuQjvQ==; c=relaxed/relaxed; s=selector; d=dooray.com; v=1; bh=QKpMooh96l3xOrVB8lrNGnrUfzzmJ40ObkkyhKXSMyo=; h=From:To:Subject:Message-ID; Received: from [129.254.132.39] (HELO CHANKIMPC) ([129.254.132.39]) by smtp001-imp.gov-dooray.com with SMTP id 99a1742a6125978f; Wed, 25 Aug 2021 10:06:23 +0900 From: To: Subject: how to avoid CPU watchdog error during debug Date: Wed, 25 Aug 2021 10:06:21 +0900 Message-ID: <01cd01d7994d$6b063760$4112a620$@etri.re.kr> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdeZTWqALjkWEmxlQie3d8awYSR8oQ== Content-Language: ko X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============5458093890546059966==" Errors-To: kernelnewbies-bounces@kernelnewbies.org This is a multipart message in MIME format. --===============5458093890546059966== Content-Type: multipart/alternative; boundary="----=_NextPart_000_01CE_01D79998.DAEE2D80" Content-Language: ko This is a multipart message in MIME format. ------=_NextPart_000_01CE_01D79998.DAEE2D80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, While debugging a kernel module, I get this error and the OS crashes. [39068.833652] rcu: INFO: rcu_sched self-detected stall on CPU [39068.834739] watchdog: BUG: soft lockup - CPU#3 stuck for 164s! [systemd-journal:399] [39068.834854] watchdog: BUG: soft lockup - CPU#0 stuck for 164s! [test_axpu_app:2896] This seems because I stopped the processor for debugging. How can I avoid this watchdog error during debug? Any help will be appreciated. Thanks! Chan Kim ------=_NextPart_000_01CE_01D79998.DAEE2D80 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

 

Hello,

While debugging a kernel module, I = get this error and the OS crashes.

[39068.833652] rcu: INFO: rcu_sched = self-detected stall on CPU

[39068.834739] watchdog: BUG: soft = lockup - CPU#3 stuck for 164s! = [systemd-journal:399]

[39068.834854] watchdog: BUG: soft lockup - CPU#0 stuck for = 164s! [test_axpu_app:2896]

This seems because I stopped the = processor for debugging.

How can I avoid this watchdog error during = debug?

Any = help will be appreciated. Thanks!

 

Chan = Kim

------=_NextPart_000_01CE_01D79998.DAEE2D80-- --===============5458093890546059966== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============5458093890546059966==--