Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ndctl create-namespace failed : validate_namespace_options:663: region0: disabled, skipping... #251

Open
cudll opened this issue Jul 18, 2023 · 2 comments

Comments

@cudll
Copy link

cudll commented Jul 18, 2023

I have succussed creating a cxl region , however this error frequently occurs.
I tried my best to figure this problem, but it seems like an random issue, It sometimes can be solved by just reboot the VM
I have enabled the region by ndctl enable-region all

# ndctl create-namespace  -t pmem -vvv

 libndctl: __sysfs_device_parse: base: '/sys/class/nd' dev: 'ndctl'
 libndctl: __sysfs_read_attr: failed to open /sys/class/nd/ndctl0/device/nfit/revision: No such file or directory
 libndctl: __sysfs_read_attr: failed to open /sys/class/nd/ndctl0/device/of_node/compatible: No such file or directory
 libndctl: __sysfs_read_attr: failed to open /sys/class/nd/ndctl0/device/nfit/dsm_mask: No such file or directory
 libndctl: __sysfs_read_attr: failed to open /sys/class/nd/ndctl0/device/firmware/activate: No such file or directory
 libndctl: __sysfs_read_attr: failed to open /sys/class/nd/ndctl0/device/firmware/capability: No such file or directory
 libndctl: __sysfs_device_parse: ndctl0: processed
 libndctl: __sysfs_device_parse: base: '/sys/devices/platform/ACPI0017:00/root0/nvdimm-bridge0/ndbus0' dev: 'region'
 libndctl: __sysfs_read_attr: failed to open /sys/devices/platform/ACPI0017:00/root0/nvdimm - 
 bridge0/ndbus0/region0/papr/range_index: No such file or directory
 libndctl: __util_modalias_to_module: alias: nd:t2 module: libnvdimm
 libndctl: region_set_type: region0: iset-0000000000000000 added
 libndctl: __sysfs_device_parse: region0: processed
 validate_namespace_options:663: region0: disabled, skipping...
 failed to create namespace: No space left on device
@Deepakukey1989
Copy link

I am also facing the same issue with same above-mentioned logs and no space left on device. Sometime issue goes off if I recompiled the kernel for first time but after that issue persist.
Is there any workaround or fix for this issue provided.

@pankul-zhang
Copy link

any update for this kind of issue? hit such issue too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants