ndctl icon indicating copy to clipboard operation
ndctl copied to clipboard

A "device memory" enabling project encompassing tools and libraries for CXL, NVDIMMs, DAX, memory tiering and other platform memory device topics.

Results 123 ndctl issues
Sort by recently updated
recently updated
newest added

Some targets may fail to link due to undefined references. For example: ``` CCLD daxctl /nix/store/jgp95ix4v57v3vg9z0qhka41kb51c660-powerpc-unknown-linux-gnu-binutils-2.37/bin/powerpc-unknown-linux-gnu-ld: ../util/json.o: in function `compare_dimm_number': /build/source/ndctl/../util/json.c:732: undefined reference to `ndctl_dimm_get_devname' /nix/store/jgp95ix4v57v3vg9z0qhka41kb51c660-powerpc-unknown-linux-gnu-binutils-2.37/bin/powerpc-unknown-linux-gnu-ld: /build/source/ndctl/../util/json.c:733: undefined reference to...

If we create many namespace on one region, the namespace will change after first reboot. For example: create namespace: namespace0.0 dax0.0 uuid:856989a9-1d94-4ddf-8c42-952b6e5f04e0 namespace0.1 dax0.1 uuid:948e68cb-ae53-44a2-9a31-3e8c43270006 namespace0.2 dax0.2 uuid:ae77d1f9-82c9-4ede-8b57-d1f052934823 namespace0.3 dax0.3...

When the namespace of type fsdax (or devdax) is created in the default map mode (--map=dev), the space for necessary metadata is reducing the namespace size instead of being allocated...

It would be very useful to know whether a system-ram device is online or not. Currently, we do not display this information, eg: ``` # daxctl list --dev dax0.0 [...

$ ./autogen.sh $ mkdir build-x86_64 ; cd build-x86_64 $ ../configure --prefix=/cm/shared/apps/ndctl/71.1 --sysconfdir=/etc --libdir=/cm/shared/apps/ndctl/71.1/usr/lib checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes config.status: creating Documentation/ndctl/Makefile...

Hello I found this warning during compiling the code: ../test/libndctl.c: In function ‘check_btt_size’: ../test/libndctl.c:989:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] unsigned long long expect_table[][2] = { ^~~~~~~~...

Under the "See Also" section of the `ndctl-create-namespace` man page, we're missing references to `ndctl-destroy-namespace` and `ndctl-check-namespace`. ``` SEE ALSO ndctl-zero-labels(1), ndctl-init-labels(1), ndctl-disable-namespace(1), ndctl-enable-namespace(1), UEFI NVDIMM Label Protocol Linux Persistent...

If bus_send_clear() fails, but ndctl_namespace_enable() succeeds then the failure result will be swallowed and upper layers assume the clearing succeeded.

I found two typos in the daxctl-create-device(1) man page, highlighted below: ``` Creates dax device in devdax mode in dynamic regions. The resultant can also be **convereted** ... ``` ```...

If `sanitize-dimm` fails, there's no explanation returned to the user to provide a hint or indication of why the failure occurred. System Config: OS: Fedora 33 Kernel: 5.8.16-300.fc33.x86_64 NDCTL: 70.4.gfaa39a6...