Hello,
We ran automated tests on a recent commit from this kernel tree:
Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Commit: 11e07aec0780 - Linux 5.5.9-rc1
The results of these automated tests are provided below.
Overall result: FAILED (see details below)
Merge: OK
Compile: OK
Tests: PANICKED
All kernel binaries, config files, and logs are available for download here:
https://cki-artifacts.s3.us-east-2.amazonaws.com/index.html?prefix=datawareβ¦
One or more kernel tests failed:
s390x:
π₯ LTP
ppc64le:
β audit: audit testsuite test
β selinux-policy: serge-testsuite
aarch64:
β audit: audit testsuite test
x86_64:
β audit: audit testsuite test
We hope that these logs can help you find the problem quickly. For the full
detail on our testing procedures, please scroll to the bottom of this message.
Please reply to this email if you have any questions about the tests that we
ran or if you have any suggestions on how to make future tests more effective.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
Compile testing
---------------
We compiled the kernel for 4 architectures:
aarch64:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
ppc64le:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
s390x:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
x86_64:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
Hardware testing
----------------
We booted each kernel and ran the following tests:
aarch64:
Host 1:
β Boot test
β xfstests - ext4
β xfstests - xfs
β selinux-policy: serge-testsuite
β lvm thinp sanity
β storage: software RAID testing
β stress: stress-ng
π§ β IPMI driver test
π§ β IPMItool loop stress test
π§ β Storage blktests
Host 2:
β Boot test
β Podman system integration test - as root
β Podman system integration test - as user
β LTP
β Loopdev Sanity
β Memory function: memfd_create
β AMTU (Abstract Machine Test Utility)
β Networking bridge: sanity
β Ethernet drivers sanity
β Networking MACsec: sanity
β Networking socket: fuzz
β Networking sctp-auth: sockopts test
β Networking: igmp conformance test
β Networking route: pmtu
β Networking route_func - local
β Networking route_func - forward
β Networking TCP: keepalive test
β Networking UDP: socket
β Networking tunnel: geneve basic test
β Networking tunnel: gre basic
β L2TP basic test
β Networking tunnel: vxlan basic
β Networking ipsec: basic netns - transport
β Networking ipsec: basic netns - tunnel
β audit: audit testsuite test
β httpd: mod_ssl smoke sanity
β tuned: tune-processes-through-perf
β ALSA PCM loopback test
β ALSA Control (mixer) Userspace Element test
β storage: SCSI VPD
β trace: ftrace/tracer
π§ β CIFS Connectathon
π§ β POSIX pjd-fstest suites
π§ β jvm - DaCapo Benchmark Suite
π§ β jvm - jcstress tests
π§ β Memory function: kaslr
π§ β LTP: openposix test suite
π§ β Networking vnic: ipvlan/basic
π§ β iotop: sanity
π§ β Usex - version 1.9-29
π§ β storage: dm/common
ppc64le:
Host 1:
β Boot test
β Podman system integration test - as root
β Podman system integration test - as user
β LTP
β Loopdev Sanity
β Memory function: memfd_create
β AMTU (Abstract Machine Test Utility)
β Networking bridge: sanity
β Ethernet drivers sanity
β Networking MACsec: sanity
β Networking socket: fuzz
β Networking sctp-auth: sockopts test
β Networking route: pmtu
β Networking route_func - local
β Networking route_func - forward
β Networking TCP: keepalive test
β Networking UDP: socket
β Networking tunnel: geneve basic test
β Networking tunnel: gre basic
β L2TP basic test
β Networking tunnel: vxlan basic
β Networking ipsec: basic netns - tunnel
β audit: audit testsuite test
β httpd: mod_ssl smoke sanity
β tuned: tune-processes-through-perf
β ALSA PCM loopback test
β ALSA Control (mixer) Userspace Element test
β trace: ftrace/tracer
π§ β CIFS Connectathon
π§ β POSIX pjd-fstest suites
π§ β jvm - DaCapo Benchmark Suite
π§ β jvm - jcstress tests
π§ β Memory function: kaslr
π§ β LTP: openposix test suite
π§ β Networking vnic: ipvlan/basic
π§ β iotop: sanity
π§ β Usex - version 1.9-29
π§ β storage: dm/common
Host 2:
β Boot test
β xfstests - ext4
β xfstests - xfs
β selinux-policy: serge-testsuite
β lvm thinp sanity
β storage: software RAID testing
π§ β IPMI driver test
π§ β IPMItool loop stress test
π§ β Storage blktests
s390x:
Host 1:
β Boot test
β Podman system integration test - as root
β Podman system integration test - as user
π₯ LTP
β‘β‘β‘ Loopdev Sanity
β‘β‘β‘ Memory function: memfd_create
β‘β‘β‘ Networking bridge: sanity
β‘β‘β‘ Ethernet drivers sanity
β‘β‘β‘ Networking MACsec: sanity
β‘β‘β‘ Networking sctp-auth: sockopts test
β‘β‘β‘ Networking route: pmtu
β‘β‘β‘ Networking route_func - local
β‘β‘β‘ Networking route_func - forward
β‘β‘β‘ Networking TCP: keepalive test
β‘β‘β‘ Networking UDP: socket
β‘β‘β‘ Networking tunnel: geneve basic test
β‘β‘β‘ Networking tunnel: gre basic
β‘β‘β‘ L2TP basic test
β‘β‘β‘ Networking tunnel: vxlan basic
β‘β‘β‘ Networking ipsec: basic netns - transport
β‘β‘β‘ Networking ipsec: basic netns - tunnel
β‘β‘β‘ audit: audit testsuite test
β‘β‘β‘ httpd: mod_ssl smoke sanity
β‘β‘β‘ tuned: tune-processes-through-perf
β‘β‘β‘ trace: ftrace/tracer
π§ β‘β‘β‘ CIFS Connectathon
π§ β‘β‘β‘ POSIX pjd-fstest suites
π§ β‘β‘β‘ jvm - DaCapo Benchmark Suite
π§ β‘β‘β‘ jvm - jcstress tests
π§ β‘β‘β‘ Memory function: kaslr
π§ β‘β‘β‘ LTP: openposix test suite
π§ β‘β‘β‘ Networking vnic: ipvlan/basic
π§ β‘β‘β‘ iotop: sanity
π§ β‘β‘β‘ Usex - version 1.9-29
π§ β‘β‘β‘ storage: dm/common
Host 2:
β‘ Internal infrastructure issues prevented one or more tests (marked
with β‘β‘β‘) from running on this architecture.
This is not the fault of the kernel that was tested.
β‘β‘β‘ Boot test
β‘β‘β‘ selinux-policy: serge-testsuite
β‘β‘β‘ stress: stress-ng
π§ β‘β‘β‘ Storage blktests
Host 3:
β‘ Internal infrastructure issues prevented one or more tests (marked
with β‘β‘β‘) from running on this architecture.
This is not the fault of the kernel that was tested.
β‘β‘β‘ Boot test
β‘β‘β‘ selinux-policy: serge-testsuite
β‘β‘β‘ stress: stress-ng
π§ β‘β‘β‘ Storage blktests
Host 4:
β‘ Internal infrastructure issues prevented one or more tests (marked
with β‘β‘β‘) from running on this architecture.
This is not the fault of the kernel that was tested.
β‘β‘β‘ Boot test
β‘β‘β‘ selinux-policy: serge-testsuite
β‘β‘β‘ stress: stress-ng
π§ β‘β‘β‘ Storage blktests
x86_64:
Host 1:
β Boot test
β Podman system integration test - as root
β Podman system integration test - as user
β LTP
β Loopdev Sanity
β Memory function: memfd_create
β AMTU (Abstract Machine Test Utility)
β Networking bridge: sanity
β Ethernet drivers sanity
β Networking MACsec: sanity
β Networking socket: fuzz
β Networking sctp-auth: sockopts test
β Networking: igmp conformance test
β Networking route: pmtu
β Networking route_func - local
β Networking route_func - forward
β Networking TCP: keepalive test
β Networking UDP: socket
β Networking tunnel: geneve basic test
β Networking tunnel: gre basic
β L2TP basic test
β Networking tunnel: vxlan basic
β Networking ipsec: basic netns - transport
β Networking ipsec: basic netns - tunnel
β audit: audit testsuite test
β httpd: mod_ssl smoke sanity
β tuned: tune-processes-through-perf
β pciutils: sanity smoke test
β ALSA PCM loopback test
β ALSA Control (mixer) Userspace Element test
β storage: SCSI VPD
β trace: ftrace/tracer
π§ β CIFS Connectathon
π§ β POSIX pjd-fstest suites
π§ β jvm - DaCapo Benchmark Suite
π§ β jvm - jcstress tests
π§ β Memory function: kaslr
π§ β LTP: openposix test suite
π§ β Networking vnic: ipvlan/basic
π§ β iotop: sanity
π§ β Usex - version 1.9-29
π§ β storage: dm/common
Host 2:
β Boot test
β xfstests - ext4
β xfstests - xfs
β selinux-policy: serge-testsuite
β lvm thinp sanity
β storage: software RAID testing
β stress: stress-ng
π§ β IOMMU boot test
π§ β IPMI driver test
π§ β IPMItool loop stress test
π§ β Storage blktests
Host 3:
β Boot test
β Storage SAN device stress - mpt3sas driver
Host 4:
β Boot test
β Storage SAN device stress - megaraid_sas
Test sources: https://github.com/CKI-project/tests-beaker
π Pull requests are welcome for new tests or improvements to existing tests!
Aborted tests
-------------
Tests that didn't complete running successfully are marked with β‘β‘β‘.
If this was caused by an infrastructure issue, we try to mark that
explicitly in the report.
Waived tests
------------
If the test run included waived tests, they are marked with π§. Such tests are
executed but their results are not taken into account. Tests are waived when
their results are not reliable enough, e.g. when they're just introduced or are
being fixed.
Testing timeout
---------------
We aim to provide a report within reasonable timeframe. Tests that haven't
finished running yet are marked with β±.
From: Frieder Schrempf <frieder.schrempf(a)kontron.de>
For reading and writing the bad block markers, spinand->oobbuf is
currently used as a buffer for the marker bytes. During the
underlying read and write operations to actually get/set the content
of the OOB area, the content of spinand->oobbuf is reused and changed
by accessing it through spinand->oobbuf and/or spinand->databuf.
This is a flaw in the original design of the SPI NAND core and at the
latest from 13c15e07eedf ("mtd: spinand: Handle the case where
PROGRAM LOAD does not reset the cache") on, it results in not having
the bad block marker written at all, as the spinand->oobbuf is
cleared to 0xff after setting the marker bytes to zero.
To fix it, we now just store the two bytes for the marker on the
stack and let the read/write operations copy it from/to the page
buffer later.
Fixes: 7529df465248 ("mtd: nand: Add core infrastructure to support SPI NANDs")
Cc: stable(a)vger.kernel.org
Signed-off-by: Frieder Schrempf <frieder.schrempf(a)kontron.de>
Reviewed-by: Boris Brezillon <boris.brezillon(a)collabora.com>
---
Changes in v3:
* Correct "SPI MEM" to "SPI NAND" in commit message
Changes in v2:
* Incorporate small improvements proposed by Boris
* Add Boris' R-b tag
---
drivers/mtd/nand/spi/core.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/mtd/nand/spi/core.c b/drivers/mtd/nand/spi/core.c
index 89f6beefb01c..de36cd7a5d7e 100644
--- a/drivers/mtd/nand/spi/core.c
+++ b/drivers/mtd/nand/spi/core.c
@@ -568,18 +568,18 @@ static int spinand_mtd_write(struct mtd_info *mtd, loff_t to,
static bool spinand_isbad(struct nand_device *nand, const struct nand_pos *pos)
{
struct spinand_device *spinand = nand_to_spinand(nand);
+ u8 marker[2] = { };
struct nand_page_io_req req = {
.pos = *pos,
- .ooblen = 2,
+ .ooblen = sizeof(marker),
.ooboffs = 0,
- .oobbuf.in = spinand->oobbuf,
+ .oobbuf.in = marker,
.mode = MTD_OPS_RAW,
};
- memset(spinand->oobbuf, 0, 2);
spinand_select_target(spinand, pos->target);
spinand_read_page(spinand, &req, false);
- if (spinand->oobbuf[0] != 0xff || spinand->oobbuf[1] != 0xff)
+ if (marker[0] != 0xff || marker[1] != 0xff)
return true;
return false;
@@ -603,11 +603,12 @@ static int spinand_mtd_block_isbad(struct mtd_info *mtd, loff_t offs)
static int spinand_markbad(struct nand_device *nand, const struct nand_pos *pos)
{
struct spinand_device *spinand = nand_to_spinand(nand);
+ u8 marker[2] = { };
struct nand_page_io_req req = {
.pos = *pos,
.ooboffs = 0,
- .ooblen = 2,
- .oobbuf.out = spinand->oobbuf,
+ .ooblen = sizeof(marker),
+ .oobbuf.out = marker,
};
int ret;
@@ -622,7 +623,6 @@ static int spinand_markbad(struct nand_device *nand, const struct nand_pos *pos)
spinand_erase_op(spinand, pos);
- memset(spinand->oobbuf, 0, 2);
return spinand_write_page(spinand, &req);
}
--
2.17.1
From: Frieder Schrempf <frieder.schrempf(a)kontron.de>
Currently when marking a block, we use spinand_erase_op() to erase
the block before writing the marker to the OOB area. Doing so without
waiting for the operation to finish can lead to the marking failing
silently and no bad block marker being written to the flash.
In fact we don't need to do an erase at all before writing the BBM.
The ECC is disabled for raw accesses to the OOB data and we don't
need to work around any issues with chips reporting ECC errors as it
is known to be the case for raw NAND.
Fixes: 7529df465248 ("mtd: nand: Add core infrastructure to support SPI NANDs")
Cc: stable(a)vger.kernel.org
Signed-off-by: Frieder Schrempf <frieder.schrempf(a)kontron.de>
Reviewed-by: Boris Brezillon <boris.brezillon(a)collabora.com>
---
Changes in v3:
* Fix the subject line and the commit message
* Add Boris' R-b tag
Changes in v2:
* Instead of waiting for the erase operation to finish, just don't
do an erase at all, as it is not needed.
* Update the commit message
---
drivers/mtd/nand/spi/core.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/mtd/nand/spi/core.c b/drivers/mtd/nand/spi/core.c
index a94287884453..8dda51bbdd11 100644
--- a/drivers/mtd/nand/spi/core.c
+++ b/drivers/mtd/nand/spi/core.c
@@ -613,7 +613,6 @@ static int spinand_markbad(struct nand_device *nand, const struct nand_pos *pos)
};
int ret;
- /* Erase block before marking it bad. */
ret = spinand_select_target(spinand, pos->target);
if (ret)
return ret;
@@ -622,8 +621,6 @@ static int spinand_markbad(struct nand_device *nand, const struct nand_pos *pos)
if (ret)
return ret;
- spinand_erase_op(spinand, pos);
-
return spinand_write_page(spinand, &req);
}
--
2.17.1