Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8893482rwp; Wed, 19 Jul 2023 17:45:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlGd4lfjWAvXYE6oZhEOZsFO4Uep8zyhLZ5OzYCGWlJVISTT+4/jm5C7XRPASJtLlqmIonMN X-Received: by 2002:a05:6a20:1449:b0:133:5110:344c with SMTP id a9-20020a056a20144900b001335110344cmr4259259pzi.8.1689813953296; Wed, 19 Jul 2023 17:45:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689813953; cv=none; d=google.com; s=arc-20160816; b=VjTeA3Hj3idZbEtGIMmlDYq2ozoW+HjeW+/HQShG+ZvwB3JIvvJgn/fFkhEaPVsS5l IANzhuWPOLgpzVl+vaxCL8+ZmZjL5/w/9XfoALSH2at2IIhMo1ggc6cAXM02dxZm0r33 X6EsGdqz/BzKZ/bUFSUI80LOhO+4sYKtBrRebP1vLY3uS9nP+3bIFIMQZrAVQUUIuJao uN4efdMZvMx1WZRV4bbN7NkRGRCqXnru6tmnLTofJ4gMNpbwxERRt/b2DaJtUNpYPirw uZHLt8ENtKM/GXttrxz23n79Th/XBnZy3L7uWxfrBC9fzE+h5+xlLtlQN9+UPaxPsw09 FijA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=kMyaEP92Wif0e6jYaRBcWN+tVEx3uLT0jh/mLLaCh04=; fh=CERVRuuOiGyW1YHAx3dQnYHBYKMYScdOCG0m+sEz8JY=; b=k2VVbPpj1bjqQWpqCjiEA/9h01g91zBsVKBBFOtb/cqQfVXqiZR1yZ4m+DZDS/P18a jDVlRD0HffB/jeGA4TUawb1YhpRYNx4BhVRlflwBQnlYTjtZCDzmNfMbuyZ8o1ao6+l1 toM2SBPsKT+TDCzCGkC/C1rsKyDdWPg9lzlk+f1gbnjrUH4lPPEcsAKxRGdSrEMGg452 LOmd9vz33PAR7DFyEpokk3yU1xsC/9xajLOohNyoaglfNqeCqwQOY/SaIc5YQNdBcQ0Q eQ7fwl/5jfR1pNYCMvWQnxsFrZSp9vMRyXjtlzBBrYivWIJAt8Izc0911MHAgnPxIrOZ Fssw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=kyQdhYvT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j3-20020a056a00234300b006811bf554b8si4556086pfj.396.2023.07.19.17.45.39; Wed, 19 Jul 2023 17:45:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=kyQdhYvT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229776AbjGSXf5 (ORCPT + 99 others); Wed, 19 Jul 2023 19:35:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbjGSXf4 (ORCPT ); Wed, 19 Jul 2023 19:35:56 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0C66C6 for ; Wed, 19 Jul 2023 16:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689809755; x=1721345755; h=date:from:to:subject:message-id:mime-version: content-transfer-encoding; bh=nribv/50tQ/p1dQw3Z+dB+DDsgwwpop7bUHtWLTlHyY=; b=kyQdhYvTGPQnOl1qw3awF/VtUsO8hq02feQk2Tjqhts2f2hPU04/4L1I gqAvFZhyFERytAlg1aF+NjnWKenghRK26BKvrKBJfP7xjanLbAX96N7Qq u1ZDqJaMQadtI0Wothj5HDcyJeXjW/8BJ9qsVGqfgCCssL9D61DKcv7n3 SktL51DFeCK6tbeB5qFo2LCTUAyG6IE6qJ1VbGwNhdNXJSpKggCOThTXm HbGJ9PK3T8+yQWAGqwfsJYggAL7tDFu2/L8IkECFid+vSiHP/kR5/ZcEh /zsy+z8PZicLDfCRJgkAf+jRqvhtvM27DDHNsVbOAzJm6W5GyMBaIvMl/ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10776"; a="365475566" X-IronPort-AV: E=Sophos;i="6.01,216,1684825200"; d="scan'208";a="365475566" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jul 2023 16:35:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10776"; a="794220636" X-IronPort-AV: E=Sophos;i="6.01,216,1684825200"; d="scan'208";a="794220636" Received: from agluck-desk3.sc.intel.com (HELO agluck-desk3) ([172.25.222.74]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jul 2023 16:35:55 -0700 Date: Wed, 19 Jul 2023 16:35:54 -0700 From: Tony Luck To: rostedt@goodmis.org, Aristeu Rozanski , linux-kernel@vger.kernel.org Subject: rasdaemon broke between v6.0 and v6.3? Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [resend as plain text - sorry for the earlier HTML] An internal team is seeing tests that worked on v6.0 fail on v6.3. The problem is that rasdaemon isn’t waking up to process the “mce_record” trace events. Manually checking for them works: root@R-4251:/sys/kernel/debug/tracing>systemctl stop rasdaemon root@R-4251:/sys/kernel/debug/tracing> root@R-4251:/sys/kernel/debug/tracing> root@R-4251:/sys/kernel/debug/tracing>echo 1 > events/mce/mce_record/enable root@R-4251:/sys/kernel/debug/tracing> root@R-4251:/sys/kernel/debug/tracing>cat trace_pipe <...>-235 [000] ..... 596.892583: mce_record: CPU: 0, MCGc/s: f000c15/0, MC13: 8c00004200800090, IPID: 0000000000000000, ADDR/MISC/SYND: 0000000123450000/08000a80c2982086/0000000000000000, RIP: 00:<0000000000000000>, TSC: 14120b051a1, PROCESSOR: 0:c06f1, TIME: 1689802780, SOCKET: 0, APIC: 0 kworker/0:2-235 [000] ..... 597.204343: mce_record: CPU: 0, MCGc/s: f000c15/0, MC255: 9c0000000000009f, IPID: 0000000000000000, ADDR/MISC/SYND: 0000000123450000/000000000000008c/0000000000000000, RIP: 00:<0000000000000000>, TSC: 0, PROCESSOR: 0:c06f1, TIME: 1689802781, SOCKET: 0, APIC: 0 So their tests are injecting errors, and the trace event is firing. Is there some updated version of rasdaemon needed? Some kernel CONFIG option problem? -Tony