{"action":"created","issue":{"url":"https://api.github.com/repos/pmem/ndctl/issues/3","repository_url":"https://api.github.com/repos/pmem/ndctl","labels_url":"https://api.github.com/repos/pmem/ndctl/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/pmem/ndctl/issues/3/comments","events_url":"https://api.github.com/repos/pmem/ndctl/issues/3/events","html_url":"https://github.com/pmem/ndctl/issues/3","id":139212739,"number":3,"title":"failed make check","user":{"login":"zhuguoliang","id":9863649,"avatar_url":"https://avatars.githubusercontent.com/u/9863649?v=3","gravatar_id":"","url":"https://api.github.com/users/zhuguoliang","html_url":"https://github.com/zhuguoliang","followers_url":"https://api.github.com/users/zhuguoliang/followers","following_url":"https://api.github.com/users/zhuguoliang/following{/other_user}","gists_url":"https://api.github.com/users/zhuguoliang/gists{/gist_id}","starred_url":"https://api.github.com/users/zhuguoliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhuguoliang/subscriptions","organizations_url":"https://api.github.com/users/zhuguoliang/orgs","repos_url":"https://api.github.com/users/zhuguoliang/repos","events_url":"https://api.github.com/users/zhuguoliang/events{/privacy}","received_events_url":"https://api.github.com/users/zhuguoliang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-08T08:36:20Z","updated_at":"2016-03-09T00:03:45Z","closed_at":null,"body":"Hi pmem community for ndctl \r\n\r\nI am playing with kernel 4.4.0 with the necessary DAX configuration enabled following the guide on https://nvdimm.wiki.kernel.org/.\r\n\r\nI sucessfully mounted pmem dax.\r\n\r\n df -h |fgrep /mnt/mem\r\n/dev/pmem0       16G   44M   15G   1% /mnt/mem\r\n\r\nthen  I tred make/make check in ndctl home.\r\n\r\nI got the following error and I don't understand if it is because of configuration or because of anything else.\r\n\r\nby executing lsmod |grep nfit_test I got the following \r\n\r\n> nfit_test              24576  4\r\n> nfit                   32768  1 nfit_test\r\n> nfit_test_iomap        16384  1 nfit_test\r\n> libnvdimm              98304  5 nfit,nd_e820,nd_pmem,nfit_test,nd_btt\r\n> \r\n\r\n\r\nHowever, here is my make check result in test-suit.log\r\n```\r\nFAIL: test/libndctl\r\n===================\r\n\r\nlibkmod: DEBUG ../libkmod/libkmod.c:392 kmod_pool_get_module: get module name='nfit_test' found=(nil)\r\nlibkmod: DEBUG ../libkmod/libkmod.c:400 kmod_pool_add_module: add 0x7e9020 key='nfit_test'\r\ncheck_set_config_data: dimm: 0 read2 data miscompare: 0\r\ncheck_set_config_data: dimm: 0x1 read2 data miscompare: 0\r\ncheck_set_config_data: dimm: 0x100 read2 data miscompare: 0\r\ncheck_set_config_data: dimm: 0x101 read2 data miscompare: 0\r\nlibndctl: ndctl_region_enable: region7: failed to enable\r\nlibndctl: ndctl_region_enable: region6: failed to enable\r\nlibndctl: ndctl_region_enable: region5: failed to enable\r\nlibndctl: ndctl_region_enable: region4: failed to enable\r\nlibndctl: ndctl_region_enable: region3: failed to enable\r\nlibndctl: ndctl_btt_enable: btt1.0: failed to enable\r\nbtt1.0: expected btt enable success, region1 read-write\r\nnamespace1.0: failed to create btt\r\nnamespace1.0: failed to configure namespace\r\nndctl-test0 failed: -6\r\nlibkmod: ERROR ../libkmod/libkmod-module.c:769 kmod_module_remove_module: could not remove 'nfit_test': Resource temporarily unavailable\r\nlibndctl: ndctl_unref: context 0x7e32e0 released\r\nzhuguoliang think kver is 263168\r\n\r\nFAIL: test/dpa-alloc\r\n====================\r\n\r\nlibndctl: ndctl_region_enable: region3: failed to enable\r\nfailed to find a usable BLK region\r\nlibndctl: ndctl_unref: context 0xf7c2e0 released\r\nzhuguoliang think kver is 263168\r\n\r\nFAIL: test/parent-uuid\r\n======================\r\n\r\nfailed to create block namespace\r\nlibkmod: ERROR ../libkmod/libkmod-module.c:769 kmod_module_remove_module: could not remove 'nfit_test': Resource temporarily unavailable\r\nlibndctl: ndctl_unref: context 0x1f8b2e0 released\r\nzhuguoliang think kver is 263168\r\n\r\nFAIL: test/create.sh\r\n```\r\n===================="},"comment":{"url":"https://api.github.com/repos/pmem/ndctl/issues/comments/194030969","html_url":"https://github.com/pmem/ndctl/issues/3#issuecomment-194030969","issue_url":"https://api.github.com/repos/pmem/ndctl/issues/3","id":194030969,"user":{"login":"djbw","id":56363,"avatar_url":"https://avatars.githubusercontent.com/u/56363?v=3","gravatar_id":"","url":"https://api.github.com/users/djbw","html_url":"https://github.com/djbw","followers_url":"https://api.github.com/users/djbw/followers","following_url":"https://api.github.com/users/djbw/following{/other_user}","gists_url":"https://api.github.com/users/djbw/gists{/gist_id}","starred_url":"https://api.github.com/users/djbw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djbw/subscriptions","organizations_url":"https://api.github.com/users/djbw/orgs","repos_url":"https://api.github.com/users/djbw/repos","events_url":"https://api.github.com/users/djbw/events{/privacy}","received_events_url":"https://api.github.com/users/djbw/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T00:03:45Z","updated_at":"2016-03-09T00:03:45Z","body":"It gets the linux version code from /usr/include/linux/version.h.  You need to do \"make INSTALL_HDR_PATH=/usr headers_install\" in your kernel source directory to use the headers from that kernel."}}