[Bug 1853506] Re: [MIR] ndctl

2020-02-04 Thread Andreas Hasenack
MP for the first batch of tests to be added to q-r-t: https://code.launchpad.net/~ahasenack/qa-regression-testing/+git/qa- regression-testing/+merge/378543 ** Merge proposal linked: https://code.launchpad.net/~ahasenack/qa-regression-testing/+git/qa-regression-testing/+merge/378543 -- You r

[Bug 1853506] Re: [MIR] ndctl

2020-02-03 Thread Andreas Hasenack
Quick update on progress. Of all these tests that were written: blk-exhaust btt-check btt-pad-compat dax dax-ext4 dax-xfs daxctl-commands label-compat multi-dax ndctl-commands rescan-partitions sector-mode Only multi-dax and sector-mode are failing on bionic, and rescan- partitions is being skippe

Re: [Bug 1853506] Re: [MIR] ndctl

2020-02-01 Thread Rafael David Tinoco
Oh thats nice to hear that... I was getting worried (coming back from vacation and reading backlog). Thanks Andreas for testing this and Dan for the help. On Fri, Jan 31, 2020 at 10:41 PM Andreas Hasenack wrote: > > hah, bingo, the default kernel package for VMs doesn't have nd_pmem or > nd_btt.

[Bug 1853506] Re: [MIR] ndctl

2020-01-31 Thread Andreas Hasenack
hah, bingo, the default kernel package for VMs doesn't have nd_pmem or nd_btt. I had to install linux-modules-extra-5.4.0-12-generic. Now it works: ubuntu@focal-nvdimm:~$ sudo ndctl create-namespace { "dev":"namespace1.0", "mode":"fsdax", "map":"dev", "size":"1006.00 MiB (1054.87 MB)",

[Bug 1853506] Re: [MIR] ndctl

2020-01-31 Thread Andreas Hasenack
@djbw do you mean a kernel module? Here is the full dmesg. I just logged in and ran "sudo ndctl create- namespace": https://paste.ubuntu.com/p/Mf2g282JNQ/ lsmod: https://paste.ubuntu.com/p/GqTvskG7RJ/ /proc/iomem (it shows some lines with "Persistent Memory"): https://paste.ubuntu.com/p/K43GVhf

[Bug 1853506] Re: [MIR] ndctl

2020-01-31 Thread Andreas Hasenack
I get nothing in dmesg when I run enable-namespace all: root@focal-nvdimm:~# ndctl enable-namespace all libndctl: ndctl_namespace_enable: namespace1.0: failed to enable libndctl: ndctl_namespace_enable: namespace0.0: failed to enable error enabling namespaces: No such device or address enabled 0 na

[Bug 1853506] Re: [MIR] ndctl

2020-01-30 Thread Andreas Hasenack
I also tried rebuilding qemu with pmem support, but qemu is currently an FTBFS in focal (https://launchpad.net/ubuntu/+source/qemu/1:4.0+dfsg- 0ubuntu11) -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.

[Bug 1853506] Re: [MIR] ndctl

2020-01-30 Thread Andreas Hasenack
This is the libvirt vm definition: https://pastebin.ubuntu.com/p/tjzwHbJMpT/ Here are some commands I tried and their results: https://pastebin.ubuntu.com/p/3Sn74Kp8KH/ -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https:/

[Bug 1853506] Re: [MIR] ndctl

2020-01-30 Thread Andreas Hasenack
I'm having a hard time in getting a VM up and running with the correct support for the ndctl commands, and I'm not sure what is going on. @paelzer also tried, and got the same error. Basically any enable- namespace or create-namespace command fails complaining about "no such device". I also tried