[kernel-tests] 03/03: Change install_dep to use dnf instead of yum
by git repository hosting
This is an automated email from the git hooks/post-receive script.
jforbes pushed a commit to branch master
in repository kernel-tests.
commit 250f5b1a3bea2700ebf21633f59bef564f44ff11
Author: Justin M. Forbes <jforbes(a)redhat.com>
Date: Tue Feb 28 16:52:13 2017 -0600
Change install_dep to use dnf instead of yum
---
utils/build-deps.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/build-deps.sh b/utils/build-deps.sh
index d85eece..7608c9a 100644
--- a/utils/build-deps.sh
+++ b/utils/build-deps.sh
@@ -3,7 +3,7 @@
# Licensed under the terms of the GNU GPL License version 2
install_dep() {
- yum install -y $1;
+ dnf install -y $1;
rc=$?;
if [ $rc -ne 0 ]
then
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
7 years
[kernel-tests] 02/03: Test for nvidia modules building against
current kernel
by git repository hosting
This is an automated email from the git hooks/post-receive script.
jforbes pushed a commit to branch master
in repository kernel-tests.
commit 0cedd6705a22bb62049587b4a92be87b6c3b7299
Author: Justin M. Forbes <jforbes(a)redhat.com>
Date: Tue Feb 28 16:51:20 2017 -0600
Test for nvidia modules building against current kernel
---
thirdparty/nvidia-module/runtest.sh | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/thirdparty/nvidia-module/runtest.sh b/thirdparty/nvidia-module/runtest.sh
new file mode 100755
index 0000000..b00a663
--- /dev/null
+++ b/thirdparty/nvidia-module/runtest.sh
@@ -0,0 +1,34 @@
+#!/bin/bash
+
+source ../../utils/root-check.sh
+source ../../utils/build-deps.sh
+
+check_root
+is_root=$?
+if [ $is_root -ne 0 ]; then
+ exit 3
+fi
+
+# Ensure we have curl and kernel-devel
+check_dep curl
+check_dep kernel-devel
+
+baseurl='http://http.download.nvidia.com/XFree86/Linux-x86_64'
+latest=`curl $baseurl/latest.txt | cut -d ' ' -f1`
+installer="NVIDIA-Linux-x86_64-$latest"
+
+
+if [ ! -f "$installer" ]
+then
+ curl -O "$baseurl/$latest/$installer.run"
+ [ $? -eq 0 ] || exit 3
+fi
+
+sh $installer.run --extract-only --target tmp
+pushd tmp/kernel
+make modules > build.log
+[ $? -eq 0 ] || exit 4
+popd
+rm -rf tmp
+
+echo module version $latest built for `uname -r`
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
7 years
[kernel-tests] 01/03: Add support for third party module tests
by git repository hosting
This is an automated email from the git hooks/post-receive script.
jforbes pushed a commit to branch master
in repository kernel-tests.
commit 8f2ea1b2b3eb2660bd85bd7d3b50ba045663a3af
Author: Justin M. Forbes <jforbes(a)redhat.com>
Date: Tue Feb 28 16:49:38 2017 -0600
Add support for third party module tests
---
config.example | 3 +++
documentation.txt | 20 +++++++++++++++++---
runtests.sh | 22 +++++++++++++++++++++-
3 files changed, 41 insertions(+), 4 deletions(-)
diff --git a/config.example b/config.example
index dd76142..6ae342e 100644
--- a/config.example
+++ b/config.example
@@ -14,6 +14,9 @@ submit=none
# checksig=y
# validsig="Fedora Secure Boot Signer"
+# Test 3rd Party Modules
+# thirdparty=y
+
# FAS User credentials.
# Storing your FAS password here is technically possible, but not advisable
# for security seasons
diff --git a/documentation.txt b/documentation.txt
index 367d639..5f8c985 100644
--- a/documentation.txt
+++ b/documentation.txt
@@ -30,17 +30,24 @@ It is expected that a basic set of packages are installed to run these tests.
This includes glibc-devel and gcc. If those packages are not installed, please
install them before running the test suite.
+If you wish to test to ensure that 3rd party modules build against the current
+kernel, you can add a 'thirdparty=y' line to your .config. This will run any
+tests in the thirdparty directory as well. Because these are not upstream
+drivers, a failure of these tests will return 4, the test suite will pass but
+with warning.
+
=== Writing Tests ===
While a test can actually be any sort of executable, it is expected that
these tests will follow certain basic criteria. This helps to ensure that
the test suite is easy to interpret. The output is controlled by the
-master script, and output is in the form of pass, fail, or skipped. All
-other output is redirected to the log file.
+master script, and output is in the form of pass, fail, warn, or skipped.
+All other output is redirected to the log file.
Return Codes:
0 - A successful test completion
3 - Test skipped
+4 - Warn (this is reserved for things like out of tree modules)
Anything else is interpreted as fail and the user is asked to check the log
for more details.
@@ -84,7 +91,6 @@ any necessary source, checking for any specific dependencies, and skipping
if they are not met. At the completion of the test set, a "Test suite complete"
is printed with a pass/fail result, and the appropriate return code.
-
Potential for harm:
It is expected that these test will be run on real systems. Any tests
which have increased risk of data loss or ill effects should be specified
@@ -98,3 +104,11 @@ As a large number of tests are written as simple shell scripts, and many of
these tests need to perform a series of the same functions, a "library" has
been created to allow for reuse. source the testutil file as needed. Any
functions added to testutil should be clearly commented with purpose and use.
+
+Thirdparty:
+This directory should contain tests for out of tree drivers etc. These tests
+should never return anything other than pass, skip, or warn. While it is
+handy to know if these things work with the current kernel, as out of tree
+modules, they are not necessarily in-step with upstream development. To
+return a fail on these tests would be incorrect, but a warn does give a heads
+up so that the upstream for those modules can be contacted.
diff --git a/runtests.sh b/runtests.sh
index f3376df..8820c2b 100755
--- a/runtests.sh
+++ b/runtests.sh
@@ -9,9 +9,11 @@ verbose=n
testset=default
cleanrun=PASS
failedtests=None
+warntests=None
commit=n
commithook=/usr/bin/true
disable_retest=n
+thirdparty=n
if [ -f ./.config ]; then
source ./.config
@@ -104,6 +106,11 @@ if [ "$checksig" == "y" ]; then
dirlist="secureboot $dirlist"
fi
+# Test Third Party Modules?
+if [ "$thirdparty" == "y" ]; then
+ dirlist="$dirlist thirdparty"
+fi
+
#Basic logfile headers
echo "Date: $(date)" > $logfile
echo "Test set: $testset" >> $logfile
@@ -142,6 +149,9 @@ do
3)
result=SKIP
;;
+ 4)
+ result=WARN
+ ;;
*)
result=FAIL
esac
@@ -154,12 +164,22 @@ do
failedtests="$failedtests $testname"
fi
fi
+ if [ "$result" == "WARN" ]; then
+ if [ "$cleanrun" == "PASS" ]; then
+ cleanrun=WARN
+ fi
+ if [ "$warntests" == "None" ]; then
+ warntests="$testname"
+ else
+ warntests="$warntests $testname"
+ fi
+ fi
popd &>/dev/null
done
done
# Fix up logfile headers
-sed -i "s,RESULTHOLDER,$cleanrun\nFailed Tests: $failedtests,g" $logfile
+sed -i "s,RESULTHOLDER,$cleanrun\nFailed Tests: $failedtests\nWarned Tests: $warntests,g" $logfile
printf "\n%-65s%-8s\n" "Test suite complete" "$cleanrun"
if [ "$commit" == "y" ]; then
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
7 years
[PATCH, kernel.spec] apply patches with build tweaks and compile
fixes all the time
by Thorsten Leemhuis
Hi! Find below a patch against master that slightly changes how patches are applied in kernel.spec. It adds a section in the patch definition area of the spec file where compile fixes can be added, to make sure they even get applied even in the nopatch/vanilla build path. It also gets rid of the SOURCE-approach for kbuild-AFTER_LINK.patch and makes it again a proper patch in the spec file.
This is a follow up to the discussion we had in
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject....
I didn't consider it an important issue, but I got annoyed enough to get back to this when yet another compile fix hit the spec file yesterday.
FWIW:
* 0001-Work-around-for-gcc7-and-arm64.patch is strictly only needed on >=f26, but for now it is simply applied everywhere. We can simply add a "%if 0%{?fedora} >= 26" "%endif" around the patch definition
* I didn't check, but 0001-iio-Use-event-header-from-kernel-tree.patch might only be needed on <=f25, as the headers in f26 are likely new enough by now
CU, thl
commit 224aa0a6c443020f1ddd1a23fed4319a4be008ba
Author: Thorsten Leemhuis <fedora(a)leemhuis.info>
Date: Tue Feb 28 12:01:38 2017 +0100
apply patches with build tweaks (build-AFTER-LINK.patch) and compile fixes
all the time
diff --git a/kernel.spec b/kernel.spec
index 247f0d1..c6f3a15 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -487,11 +487,23 @@ Source5000: patch-4.%{base_sublevel}-git%{gitrev}.xz
%endif
%endif
+## patches needed for building this package
+
# build tweak for build ID magic, even for -vanilla
-Source5005: kbuild-AFTER_LINK.patch
+Patch001: kbuild-AFTER_LINK.patch
-%if !%{nopatches}
+## compile fixes
+
+# ongoing complaint, full discussion delayed until ksummit/plumbers
+Patch849: 0001-iio-Use-event-header-from-kernel-tree.patch
+
+# Still other instances of this bug floating around
+Patch853: 0001-Work-around-for-gcc7-and-arm64.patch
+# compile error
+Patch854: 0001-mm-x86-fix-HIGHMEM64-PARAVIRT-build-config-for-nativ.patch
+
+%if !%{nopatches}
# Git trees.
# Standalone patches
@@ -583,15 +595,6 @@ Patch509: MODSIGN-Don-t-try-secure-boot-if-EFI-runtime-is-disa.patch
#CVE-2016-3134 rhbz 1317383 1317384
Patch665: netfilter-x_tables-deal-with-bogus-nextoffset-values.patch
-#ongoing complaint, full discussion delayed until ksummit/plumbers
-Patch849: 0001-iio-Use-event-header-from-kernel-tree.patch
-
-# Still other instances of this bug floating around
-Patch853: 0001-Work-around-for-gcc7-and-arm64.patch
-
-# compile error
-Patch854: 0001-mm-x86-fix-HIGHMEM64-PARAVIRT-build-config-for-nativ.patch
-
# END OF PATCH DEFINITIONS
%endif
@@ -1192,18 +1195,12 @@ do
done
%endif
-# The kbuild-AFTER_LINK patch is needed regardless so we list it as a Source
-# file and apply it separately from the rest.
-git am %{SOURCE5005}
-
-%if !%{nopatches}
-
+# Note: Even in the "nopatches" path some patches (build tweaks and compile
+# fixes) will always get applied; see patch defition above for details
git am %{patches}
# END OF PATCH APPLICATIONS
-%endif
-
# Any further pre-build tree manipulations happen here.
chmod +x scripts/checkpatch.pl
@@ -2162,6 +2159,10 @@ fi
#
#
%changelog
+* Tue Feb 28 2017 Thorsten Leemhuis <fedora(a)leemhuis.info> - 4.11.0-0.rc0.git5.2
+- apply patches with build tweaks (build-AFTER-LINK.patch) and compile fixes
+ all the time
+
* Mon Feb 27 2017 Laura Abbott <labbott(a)fedoraproject.org> - 4.11.0-0.rc0.git5.1
- Linux v4.10-10320-ge5d56ef
- Disable a series of s390x configuration options
7 years
[PATCH] Drop kernel-devel virtual provide rhbz#1420754
by Nicolas Chauvet
---
kernel.spec | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel.spec b/kernel.spec
index 4363050..38968ba 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -815,7 +815,6 @@ Summary: Development package for building kernel modules to match the %{?2:%{2}
Group: System Environment/Kernel\
Provides: kernel%{?1:-%{1}}-devel-%{_target_cpu} = %{version}-%{release}\
Provides: kernel-devel-%{_target_cpu} = %{version}-%{release}%{?1:+%{1}}\
-Provides: kernel-devel = %{version}-%{release}%{?1:+%{1}}\
Provides: kernel-devel-uname-r = %{KVERREL}%{?variant}%{?1:+%{1}}\
Provides: installonlypkg(kernel)\
AutoReqProv: no\
--
2.7.4
7 years
[PATCH 1/6] s390x: disable unneeded network drivers
by Dan Horák
---
baseconfig/s390x/CONFIG_ALTERA_TSE | 1 +
baseconfig/s390x/CONFIG_DNET | 1 +
baseconfig/s390x/CONFIG_ETHOC | 1 +
baseconfig/s390x/CONFIG_FDDI | 1 +
baseconfig/s390x/CONFIG_FEALNX | 1 +
baseconfig/s390x/CONFIG_HIPPI | 1 +
baseconfig/s390x/CONFIG_IP1000 | 1 +
baseconfig/s390x/CONFIG_JME | 1 +
baseconfig/s390x/CONFIG_NET_CADENCE | 1 +
baseconfig/s390x/CONFIG_NET_PACKET_ENGINE | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_3COM | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_8390 | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_ADAPTEC | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_AGERE | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_ALTEON | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_AMAZON | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_AMD | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_ATHEROS | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_BROCADE | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_CISCO | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_DEC | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_DLINK | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_EXAR | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_HP | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_MICREL | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_MYRI | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_NETRONOME | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_NVIDIA | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_OKI | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_QLOGIC | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_RDC | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_REALTEK | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_ROCKER | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_SEEQ | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_SILAN | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_SIS | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_SMSC | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_STMICRO | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_SUN | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_TEHUTI | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_TI | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_WIZNET | 1 +
baseconfig/s390x/CONFIG_NET_VENDOR_XIRCOM | 1 +
baseconfig/s390x/CONFIG_RESET_CONTROLLER | 1 +
baseconfig/s390x/CONFIG_SFC | 1 +
45 files changed, 45 insertions(+)
create mode 100644 baseconfig/s390x/CONFIG_ALTERA_TSE
create mode 100644 baseconfig/s390x/CONFIG_DNET
create mode 100644 baseconfig/s390x/CONFIG_ETHOC
create mode 100644 baseconfig/s390x/CONFIG_FDDI
create mode 100644 baseconfig/s390x/CONFIG_FEALNX
create mode 100644 baseconfig/s390x/CONFIG_HIPPI
create mode 100644 baseconfig/s390x/CONFIG_IP1000
create mode 100644 baseconfig/s390x/CONFIG_JME
create mode 100644 baseconfig/s390x/CONFIG_NET_CADENCE
create mode 100644 baseconfig/s390x/CONFIG_NET_PACKET_ENGINE
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_3COM
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_8390
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_ADAPTEC
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_AGERE
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_ALTEON
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_AMAZON
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_AMD
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_ATHEROS
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_BROCADE
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_CISCO
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_DEC
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_DLINK
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_EXAR
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_HP
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_MICREL
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_MYRI
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_NETRONOME
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_NVIDIA
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_OKI
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_QLOGIC
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_RDC
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_REALTEK
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_ROCKER
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_SEEQ
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_SILAN
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_SIS
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_SMSC
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_STMICRO
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_SUN
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_TEHUTI
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_TI
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_WIZNET
create mode 100644 baseconfig/s390x/CONFIG_NET_VENDOR_XIRCOM
create mode 100644 baseconfig/s390x/CONFIG_RESET_CONTROLLER
create mode 100644 baseconfig/s390x/CONFIG_SFC
diff --git a/baseconfig/s390x/CONFIG_ALTERA_TSE b/baseconfig/s390x/CONFIG_ALTERA_TSE
new file mode 100644
index 0000000..f803036
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_ALTERA_TSE
@@ -0,0 +1 @@
+# CONFIG_ALTERA_TSE is not set
diff --git a/baseconfig/s390x/CONFIG_DNET b/baseconfig/s390x/CONFIG_DNET
new file mode 100644
index 0000000..f8ac68f
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_DNET
@@ -0,0 +1 @@
+# CONFIG_DNET is not set
diff --git a/baseconfig/s390x/CONFIG_ETHOC b/baseconfig/s390x/CONFIG_ETHOC
new file mode 100644
index 0000000..15370ca
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_ETHOC
@@ -0,0 +1 @@
+# CONFIG_ETHOC is not set
diff --git a/baseconfig/s390x/CONFIG_FDDI b/baseconfig/s390x/CONFIG_FDDI
new file mode 100644
index 0000000..e13f968
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_FDDI
@@ -0,0 +1 @@
+# CONFIG_FDDI is not set
diff --git a/baseconfig/s390x/CONFIG_FEALNX b/baseconfig/s390x/CONFIG_FEALNX
new file mode 100644
index 0000000..4cca6a2
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_FEALNX
@@ -0,0 +1 @@
+# CONFIG_FEALNX is not set
diff --git a/baseconfig/s390x/CONFIG_HIPPI b/baseconfig/s390x/CONFIG_HIPPI
new file mode 100644
index 0000000..8f4d098
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_HIPPI
@@ -0,0 +1 @@
+# CONFIG_HIPPI is not set
diff --git a/baseconfig/s390x/CONFIG_IP1000 b/baseconfig/s390x/CONFIG_IP1000
new file mode 100644
index 0000000..179adb3
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_IP1000
@@ -0,0 +1 @@
+# CONFIG_IP1000 is not set
diff --git a/baseconfig/s390x/CONFIG_JME b/baseconfig/s390x/CONFIG_JME
new file mode 100644
index 0000000..63c5aeb
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_JME
@@ -0,0 +1 @@
+# CONFIG_JME is not set
diff --git a/baseconfig/s390x/CONFIG_NET_CADENCE b/baseconfig/s390x/CONFIG_NET_CADENCE
new file mode 100644
index 0000000..8d2c645
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_CADENCE
@@ -0,0 +1 @@
+# CONFIG_NET_CADENCE is not set
diff --git a/baseconfig/s390x/CONFIG_NET_PACKET_ENGINE b/baseconfig/s390x/CONFIG_NET_PACKET_ENGINE
new file mode 100644
index 0000000..3ed79f4
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_PACKET_ENGINE
@@ -0,0 +1 @@
+# CONFIG_NET_PACKET_ENGINE is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_3COM b/baseconfig/s390x/CONFIG_NET_VENDOR_3COM
new file mode 100644
index 0000000..ed6108c
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_3COM
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_3COM is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_8390 b/baseconfig/s390x/CONFIG_NET_VENDOR_8390
new file mode 100644
index 0000000..d0b9f35
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_8390
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_8390 is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_ADAPTEC b/baseconfig/s390x/CONFIG_NET_VENDOR_ADAPTEC
new file mode 100644
index 0000000..c969587
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_ADAPTEC
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_ADAPTEC is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_AGERE b/baseconfig/s390x/CONFIG_NET_VENDOR_AGERE
new file mode 100644
index 0000000..3647271
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_AGERE
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_AGERE is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_ALTEON b/baseconfig/s390x/CONFIG_NET_VENDOR_ALTEON
new file mode 100644
index 0000000..88beca4
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_ALTEON
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_ALTEON is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_AMAZON b/baseconfig/s390x/CONFIG_NET_VENDOR_AMAZON
new file mode 100644
index 0000000..707bb5a
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_AMAZON
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_AMAZON is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_AMD b/baseconfig/s390x/CONFIG_NET_VENDOR_AMD
new file mode 100644
index 0000000..6063818
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_AMD
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_AMD is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_ATHEROS b/baseconfig/s390x/CONFIG_NET_VENDOR_ATHEROS
new file mode 100644
index 0000000..9a99ac7
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_ATHEROS
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_ATHEROS is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_BROCADE b/baseconfig/s390x/CONFIG_NET_VENDOR_BROCADE
new file mode 100644
index 0000000..fed5e48
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_BROCADE
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_BROCADE is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_CISCO b/baseconfig/s390x/CONFIG_NET_VENDOR_CISCO
new file mode 100644
index 0000000..7b4bdaa
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_CISCO
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_CISCO is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_DEC b/baseconfig/s390x/CONFIG_NET_VENDOR_DEC
new file mode 100644
index 0000000..7c3a697
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_DEC
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_DEC is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_DLINK b/baseconfig/s390x/CONFIG_NET_VENDOR_DLINK
new file mode 100644
index 0000000..181e6a0
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_DLINK
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_DLINK is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_EXAR b/baseconfig/s390x/CONFIG_NET_VENDOR_EXAR
new file mode 100644
index 0000000..90a6a31
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_EXAR
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_EXAR is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_HP b/baseconfig/s390x/CONFIG_NET_VENDOR_HP
new file mode 100644
index 0000000..30f3b40
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_HP
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_HP is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_MICREL b/baseconfig/s390x/CONFIG_NET_VENDOR_MICREL
new file mode 100644
index 0000000..d359479
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_MICREL
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_MICREL is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_MYRI b/baseconfig/s390x/CONFIG_NET_VENDOR_MYRI
new file mode 100644
index 0000000..03d6c85
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_MYRI
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_MYRI is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_NETRONOME b/baseconfig/s390x/CONFIG_NET_VENDOR_NETRONOME
new file mode 100644
index 0000000..d08e277
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_NETRONOME
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_NETRONOME is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_NVIDIA b/baseconfig/s390x/CONFIG_NET_VENDOR_NVIDIA
new file mode 100644
index 0000000..27ee4d5
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_NVIDIA
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_NVIDIA is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_OKI b/baseconfig/s390x/CONFIG_NET_VENDOR_OKI
new file mode 100644
index 0000000..e6b6bc8
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_OKI
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_OKI is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_QLOGIC b/baseconfig/s390x/CONFIG_NET_VENDOR_QLOGIC
new file mode 100644
index 0000000..700f6a5
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_QLOGIC
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_QLOGIC is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_RDC b/baseconfig/s390x/CONFIG_NET_VENDOR_RDC
new file mode 100644
index 0000000..4d84f77
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_RDC
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_RDC is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_REALTEK b/baseconfig/s390x/CONFIG_NET_VENDOR_REALTEK
new file mode 100644
index 0000000..f21c4dc
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_REALTEK
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_REALTEK is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_ROCKER b/baseconfig/s390x/CONFIG_NET_VENDOR_ROCKER
new file mode 100644
index 0000000..ab286d2
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_ROCKER
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_ROCKER is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_SEEQ b/baseconfig/s390x/CONFIG_NET_VENDOR_SEEQ
new file mode 100644
index 0000000..6fe8245
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_SEEQ
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_SEEQ is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_SILAN b/baseconfig/s390x/CONFIG_NET_VENDOR_SILAN
new file mode 100644
index 0000000..07a1294
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_SILAN
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_SILAN is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_SIS b/baseconfig/s390x/CONFIG_NET_VENDOR_SIS
new file mode 100644
index 0000000..5ff2e30
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_SIS
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_SIS is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_SMSC b/baseconfig/s390x/CONFIG_NET_VENDOR_SMSC
new file mode 100644
index 0000000..4e3e7ae
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_SMSC
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_SMSC is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_STMICRO b/baseconfig/s390x/CONFIG_NET_VENDOR_STMICRO
new file mode 100644
index 0000000..040f835
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_STMICRO
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_STMICRO is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_SUN b/baseconfig/s390x/CONFIG_NET_VENDOR_SUN
new file mode 100644
index 0000000..a4ce778
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_SUN
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_SUN is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_TEHUTI b/baseconfig/s390x/CONFIG_NET_VENDOR_TEHUTI
new file mode 100644
index 0000000..7c0c6ee
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_TEHUTI
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_TEHUTI is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_TI b/baseconfig/s390x/CONFIG_NET_VENDOR_TI
new file mode 100644
index 0000000..a9395e8
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_TI
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_TI is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_WIZNET b/baseconfig/s390x/CONFIG_NET_VENDOR_WIZNET
new file mode 100644
index 0000000..08efd75
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_WIZNET
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_WIZNET is not set
diff --git a/baseconfig/s390x/CONFIG_NET_VENDOR_XIRCOM b/baseconfig/s390x/CONFIG_NET_VENDOR_XIRCOM
new file mode 100644
index 0000000..4c2e6f9
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_NET_VENDOR_XIRCOM
@@ -0,0 +1 @@
+# CONFIG_NET_VENDOR_XIRCOM is not set
diff --git a/baseconfig/s390x/CONFIG_RESET_CONTROLLER b/baseconfig/s390x/CONFIG_RESET_CONTROLLER
new file mode 100644
index 0000000..0f97f3f
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_RESET_CONTROLLER
@@ -0,0 +1 @@
+# CONFIG_RESET_CONTROLLER is not set
diff --git a/baseconfig/s390x/CONFIG_SFC b/baseconfig/s390x/CONFIG_SFC
new file mode 100644
index 0000000..fdc60b9
--- /dev/null
+++ b/baseconfig/s390x/CONFIG_SFC
@@ -0,0 +1 @@
+# CONFIG_SFC is not set
--
2.7.4
7 years
error thrown when updating kernel config
by Dan Horák
Hi,
I'm in the process to reduce the Fedora s390x kernel's size and build
time by disabling drivers for devices that can't appear on the
mainframe. But I'm getting 2 kinds of errors
first is
...
+ echo '# s390'
+ cat .config
+ CheckConfigs configs/kernel-4.11.0-s390x.config temp-kernel-4.11.0-s390x.config
+ ./check_configs.awk configs/kernel-4.11.0-s390x.config temp-kernel-4.11.0-s390x.config
+ '[' -s .mismatches ']'
+ echo 'Error: Mismatches found in configuration files'
Error: Mismatches found in configuration files
+ cat .mismatches
Found # CONFIG_HID is not set, after generation, had CONFIG_HID m in Fedora tree
Found # CONFIG_HWMON is not set, after generation, had CONFIG_HWMON m in Fedora tree
Found # CONFIG_I2C is not set, after generation, had CONFIG_I2C m in Fedora tree
Found # CONFIG_NEW_LEDS is not set, after generation, had CONFIG_NEW_LEDS y in Fedora tree
+ exit 1
This is after setting the options ^^^ to "N" in their files under
baseconfig/s390x/.
the second one is
...
+ rm temp-kernel-4.11.0-ppc64p7.config
+ for i in '*.config'
+ cat kernel-4.11.0-s390x.config
+ mv kernel-4.11.0-s390x.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=s390
+ make ARCH=s390 listnewconfig
+ grep -E '^CONFIG_'
+ '[' -s .newoptions ']'
+ cat .newoptions
CONFIG_RESET_CONTROLLER
+ exit 1
This is after disabling all Ethernet drivers (drivers/net/ethernet)
except Mellanox
What am I doing wrong or what else I must change?
Dan
7 years
Kernel 4.10 rebase plans and Fedora 26 kernel
by Justin Forbes
The 4.10 kernel was released on Sunday, and built into rawhide on
Monday. We plan to rebase Fedora 25 once we feel that 4.10 has
stabilized enough. With history as an indicator, that should be the
4.10.2 stable release, but this is not set in stone. We will be
monitoring closely. Fedora 24 will rebase roughly a week after Fedora
25.
Rawhide is continuing to follow 4.11 as this is the target release
kernel for Fedora 26. The stabilization branch will follow 4.10
stable releases until it is determined that we are ready to rebase
Fedora 25. Users wishing to test these kernels can do so in
https://copr.fedorainfracloud.org/coprs/jforbes/kernel-stabilization/
as we do future builds. I'll update with more information once the
rebase gets closer. As always, please let us know if you have any
questions.
Thanks,
Justin
7 years
[PATCH] enable NUMA on s390x
by Dan Horák
---
baseconfig/s390x/CONFIG_NUMA | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/baseconfig/s390x/CONFIG_NUMA b/baseconfig/s390x/CONFIG_NUMA
index 7482c98..e480f0c 100644
--- a/baseconfig/s390x/CONFIG_NUMA
+++ b/baseconfig/s390x/CONFIG_NUMA
@@ -1 +1 @@
-# CONFIG_NUMA is not set
+CONFIG_NUMA=y
--
2.7.4
7 years, 1 month
kernel.spec: applying patches with build fixes even for
vanilla/nopatches builds?
by Thorsten Leemhuis
Lo! Quick question on a spec file detail:
On 28.01.2017 16:20, notifications(a)fedoraproject.org wrote:
> From fd6460a8d81a3dc5242b43097a3c96db6737ff3b Mon Sep 17 00:00:00 2001
> From: Laura Abbott <labbott(a)redhat.com>
> Date: Sat, 28 Jan 2017 16:16:56 +0100
> Subject: Temporary workaround for gcc7 and arm64
>
> See http://lists.infradead.org/pipermail/linux-arm-kernel/2016-October/461597...
> ---
> 0001-Work-around-for-gcc7-and-arm64.patch | 62 +++++++++++++++++++++++++++++++
> kernel.spec | 8 +++-
> 2 files changed, 69 insertions(+), 1 deletion(-)
> create mode 100644 0001-Work-around-for-gcc7-and-arm64.patch
>
> diff --git a/0001-Work-around-for-gcc7-and-arm64.patch b/0001-Work-around-for-gcc7-and-arm64.patch
> […]
> diff --git a/kernel.spec b/kernel.spec
> index e31e39c..3e212ce 100644
> --- a/kernel.spec
> +++ b/kernel.spec
> […]
> +# See http://lists.infradead.org/pipermail/linux-arm-kernel/2016-October/461597...
> +Patch853: 0001-Work-around-for-gcc7-and-arm64.patch
> +
With the current spec file mechanics the above patch won't be applied
when the srpm for example is rebuild with "--with nopatches". Such a
rebuild thus will fail on rawhide currently due to gcc7 :-/ ran into
this on x86-32/-64 when building by vanilla packages.
No big deal for me, nevertheless a quick question: Until a year or two
ago that didn't happen: The spec file had a few tricks to apply some of
the patches (for example those that fix know build/compiler problems)
all the time. That was lost when the spec file switched to using "git am
%{patches}" to apply patches.
Was that intentional? Laura, Justin: Would you be open to reintroduce
and use a similar method that would apply certain patches all the time?
If yes I'd might look into this sooner or later, as it would make my
life easier.
CU, knurd
7 years, 1 month