Compare commits

...

7 Commits
master ... f22

Author SHA1 Message Date
Harald Hoyer a54730452b fixed changelog date 2016-03-10 10:22:16 +01:00
Harald Hoyer c2eeeeb4e0 dracut-041-15
- handle remove of CONFIG_MICROCODE_*_EARLY
Resolves: rhbz#1314501
2016-03-10 10:21:05 +01:00
Harald Hoyer 06ad3112cd dracut-041-14
- add more input drivers
Resolves: rhbz#1229650
- add hyperv framebuffer module
Resolves: rhbz#1222512
- add amdkfd kernel module
Resolves: rhbz#1229651
2015-06-11 17:58:04 +02:00
Harald Hoyer e3230c1c95 dracut-041-10.1
- fix ifcfg generation, if vlan was configured
Resolves: rhbz#1212061
2015-04-21 15:21:29 +02:00
Harald Hoyer 80ba083818 dracut-041-10
- fixed documentation
- prevent .bashrc from influencing dracut runs
- fixed shutdown routine for dm devices
- remove symlinks for swap devices also for rd.hostonly=0
2015-02-19 14:46:09 +01:00
Harald Hoyer 9c3c4507fe fixed release 2015-02-19 14:40:58 +01:00
Harald Hoyer 4761c06fbe dracut-041-10.git20150219
- don't store hostonly cmdline information in the initramfs
- Include squashfs support for rd.live.fsimg
Resolves: rhbz#1194284
2015-02-19 14:35:15 +01:00
6 changed files with 208 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From 59069167dc8505698d9d450220d6a9514079cade Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Tue, 21 Apr 2015 10:34:31 +0200
Subject: [PATCH] ifcfg/write-ifcfg.sh: unset vlan
clear the vlan flag, if a previous interface in the loop
was a vlan interface
(cherry picked from commit 23446ef1e0a6eda79049a655cb1645691b129645)
---
modules.d/45ifcfg/write-ifcfg.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules.d/45ifcfg/write-ifcfg.sh b/modules.d/45ifcfg/write-ifcfg.sh
index 3dcf304..63afbaa 100755
--- a/modules.d/45ifcfg/write-ifcfg.sh
+++ b/modules.d/45ifcfg/write-ifcfg.sh
@@ -137,6 +137,8 @@ for netup in /tmp/net.*.did-setup ; do
unset macaddr
unset slave
unset ethname
+ unset vlan
+
[ -e /tmp/bond.${netif}.info ] && . /tmp/bond.${netif}.info
uuid=$(cat /proc/sys/kernel/random/uuid)

View File

@ -0,0 +1,34 @@
From d844ce39f8c0e8272fe408e00502b88db7b66907 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Thu, 23 Apr 2015 13:46:52 +0200
Subject: [PATCH] kernel-modules: install all HID drivers
Instead of hardcoding a list of useful drivers, which has to be curated
all the time, just include all HID drivers.
(cherry picked from commit 180e9d78516fb4b2ee5baef44521007a860d4dd2)
---
modules.d/90kernel-modules/module-setup.sh | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
index a7b0853..6e2fd74 100755
--- a/modules.d/90kernel-modules/module-setup.sh
+++ b/modules.d/90kernel-modules/module-setup.sh
@@ -41,10 +41,13 @@ installkernel() {
uhci-hcd \
xhci-hcd xhci-pci xhci-plat-hcd
+ instmods \
+ "=drivers/hid" \
+ "=drivers/input/serio" \
+ "=drivers/input/keyboard"
+
instmods yenta_socket scsi_dh_rdac scsi_dh_emc scsi_dh_alua \
- atkbd i8042 usbhid hid-apple hid-sunplus hid-cherry hid-logitech \
- hid-logitech-dj hid-microsoft hid-lcpower firewire-ohci \
- pcmcia hid-hyperv hv-vmbus hyperv-keyboard
+ atkbd i8042 usbhid firewire-ohci pcmcia hv-vmbus
if [[ "$(uname -p)" == arm* ]]; then
# arm specific modules

View File

@ -0,0 +1,53 @@
From 30764ad3b9de889e30baafb923c4249dd22005dd Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Thu, 23 Apr 2015 16:11:53 +0200
Subject: [PATCH] drm/module-setup.sh: radeon needs amdkfd
AMD's HSA Linux kernel driver (amdkfd) has been merged into the mainline
kernel since kernel 3.19.
However, for the driver to work, it needs to be included in the default
initramfs image, together with the amd_iommu_v2 driver.
The radeon driver (AMD's kernel graphic driver) calls amdkfd during its
initialization and probing stages. Because radeon is included in the
initramfs image, it tries to initialize amdkfd during the early boot
stages. However, as amdkfd is not present there, it fails.
That doesn't harm radeon operation. However, it disables the HSA
abilities in the machine.
Because of the current design, if you later try to "modprobe amdkfd",
you won't be able to run HSA applications, even though the driver will
be loaded.
https://bugzilla.redhat.com/show_bug.cgi?id=1205222
(cherry picked from commit a3e464ca43618e362ad3c2e20573de23d725bee6)
---
modules.d/50drm/module-setup.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/modules.d/50drm/module-setup.sh b/modules.d/50drm/module-setup.sh
index 3063a61..95b23cf 100755
--- a/modules.d/50drm/module-setup.sh
+++ b/modules.d/50drm/module-setup.sh
@@ -60,6 +60,8 @@ installkernel() {
${NULL}
fi
+ instmods amdkfd
+
for _modname in $(find_kernel_modules_by_path drivers/gpu/drm \
| drm_module_filter) ; do
# if the hardware is present, include module even if it is not currently loaded,
@@ -68,6 +70,10 @@ installkernel() {
if [[ $hostonly ]] && modinfo -F alias $_modname | sed -e 's,\?,\.,g' -e 's,\*,\.\*,g' \
| grep -qxf - /sys/bus/{pci/devices,soc/devices/soc?}/*/modalias 2>/dev/null; then
hostonly='' instmods $_modname
+ # if radeon.ko is installed, we want amdkfd also
+ if strstr "$_modname" radeon.ko; then
+ hostonly='' instmods amdkfd
+ fi
continue
fi
instmods $_modname

View File

@ -0,0 +1,24 @@
From 9f9413d6a415c8c0b1cbbf99c2f8a0c14cac492b Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Mon, 18 May 2015 13:43:26 +0200
Subject: [PATCH] 50drm: add hyperv_fb kernel module
https://bugzilla.redhat.com/show_bug.cgi?id=1192035
(cherry picked from commit 81b67232dcc796178124676d124d7d91514e4a8f)
---
modules.d/50drm/module-setup.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules.d/50drm/module-setup.sh b/modules.d/50drm/module-setup.sh
index 95b23cf..db29c86 100755
--- a/modules.d/50drm/module-setup.sh
+++ b/modules.d/50drm/module-setup.sh
@@ -60,7 +60,7 @@ installkernel() {
${NULL}
fi
- instmods amdkfd
+ instmods amdkfd hyperv_fb
for _modname in $(find_kernel_modules_by_path drivers/gpu/drm \
| drm_module_filter) ; do

View File

@ -0,0 +1,40 @@
From 293f18b4284edba20a4737fba09912ac4d0799cb Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Wed, 11 Nov 2015 11:38:56 +0100
Subject: [PATCH] dracut.sh: remove "_EARLY" from CONFIG_MICROCODE_* checks
EARLY is merged in the main driver
(cherry picked from commit 875426f2fc1360401ddb5f97c67df031e54958d5)
---
dracut.sh | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/dracut.sh b/dracut.sh
index 17bf8f2..e2c9f5d 100755
--- a/dracut.sh
+++ b/dracut.sh
@@ -1041,18 +1041,18 @@ fi
if [[ $early_microcode = yes ]]; then
if [[ $hostonly ]]; then
[[ $(get_cpu_vendor) == "AMD" ]] \
- && ! check_kernel_config CONFIG_MICROCODE_AMD_EARLY \
+ && ! check_kernel_config CONFIG_MICROCODE_AMD \
&& unset early_microcode
[[ $(get_cpu_vendor) == "Intel" ]] \
- && ! check_kernel_config CONFIG_MICROCODE_INTEL_EARLY \
+ && ! check_kernel_config CONFIG_MICROCODE_INTEL \
&& unset early_microcode
else
- ! check_kernel_config CONFIG_MICROCODE_AMD_EARLY \
- && ! check_kernel_config CONFIG_MICROCODE_INTEL_EARLY \
+ ! check_kernel_config CONFIG_MICROCODE_AMD \
+ && ! check_kernel_config CONFIG_MICROCODE_INTEL \
&& unset early_microcode
fi
[[ $early_microcode != yes ]] \
- && dwarn "Disabling early microcode, because kernel does not support it. CONFIG_MICROCODE_[AMD|INTEL]_EARLY!=y"
+ && dwarn "Disabling early microcode, because kernel does not support it. CONFIG_MICROCODE_[AMD|INTEL]!=y"
fi
# Need to be able to have non-root users read stuff (rpcbind etc)

View File

@ -11,7 +11,7 @@
Name: dracut
Version: 041
Release: 10.git20150219%{?dist}
Release: 15%{?dist}
Summary: Initramfs generator using udev
%if 0%{?fedora} || 0%{?rhel}
@ -39,6 +39,11 @@ Patch6: 0006-90dm-dm-shutdown.sh-dmsetup-remove_all-dmsetup-remov.patch
Patch7: 0007-99base-Properly-remove-files-with-rd.hostonly-0.patch
Patch8: 0008-dmsquash-Add-rd.live.overlay.thin.patch
Patch9: 0009-dmsquash-Add-squashfs-support-to-rd.live.fsimg.patch
Patch10: 0010-ifcfg-write-ifcfg.sh-unset-vlan.patch
Patch11: 0011-kernel-modules-install-all-HID-drivers.patch
Patch12: 0012-drm-module-setup.sh-radeon-needs-amdkfd.patch
Patch13: 0013-50drm-add-hyperv_fb-kernel-module.patch
Patch14: 0014-dracut.sh-remove-_EARLY-from-CONFIG_MICROCODE_-check.patch
Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
@ -487,6 +492,31 @@ rm -rf -- $RPM_BUILD_ROOT
%endif
%changelog
* Thu Mar 10 2016 Harald Hoyer <harald@redhat.com> - 041-15
- handle remove of CONFIG_MICROCODE_*_EARLY
Resolves: rhbz#1314501
* Tue Jun 09 2015 Harald Hoyer <harald@redhat.com> 041-14
- add more input drivers
Resolves: rhbz#1229650
- add hyperv framebuffer module
Resolves: rhbz#1222512
- add amdkfd kernel module
Resolves: rhbz#1229651
* Tue Apr 21 2015 Harald Hoyer <harald@redhat.com> 041-10.1
- fix ifcfg generation, if vlan was configured
Resolves: rhbz#1212061
* Thu Feb 19 2015 Harald Hoyer <harald@redhat.com> 041-10
- fixed documentation
- prevent .bashrc from influencing dracut runs
- fixed shutdown routine for dm devices
- remove symlinks for swap devices also for rd.hostonly=0
- don't store hostonly cmdline information in the initramfs
- Include squashfs support for rd.live.fsimg
Resolves: rhbz#1194284
* Thu Feb 19 2015 Harald Hoyer <harald@redhat.com> 041-10.git20150219
- git snapshot