From mboxrd@z Thu Jan 1 00:00:00 1970 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=DKIM_INVALID,DKIM_SIGNED, 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 8EBFBC2D0DA for ; Thu, 26 Dec 2019 17:54:43 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (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 57F0A20828 for ; Thu, 26 Dec 2019 17:54:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=intel-com.20150623.gappssmtp.com header.i=@intel-com.20150623.gappssmtp.com header.b="M/U+1ew6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 57F0A20828 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvdimm-bounces@lists.01.org Received: from ml01.vlan13.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id E6A9610113681; Thu, 26 Dec 2019 09:58:02 -0800 (PST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::344; helo=mail-ot1-x344.google.com; envelope-from=dan.j.williams@intel.com; receiver= Received: from mail-ot1-x344.google.com (mail-ot1-x344.google.com [IPv6:2607:f8b0:4864:20::344]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 85C2F10113679 for ; Thu, 26 Dec 2019 09:58:00 -0800 (PST) Received: by mail-ot1-x344.google.com with SMTP id 77so33208412oty.6 for ; Thu, 26 Dec 2019 09:54:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nPrgm5oYCoy7v1evEY+ndQWI3G9RXerzszLCz1oKpqU=; b=M/U+1ew67ka7NASbQx8Ps0LDgWbxk8wSmv9GQeZ9/1GpL2jB73fyzbUlFi5bC/reWR uLZmJmNdHQNSCgDollk+KCa/5MZE6suy2McIWE92Rv5wMlDEsZ3PM9t7pdgR9PuPFW6s w2nxQpFTxLDxGLZLkBhB9O81+0JzDFLEXpRvCVycgA7VsM/fXlTGpoLnPo0SNc8rEh1f BBbZZUXem7wH5U1r6Rd/IznDxiCfKCZdhMl5sH+S7D1SigeUqhtqhSpIOvD9ZLz0QkNV URX+/3dErxGscKZJejhDQKW9efCm3MK0hMCBWDRRhDWYMaRwHi0ErO3cxbYuD52Zks6T pWcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nPrgm5oYCoy7v1evEY+ndQWI3G9RXerzszLCz1oKpqU=; b=bHMKSxHAok+4Y/mS/+pJJ0n/HbziMAHHj0giKWJhocunuGU0o5gOZikLNTubYSNRWk oUq9neoVslym2zUJ2bJGmehInw+OfeSMzIoWao9QlPD3+ZPlEQKKvxLro7JKaBYqAwOC 6vKYdfhUtAsHaiVcnj4iYm0/ABjhROuB3slPyo34AKU8qauXCEVCs+xNp0YAdEswljN1 FCMRaDOw0OUGCZqW/JlbouHaXn1Lx/hhWQwhN+G/w9CWZ+RFXFnxznV9jJiyQnC8setf pRLtsDFJMg57BkIQpNx67PSgtnvQ+sGz6u6vIOHER4ukqU9q59bbOYOHQw7z0lpzkX6K ghnw== X-Gm-Message-State: APjAAAXoVd5Y0XKqa6s0o9C2dX5wdOb3n1SQLoNmnGJQZKMIR163v9Uo WXFqEa7/EOMUG+22iyiylaw7iNxtfhY9cmcGfDrxp9yJkpI= X-Google-Smtp-Source: APXvYqziLXhZhTDkqhZxsKVb/E69B/rlhNUTARig3ej3+79YBoh4C5TypBiB6gNnwCQydBqCdqbtQcrIkgTGyVLLY0c= X-Received: by 2002:a9d:7852:: with SMTP id c18mr44561341otm.247.1577382879751; Thu, 26 Dec 2019 09:54:39 -0800 (PST) MIME-Version: 1.0 References: <2369E669066F8E42A79A3DF0E43B9E643AC9EB31@pgsmsx114.gar.corp.intel.com> In-Reply-To: From: Dan Williams Date: Thu, 26 Dec 2019 09:54:28 -0800 Message-ID: Subject: Re: [PATCH] daxctl: Change region input type from INTEGER to STRING. To: "Li, Redhairer" Message-ID-Hash: 54GEPJBDDKV7TDRST4QKIVXQXJ5SCMBC X-Message-ID-Hash: 54GEPJBDDKV7TDRST4QKIVXQXJ5SCMBC X-MailFrom: dan.j.williams@intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: "linux-nvdimm@lists.01.org" X-Mailman-Version: 3.1.1 Precedence: list List-Id: "Linux-nvdimm developer list." Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit The way to fix this is mentioned in the log, see below... On Wed, Dec 25, 2019 at 8:01 PM Li, Redhairer wrote: > > I saw daxctl-devices.sh is still failed before I apply my patch. > > root@ubuntu-red:~/git/ndctl# vi test/test-suite.log > ========================================= > ndctl 67.dirty: test/test-suite.log > ========================================= > > # TOTAL: 1 > # PASS: 0 > # SKIP: 0 > # XFAIL: 0 > # FAIL: 1 > # XPASS: 0 > # ERROR: 0 > > .. contents:: :depth: 2 > > FAIL: daxctl-devices.sh > ======================= > > + rc=77 > + . ./common > ++ '[' -f ../ndctl/ndctl ']' > ++ '[' -x ../ndctl/ndctl ']' > ++ export NDCTL=../ndctl/ndctl > ++ NDCTL=../ndctl/ndctl > ++ '[' -f ../daxctl/daxctl ']' > ++ '[' -x ../daxctl/daxctl ']' > ++ export DAXCTL=../daxctl/daxctl > ++ DAXCTL=../daxctl/daxctl > ++ NFIT_TEST_BUS0=nfit_test.0 > ++ NFIT_TEST_BUS1=nfit_test.1 > ++ ACPI_BUS=ACPI.NFIT > ++ E820_BUS=e820 > + trap 'cleanup $LINENO' ERR > + find_testdev > + local rc=77 > + modinfo kmem > filename: /lib/modules/5.4.0-rc5_red_ndctltest_VM/kernel/drivers/dax/kmem.ko > alias: dax:t0* > license: GPL v2 > author: Intel Corporation > srcversion: A0712EA9D9E63723E6B4CDA > depends: > retpoline: Y > intree: Y > name: kmem > vermagic: 5.4.0-rc5_red_ndctltest_VM SMP mod_unload > signat: PKCS#7 > signer: > sig_key: > sig_hashalgo: md4 > + testbus=ACPI.NFIT > ++ ../ndctl/ndctl list -b ACPI.NFIT -Ni > ++ jq -er '.[0].dev | .//""' > + testdev=namespace0.0 > + [[ ! -n namespace0.0 ]] > + printf 'Found victim dev: %s on bus: %s\n' namespace0.0 ACPI.NFIT > Found victim dev: namespace0.0 on bus: ACPI.NFIT > + setup_dev > + test -n ACPI.NFIT > + test -n namespace0.0 > + ../ndctl/ndctl destroy-namespace -f -b ACPI.NFIT namespace0.0 > destroyed 1 namespace > ++ ../ndctl/ndctl create-namespace -b ACPI.NFIT -m devdax -fe namespace0.0 -s 256M > ++ jq -er .dev > + testdev=namespace0.0 > + test -n namespace0.0 > + rc=1 > + daxctl_test > + local daxdev > ++ daxctl_get_dev namespace0.0 > ++ ../ndctl/ndctl list -n namespace0.0 -X > ++ jq -er '.[].daxregion.devices[0].chardev' > + daxdev=dax0.0 > + test -n dax0.0 > + ../daxctl/daxctl reconfigure-device -N -m system-ram dax0.0 > libdaxctl: daxctl_dev_disable: dax0.0: error: device model is dax-class > libdaxctl: daxctl_dev_disable: dax0.0: see man daxctl-migrate-device-model If you run: daxctl migrate-device-model ...and reboot the test should start working. The explanation for why this migrate-device-model step is needed is detailed in the man page. daxctl migrate-device-model --help _______________________________________________ Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org To unsubscribe send an email to linux-nvdimm-leave@lists.01.org