X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=kernel-2.6.spec;h=34b6710ceeff9bf752dc891f2b4641f52bd5a4ab;hb=e38182007fba883169ac354e92adeb27b3a44fdf;hp=48e9eae24a39985b8b1ae0178e3f3fe050dc12ca;hpb=920f2c3d5585eab6b8727b9f96a143fc1e500035;p=linux-2.6.git diff --git a/kernel-2.6.spec b/kernel-2.6.spec index 48e9eae24..34b6710ce 100644 --- a/kernel-2.6.spec +++ b/kernel-2.6.spec @@ -10,9 +10,13 @@ URL: %{SCMURL} %define name linux-2.6 %define module_version_varname sublevel -%define taglevel 9 +%define taglevel 12 %define sublevel 32 + +%if ("%{distro}" == "Fedora" && %{distrorelease} >= 12) || ("%{distro}" == "SL" && %{distrorelease} >= 6) || ("%{distro}" == "CentOS" && %{distrorelease} >= 6) +%define modern_distro 1 +%endif #### Planet-Lab #### Summary: The Linux kernel @@ -34,7 +38,7 @@ Summary: The Linux kernel %define rhel 1 %if %{rhel} -%define distro_build 71.14.1 +%define distro_build 71.18.1 #### Planet-Lab #### %define signmodules 0 #### Planet-Lab #### @@ -51,7 +55,7 @@ Summary: The Linux kernel # Don't stare at the awk too long, you'll go blind. %define fedora_cvs_origin 1462 %define fedora_cvs_revision() %2 -%global distro_build %(echo %{fedora_cvs_origin}.%{fedora_cvs_revision $Revision: 1.18.2.14 $} | awk -F . '{ OFS = "."; ORS = ""; print $3 - $1 ; i = 4 ; OFS = ""; while (i <= NF) { print ".", $i ; i++} }') +%global distro_build %(echo %{fedora_cvs_origin}.%{fedora_cvs_revision $Revision: 1.18.2.18 $} | awk -F . '{ OFS = "."; ORS = ""; print $3 - $1 ; i = 4 ; OFS = ""; while (i <= NF) { print ".", $i ; i++} }') %define distro_build %{fedora_build} %define signmodules 0 %endif @@ -111,7 +115,7 @@ Summary: The Linux kernel # kernel-kdump %define with_kdump %{?_without_kdump: 0} %{?!_without_kdump: 1} # kernel-debug -%define with_debug %{?_with_debug: 1} %{?!_with_debug: 0} +%define with_debug %{?_without_debug: 1} %{?!_without_debug: 0} # kernel-doc %define with_doc %{?_without_doc: 0} %{?!_without_doc: 1} # kernel-headers @@ -126,19 +130,7 @@ Summary: The Linux kernel %define with_perf %{?_without_perf: 0} %{?!_without_perf: 1} #### Planet-Lab #### # kernel-debuginfo -%if "%{distro}" == "CentOS" && %{distrorelease} == 5 %define with_debuginfo %{?_without_debuginfo: 1} %{?!_without_debuginfo: 0} -%else -%if "%{distroname}" == "f14" -# for now, spec2make does not understand --with or --define options -# I'm hard-coding this for now -%define with_debuginfo 0 -%define with_debug 0 -%define with_doc 0 -%else -%define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 1} -%endif -%endif #### Planet-Lab #### # kernel-bootwrapper (for creating zImages from kernel + initrd) %define with_bootwrapper %{?_without_bootwrapper: 0} %{?!_without_bootwrapper: 1} @@ -146,7 +138,7 @@ Summary: The Linux kernel %define with_vdso_install %{?_without_vdso_install: 0} %{?!_without_vdso_install: 1} #### Planet-Lab #### # Use dracut instead of mkinitrd for initrd image generation -%if "%{distro}" == "Fedora" && %{distrorelease} >= 12 +%if %{modern_distro} %define with_dracut %{?_without_dracut: 0} %{?!_without_dracut: 1} %else %define with_dracut %{?_without_dracut: 1} %{?!_without_dracut: 0} @@ -211,7 +203,7 @@ Summary: The Linux kernel %endif # The kernel tarball/base version -%define kversion 2.6.32-71.14.1.el6 +%define kversion 2.6.32-71.18.1.el6 %define make_target bzImage @@ -475,7 +467,7 @@ Summary: The Linux kernel # integration in the distro harder than needed. # #### Planet-Lab #### -%if "%{distro}" == "Fedora" && %{distrorelease} >= 12 +%if %{modern_distro} %define package_conflicts initscripts < 7.23, udev < 145-11, iptables < 1.3.2-1, ipw2200-firmware < 2.4, iwl4965-firmware < 228.57.2, selinux-policy-targeted < 1.25.3-14, squashfs-tools < 4.0, wireless-tools < 29-3 %else %define package_conflicts initscripts < 7.23, iptables < 1.3.2-1, ipw2200-firmware < 2.4, iwl4965-firmware < 228.57.2, selinux-policy-targeted < 1.25.3-14, squashfs-tools < 4.0, wireless-tools < 29-3 @@ -504,10 +496,10 @@ Summary: The Linux kernel # scripts use them. # #### Planet-Lab #### -%if "%{distro}" == "Fedora" && %{distrorelease} >= 12 -%define kernel_prereq fileutils, module-init-tools, initscripts >= 8.11.1-1, kernel-firmware >= %{rpmversion}-%{pkg_release}, grubby >= 7.0.4-1 +%if %{modern_distro} +%define kernel_prereq fileutils, module-init-tools, initscripts >= 8.11.1-1, grubby >= 7.0.4-1 %else -%define kernel_prereq fileutils, module-init-tools, initscripts >= 8.11.1-1, kernel-firmware >= %{rpmversion}-%{pkg_release} +%define kernel_prereq fileutils, module-init-tools, initscripts >= 8.11.1-1, %endif #### Planet-Lab #### @@ -515,7 +507,7 @@ Summary: The Linux kernel %define initrd_prereq dracut-kernel >= 002-18.git413bcf78 %else #### Planet-Lab #### -%if "%{distro}" == "Fedora" && %{distrorelease} >= 12 +%if %{modern_distro} %define initrd_prereq mkinitrd >= 6.0.61-1 %else %define initrd_prereq mkinitrd >= 5.1 @@ -578,11 +570,7 @@ BuildRequires: module-init-tools, patch >= 2.5.4, bash >= 2.03, sh-utils, tar BuildRequires: bzip2, findutils, gzip, m4, perl, make >= 3.78, diffutils, gawk BuildRequires: gcc >= 3.4.2, binutils >= 2.12, redhat-rpm-config #### Planet-Lab #### -%if "%{distro}" == "Fedora" && %{distrorelease} >= 14 -BuildRequires: net-tools, patchutils, rpm-build >= 4.8.0-7 -%else BuildRequires: net-tools, patchutils, rpm-build -%endif #### Planet-Lab #### %if %{with_doc} BuildRequires: xmlto @@ -615,7 +603,7 @@ BuildConflicts: rhbuildsys(DiskFree) < 7Gb %define debuginfo_args --strict-build-id %endif -Source0: linux-2.6.32-71.14.1.el6.tar.bz2 +Source0: linux-2.6.32-71.18.1.el6.tar.bz2 Source1: Makefile.common @@ -675,7 +663,7 @@ Source79: config-debug-rhel Source80: config-generic-rhel Source81: config-powerpc64 -Patch1: patch-2.6.32-71.14.1.el6-vs2.3.0.36.29.4.diff +Patch1: patch-2.6.32-71.18.1.el6-vs2.3.0.36.29.4.diff Patch2: linux-2.6-220-delta-ptrace-fix01.patch Patch3: linux-2.6-250-ipsets.patch Patch4: linux-2.6-510-ipod.patch @@ -971,7 +959,7 @@ cp %{SOURCE15} %{SOURCE1} %{SOURCE16} %{SOURCE17} %{SOURCE18} . make -f %{SOURCE20} VERSION=%{version} configs #### Planet-Lab #### -ApplyPatch patch-2.6.32-71.14.1.el6-vs2.3.0.36.29.4.diff +ApplyPatch patch-2.6.32-71.18.1.el6-vs2.3.0.36.29.4.diff ApplyPatch linux-2.6-220-delta-ptrace-fix01.patch ApplyPatch linux-2.6-250-ipsets.patch ApplyPatch linux-2.6-510-ipod.patch @@ -1568,9 +1556,13 @@ fi\ %if %{with_dracut}\ /sbin/new-kernel-pkg --package kernel%{?1:-%{1}} --mkinitrd --dracut --depmod --update %{KVERREL}%{?1:.%{1}} $NEWKERNARGS || exit $?\ %else\ +%if %{modern_distro}\ /sbin/new-kernel-pkg --package kernel%{?1:-%{1}} --mkinitrd --depmod --update %{KVERREL}%{?1:.%{1}} $NEWKERNARGS || exit $?\ +%else\ +/sbin/new-kernel-pkg --mkinitrd --depmod --install %{KVERREL}%{?1:.%{1}} || exit $?\ +%endif\ %endif}\ -%if "%{distro}" == "Fedora" && %{distrorelease} >= 12\ +%if %{modern_distro}\ /sbin/new-kernel-pkg --package kernel%{?1:-%{1}} --rpmposttrans %{KVERREL}%{?1:.%{1}} || exit $?\ if [ -x /sbin/weak-modules ]\ then\ @@ -1674,12 +1666,14 @@ fi /usr/include/* %endif +%if 0 %if %{with_firmware} %files firmware %defattr(-,root,root) /lib/firmware/* %doc linux-%{kversion}.%{_target_cpu}/firmware/WHENCE %endif +%endif %if %{with_bootwrapper} %files bootwrapper @@ -1743,6 +1737,7 @@ fi /etc/ld.so.conf.d/kernel-%{KVERREL}%{?2:.%{2}}.conf\ %endif\ /lib/modules/%{KVERREL}%{?2:.%{2}}/modules.*\ +/lib/firmware/*\ %if %{with_dracut}\ %ghost /boot/initramfs-%{KVERREL}%{?2:.%{2}}.img\ %else\ @@ -1787,6 +1782,77 @@ fi %endif %changelog +* Wed Feb 23 2011 S.Çağlar Onur - linux-2.6-32-12 +- bump to 2.6.32-71.18.1.el6, see https://rhn.redhat.com/errata/RHSA-2011-0283.html + +* Wed Feb 2 2011 Frantisek Hrbata [2.6.32-71.18.1.el6] +- [netdrv] ixgbe: make sure FCoE DDP user buffers are really released by the HW (Frantisek Hrbata) [674002 617193] +- [netdrv] ixgbe: invalidate FCoE DDP context when no error status is available (Frantisek Hrbata) [674002 617193] +- [netdrv] ixgbe: avoid doing FCoE DDP when adapter is DOWN or RESETTING (Frantisek Hrbata) [674002 617193] +- [fcoe] libfc: remove tgt_flags from fc_fcp_pkt struct (Mike Christie) [666797 633915] +- [fcoe] libfc: use rport timeout values for fcp recovery (Frantisek Hrbata) [666797 633915] +- [fcoe] libfc: incorrect scsi host byte codes returned to scsi-ml (Mike Christie) [666797 633915] +- [scsi] scsi_dh_alua: fix overflow in alua_rtpg port group id check (Mike Snitzer) [673978 670572] + +* Wed Feb 02 2011 S.Çağlar Onur - linux-2.6-32-11 +- older modutils do not support --package and --update option + +* Fri Jan 28 2011 Frantisek Hrbata [2.6.32-71.17.1.el6] +- [s390x] kdump: allow zfcpdump to mount and write to ext4 file systems (Amerigo Wang) [661667 628676] +- [scsi] qla2xxx: Properly set the return value in function qla2xxx_eh_abort (Chad Dupuis) [664398 635710] +- [scsi] qla2xxx: Drop srb reference before waiting for completion (Chad Dupuis) [664398 635710] +- [virt] KVM: VMX: Really clear cr0.ts when giving the guest ownership of the fpu (Avi Kivity) [658891 645898] +- [virt] KVM: SVM: Initialize fpu_active in init_vmcb() (Avi Kivity) [658891 645898] +- [virt] KVM: x86: Use unlazy_fpu() for host FPU (Avi Kivity) [658891 645898] +- [virt] KVM: Set cr0.et when the guest writes cr0 (Avi Kivity) [658891 645898] +- [virt] KVM: VMX: Give the guest ownership of cr0.ts when the fpu is active (Avi Kivity) [658891 645898] +- [virt] KVM: Lazify fpu activation and deactivation (Avi Kivity) [658891 645898] +- [virt] KVM: VMX: Allow the guest to own some cr0 bits (Avi Kivity) [658891 645898] +- [virt] KVM: Replace read accesses of vcpu->arch.cr0 by an accessor (Avi Kivity) [658891 645898] +- [virt] KVM: VMX: trace clts and lmsw instructions as cr accesses (Avi Kivity) [658891 645898] + +* Tue Jan 25 2011 S.Çağlar Onur - linux-2.6-32-10 +- disable debug and debuginfo packages for all flavors. Also incorporate kernel-firmware package's content into kernel RPM. + +* Mon Jan 24 2011 Frantisek Hrbata [2.6.32-71.16.1.el6] +- [net] ipsec: fragment locally generated tunnel-mode IPSec6 packets as needed (Herbert Xu) [670421 661113] +- [net] tcp: Increase TCP_MAXSEG socket option minimum to TCP_MIN_MSS (Frantisek Hrbata) [652510 652511] {CVE-2010-4165} +- [perf] perf_events: Fix perf_counter_mmap() hook in mprotect() (Oleg Nesterov) [651672 651673] {CVE-2010-4169} +- [md] dm mpath: revert "dm: Call blk_abort_queue on failed paths" (Mike Snitzer) [658854 636771] +- [x86] UV: Address interrupt/IO port operation conflict (George Beshers) [662921 659480] +- [mm] guard page for stacks that grow upwards (Johannes Weiner) [666796 630562] +- [scsi] enable state transistions from OFFLINE to RUNNING (Mike Christie) [660590 643237] +- [scsi] set queue limits no_cluster for stacked devices (Mike Snitzer) [662050 658293] +- [mm] Out-of-memory under memory cgroup can call both of oom-killer-for-memcg and oom-killer-for-page-fault (Larry Woodman) [661732 592879] +- [scsi] libfc: possible race could panic system due to NULL fsp->cmd (Mike Christie) [662049 638297] +- [kernel] exec: copy-and-paste the fixes into compat_do_execve() paths (Oleg Nesterov) [627811 625695] {CVE-2010-4243} +- [kernel] exec: make argv/envp memory visible to oom-killer (Oleg Nesterov) [627811 625695] {CVE-2010-4243} +- [virt] virtio: console: Send SIGIO in case of port unplug (Amit Shah) [652720 624628] +- [virt] virtio: console: Send SIGIO on new data arrival on ports (Amit Shah) [652720 624628] +- [virt] virtio: console: Send SIGIO to processes that request it for host events (Amit Shah) [652720 624628] +- [virt] virtio: console: Reference counting portdev structs is not needed (Amit Shah) [662721 628805] +- [virt] virtio: console: Add reference counting for port struct (Amit Shah) [662721 628805] +- [virt] virtio: console: Use cdev_alloc() instead of cdev_init() (Amit Shah) [662721 628805] +- [virt] virtio: console: Add a find_port_by_devt() function (Amit Shah) [662721 628805] +- [virt] virtio: console: Add a list of portdevs that are active (Amit Shah) [662721 628805] +- [virt] virtio: console: open: Use a common path for error handling (Amit Shah) [662721 628805] +- [virt] virtio: console: remove_port() should return void (Amit Shah) [662721 628805] +- [virt] virtio: console: Make write() return -ENODEV on hot-unplug (Amit Shah) [662721 628805] +- [virt] virtio: console: Make read() return -ENODEV on hot-unplug (Amit Shah) [662721 628805] +- [virt] virtio: console: Unblock poll on port hot-unplug (Amit Shah) [662721 628805] +- [virt] virtio: console: Un-block reads on chardev close (Amit Shah) [662721 628805] +- [virt] virtio: console: Check if portdev is valid in send_control_msg() (Amit Shah) [662721 628805] +- [virt] virtio: console: Remove control vq data only if using multiport support (Amit Shah) [662721 628805] +- [virt] virtio: console: Reset vdev before removing device (Amit Shah) [662721 628805] +- [fs] Fix nfsv4 client lock reclaim behaviour (Sachin Prabhu) [661730 638269] +- [scsi] scsi_dh_alua: Handle all states correctly (Mike Snitzer) [659610 636994] +- [kernel] execve: improve interactivity and respond to SIGKILL with large arguments (Dave Anderson) [661731 629178] +- [virt] xen: handle events as edge-triggered (Andrew Jones) [661737 550724] +- [virt] xen: use percpu interrupts for IPIs and VIRQs (Andrew Jones) [661737 550724] + +* Sun Jan 23 2011 Frantisek Hrbata [2.6.32-71.15.1.el6] +- [net] bonding: prevent oopsing on calling pskb_may_pull on shared skb (Andy Gospodarek) [671342 665110] + * Wed Jan 12 2011 S.Çağlar Onur - linux-2.6-32-9 - bump to kernel-2.6.32-71.14.1.el6, see https://rhn.redhat.com/errata/RHSA-2011-0007.html for details