All of lore.kernel.org
 help / color / mirror / Atom feed
From: yizhan <yizhan@redhat.com>
To: Dan Williams <dan.j.williams@intel.com>,
	Johannes Thumshirn <jthumshirn@suse.de>
Cc: "linux-nvdimm@lists.01.org" <linux-nvdimm@ml01.01.org>
Subject: Re: test suite errors
Date: Wed, 29 Jun 2016 10:17:22 +0800	[thread overview]
Message-ID: <57732FB2.8010408@redhat.com> (raw)
In-Reply-To: <CAPcyv4gH32tGM-YHVYwm1FuNp9GAerOKjpoPS6eAwNVZberPPQ@mail.gmail.com>



On 06/29/2016 12:26 AM, Dan Williams wrote:
> On Tue, Jun 28, 2016 at 1:22 AM, Johannes Thumshirn <jthumshirn@suse.de> wrote:
>> Hi,
>>
>> I get the following error when running ndctl's make check:
>>
>> check_smart: HAVE_NDCTL_SMART disabled, skipping
>> check_smart_threshold: HAVE_NDCTL_SMART disabled, skipping
>> check_set_config_data: dimm: 0 read2 data miscompare: 0
>> check_smart: HAVE_NDCTL_SMART disabled, skipping
>> check_smart_threshold: HAVE_NDCTL_SMART disabled, skipping
>> check_set_config_data: dimm: 0x1 read2 data miscompare: 0
>> check_smart: HAVE_NDCTL_SMART disabled, skipping
>> check_smart_threshold: HAVE_NDCTL_SMART disabled, skipping
>> check_set_config_data: dimm: 0x100 read2 data miscompare: 0
>> check_smart: HAVE_NDCTL_SMART disabled, skipping
>> check_smart_threshold: HAVE_NDCTL_SMART disabled, skipping
>> check_set_config_data: dimm: 0x101 read2 data miscompare: 0
>> check_dax_create: 4
>> __check_dax_create: dax13.0 align: 1
>> libdaxctl: daxctl_region_unref: region13 released
>> __check_dax_create: dax13.1 align: 1073741824
>> libndctl: ndctl_dax_enable: dax13.1: failed to enable
>> __check_dax_create: dax13.1 align: 4096
>> libdaxctl: daxctl_region_unref: region13 released
>> __check_dax_create: dax13.0 align: 2097152
>> libndctl: ndctl_dax_enable: dax13.0: failed to enable
> Do you have CONFIG_DEV_DAX_PMEM=m?
>
I also met this error with CONFIG_DEV_DAX_PMEM=m
Detailed log I have post at the last comment at 
https://github.com/pmem/ndctl/issues/3

>> dax13.0: expected dax enable success, region13 read-write
>> namespace13.0: failed to create dax
>> namespace13.0: failed to configure namespace
>> ndctl-test0 failed: -6
>> libkmod: kmod_module_remove_module: could not remove 'nfit_test': Resource temporarily unavailable
>> libdaxctl: daxctl_unref: context 0xe1b410 released
>> libndctl: ndctl_unref: context 0xe13290 released
>>
>> Looking at nfit_test there are indeed some holders left:
>> linux-te3r:~/ndctl/test # lsmod | grep nfit_test
>> nfit_test              24576  9
>> nfit                   45056  9 nfit_test
>> libnvdimm             135168  6 nfit,dax_pmem,nd_pmem,nfit_test,nd_blk,nd_btt
>> nfit_test_iomap        16384  6 dax,nfit,libnvdimm,dax_pmem,nd_pmem,nfit_test
>> linux-te3r:~/ndctl/test #
> This is intentional so that we can do some forensics after a failure.
> All "bus provider" modules (i.e. nfit_test, nfit, and nd_e820) are
> pinned while any of their regions are active.  Disable all regions to
> remove a module:
>
> # ndctl disable-region all
> # modprobe -r nfit_test
> _______________________________________________
> Linux-nvdimm mailing list
> Linux-nvdimm@lists.01.org
> https://lists.01.org/mailman/listinfo/linux-nvdimm

_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

  reply	other threads:[~2016-06-29  2:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-28  8:22 test suite errors Johannes Thumshirn
2016-06-28 16:26 ` Dan Williams
2016-06-29  2:17   ` yizhan [this message]
2016-06-29  2:24     ` Dan Williams
2016-06-29  2:50       ` yizhan
2016-06-29 15:31       ` Johannes Thumshirn
2016-06-29 23:47         ` Dan Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57732FB2.8010408@redhat.com \
    --to=yizhan@redhat.com \
    --cc=dan.j.williams@intel.com \
    --cc=jthumshirn@suse.de \
    --cc=linux-nvdimm@ml01.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.