diff options
author | Tim Yamin <plasmaroo@gentoo.org> | 2004-06-14 18:54:22 +0000 |
---|---|---|
committer | Tim Yamin <plasmaroo@gentoo.org> | 2004-06-14 18:54:22 +0000 |
commit | 09d07e1e1acb998cc6a02fa5aefdbd73458c0273 (patch) | |
tree | 04a498be74fc84945398ba912808e036904977ee /sys-kernel | |
parent | Fixed ChangeLog; for some reason the new version did not get entered into it ... (diff) | |
download | historical-09d07e1e1acb998cc6a02fa5aefdbd73458c0273.tar.gz historical-09d07e1e1acb998cc6a02fa5aefdbd73458c0273.tar.bz2 historical-09d07e1e1acb998cc6a02fa5aefdbd73458c0273.zip |
Added a patch for the FPU-lockup issue; please see bug #58304 for details.
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/vserver-sources/ChangeLog | 9 | ||||
-rw-r--r-- | sys-kernel/vserver-sources/files/digest-vserver-sources-2.4.26.1.3.9-r1 (renamed from sys-kernel/vserver-sources/files/digest-vserver-sources-2.4.26.1.3.9) | 0 | ||||
-rw-r--r-- | sys-kernel/vserver-sources/files/vserver-sources-2.4.26.1.3.9.FPULockup-53804.patch | 11 | ||||
-rw-r--r-- | sys-kernel/vserver-sources/vserver-sources-2.4.26.1.3.9-r1.ebuild (renamed from sys-kernel/vserver-sources/vserver-sources-2.4.26.1.3.9.ebuild) | 17 |
4 files changed, 28 insertions, 9 deletions
diff --git a/sys-kernel/vserver-sources/ChangeLog b/sys-kernel/vserver-sources/ChangeLog index 0b61300a122e..17808a9e2b8e 100644 --- a/sys-kernel/vserver-sources/ChangeLog +++ b/sys-kernel/vserver-sources/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-kernel/vserver-sources # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/vserver-sources/ChangeLog,v 1.7 2004/06/02 16:35:55 plasmaroo Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/vserver-sources/ChangeLog,v 1.8 2004/06/14 18:54:22 plasmaroo Exp $ + +*vserver-sources-2.4.26.1.3.9-r1 (14 Jun 2004) + + 14 Jun 2004; <plasmaroo@gentoo.org> +vserver-sources-2.4.26.1.3.9-r1.ebuild, + -vserver-sources-2.4.26.1.3.9.ebuild, + +files/vserver-sources-2.4.26.1.3.9.FPULockup-53804.patch: + Added a patch for the FPU-lockup issue; please see bug #58304 for details. *vserver-sources-2.4.26.1.3.9 (02 Jun 2004) diff --git a/sys-kernel/vserver-sources/files/digest-vserver-sources-2.4.26.1.3.9 b/sys-kernel/vserver-sources/files/digest-vserver-sources-2.4.26.1.3.9-r1 index e4741e15a0e6..e4741e15a0e6 100644 --- a/sys-kernel/vserver-sources/files/digest-vserver-sources-2.4.26.1.3.9 +++ b/sys-kernel/vserver-sources/files/digest-vserver-sources-2.4.26.1.3.9-r1 diff --git a/sys-kernel/vserver-sources/files/vserver-sources-2.4.26.1.3.9.FPULockup-53804.patch b/sys-kernel/vserver-sources/files/vserver-sources-2.4.26.1.3.9.FPULockup-53804.patch new file mode 100644 index 000000000000..1dd5ed87b520 --- /dev/null +++ b/sys-kernel/vserver-sources/files/vserver-sources-2.4.26.1.3.9.FPULockup-53804.patch @@ -0,0 +1,11 @@ +--- linux-2.4/include/asm-i386/i387.h 2004-06-13 20:06:05.044881328 +0100 ++++ linux-2.4/include/asm-i386/i387.h 2004-06-13 20:25:42.836829736 +0100 +@@ -34,7 +34,7 @@ + + #define clear_fpu( tsk ) do { \ + if ( tsk->flags & PF_USEDFPU ) { \ +- asm volatile("fwait"); \ ++ asm volatile("fnclex ; fwait"); \ + tsk->flags &= ~PF_USEDFPU; \ + stts(); \ + } \ diff --git a/sys-kernel/vserver-sources/vserver-sources-2.4.26.1.3.9.ebuild b/sys-kernel/vserver-sources/vserver-sources-2.4.26.1.3.9-r1.ebuild index 25e2ff6133f5..bc5286b11d89 100644 --- a/sys-kernel/vserver-sources/vserver-sources-2.4.26.1.3.9.ebuild +++ b/sys-kernel/vserver-sources/vserver-sources-2.4.26.1.3.9-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/vserver-sources/vserver-sources-2.4.26.1.3.9.ebuild,v 1.2 2004/06/03 12:15:29 plasmaroo Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/vserver-sources/vserver-sources-2.4.26.1.3.9-r1.ebuild,v 1.1 2004/06/14 18:54:22 plasmaroo Exp $ ETYPE="sources" inherit kernel eutils @@ -9,7 +9,8 @@ KV=2.4.26 ## idea: after the kernel-version (2.4.26) we append the vs-version (e.g. 1.3.9) to ## get 2.4.25.1.3.9 that is globbed out here: -EXTRAVERSION="-vs${PV#*.*.*.}" +VEXTRAVERSION="-vs${PV#*.*.*.}" +EXTRAVERSION="-vs${PV#*.*.*.}-${PR}" S=${WORKDIR}/linux-${KV} # What's in this kernel? @@ -20,7 +21,7 @@ S=${WORKDIR}/linux-${KV} DESCRIPTION="Linux kernel with DEVEL version ctx-/vserver-patch" SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 - http://www.13thfloor.at/vserver/d_release/${EXTRAVERSION/-vs/v}/linux-vserver-${EXTRAVERSION/-vs/}.tar.bz2" + http://www.13thfloor.at/vserver/d_release/${VEXTRAVERSION/-vs/v}/linux-vserver-${VEXTRAVERSION/-vs/}.tar.bz2" HOMEPAGE="http://www.kernel.org/ http://www.13thfloor.at/vserver/ http://www.linux-vserver.org/" KEYWORDS="~x86 -ppc" @@ -29,13 +30,13 @@ SLOT="${KV}" src_unpack() { unpack linux-${OKV}.tar.bz2 cd ${WORKDIR} - mv linux-${OKV} linux-${KV}${EXTRAVERSION} + mv linux-${OKV} linux-${KV}${VEXTRAVERSION} - tar xvjf ${DISTDIR}/linux-vserver-${EXTRAVERSION/-vs/}.tar.bz2 || die "Unpacking patch failed!" + tar xvjf ${DISTDIR}/linux-vserver-${VEXTRAVERSION/-vs/}.tar.bz2 || die "Unpacking patch failed!" - cd linux-${KV}${EXTRAVERSION} - epatch ${WORKDIR}/patch-${KV}${EXTRAVERSION}.diff + cd linux-${KV}${VEXTRAVERSION} + epatch ${WORKDIR}/patch-${KV}${VEXTRAVERSION}.diff epatch ${FILESDIR}/${P}.CAN-2004-0394.patch || die "Failed to add the CAN-2004-0394 patch!" - + epatch ${FILESDIR}/${P}.FPULockup-53804.patch || die "Failed to apply FPU-lockup patch!" kernel_universal_unpack } |