The kernel issue pointed at the github was solved by:
commit cbaee3aa0e23
Author: Dan Williams <[email protected]>
Date: Thu Feb 7 20:56:50 2019
acpi/nfit: Fix bus command validation
BugLink: https://bugs.launchpad.net/bugs/1821607
in kernel: Ubuntu-5.0.0-9.10 (Disco)
AND
commit 3b8d3410b3d8
Author: Dan Williams <[email protected]>
Date: Thu Feb 7 20:56:50 2019
acpi/nfit: Fix bus command validation
BugLink: https://bugs.launchpad.net/bugs/1837952
commit ebe9f6f19d80d8978d16078dff3d5bd93ad8d102 upstream.
in kernel: Ubuntu-4.15.0-59.66 (Bionic)
So kernel part is good.... (or kind of.. actually it is missing 2 fixes
on top of that):
----
TODO: KERNEL TEAM SHOULD BACKPORT THIS TO BIONIC AND DISCO:
commit ebe9f6f19d80
Author: Dan Williams <[email protected]>
Date: Thu Feb 7 20:56:50 2019
acpi/nfit: Fix bus command validation
Fixes: 11189c1089da ("acpi/nfit: Fix command-supported detection")
commit 0171b6b78131
Author: Dan Williams <[email protected]>
Date: Sun Feb 3 17:17:27 2019
acpi/nfit: Require opt-in for read-only label configurations
Fixes: 11189c1089da ("acpi/nfit: Fix command-supported detection")
TO FIX THE ISSUE'S FIX
-----
TODO: FEEDBACK ABOUT PROPOSED USERLAND FIX
and the userland fix was, indeed, the ndctl patch I did a SRU for.
UNFORTUNATELY I can't reproduce the issue with QEMU. I have tried
different label sizes in multiple attempts and wasn't able to cause the
labeling error (making sure it was fixed). With that it is hard for me
to guarantee the fix is good and I'll depend on a feedback from
reporter.
There is a PPA in comment #19 containing the fix. I'll flag this case as
incomplete while I have no feedback, as we wouldn't be able to verify
the fix in order for it to land -updates archive.
Nevertheless, documentation here might be important to others, in order
to understand the errors.
** Changed in: linux (Ubuntu)
Status: Invalid => Fix Released
** Changed in: ndctl (Ubuntu Bionic)
Assignee: Rafael David Tinoco (rafaeldtinoco) => (unassigned)
** Changed in: ndctl (Ubuntu Disco)
Assignee: Rafael David Tinoco (rafaeldtinoco) => (unassigned)
** Changed in: ndctl (Ubuntu Bionic)
Status: In Progress => Incomplete
** Changed in: ndctl (Ubuntu Disco)
Status: In Progress => Incomplete
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1811785
Title:
NVDIMM-N doesn't work properly on Dell EMC PowerEdge R840
Status in ndctl:
Fix Released
Status in linux package in Ubuntu:
Fix Released
Status in ndctl package in Ubuntu:
Fix Released
Status in ndctl source package in Bionic:
Incomplete
Status in ndctl source package in Disco:
Incomplete
Status in ndctl source package in Eoan:
Fix Released
Bug description:
On ubuntu 18.04.1 :
1°) With 4.15.0-43 two default namespaces in raw mode are visible
while there shouldn't be any but no settings change could be applied.
root@server:~# ndctl list -R
[
{
"dev":"region1",
"size":103079215104,
"available_size":0,
"type":"pmem",
"numa_node":1,
"persistence_domain":"unknown"
},
{
"dev":"region0",
"size":103079215104,
"available_size":0,
"type":"pmem",
"numa_node":0,
"persistence_domain":"unknown"
}
]
root@server:~# ndctl list
[
{
"dev":"namespace1.0",
"mode":"raw",
"size":103079215104,
"sector_size":512,
"blockdev":"pmem1",
"numa_node":1
},
{
"dev":"namespace0.0",
"mode":"raw",
"size":103079215104,
"sector_size":512,
"blockdev":"pmem0",
"numa_node":0
}
]
root@server:~# ndctl create-namespace --reconfig=namespace1.0 --type=pmem
--mode=sector -f
libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem10: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem7: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem9: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem6: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem11: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host
(256 byte) labels
libndctl: sizeof_namespace_index: nmem8: label area (1024) too small to host
(256 byte) labels
failed to reconfigure namespace: No such device
2°) With 4.18.0-13 no active namespaces are seen which seems more
coherent for non initialized NVDIMM-N with labels but no namespace can
be created.
Both patches (kernel & ndctl) listed in the github issue below needs
to be applied in order to get them working properly. Tested against
the current hwe 4.18 kernel.
https://github.com/pmem/ndctl/issues/78
---
ProblemType: Bug
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Jan 15 10:55 seq
crw-rw---- 1 root audio 116, 33 Jan 15 10:55 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord':
'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq',
'/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 18.04
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
MachineType: Dell Inc. PowerEdge R840
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
Package: ndctl 61.2-0ubuntu1~18.04.1
PackageArchitecture: amd64
PciMultimedia:
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 mgadrmfb
ProcKernelCmdLine: BOOT_IMAGE=/ROOT/ubuntu@/boot/vmlinuz-4.15.0-43-generic
root=ZFS=rpool/ROOT/ubuntu ro
ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18
RelatedPackageVersions:
linux-restricted-modules-4.15.0-43-generic N/A
linux-backports-modules-4.15.0-43-generic N/A
linux-firmware 1.173.2
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
Tags: bionic
Uname: Linux 4.15.0-43-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
dmi.bios.date: 11/21/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.3.9
dmi.board.name: 08XR9M
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 23
dmi.chassis.vendor: Dell Inc.
dmi.modalias:
dmi:bvnDellInc.:bvr1.3.9:bd11/21/2018:svnDellInc.:pnPowerEdgeR840:pvr:rvnDellInc.:rn08XR9M:rvrA01:cvnDellInc.:ct23:cvr:
dmi.product.family: PowerEdge
dmi.product.name: PowerEdge R840
dmi.sys.vendor: Dell Inc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ndctl/+bug/1811785/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp