bump to 2.6.27.56 and remove linux-2.6-920-cstate.patch as it's irrevelant
[linux-2.6.git] / kernel-2.6.spec
1 #
2 # $Id$
3 #
4 %define url $URL$
5
6 Summary: The Linux kernel (the core of the Linux operating system)
7
8 # What parts do we want to build?  We must build at least one kernel.
9 # These are the kernels that are built IF the architecture allows it.
10
11 %define buildup 1
12 %define builduml 0
13 %define buildxen 0
14 %define builddoc 0
15 %define headers 1
16
17 %{!?pldistro:%global pldistro planetlab}
18
19 # default is to search the config file after pldistro
20 # e.g. set
21 # kernel-SPECVARS := kernelconfig=planetlab
22 # to use the planetlab config from another pldistro 
23 # without having to manage symlinks
24 %{!?kernelconfig:%global kernelconfig %{pldistro}}
25
26 # Versions of various parts
27
28 # for module-tag.py - sublevel is used for the version (middle) part of tag names
29 %define name linux-2.6
30 %define module_version_varname sublevel
31 %define taglevel 30
32
33 #
34 # Polite request for people who spin their own kernel rpms:
35 # please modify the "release" field in a way that identifies
36 # that the kernel isn't the stock distribution kernel, for example by
37 # adding some text to the end of the version number.
38 #
39 %define sublevel 27
40 %define patchlevel 56
41 %define kversion 2.6.%{sublevel}
42 %define rpmversion 2.6.%{sublevel}%{?patchlevel:.%{patchlevel}}
43
44 %define vsversion 2.3.0.36.4
45
46 # Will go away when VServer supports NetNS in mainline. Currently, it must be 
47 # updated every time the PL kernel is updated.
48 %define vini_pl_patch 561
49
50 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
51
52 %define signmodules 0
53 %define make_target bzImage
54 #%if "%{distro}" == "Fedora" && %{distrorelease} >= 13
55 #%define KVERREL %{version}-%{release}
56 #%else
57 %define KVERREL %{PACKAGE_VERSION}-%{PACKAGE_RELEASE}
58 #%endif
59
60 # Override generic defaults with per-arch defaults
61
62 %define image_install_path boot
63
64 #
65 # Three sets of minimum package version requirements in the form of Conflicts:
66 # to versions below the minimum
67 #
68
69 #
70 # First the general kernel 2.6 required versions as per
71 # Documentation/Changes
72 #
73 %define kernel_dot_org_conflicts  ppp <= 2.3.15, pcmcia-cs <= 3.1.20, isdn4k-utils <= 3.0, mount < 2.10r-5, nfs-utils < 1.0.3, e2fsprogs < 1.29, util-linux < 2.10, jfsutils < 1.0.14, reiserfsprogs < 3.6.3, xfsprogs < 2.1.0, procps < 2.0.9, oprofile < 0.5.3
74
75
76 # Then a series of requirements that are distribution specific, either 
77 # because we add patches for something, or the older versions have 
78 # problems with the newer kernel or lack certain things that make 
79 # integration in the distro harder than needed.
80 #
81 %define package_conflicts  cipe < 1.4.5, kudzu <= 0.92, initscripts < 7.23, dev < 3.2-7, iptables < 1.2.5-3, bcm5820 < 1.81, nvidia-rh72 <= 1.0 selinux-policy-targeted < 1.23.16-1
82
83 #
84 # Several packages had bugs in them that became obvious when the NPTL
85 # threading code got integrated.
86 #
87 %define nptl_conflicts SysVinit < 2.84-13, pam < 0.75-48, vixie-cron < 3.0.1-73, privoxy < 3.0.0-8, spamassassin < 2.44-4.8.x,  cups < 1.1.17-13
88
89 #
90 # The ld.so.conf.d file we install uses syntax older ldconfig's don't grok.
91 #
92
93 # MEF commented out
94 #define xen_conflicts glibc < 2.3.5-1
95
96 #
97 # Packages that need to be installed before the kernel is, because the %post
98 # scripts use them.
99 #
100 %define kernel_prereq  fileutils, module-init-tools, initscripts >= 5.83, mkinitrd >= 3.5.5
101
102 Vendor: PlanetLab
103 Packager: PlanetLab Central <support@planet-lab.org>
104 Distribution: PlanetLab %{plrelease}
105 URL: %(echo %{url} | cut -d ' ' -f 2)
106
107 Name: kernel
108 Group: System Environment/Kernel
109 License: GPLv2
110 Version: %{rpmversion}
111 Release: %{release}
112 ExclusiveOS: Linux
113
114 %if "%{distro}" == "Fedora" && %{distrorelease} >= 12
115 # this is a big and dirty work around for plymouth's dependencies on
116 # Fedora 12. we don't even need plymouth on nodes.
117 Provides: kernel = 2.6.29.1
118 %else
119 Provides: kernel = %{version}
120 %endif
121
122 Provides: kernel = %{version}
123 Provides: kernel-drm = 4.3.0
124 Provides: kernel-%{_target_cpu} = %{rpmversion}-%{release}
125 Provides: kernel-smp = %{rpmversion}-%{release}
126 Provides: kernel-smp-%{_target_cpu} = %{rpmversion}-%{release}
127 Prereq: %{kernel_prereq}
128 Conflicts: %{kernel_dot_org_conflicts}
129 Conflicts: %{package_conflicts}
130 Conflicts: %{nptl_conflicts}
131 # We can't let RPM do the dependencies automatic because it'll then pick up
132 # a correct but undesirable perl dependency from the module headers which
133 # isn't required for the kernel proper to function
134 AutoReqProv: no
135
136 #
137 # List the packages used during the kernel build
138 #
139 BuildPreReq: module-init-tools, patch >= 2.5.4, bash >= 2.03, sh-utils, tar
140 BuildPreReq: bzip2, findutils, gzip, m4, perl, make >= 3.78, gnupg, diffutils
141 BuildRequires: gcc >= 3.3.3, binutils >= 2.12, redhat-rpm-config
142 BuildConflicts: rhbuildsys(DiskFree) < 500Mb
143
144
145 Source0: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-%{kversion}.tar.bz2
146
147 Source11: %{kernelconfig}-%{kversion}-i686.config
148 Source12: %{kernelconfig}-%{kversion}-x86_64.config
149 %if %{builduml}
150 Source20: %{kernelconfig}-%{kversion}-i686-uml.config
151 %endif
152 %if %{buildxen}
153 Source30: %{kernelconfig}-%{kversion}-i686-xenU.config
154 %endif
155
156 # Mainline patches
157 %if "0%{patchlevel}"
158 Patch000: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-%{rpmversion}.bz2
159 %endif
160
161 Patch010: linux-2.6-010-e1000e-ich10lan.patch
162 Patch017: linux-2.6-017-bnx2.patch
163
164 Patch100: linux-2.6-100-build-nonintconfig.patch
165
166 # Linux-VServer
167 Patch200: patch-%{rpmversion}-vs%{vsversion}.diff
168 Patch220: delta-ptrace-fix01.diff
169 Patch230: delta-pivot-fix01.diff
170 Patch240: delta-killperm-fix01.diff
171 Patch241: delta-vx_rss_avail.patch
172
173 # IP sets
174 Patch250: linux-2.6-250-ipsets.patch
175
176 # PlanetLab
177 Patch500: linux-2.6-500-vserver-filesharing.patch
178 Patch510: linux-2.6-510-ipod.patch
179 Patch521: linux-2.6-521-packet-tagging.patch
180 Patch522: linux-2.6-522-iptables-connection-tagging.patch
181 Patch523: linux-2.6-523-raw-sockets.patch
182 Patch524: linux-2.6-524-peercred.patch
183 Patch525: linux-2.6-525-sknid-elevator.patch
184 Patch527: linux-2.6-527-iptables-classify-add-mark.patch
185 Patch530: linux-2.6-530-built-by-support.patch
186 Patch540: linux-2.6-540-oom-kill.patch
187 Patch550: linux-2.6-550-raise-default-nfile-ulimit.patch
188 Patch560: linux-2.6-560-mmconf.patch
189 Patch570: linux-2.6-570-tagxid.patch
190 Patch580: linux-2.6-580-show-proc-virt.patch
191 Patch590: linux-2.6-590-dcookies-mm.patch
192 Patch591: linux-2.6-591-chopstix-intern.patch
193 Patch640: linux-2.6-640-netlink-audit-hack.patch
194 Patch650: linux-2.6-650-hangcheck-reboot.patch
195 Patch660: linux-2.6-660-nmi-watchdog-default.patch
196 Patch680: linux-2.6-680-htb-hysteresis-tso.patch
197 # Patch690: linux-2.6-690-web100.patch
198 Patch700: linux-2.6-700-egre.patch
199 Patch710: linux-2.6-710-avoid-64bits-addr-pcmcia.patch
200
201 # Ext4
202 Patch800: linux-2.6-800-rename-ext4dev-to-ext4.patch
203
204 #Patch900: linux-2.6-900-ext3_mount_default_to_barrier.patch
205 #Patch910: linux-2.6-910-support_barriers_on_single_device_dm_devices.patch
206
207 BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
208
209 %description
210 The kernel package contains the Linux kernel (vmlinuz), the core of any
211 Linux operating system.  The kernel handles the basic functions
212 of the operating system:  memory allocation, process allocation, device
213 input and output, etc.
214 Configured with kernelconfig=%{kernelconfig}
215
216 %package devel
217 Summary: Development package for building kernel modules to match the kernel.
218 Group: System Environment/Kernel
219 AutoReqProv: no
220 Provides: kernel-devel-%{_target_cpu} = %{rpmversion}-%{release}
221 Provides: kernel-smp-devel = %{rpmversion}-%{release}
222 Provides: kernel-smp-devel-%{_target_cpu} = %{rpmversion}-%{release}
223 Prereq: /usr/bin/find
224
225 %description devel
226 This package provides kernel headers and makefiles sufficient to build modules
227 against the kernel package.
228
229
230 %package doc
231 Summary: Various documentation bits found in the kernel source.
232 Group: Documentation
233
234 %description doc
235 This package contains documentation files from the kernel
236 source. Various bits of information about the Linux kernel and the
237 device drivers shipped with it are documented in these files.
238
239 You'll want to install this package if you need a reference to the
240 options that can be passed to Linux kernel modules at load time.
241
242 %package xenU
243 Summary: The Linux kernel compiled for unprivileged Xen guest VMs
244
245 Group: System Environment/Kernel
246 Provides: kernel = %{version}
247 Provides: kernel-%{_target_cpu} = %{rpmversion}-%{release}xenU
248 Prereq: %{kernel_prereq}
249 Conflicts: %{kernel_dot_org_conflicts}
250 Conflicts: %{package_conflicts}
251 Conflicts: %{nptl_conflicts}
252
253 # MEF commented out 
254 # Conflicts: %{xen_conflicts}
255
256 # We can't let RPM do the dependencies automatic because it'll then pick up
257 # a correct but undesirable perl dependency from the module headers which
258 # isn't required for the kernel proper to function
259 AutoReqProv: no
260
261 %description xenU
262 This package includes a version of the Linux kernel which
263 runs in Xen unprivileged guest VMs.  This should be installed
264 both inside the unprivileged guest (for the modules) and in
265 the guest0 domain.
266
267 %package xenU-devel
268 Summary: Development package for building kernel modules to match the kernel.
269 Group: System Environment/Kernel
270 AutoReqProv: no
271 Provides: kernel-xenU-devel-%{_target_cpu} = %{rpmversion}-%{release}
272 Provides: kernel-devel-%{_target_cpu} = %{rpmversion}-%{release}xenU
273 Provides: kernel-devel = %{rpmversion}-%{release}xenU
274 Prereq: /usr/sbin/hardlink, /usr/bin/find
275
276 %description xenU-devel
277 This package provides kernel headers and makefiles sufficient to build modules
278 against the kernel package.
279
280 %package uml
281 Summary: The Linux kernel compiled for use in user mode (User Mode Linux).
282
283 Group: System Environment/Kernel
284
285 %description uml
286 This package includes a user mode version of the Linux kernel.
287
288 %package uml-devel
289 Summary: Development package for building kernel modules to match the UML kernel.
290 Group: System Environment/Kernel
291 Provides: kernel-uml-devel-%{_target_cpu} = %{rpmversion}-%{release}
292 Provides: kernel-devel-%{_target_cpu} = %{rpmversion}-%{release}smp
293 Provides: kernel-devel = %{rpmversion}-%{release}smp
294 AutoReqProv: no
295 Prereq: /usr/sbin/hardlink, /usr/bin/find
296
297 %description uml-devel
298 This package provides kernel headers and makefiles sufficient to build modules
299 against the User Mode Linux kernel package.
300
301 %package uml-modules
302 Summary: The Linux kernel modules compiled for use in user mode (User Mode Linux).
303
304 Group: System Environment/Kernel
305
306 %description uml-modules
307 This package includes a user mode version of the Linux kernel modules.
308
309 %package vserver
310 Summary: A placeholder RPM that provides kernel and kernel-drm
311
312 Group: System Environment/Kernel
313 Provides: kernel = %{version}
314 Provides: kernel-drm = 4.3.0
315 Provides: kernel-%{_target_cpu} = %{rpmversion}-%{release}
316
317 %description vserver
318 VServers do not require and cannot use kernels, but some RPMs have
319 implicit or explicit dependencies on the "kernel" package
320 (e.g. tcpdump). This package installs no files but provides the
321 necessary dependencies to make rpm and yum happy.
322
323 %package headers
324 Summary: Kernel header
325 Group: System Environment/Kernel
326
327 %description headers
328 This package contains the sanitized kernel headers.
329
330 %prep
331 # First we unpack the kernel tarball.
332 # If this isn't the first make prep, we use links to the existing clean tarball
333 # which speeds things up quite a bit.
334 if [ ! -d kernel-%{kversion}/vanilla ]; then
335   # Ok, first time we do a make prep.
336   rm -f pax_global_header
337 %setup -q -n %{name}-%{kversion} -c
338   mv linux-%{kversion} vanilla
339 else
340   # We already have a vanilla dir.
341   cd kernel-%{kversion}
342 fi
343
344 KERNEL_PREVIOUS=vanilla
345 # Dark RPM-magic to apply each patch to a hardlinked copy of the tree.
346 %define ApplyPatch() \
347   rm -fr linux-%{kversion}-%1                           \
348   cp -al $KERNEL_PREVIOUS linux-%{kversion}-%1          \
349   patchflag=-p1                                         \
350   test "%2" != "%%2" && patchflag="%2"                  \
351   PATCH="%{expand:%{PATCH%1}}"                          \
352   if test ! -e "$PATCH"; then                           \
353     echo "Patch %1 does not exist!"                     \
354     exit 1                                              \
355   fi                                                    \
356   case "$PATCH" in                                      \
357     *.bz2)  bzcat "$PATCH";;                            \
358     *.gz)   zcat "$PATCH";;                             \
359     *)      cat "$PATCH";;                              \
360   esac | patch -F1 -s -d linux-%{kversion}-%1 $patchflag \
361   KERNEL_PREVIOUS=linux-%{kversion}-%1
362
363 # This is where the patches get applied
364 %if 0%{?patchlevel}
365 %ApplyPatch 0
366 %endif
367
368 %ApplyPatch 10
369 %ApplyPatch 17
370
371 %ApplyPatch 100
372
373 # vserver patch
374 %ApplyPatch 200
375 %ApplyPatch 220
376 %ApplyPatch 230
377 %ApplyPatch 240
378 %ApplyPatch 241
379
380 %ApplyPatch 250
381
382 %ApplyPatch 500
383 %ApplyPatch 510
384
385 # VNET+ series
386 %ApplyPatch 521
387 %ApplyPatch 522
388 %ApplyPatch 523
389 %ApplyPatch 524
390 %ApplyPatch 525
391 %ApplyPatch 527
392
393 %ApplyPatch 530
394 %ApplyPatch 540
395 %ApplyPatch 550
396 %ApplyPatch 560
397 %ApplyPatch 570
398 %ApplyPatch 580
399 %ApplyPatch 590
400 %ApplyPatch 591
401 %ApplyPatch 640
402 %ApplyPatch 650
403 %ApplyPatch 660
404 %ApplyPatch 680
405 %ApplyPatch 700
406 %ApplyPatch 710
407
408 %ApplyPatch 800
409
410 %if 0
411 %ApplyPatch 900
412 %ApplyPatch 910
413 %endif
414
415 # NetNS conflict-resolving patch for VINI. Will work with patch vini_pl_patch-1 but may
416 # break with later patches.
417
418 %if 0%{?with_netns}
419 %ApplyPatch %vini_pl_patch
420 %endif
421
422 rm -fr linux-%{kversion}
423 ln -sf $KERNEL_PREVIOUS linux-%{kversion}
424 cd linux-%{kversion}
425
426
427 # make sure the kernel has the sublevel we know it has. This looks weird
428 # but for -pre and -rc versions we need it since we only want to use
429 # the higher version when the final kernel is released.
430 perl -p -i -e "s/^SUBLEVEL.*/SUBLEVEL = %{sublevel}/" Makefile
431 perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -prep/" Makefile
432
433 # get rid of unwanted files resulting from patch fuzz
434 find . \( -name "*.orig" -o -name "*~" \) -exec rm -f {} \; >/dev/null
435
436
437 ###
438 ### build
439 ###
440 %build
441
442 BuildKernel() {
443     MakeTarget=$1
444     Arch=$2
445     Flavour=$3
446
447     rm -rf linux-%{_target_cpu}-%{kversion}$Flavour
448     cp -rl linux-%{kversion}/ linux-%{_target_cpu}-%{kversion}$Flavour
449     cd linux-%{_target_cpu}-%{kversion}$Flavour
450
451     # Pick the right config file for the kernel we're building
452     if [ -n "$Flavour" ] ; then
453       Config=%{kernelconfig}-%{kversion}-%{_target_cpu}-$Flavour.config
454       DevelDir=/usr/src/kernels/%{KVERREL}-$Flavour-%{_target_cpu}
455       DevelLink=/usr/src/kernels/%{KVERREL}$Flavour-%{_target_cpu}
456     else
457       Config=%{kernelconfig}-%{kversion}-%{_target_cpu}.config
458       DevelDir=/usr/src/kernels/%{KVERREL}-%{_target_cpu}
459       DevelLink=
460     fi
461
462     KernelVer=%{version}-%{release}$Flavour
463     echo BUILDING A KERNEL FOR $Flavour %{_target_cpu}...
464
465     # make sure EXTRAVERSION says what we want it to say
466     perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = %{?patchlevel:.%{patchlevel}}-%{release}$Flavour/" Makefile
467
468     # and now to start the build process
469
470     make -s mrproper
471     cp %{_sourcedir}/$Config .config
472
473     #Arch=`head -1 .config | cut -b 3-`
474     echo USING ARCH=$Arch
475
476     make -s ARCH=$Arch nonint_oldconfig < /dev/null > /dev/null
477     make -s ARCH=$Arch %{?_smp_mflags} $MakeTarget
478     make -s ARCH=$Arch %{?_smp_mflags} modules || exit 1
479 %if %{headers}
480     make -s ARCH=$Arch INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr
481     find $RPM_BUILD_ROOT/%{_includedir} -name \*.cmd -delete
482     rm -f $RPM_BUILD_ROOT/%{_includedir}/{..,.}{check,install}*
483 %endif
484
485     # Start installing the results
486
487 %if "%{_enable_debug_packages}" == "1"
488     mkdir -p $RPM_BUILD_ROOT/usr/lib/debug/boot
489 %endif
490     mkdir -p $RPM_BUILD_ROOT/%{image_install_path}
491     install -m 644 .config $RPM_BUILD_ROOT/boot/config-$KernelVer
492     install -m 644 System.map $RPM_BUILD_ROOT/boot/System.map-$KernelVer
493     if [ -f arch/$Arch/boot/bzImage ]; then
494       cp arch/$Arch/boot/bzImage $RPM_BUILD_ROOT/%{image_install_path}/vmlinuz-$KernelVer
495     fi
496     if [ -f arch/$Arch/boot/zImage.stub ]; then
497       cp arch/$Arch/boot/zImage.stub $RPM_BUILD_ROOT/%{image_install_path}/zImage.stub-$KernelVer || :
498     fi
499     if [ "$Flavour" = "uml" ] ; then
500         install -D -m 755 linux $RPM_BUILD_ROOT/%{_bindir}/linux
501     fi
502
503     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer
504     make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT modules_install KERNELRELEASE=$KernelVer
505
506     # And save the headers/makefiles etc for building modules against
507     #
508     # This all looks scary, but the end result is supposed to be:
509     # * all arch relevant include/ files
510     # * all Makefile/Kconfig files
511     # * all script/ files
512
513     rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
514     rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/source
515     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
516     (cd $RPM_BUILD_ROOT/lib/modules/$KernelVer ; ln -s build source)
517     # dirs for additional modules per module-init-tools, kbuild/modules.txt
518     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/extra
519     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/updates
520     # first copy everything
521     cp --parents `find  -type f -name "Makefile*" -o -name "Kconfig*"` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build 
522         cp Module.symvers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
523     if [ "$Flavour" = "uml" ] ; then
524       cp --parents -a `find arch/um -name include` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
525     fi
526     # then drop all but the needed Makefiles/Kconfig files
527     rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Documentation
528     rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts
529     rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
530     cp arch/%{_arch}/kernel/asm-offsets.s $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch}/kernel || :
531     cp .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
532     cp -a scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
533     if [ -d arch/%{_arch}/scripts ]; then
534       cp -a arch/%{_arch}/scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch} || :
535     fi
536     if [ -f arch/%{_arch}/*lds ]; then
537       cp -a arch/%{_arch}/*lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch}/ || :
538     fi
539     rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*.o
540     rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*/*.o
541     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
542     cd include
543     cp -a acpi config keys linux math-emu media mtd net pcmcia rdma rxrpc scsi sound video asm asm-generic $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
544     cp -a `readlink asm` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
545     if [ "$Arch" = "x86_64" ]; then
546       cp -a asm-x86 $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
547     fi
548 %if %{buildxen}
549     if [ "$Flavour" = "xenU" ]; then
550       cp -a xen $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
551       cp -a asm-x86 $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
552     fi
553 %endif
554 %if %{builduml}
555     if [ "$Flavour" = "uml" ] ; then
556       cp -a `readlink -f asm/arch` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
557     fi
558 %endif
559     # While arch/powerpc/include/asm is still a symlink to the old
560     # include/asm-ppc{64,} directory, include that in kernel-devel too.
561     if [ "$Arch" = "powerpc" -a -r ../arch/powerpc/include/asm ]; then
562       cp -a `readlink ../arch/powerpc/include/asm` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
563       mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/$Arch/include
564       pushd $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/$Arch/include
565       ln -sf ../../../include/asm-ppc* asm
566       popd
567     fi
568
569     # Make sure the Makefile and version.h have a matching timestamp so that
570     # external modules can be built
571     touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Makefile $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/version.h
572     touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/autoconf.h
573     cd ..
574
575     #
576     # save the vmlinux file for kernel debugging into the kernel-debuginfo rpm
577     #
578 %if "%{_enable_debug_packages}" == "1"
579     mkdir -p $RPM_BUILD_ROOT/usr/lib/debug/lib/modules/$KernelVer
580     cp vmlinux $RPM_BUILD_ROOT/usr/lib/debug/lib/modules/$KernelVer
581 %endif
582 %if %{buildxen}
583     if [ -f vmlinuz ]; then
584       cp vmlinuz $RPM_BUILD_ROOT/%{image_install_path}/vmlinuz-$KernelVer
585     fi
586 %endif
587
588     find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name "*.ko" -type f >modnames
589
590     # mark modules executable so that strip-to-file can strip them
591     cat modnames | xargs chmod u+x
592
593     # remove files that will be auto generated by depmod at rpm -i time
594     rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.*
595
596     # Move the devel headers out of the root file system
597     mkdir -p $RPM_BUILD_ROOT/usr/src/kernels
598     mv $RPM_BUILD_ROOT/lib/modules/$KernelVer/build $RPM_BUILD_ROOT/$DevelDir
599     ln -sf ../../..$DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
600     [ -z "$DevelLink" ] || ln -sf `basename $DevelDir` $RPM_BUILD_ROOT/$DevelLink
601 }
602
603 ###
604 # DO it...
605 ###
606
607 # prepare directories
608 rm -rf $RPM_BUILD_ROOT
609 mkdir -p $RPM_BUILD_ROOT/boot
610
611 %if "%{_target_cpu}" == "x86_64"
612 %define kernel_arch %{_target_cpu}
613 %endif
614 %if "%{_target_cpu}" == "i586"
615 %define kernel_arch i386
616 %endif
617 %if "%{_target_cpu}" == "i686"
618 %define kernel_arch i386
619 %endif
620
621 %if %{buildup}
622 BuildKernel %make_target %kernel_arch
623 %endif
624
625 %ifarch i686
626 %if %{builduml}
627 BuildKernel linux um uml
628 %endif
629
630 %if %{buildxen}
631 BuildKernel vmlinuz %kernel_arch xenU
632 %endif
633 %endif
634
635 ###
636 ### install
637 ###
638
639 %install
640
641 cd vanilla
642
643 %if %{buildxen} && "%{_target_cpu}" == "i686"
644 mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
645 rm -f $RPM_BUILD_ROOT/etc/ld.so.conf.d/kernelcap-%{KVERREL}.conf
646 cat > $RPM_BUILD_ROOT/etc/ld.so.conf.d/kernelcap-%{KVERREL}.conf <<\EOF
647 # This directive teaches ldconfig to search in nosegneg subdirectories
648 # and cache the DSOs there with extra bit 0 set in their hwcap match
649 # fields.  In Xen guest kernels, the vDSO tells the dynamic linker to
650 # search in nosegneg subdirectories and to match this extra hwcap bit
651 # in the ld.so.cache file.
652 hwcap 0 nosegneg
653 EOF
654 chmod 444 $RPM_BUILD_ROOT/etc/ld.so.conf.d/kernelcap-%{KVERREL}.conf
655 %endif
656
657 %if %{builddoc}
658 mkdir -p $RPM_BUILD_ROOT/usr/share/doc/kernel-doc-%{kversion}/Documentation
659
660 # sometimes non-world-readable files sneak into the kernel source tree
661 chmod -R a+r *
662 # copy the source over
663 tar cf - Documentation | tar xf - -C $RPM_BUILD_ROOT/usr/share/doc/kernel-doc-%{kversion}
664 %endif
665
666 ###
667 ### clean
668 ###
669
670 %clean
671 rm -rf $RPM_BUILD_ROOT
672
673 ###
674 ### scripts
675 ###
676
677 # load the loop module for upgrades...in case the old modules get removed we have
678 # loopback in the kernel so that mkinitrd will work.
679 %pre
680 /sbin/modprobe loop 2> /dev/null > /dev/null  || :
681 exit 0
682
683 %post
684 if [ -f /etc/sysconfig/kernel ]; then
685   /bin/sed -i -e 's/^DEFAULTKERNEL=kernel-smp$/DEFAULTKERNEL=kernel/' /etc/sysconfig/kernel
686 fi
687
688 # trick mkinitrd in case the current environment does not have device mapper
689 rootdev=$(awk '/^[ \t]*[^#]/ { if ($2 == "/") { print $1; }}' /etc/fstab)
690 if echo $rootdev |grep -q /dev/mapper 2>/dev/null ; then
691     if [ ! -f $rootdev ]; then
692         fake_root_lvm=1
693         mkdir -p $(dirname $rootdev)
694         touch $rootdev
695     fi
696 fi
697
698 [ ! -x /usr/sbin/module_upgrade ] || /usr/sbin/module_upgrade %{rpmversion}-%{release}
699 #/sbin/new-kernel-pkg --package kernel --mkinitrd --depmod --install %{KVERREL}
700 # Older modutils do not support --package option
701 /sbin/new-kernel-pkg --mkinitrd --depmod --install %{KVERREL}
702
703 # remove fake handle
704 if [ -n "$fake_root_lvm" ]; then
705     rm -f $rootdev
706 fi
707
708 # make some useful links
709 pushd /boot > /dev/null ; {
710         ln -sf config-%{KVERREL} config
711         ln -sf config-%{KVERREL} configsmp
712         ln -sf initrd-%{KVERREL}.img initrd-boot
713         ln -sf initrd-%{KVERREL}.img initrd-bootsmp
714         ln -sf vmlinuz-%{KVERREL} kernel-boot
715         ln -sf vmlinuz-%{KVERREL} kernel-bootsmp
716 }
717 popd > /dev/null
718
719 # ask for a reboot
720 mkdir -p /etc/planetlab
721 touch /etc/planetlab/update-reboot
722
723 %post devel
724 [ -f /etc/sysconfig/kernel ] && . /etc/sysconfig/kernel
725 if [ "$HARDLINK" != "no" -a -x /usr/sbin/hardlink ] ; then
726   pushd /usr/src/kernels/%{KVERREL}-%{_target_cpu} > /dev/null
727   /usr/bin/find . -type f | while read f; do hardlink -c /usr/src/kernels/*FC*/$f $f ; done
728   popd > /dev/null
729 fi
730
731 %post xenU
732 [ ! -x /usr/sbin/module_upgrade ] || /usr/sbin/module_upgrade
733 [ ! -x /sbin/ldconfig ] || /sbin/ldconfig -X
734
735 %post xenU-devel
736 [ -f /etc/sysconfig/kernel ] && . /etc/sysconfig/kernel
737 if [ "$HARDLINK" != "no" -a -x /usr/sbin/hardlink ] ; then
738   pushd /usr/src/kernels/%{KVERREL}-xenU-%{_target_cpu} > /dev/null
739   /usr/bin/find . -type f | while read f; do hardlink -c /usr/src/kernels/*FC*/$f $f ; done
740   popd > /dev/null
741 fi
742
743 %post uml-modules
744 depmod -ae %{KVERREL}uml
745
746 %preun
747 /sbin/modprobe loop 2> /dev/null > /dev/null  || :
748 /sbin/new-kernel-pkg --rminitrd --rmmoddep --remove %{KVERREL}
749
750 %preun xenU
751 /sbin/modprobe loop 2> /dev/null > /dev/null  || :
752 /sbin/new-kernel-pkg --rmmoddep --remove %{KVERREL}xenU
753
754 %preun uml-modules
755 rm -f /lib/modules/%{KVERREL}uml/modules.*
756
757
758 ###
759 ### file lists
760 ###
761
762 %if %{buildup}
763 %files 
764 %defattr(-,root,root)
765 /%{image_install_path}/vmlinuz-%{KVERREL}
766 /boot/System.map-%{KVERREL}
767 /boot/config-%{KVERREL}
768 %dir /lib/modules/%{KVERREL}
769 /lib/modules/%{KVERREL}/kernel
770 /lib/modules/%{KVERREL}/build
771 /lib/modules/%{KVERREL}/source
772 /lib/modules/%{KVERREL}/extra
773 /lib/modules/%{KVERREL}/updates
774
775 %files devel
776 %defattr(-,root,root)
777 %verify(not mtime) /usr/src/kernels/%{KVERREL}-%{_target_cpu}
778 %endif
779
780 %if %{builduml} && "%{_target_cpu}" == "i686"
781 %files uml
782 %defattr(-,root,root)
783 %{_bindir}/linux
784
785 %files uml-devel
786 %defattr(-,root,root)
787 %verify(not mtime) /usr/src/kernels/%{KVERREL}-uml-%{_target_cpu}
788 /usr/src/kernels/%{KVERREL}uml-%{_target_cpu}
789
790 %files uml-modules
791 %defattr(-,root,root)
792 /boot/System.map-%{KVERREL}uml
793 /boot/config-%{KVERREL}uml
794 %dir /lib/modules/%{KVERREL}uml
795 /lib/modules/%{KVERREL}uml/kernel
796 /lib/modules/%{KVERREL}uml/build
797 /lib/modules/%{KVERREL}uml/source
798 /lib/modules/%{KVERREL}uml/extra
799 /lib/modules/%{KVERREL}uml/updates
800 %endif
801
802 %if %{buildxen} && "%{_target_cpu}" == "i686"
803 %files xenU
804 %defattr(-,root,root)
805 /%{image_install_path}/vmlinuz-%{KVERREL}xenU
806 /boot/System.map-%{KVERREL}xenU
807 /boot/config-%{KVERREL}xenU
808 %dir /lib/modules/%{KVERREL}xenU
809 /lib/modules/%{KVERREL}xenU/kernel
810 /lib/modules/%{KVERREL}xenU/build
811 /lib/modules/%{KVERREL}xenU/source
812 /lib/modules/%{KVERREL}xenU/extra
813 /lib/modules/%{KVERREL}xenU/updates
814 /etc/ld.so.conf.d/kernelcap-%{KVERREL}.conf
815
816 %files xenU-devel
817 %defattr(-,root,root)
818 %verify(not mtime) /usr/src/kernels/%{KVERREL}-xenU-%{_target_cpu}
819 /usr/src/kernels/%{KVERREL}xenU-%{_target_cpu}
820 %endif
821
822 %files vserver
823 %defattr(-,root,root)
824 # no files
825
826 # only some architecture builds need kernel-doc
827
828 %if %{builddoc}
829 %files doc
830 %defattr(-,root,root)
831 %{_datadir}/doc/kernel-doc-%{kversion}/Documentation/*
832 %dir %{_datadir}/doc/kernel-doc-%{kversion}/Documentation
833 %dir %{_datadir}/doc/kernel-doc-%{kversion}
834 %endif
835
836 %if %{headers}
837 %files headers
838 %defattr(-,root,root)
839 %dir %{_includedir}
840 %{_includedir}/*
841 %endif
842
843 %changelog
844 * Thu Nov 18 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-30
845 - Boot on Dell R410
846 - Enable some config options
847
848 * Fri Oct 29 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-29
849 - bump to 2.6.27.55
850
851 * Tue Oct 05 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-28
852 - bump to 2.6.27.54
853
854 * Fri Sep 24 2010 Baris Metin <Talip-Baris.Metin@sophia.inria.fr> - linux-2.6-27-27
855 - f12 workaround
856
857 * Sun Aug 29 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-26
858 - the check_stack_guard_page() has, under certain circumstances, side-effects which can not easily be undone in case the vx_rss_avail() fails
859
860 * Fri Aug 27 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-25
861 - Bump to 2.6.27.53
862
863 * Fri Aug 20 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-24
864 - Bump to 2.6.27.52
865
866 * Wed Aug 18 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-23
867 - Pick d7824370e26325c881b665350ce64fb0a4fde24a and 11ac552477e32835cb6970bf0a70c210807f5673 from Linus's tree
868
869 * Sun Aug 15 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-22
870 - Test 52-rc2
871
872 * Fri Aug 13 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-21
873 - Bump to 2.6.27.51 and include 2.6.27.51-rc1 patchset to test
874
875 * Wed Aug 11 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-20
876 - Fix wrong hash
877
878 * Tue Aug 10 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-19
879 - bump to 2.6.27.50
880
881 * Mon Aug 02 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-18
882 - bump to 2.6.27.49
883
884 * Wed Jul 14 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-17
885 - Enable CONFIG_CGROUP_SCHED instead of CONFIG_USER_SCHED for 64bit kernels
886
887 * Fri Jul 09 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-16
888 - support other Broadcom NetXtreme II BCM 5709 dual GbE variants
889
890 * Mon Jul 05 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-15
891 - Bump to 2.6.27.48
892
893 * Tue Jun 15 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-14
894 - fix softlock problems that causes kernel panics
895
896 * Thu May 27 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-13
897 - Bump to 2.6.27.47
898
899 * Wed May 05 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-12
900 - support 82567LM-3 Gigabit Network devices
901
902 * Wed May 05 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-11
903 - Drop VServer version string from package name otherwise RPM refuses to upgrade to newer tagged version saying that 0.36.8.9 > 0.36.4.10
904
905 * Tue May 04 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-10
906 - Revert to vs2.3.0.36.4
907
908 * Tue Apr 27 2010 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - linux-2.6-27-9
909 - config for wextoolbox OK
910 - upgrade to patch-2.6.27.46-vs2.3.0.36.8
911 - turn off delta-pivot-fix01.diff (which was tweaked btw)
912
913 * Wed Apr 07 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-8
914 - chopstix fixes & cleanups
915
916 * Fri Apr 02 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-7
917 - Update to 2.6.27.46
918
919 * Mon Feb 15 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-6
920 - support Ext4 in order to boot f12
921 - fix "vcontext: pivot_root(): Invalid argument errors" while creating a guest with f12
922
923 * Mon Feb 15 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-5
924 - Update to 2.6.27.45
925
926 * Mon Feb 15 2010 S.Çağlar Onur <caglar@cs.princeton.edu> - linux-2.6-27-4
927 - Tagging trunk
928
929 * Tue May 12 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - linux-2.6-27-3
930 - new tuntap patch available but not enabled
931 - mac80211 and iwlwifi are now mainstream, no ext. sources anymore
932 - new egre patch
933 - various changes in the config about netns and scheduler ...
934 - gnuradio gets a specific config
935 - enable patch about 64bits adresses and cardbus
936
937 * Tue Mar 24 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - linux-2.6-27-2
938 - cleaned up obsolete (2.6.22) configs
939 - added gnuradio config links
940 - fix for building headers package (remove .cmd files)
941
942 * Tue Mar 10 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - linux-2.6-27-1
943 - untested feature-complete version, but for the scheduler that is still missing
944
945 * Thu Jan 08 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - linux-2.6-22-32
946 - support building on fedora 10
947
948 * Tue Dec 02 2008 Daniel Hokka Zakrisson <daniel@hozac.com> - linux-2.6-22-31
949 - add patches for m-lab and drl
950
951 * Tue Nov 11 2008 Daniel Hokka Zakrisson <daniel@hozac.com> - linux-2.6-22-30
952 - Use Intel's e1000e driver.
953
954 * Thu Oct 02 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - linux-2.6-22-29
955 - added drivers for OPTION's globetrotter (gt 3g+ emea) umts cards
956 - + cleanup outdated configs
957
958 * Wed Sep 17 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - linux-2.6-22-28
959 - Recovering a hunk that I accidentally ommited out of the last commit. Should not entail retesting, because the commits
960 - were unrelated.
961
962 * Sun Sep 14 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - linux-2.6-22-27
963 - Fixing the accounting issue that causes certain connections to be misaccounted, and that causes NM/peercreds to
964 - intermittently break.
965
966 * Wed Sep 10 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - linux-2.6-22-26
967 - patch for building on f9/gcc-4.3, no functional change on other distros
968
969 * Sun Aug 17 2008 Daniel Hokka Zakrisson <daniel@hozac.com> - linux-2.6-22-25
970 - FUSE support.
971
972 * Tue Aug 12 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - linux-2.6-22-24
973 - Enable nmi watchdog by default.
974
975 * Mon Aug 04 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - linux-2.6-22-23
976 - Fixed a bug in my previous commit.
977
978 * Mon Aug 04 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - linux-2.6-22-22
979 - * 1 fix for using udp/listening sockets via raw
980 - * 1 fix to help codemux divide traffic in PlanetFlow
981
982 * Fri Aug 01 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - linux-2.6-22-21
983 - Codemux calls setsockopt/SO_PEERCRED to set peer credentials on a socket, so that the connections it proxies to its clients are tagged for PlanetFlow. This hunk got lost somewhere along the way.
984
985 * Thu Jul 31 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - linux-2.6-22-20
986 - Removed a debugging statement. Shows up a lot in the debug logs.
987
988 * Wed Jul 30 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - linux-2.6-22-19
989 - Unbroke peercred setting.
990
991 * Mon Jul 28 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - linux-2.6-22-18
992 - Now you can write your own TCP using packet sockets. As a side effect, tcptraceroute runs to completion including the
993 - last hop.
994
995 * Mon Jul 28 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - linux-2.6-22-17
996 - Optimize packet socket support to eliminate a packet copy.
997
998 * Sun Jul 27 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - linux-2.6-22-16
999 - Missed this header file, which broke the compile.
1000 - I'll be doing another tag to include an optimization I left out of this version. This version is for Build only.
1001
1002 * Sun Jul 27 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - linux-2.6-22-15
1003 - Fixes to tcpdump-related problems reported recently.
1004
1005 * Wed Jul 23 2008 Stephen Soltesz <soltesz@cs.princeton.edu> - linux-2.6-22-14
1006 - added fix to process visibility so when ncontext/vcontext  run netstat in
1007 - xid=1, it can see all ports &  processes.
1008
1009 * Mon Jul 21 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - linux-2.6-22-13
1010 - fix for tcpdump/tcp payloads
1011
1012 * Tue Jul 15 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - linux-2.6-22-12
1013 - * Bugfix in tuntap
1014 - * Attempt to fix TCP-payload-related problems with tcpdump
1015
1016 * Wed Jul 09 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - linux-2.6-22-11
1017 - * Split up VNET+ module into its component patches
1018 - * Added tun/tap support
1019
1020 * Tue Jul 08 2008 Daniel Hokka Zakrisson <daniel@hozac.com> - linux-2.6-22-10
1021 - Filling a statically allocated buffer cannot fail, right?
1022
1023 * Wed Jun 25 2008 Daniel Hokka Zakrisson <daniel@hozac.com> - linux-2.6-22-9
1024 - Enable the hangcheck timer driver, and build it in to the kernel.
1025 - Dump relevant data on the scheduler bug instead of BUGing.
1026
1027 * Sat Jun 07 2008 Sapan Bhatia <sapanb@cs.princeton.edu> - linux-2.6-22-8
1028 - * Partial fix for the UDP-packet-pollution problem
1029 - * Support for PF_PACKET sockets
1030 - * Support for SOCK_PACKET sockets
1031 - * Disabled Chopstix with mutexes
1032 - * Tested VNET+ under heavy loads
1033
1034
1035
1036 * Fri May 16 2008 Stephen Soltesz <soltesz@cs.princeton.edu> - linux-2.6-22-7
1037 - Bringing this fix in for tcpdump and  ping
1038
1039
1040 * Fri May 09 2008 Stephen Soltesz <soltesz@cs.princeton.edu> - linux-2.6-22-6
1041 - Updated configuration to include COW again.
1042
1043 - Patches from Sapan to fix ping losses.
1044
1045 - Still need help with tcpdump traffic.
1046
1047
1048 * Tue May 06 2008 Daniel Hokka Zakrisson <daniel@hozac.com> - linux-2.6-22-5
1049 - Patch needs to be applied.
1050
1051 * Mon May 05 2008 Stephen Soltesz <soltesz@cs.princeton.edu> - linux-2.6-22-4
1052
1053
1054 * Thu Apr 24 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - linux-2.6-22-3
1055 - Fix bug with looping in schedule()
1056
1057 * Wed Apr 23 2008 Stephen Soltesz <soltesz@cs.princeton.edu> - linux-2.6-22-2
1058 - Includes changes from Sapan/Andy regarding the scheduler and vnet bugs.
1059 - Should be safe to try a second deployment.
1060
1061
1062 * Tue Jul 11 2006 Dave Jones <davej@redhat.com> [2.6.17-1.2142_FC4]
1063 - 2.6.17.4
1064 - Disable split pagetable lock.
1065
1066 * Wed Jul  5 2006 Dave Jones <davej@redhat.com>
1067 - Get rid of stack backtrace on panic, which in most
1068   cases actually caused a loss of info instead of a gain.
1069
1070 * Fri Jun 30 2006 Dave Jones <davej@redhat.com> [2.6.17-1.2141_FC4]
1071 - 2.6.17.3
1072
1073 * Fri Jun 30 2006 Dave Jones <davej@redhat.com> [2.6.17-1.2140_FC4]
1074 - 2.6.17.2
1075 - Fix up the alsa list_add bug.
1076
1077 * Mon Jun 26 2006 Dave Jones <davej@redhat.com>
1078 - Fix up various stupidities incurred by the last big rebase.
1079   - Reenable SMP x86-64 builds.
1080   - Reenable SMBFS.
1081 - Enable PCI fake hotplug driver.
1082 - Enable gameport/joystick on i586 builds. (#196581)
1083
1084 * Sat Jun 24 2006 Dave Jones <davej@redhat.com>
1085 - Enable profiling for 586 kernels.
1086
1087 * Fri Jun 23 2006 Dave Jones <davej@redhat.com> [2.6.17-1.2139_FC4]
1088 - Rebuild with slab debug off.
1089
1090 * Tue Jun 20 2006 Dave Jones <davej@redhat.com> [2.6.17-1.2138_FC4]
1091 - 2.6.17.1
1092
1093 * Mon Jun  5 2006 Dave Jones <davej@redhat.com> [2.6.16-1.2115_FC4]
1094 - 2.6.16.20
1095
1096 * Tue May 30 2006 Dave Jones <davej@redhat.com> [2.6.16-1.2114_FC4]
1097 - 2.6.16.19
1098
1099 * Mon May 29 2006 Dave Jones <davej@redhat.com> [2.6.16-1.2113_FC4]
1100 - Improved list_head debugging.
1101
1102 * Tue May 23 2006 Dave Jones <davej@redhat.com> [2.6.16-1.2112_FC4]
1103 - 2.6.16.18
1104
1105 * Sat May 20 2006 Dave Jones <davej@redhat.com> [2.6.16-1.2111_FC4]
1106 - 2.6.16.17
1107
1108 * Wed May 10 2006 Dave Jones <davej@redhat.com> [2.6.16-1.2110_FC4]
1109 - 2.6.16.16
1110
1111 * Tue May  9 2006 Dave Jones <davej@redhat.com> [2.6.16-1.2109_FC4]
1112 - 2.6.16.15
1113 - make 16C950 UARTs work (again). (#126403)
1114 - Fix exec-shield default, which should fix a few programs that
1115   stopped running.
1116
1117 * Thu May  4 2006 Dave Jones <davej@redhat.com> [2.6.16-1.2108_FC4]
1118 - 2.6.16.14
1119
1120 * Tue May  2 2006 Dave Jones <davej@redhat.com> [2.6.16-1.2107_FC4]
1121 - 2.6.16.13
1122
1123 * Mon May  1 2006 Dave Jones <davej@redhat.com>
1124 - 2.6.16.12
1125
1126 * Tue Apr 25 2006 Dave Jones <davej@redhat.com>
1127 - Fix up SCSI errors with mymusix usb mp3 player (#186187)
1128
1129 * Mon Apr 24 2006 Dave Jones <davej@redhat.com>
1130 - 2.6.16.11
1131
1132 * Wed Apr 19 2006 Dave Jones <davej@redhat.com>
1133 - Enable PCI MSI support.
1134
1135 * Tue Apr 18 2006 Dave Jones <davej@redhat.com> [2.6.16-1.2096_FC4]
1136 - 2.6.16.9
1137
1138 * Tue Apr 18 2006 Dave Jones <davej@redhat.com> [2.6.16-1.2093_FC4]
1139 - 2.6.16.7
1140
1141 * Mon Apr 17 2006 Dave Jones <davej@redhat.com> [2.6.16-1.2092_FC4]
1142 - 2.6.16.6
1143
1144 * Sun Apr 16 2006 Dave Jones <davej@redhat.com>
1145 - 2.6.16.5
1146
1147 * Fri Apr  7 2006 Dave Jones <davej@redhat.com>
1148 - 2.6.16.2
1149
1150 * Tue Apr  4 2006 Dave Jones <davej@redhat.com>
1151 - Reenable non-standard serial ports. (#187466)
1152 - Reenable snd-es18xx for x86-32 (#187733)
1153
1154 * Thu Mar 30 2006 Dave Jones <davej@redhat.com>
1155 - ship the .kernelrelease file in -devel too.
1156 - Disable EDAC debug.
1157
1158 * Tue Mar 26 2006 Dave Jones <davej@redhat.com> [2.6.16-1.2069_FC4]
1159 - 2.6.16.1
1160
1161 * Mon Mar 25 2006 Dave Jones <davej@redhat.com>
1162 - Include patches posted for review for inclusion in 2.6.16.1
1163 - Updated new audit msg types.
1164 - Reenable HDLC driver (#186257)
1165 - Make acpi-cpufreq 'sticky'
1166 - Fix broken x86-64 32bit vDSO (#186924)
1167
1168 * Tue Mar 21 2006 Dave Jones <davej@redhat.com>
1169 - Improve spinlock scalability on big machines.
1170
1171 * Mon Mar 20 2006 Dave Jones <davej@redhat.com>
1172 - Sync with FC5's 2.6.16 kernel.
1173 - Update Tux & Exec-shield to latest.
1174
1175
1176 %define module_current_branch 22