LUV support for HW with NVDIMM's( DCPMM - Apachepass)
by R, Dilip Kumar (FEL)
Hi All,
We are working on an OEM server platform that's getting enabled with Cascade lake processors and Apache pass DIMM's( NVDIMM's). When we attempt to run LUV, we hit the below failure
Can you please let us know if LUV has the required support?
FYI - SLES 15 and SLES SP3 kernels works OK on this platform. ( has ndctl lib version 60.1)
~~~~~
[ OK ] Stopped target Network is Online.
[ OK ] Stopped target Network.
[ OK ] Stopped target Host and Network Name Lookups.
Stopping Network Name Resolution...
[ OK ] Stopped target System Time Synchronized.
[ OK ] Stopped D-Bus System Message Bus.
[ 105.870503] systemd-network (5346) used greatest stack depth: 12208 bytes left
[ 155.514721] ACPI Error: Field [DATB] at bit offset/length 32/96 exceeds size of target Buffer (32 bits) (20180313/dsopcode-201)
[ 155.527741] ACPI Error: Method parse/execution failed \_SB.CRRD, AE_AML_BUFFER_LIMIT (20180313/psparse-516)
[ 155.538670] ACPI Error: Method parse/execution failed \_SB.NVDR._DSM, AE_AML_BUFFER_LIMIT (20180313/psparse-516)
[ 155.550079] ACPI: \_SB_.NVDR: failed to evaluate _DSM (0x300a)
[ 155.585321] systemd-udevd (5693) used greatest stack depth: 10864 bytes left
[ 155.921343] i40e 0000:c3:00.3: Failed to update MAC address registers; cannot enable Multicast Magic packet wake up
[ 156.699313] i40e 0000:c3:00.2: Failed to update MAC address registers; cannot enable Multicast Magic packet wake up
[ 157.472201] i40e 0000:c3:00.1: Failed to update MAC address registers; cannot enable Multicast Magic packet wake up
[ 158.221662] i40e 0000:c3:00.0: Failed to update MAC address registers; cannot enable Multicast Magic packet wake up
[ 158.823546] sd 5:0:0:0: [sda] Synchronizing SCSI cache
[ 158.829781] sd 5:0:0:0: [sda] Stopping disk
[ 158.955640] reboot: System halted
Regards,
Dilip
3 years, 6 months
[PATCH] util-linux: fix build errors after updating to 2.32
by Megha Dey
On the sumo branch of poky, util-linux version has been updated to
2.32 from 2.31.
After updating to 2.32, we see the following error on some systems:
sys-utils/lsns.c: In function ‘get_netnsid_via_netlink_send_request’:
sys-utils/lsns.c:332:20: error: ‘RTM_GETNSID’ undeclared (first use
in this function)
nlh->nlmsg_type = RTM_GETNSID;
^
sys-utils/lsns.c:332:20: note: each undeclared
identifier is reported only once for each function it appears in
sys-utils/lsns.c: In function ‘get_netnsid_via_netlink_recv_response’:
sys-utils/lsns.c:362:30: error: ‘RTM_NEWNSID’ undeclared (first use
in this function)
&& nlh->nlmsg_type == RTM_NEWNSID))
^
This error is seen on system, where the minimum version of kernel
headers installed is < v4.2, the first version where RTM_GETNSID and
RTM_NEWNSID were defined.
A cleaner solution is to add the minimum version dependency in the
configure file, but for now we avoid this error, by simply not
compiling the lsns module, as we do not require it in LUV.
Signed-off-by: Megha Dey <megha.dey(a)linux.intel.com>
---
.../0001-util-linux-do-not-compile-lsns.patch | 26 ++++++++++++++++++++++
.../util-linux/util-linux_2.32.bbappend | 4 ++++
2 files changed, 30 insertions(+)
create mode 100644 meta-luv/recipes-core/util-linux/util-linux/0001-util-linux-do-not-compile-lsns.patch
create mode 100644 meta-luv/recipes-core/util-linux/util-linux_2.32.bbappend
diff --git a/meta-luv/recipes-core/util-linux/util-linux/0001-util-linux-do-not-compile-lsns.patch b/meta-luv/recipes-core/util-linux/util-linux/0001-util-linux-do-not-compile-lsns.patch
new file mode 100644
index 0000000..8c48e7d
--- /dev/null
+++ b/meta-luv/recipes-core/util-linux/util-linux/0001-util-linux-do-not-compile-lsns.patch
@@ -0,0 +1,26 @@
+From f39474f4c8960a284480c04340150b6dab404b48 Mon Sep 17 00:00:00 2001
+From: Megha Dey <megha.dey(a)linux.intel.com>
+Date: Fri, 29 Jun 2018 17:56:18 -0700
+Subject: [PATCH] do not compile lsns
+
+Signed-off-by: Megha Dey <megha.dey(a)linux.intel.com>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index b3430da..c49c1e3 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1679,7 +1679,7 @@ UL_BUILD_INIT([lsns], [check])
+ UL_REQUIRES_LINUX([lsns])
+ UL_REQUIRES_BUILD([lsns], [libsmartcols])
+ UL_REQUIRES_BUILD([lsns], [libmount])
+-AM_CONDITIONAL([BUILD_LSNS], [test "x$build_lsns" = xyes])
++AM_CONDITIONAL([BUILD_LSNS], [test "x$build_lsns" = xno])
+
+ UL_BUILD_INIT([renice], [yes])
+ AM_CONDITIONAL([BUILD_RENICE], [test "x$build_renice" = xyes])
+--
+1.9.1
+
diff --git a/meta-luv/recipes-core/util-linux/util-linux_2.32.bbappend b/meta-luv/recipes-core/util-linux/util-linux_2.32.bbappend
new file mode 100644
index 0000000..9c18d18
--- /dev/null
+++ b/meta-luv/recipes-core/util-linux/util-linux_2.32.bbappend
@@ -0,0 +1,4 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI += " file://0001-util-linux-do-not-compile-lsns.patch \
+ "
--
1.9.1
3 years, 8 months
[PATCH] fwts: Update fwts to v18.08.00
by Naresh Bhat
Update FWTS to version v18.08.00. The patch is prepared on
top of v18.07.00. The patch includes libbsd dependency library.
The new package is required because of the commit 3f151922fc13
in FWTS v18.08.00
Signed-off-by: Naresh Bhat <naresh.bhat(a)linaro.org>
---
meta-luv/recipes-core/fwts/fwts_git.bb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta-luv/recipes-core/fwts/fwts_git.bb b/meta-luv/recipes-core/fwts/fwts_git.bb
index 6513748e29..4788f2705d 100644
--- a/meta-luv/recipes-core/fwts/fwts_git.bb
+++ b/meta-luv/recipes-core/fwts/fwts_git.bb
@@ -4,16 +4,16 @@ HOMEPAGE = "https://wiki.ubuntu.com/Kernel/Reference/fwts"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://src/main.c;beginline=1;endline=16;md5=31da590f3e9f3bd34dcdb9e4db568519"
-PV = "V18.07.00+git${SRCPV}"
+PV = "V18.08.00+git${SRCPV}"
-SRCREV = "7b0c7f22615dde198b425f7b40a73c64d40cb0dc"
+SRCREV = "a45f3eee0453390eda6c2eaaabad4e67890b837a"
SRC_URI = "git://kernel.ubuntu.com/hwe/fwts.git \
file://luv-parser-fwts \
"
S = "${WORKDIR}/git"
DEPENDS = "autoconf automake libtool libpcre json-c flex bison \
- virtual/kernel glib-2.0"
+ virtual/kernel glib-2.0 libbsd"
inherit autotools-brokensep luv-test module-base pkgconfig
--
2.17.1
3 years, 8 months
[PATCH] luv-test: Pipe prologue of test report to html_inline()
by Ricardo Neri
The function html_inline() appends an HTML line break at each new line in
the input text. However, this function is not used correctly when writing
the prologue of the test report. Instead, it is used as an argument of the
tee. This has the effect of creating a spurious file with the name of the
functionl; html_inline() is never called. Also, the prologue text in the
HTML report is displayed in a single line.
Fix the aforementioned situatin by piping the output of tee to
html_online().
Signed-off-by: Ricardo Neri <ricardo.neri-calderon(a)linux.intel.com>
---
meta-luv/recipes-core/luv-test/luv-test/luv-test-manager | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-luv/recipes-core/luv-test/luv-test/luv-test-manager b/meta-luv/recipes-core/luv-test/luv-test/luv-test-manager
index df1f2a6..ffb197c 100644
--- a/meta-luv/recipes-core/luv-test/luv-test/luv-test-manager
+++ b/meta-luv/recipes-core/luv-test/luv-test/luv-test-manager
@@ -181,7 +181,7 @@ start_reports()
# Begin the results files by stating the version of luv
cat <<EOF | tee -a ${LUV_SAVE_RESULTS_DIR}/luv.results \
- /tmp/luv.results html_inline ${LUV_HTML_REPORT}
+ /tmp/luv.results | html_inline ${LUV_HTML_REPORT}
$luv_version
Date and time of the system : $tstamp
--
2.7.4
3 years, 8 months
[PATCH] linux-luv: Enable 64K pages in AArch64 kernel
by Naresh Bhat
The patch configure the OS page (translation granule) size.
The effect of this depends on the application, some applications
show significant improvement with 64K pagesize. This option affects
the kernel behavior in multiple areas (e.g. filesystems, hugepage
sizes, IO behavior).
Signed-off-by: Naresh Bhat <naresh.bhat(a)linaro.org>
---
meta-luv/recipes-kernel/linux/linux-luv/qemuarm64/64Kpages.cfg | 1 +
meta-luv/recipes-kernel/linux/linux-luv_4.17.bb | 1 +
2 files changed, 2 insertions(+)
create mode 100644 meta-luv/recipes-kernel/linux/linux-luv/qemuarm64/64Kpages.cfg
diff --git a/meta-luv/recipes-kernel/linux/linux-luv/qemuarm64/64Kpages.cfg b/meta-luv/recipes-kernel/linux/linux-luv/qemuarm64/64Kpages.cfg
new file mode 100644
index 0000000..bda5426
--- /dev/null
+++ b/meta-luv/recipes-kernel/linux/linux-luv/qemuarm64/64Kpages.cfg
@@ -0,0 +1 @@
+CONFIG_ARM64_64K_PAGES=y
diff --git a/meta-luv/recipes-kernel/linux/linux-luv_4.17.bb b/meta-luv/recipes-kernel/linux/linux-luv_4.17.bb
index 946797e..b67da7b 100644
--- a/meta-luv/recipes-kernel/linux/linux-luv_4.17.bb
+++ b/meta-luv/recipes-kernel/linux/linux-luv_4.17.bb
@@ -104,6 +104,7 @@ SRC_URI_append_x86-64 = "${COMMON_CFG_x86} \
"
SRC_URI_append_aarch64 = " file://qemuarm64/network.cfg \
file://qemuarm64/sbbr.cfg \
+ file://qemuarm64/64Kpages.cfg \
"
# pstore, highmem and efi configs are common to all the supported architectures
--
2.7.4
3 years, 8 months
FWTS 18.08.00 is released
by Alex Hung
FWTS 18.08.00 is released.
It is available from:
Tar: http://fwts.ubuntu.com/release/fwts-V18.08.00.tar.gz
PPA: https://launchpad.net/~firmware-testing-team/+archive/ubuntu/ppa-fwts-stable
Release notes: https://wiki.ubuntu.com/FirmwareTestSuite/ReleaseNotes/18.08.00
= New Features =
* ACPICA: Update to version 20180810
* uefi: uefivarinfo: add to UNSAFE category
* acpi: gtdt: add checking the valid base physical address
= Fixed Bugs =
* lib: dmicheck: replace defines by enum type
* acpitables: remove redundant "OEM" from Creator ID field
* acpitables: remove unnecessary new line character
* src: remove unnecessary new line characters and trailing spaces
* fwts-test: sync up with new line char and trailing space changes
* acpi: wakealarm: remove failure messages for non-x86 arch
* acpiinfo: update acpi version supported by kernel
* ac_adapter: skip tests when no power supply exists
* lib: fwts: Add abstracted pragma macros to push/pop state and
disable warnings
* fwts_uefi.h: replace _Pragmas with abstracted pragma macros
* Wrap ACPI_ROOT_OBJECT with PRAGMA_NULL_PTR_MATH for clang builds
* lib/src/fwts_acpi_tables: disable clang warning
* lib: fwts_coreboot_cbmem.c: initialize all fields in array of structs
* uefi: uefirtauthvar: don't logically or a constant operand.
* dmi: dmicheck: remove redundant array fwts_dmi_chassis_type
* Add MIN, MAX and ARRAY_SIZE macros to fwts.h
* fwts_coreboot_cbmem: fwts coding style changes, use off_t for addresses
* lib: fwts_cpu: make found a boolean
* lib: fwts_cpu: minor fwts coding style changes
* lib: fwts_deviceytree: make a function argument const and a style change
* lib: fwts_firmware: remove some empty lines
* lib: fwts_iasl: remove a whitespace
* lib: fwts_interactive: add sanity check on fileno, fix typo, tidy code
* lib: fwts_ipmi: make fwts_ipmi_msg_id static, make some code style changes
* lib: fwts_keymap: some minor fwts coding style changes
* lib: fwts_list: some minor fwts coding style changes
* lib: fwts_multiproc: remove whitespace
* lib: fwts_olog: minor code style change on FILE pointers
* lib: fwts_release: make some helper functions static
* lib: fwts_scan_efi_systab: add empty line to match fwts coding style
* fwts_coreboot_cbmem: fix off-by-one error on last char of buffer
* lib: fwts_coreboot_cbmem: fix cbmem_console_addr check
* lib: fwts_clog.c: replace space indentations with tab
* lib/src/fwts_acpi_tables: remove shadowed pointer ptr
* lib: fwts_framework: ensure src pointer is const
* fwts_framework: no need to pass tests_to_skip as it is locally scoped
* lib: fwts_framework: argument 'arg' should not be const
* lib: fwts_log: remove const arg in fwts_log_set_field_filter
* lib: fwts_summary: remove redundant redefinition of fwts_summary_deinit
* lib: fwts_safe_mem: add in missing constifications
* lib: fwts_log_scan: rename function argument to avoid name shadowing
* lib: fwts_stringextras: fix some missing constifictions
* lib: fwts_text_list: fix up some const casting issues
* lib: fwts_json.h: fix casting warning, add missing const
* lib: fwts_coreboot_cbmen: fix missing const in cast
* sbbr: acpitables: make function sbbr_search_acpi_tables static
* acpi: crsdump: add in missing pointer constifications
* acpi: ecdt: fix some missing pointer constifications
* acpi: fadt: add in missing const to fix build warnings
* sbbr: fadt: add in missing const to fix build warnings
* acpi: method: make function method_test_CRS_return static
* acpi: nfit: rename table to nfit_table to avoid name shadowing
* acpi: wmi: add in missing const to fix build warnings
* acpi: stao: add in missing const to fix build warnings
* bios: mtrr make function multi_types_check static
* opal: reserv_mem: add in missing const to fix build warnings
* hotkey: rename list 'hotkeys' to avoid name shadowing
* uefi: uefirtauthvar: rename argument attibutes to var_attributes
* uefi: uefirtvariable: rename argument attibutes to var_attributes
* coreboot: clog: rename list 'clog' to avoid name shadowing
* lib: fwts_acpi_tables: unconstify data and don't strcpy ACPI table ids
* snapcraft: remove libjson-c3 stage package, it is not required
* Fix some strncpy/strcat gcc 8.2 warnings by using libbsd strlcpy/strlcat
* uefi: clean and check status with magic value ~0ULL (LP: #1784365)
= Detail Changelog =
To check /usr/share/doc/fwts/changelog.Debian.gz or
fwts_18.08.00-0ubuntu1.debian.tar.gz from
https://launchpad.net/ubuntu/+source/fwts
3 years, 9 months