Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1244919ybv; Thu, 20 Feb 2020 16:16:21 -0800 (PST) X-Google-Smtp-Source: APXvYqyT0GPXlNtRV8GrjzaLyInNk5Frxz4eni4QVtCbsxV5PIAR/C6+nibBcYyfZCA4vbiZiniE X-Received: by 2002:a54:4085:: with SMTP id i5mr4101445oii.17.1582244180897; Thu, 20 Feb 2020 16:16:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582244180; cv=none; d=google.com; s=arc-20160816; b=PznzPWpjGrfflWaWDkpdJ02JeORljGqcvJGxwJ3Q+sebHeEBFWZWaKxhLw4hNF/GCc qdInBDrcDh6BEs14PBEw30F3WKqlejf/HPT/rA+E5iRw1H8q4BZn8AYOdbIOkMXvt+sB GNSsVy1cVr6WVhI3d6opgOIk+lYGIwQRYKWLiC7SXaQ51trxKRiowkG2TCSqmMo99QhD 6wADG9RgpDrMPvHXwpwfKKI2cCelIqw4K6fI4S4z+AGV/Ubxn1Nk1QlIas2XOF1rA8GT nni+Yox/xqvXSAsMBkDjHvy8V3bJ5auW6PbIaXHxxdcRzRYkiQkyXBaQKvExwyl9Sv6+ dTiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=bSOXy59NaxNEGkVUjyIUAzgGlKx0xSBMnajwRhUlBTg=; b=Qyh/4xSIqYraEJvviVuBBWwipsgJwSsgxw6C6BK3h0NMpr1nX22NAEDb3IqY0yWXE/ 0P6dC7MSHlEs9GNPJDGrCeSlYa5saIq5w+nGifinnwD5dbCKnR7bvRHNwdZknaX/C6Ck 2TCqDQEnpasyCqvXTjNpv0kf+VNLlEnZItpQkS4usjs2QPFK2GBsbwpQVvoAkDQRDRh0 GL1AnQSYgf5af6gRHO+Aq9Zc57MrezA6lyrNDDPjklItf3F8N+9ARNkvEt9TXmxfoR+N 7gG2xJSi/+J2Nb04Tc5FzVdHRgbHziD9yofMWjkTgVv+PdDwk2hFT0DpvBoVHr8Bo0tb eL/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=oZBFAmZG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d26si539001otc.6.2020.02.20.16.16.08; Thu, 20 Feb 2020 16:16:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=oZBFAmZG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729455AbgBUAQE (ORCPT + 99 others); Thu, 20 Feb 2020 19:16:04 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:34275 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729410AbgBUAQE (ORCPT ); Thu, 20 Feb 2020 19:16:04 -0500 Received: by mail-pl1-f194.google.com with SMTP id j7so108725plt.1 for ; Thu, 20 Feb 2020 16:16:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=bSOXy59NaxNEGkVUjyIUAzgGlKx0xSBMnajwRhUlBTg=; b=oZBFAmZGwNpWsKFxlgvf0mX4lmV48p5sBFBFmkb2qY6JOGXSZchINliLWhfrC0TSPH iXbmiJf/r0fGxptXI0Y1O+CIU1KGPjXLE+pqPw3xWLyGNqbzxhQ8vR5Bm1+ZWRNYo4xx FjnYi/0OovC17X8MrsPBCFUf3oa4HURWyd09w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=bSOXy59NaxNEGkVUjyIUAzgGlKx0xSBMnajwRhUlBTg=; b=F2nZd+bWv76YEsQyIR8OL7Iib4IdEoLC/6gLGCLEfhlSfBHOYLIuTxThCkqSLZkqBj NAbsmyMvKzTc2J1g82DxzOocCiCVlLP0xZ1749Q/VLaHTHJxYo0e9mVoBIqukOw9RaOj 4TFzFbUckT/7+sesM0y4CZA1dJwV0CNAmOmIwV75DFr6NFNXFbwtlp11ay2wSwBYeVK5 A+Ktzx2m8CTatq/564ear5TeyYC2idvZ4zBTmSS7HhoJEk4t2Xf6+tdUPmwGzBo09Djc GXyX7YnN5ZOvckQvQ36ySxshwdV9daDPMxAvaUqp78Ew71wtndkkes0pt5pUyDgxhAOR GSZA== X-Gm-Message-State: APjAAAXmySP/HwoGfKZo1Tk3Q+bFRH0vsZvMk98imBOfXn2hUZCEMdQx 0UafBbIZzbDqt6bpbuEaDcJRbg== X-Received: by 2002:a17:902:ab8f:: with SMTP id f15mr33566822plr.280.1582244163881; Thu, 20 Feb 2020 16:16:03 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id fz21sm523554pjb.15.2020.02.20.16.16.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Feb 2020 16:16:03 -0800 (PST) Date: Thu, 20 Feb 2020 16:16:01 -0800 From: Kees Cook To: shuah Cc: Cristian Marussi , Naresh Kamboju , "open list:KERNEL SELFTEST FRAMEWORK" , Anders Roxell , lkft-triage@lists.linaro.org, open list , ankita@in.ibm.com, Will Deacon , ardb@kernel.org, "Guohanjun (Hanjun Guo)" Subject: Re: selftests: Linux Kernel Dump Test Module output Message-ID: <202002201610.2B149A6D@keescook> References: <31b066c2-d1c9-1592-48cd-bccb4b3a624a@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31b066c2-d1c9-1592-48cd-bccb4b3a624a@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 19, 2020 at 09:16:03AM -0700, shuah wrote: > On 2/17/20 8:36 AM, Cristian Marussi wrote: > > Hi > > > > n 17/02/2020 11:09, Naresh Kamboju wrote: > > > The selftest lkdtm test failed on x86_64 and arm64. > > > am I missing any pre-requisite? > > > > > > Boot log: > > > [ 3.297812] lkdtm: No crash points registered, enable through debugfs > > > > > > > from your logs I cannot deduce anything useful, but in our CI I've got similar issues > > since the 10/12th of Feb... > > > > TAP version 13 > > 1..71 > > # selftests: lkdtm: PANIC.sh > > # Cannot find /sys/kernel/debug/provoke-crash/DIRECT (missing CONFIG_LKDTM?) > > not ok 1 selftests: lkdtm: PANIC.sh # SKIP > > # selftests: lkdtm: BUG.sh > > # Cannot find /sys/kernel/debug/provoke-crash/DIRECT (missing CONFIG_LKDTM?) > > > > so I suppose this and a bunch of other (probably new) tests are simply > > missing a bit of CONFIGs... (but I have still to look into this properly) > > (not sure if this also is your case either...) > > > > Regards > > > > Cristian > > > > Hi Kees, > > Any ideas on what this is about? Missing config or something else? In the first case, I'm not sure what's happening -- the logs don't seem to show anything, but the lkdtm should be available (from the boot log). In the second case, yes, it looks like missing CONFIG_LKDTM (the test even has a "config" file). Either CONFIG_LKDTM=y or CONFIG_LKDTM=m will work (the test running will attempt to load the lkdtm module if it's missing). A final option is that either the debug filesystem isn't mounted, or is mounted somewhere "non-standard"? (I'd expect a lot of things to fail...) -Kees -- Kees Cook