make PLK work on xenU
[linux-2.6.git] / scripts / kernel-2.6-planetlab.spec
1 Summary: The Linux kernel (the core of the Linux operating system)
2
3 # What parts do we want to build?  We must build at least one kernel.
4 # These are the kernels that are built IF the architecture allows it.
5
6 %define buildup 0
7 %define buildsmp 0
8 %define buildxenU 1
9 %define builduml 0
10 %define buildsource 0
11 %define builddoc 0
12
13
14 # Versions of various parts
15
16 #
17 # Polite request for people who spin their own kernel rpms:
18 # please modify the "release" field in a way that identifies
19 # that the kernel isn't the stock distribution kernel, for example by
20 # adding some text to the end of the version number.
21 #
22 %define sublevel 12
23 %define kversion 2.6.%{sublevel}
24 %define rpmversion 2.6.%{sublevel}
25 %define rhbsys  %([ -r /etc/beehive-root -o -n "%{?__beehive_build}" ] && echo || echo .`whoami`)
26
27 %define release 1.1398_FC4.0.planetlab%{?date:.%{date}}
28
29 %define signmodules 0
30 %define make_target bzImage
31
32 %define KVERREL %{PACKAGE_VERSION}-%{PACKAGE_RELEASE}
33
34 # Override generic defaults with per-arch defaults 
35
36 %define image_install_path boot
37
38 #
39 # Three sets of minimum package version requirements in the form of Conflicts:
40 # to versions below the minimum
41 #
42
43 #
44 # First the general kernel 2.6 required versions as per
45 # Documentation/Changes
46 #
47 %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
48
49
50 # Then a series of requirements that are distribution specific, either 
51 # because we add patches for something, or the older versions have 
52 # problems with the newer kernel or lack certain things that make 
53 # integration in the distro harder than needed.
54 #
55 %define package_conflicts  cipe < 1.4.5, tux < 2.1.0, kudzu <= 0.92, initscripts < 7.23, dev < 3.2-7, iptables < 1.2.5-3, bcm5820 < 1.81, nvidia-rh72 <= 1.0
56
57 #
58 # Several packages had bugs in them that became obvious when the NPTL
59 # threading code got integrated. 
60 #
61 %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
62
63 #
64 # Packages that need to be installed before the kernel is, because the %post
65 # scripts use them.
66 #
67 %define kernel_prereq  fileutils, module-init-tools, initscripts >= 5.83, mkinitrd >= 3.5.5
68
69 Vendor: PlanetLab
70 Packager: PlanetLab Central <support@planet-lab.org>
71 Distribution: PlanetLab 3.0
72 URL: http://cvs.planet-lab.org/cvs/linux-2.6
73
74 Name: kernel
75 Group: System Environment/Kernel
76 License: GPLv2
77 Version: %{rpmversion}
78 Release: %{release}
79 ExclusiveOS: Linux
80 Provides: kernel = %{version}
81 Provides: kernel-drm = 4.3.0
82 Prereq: %{kernel_prereq}
83 Conflicts: %{kernel_dot_org_conflicts}
84 Conflicts: %{package_conflicts}
85 Conflicts: %{nptl_conflicts}
86 # We can't let RPM do the dependencies automatic because it'll then pick up
87 # a correct but undesirable perl dependency from the module headers which
88 # isn't required for the kernel proper to function
89 AutoReqProv: no
90
91 #
92 # List the packages used during the kernel build
93 #
94 BuildPreReq: module-init-tools, patch >= 2.5.4, bash >= 2.03, sh-utils, tar
95 BuildPreReq: bzip2, findutils, gzip, m4, perl, make >= 3.78, gnupg
96 #BuildPreReq: kernel-utils >= 1:2.4-12.1.142
97 BuildRequires: gcc >= 2.96-98, binutils >= 2.12, redhat-rpm-config
98 BuildConflicts: rhbuildsys(DiskFree) < 500Mb
99 BuildArchitectures: i686
100
101
102
103 Source0: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-%{kversion}.tar.bz2
104
105 BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
106
107 %description 
108 The kernel package contains the Linux kernel (vmlinuz), the core of any
109 Linux operating system.  The kernel handles the basic functions
110 of the operating system:  memory allocation, process allocation, device
111 input and output, etc.
112
113
114 %package sourcecode
115 Summary: The source code for the Linux kernel.
116 Group: Development/System
117 Prereq: fileutils
118 Requires: make >= 3.78
119 Requires: gcc >= 3.2
120 Requires: /usr/bin/strip
121 # for xconfig and gconfig
122 Requires: qt-devel, gtk2-devel readline-devel ncurses-devel
123 Provides: kernel-source
124 Obsoletes: kernel-source <= 2.6.6
125
126 %description sourcecode
127 The kernel-sourcecode package contains the source code files for the Linux
128 kernel. The source files can be used to build a custom kernel that is
129 smaller by virtue of only including drivers for your particular hardware, if
130 you are so inclined (and you know what you're doing). The customisation
131 guide in the documentation describes in detail how to do this. This package
132 is neither needed nor usable for building external kernel modules for
133 linking such modules into the default operating system kernels.
134
135 %package doc
136 Summary: Various documentation bits found in the kernel source.
137 Group: Documentation
138 %if !%{buildsource}
139 Obsoletes: kernel-source <= 2.6.6
140 Obsoletes: kernel-sourcecode <= 2.6.6
141 %endif
142
143 %description doc
144 This package contains documentation files from the kernel
145 source. Various bits of information about the Linux kernel and the
146 device drivers shipped with it are documented in these files. 
147
148 You'll want to install this package if you need a reference to the
149 options that can be passed to Linux kernel modules at load time.
150
151
152 %package smp
153 Summary: The Linux kernel compiled for SMP machines.
154
155 Group: System Environment/Kernel
156 Provides: kernel = %{version}
157 Provides: kernel-drm = 4.3.0
158 Prereq: %{kernel_prereq}
159 Conflicts: %{kernel_dot_org_conflicts}
160 Conflicts: %{package_conflicts}
161 Conflicts: %{nptl_conflicts}
162 # upto and including kernel 2.4.9 rpms, the 4Gb+ kernel was called kernel-enterprise
163 # now that the smp kernel offers this capability, obsolete the old kernel
164 Obsoletes: kernel-enterprise < 2.4.10
165 # We can't let RPM do the dependencies automatic because it'll then pick up
166 # a correct but undesirable perl dependency from the module headers which
167 # isn't required for the kernel proper to function
168 AutoReqProv: no
169
170 %description smp
171 This package includes a SMP version of the Linux kernel. It is
172 required only on machines with two or more CPUs as well as machines with
173 hyperthreading technology.
174
175 Install the kernel-smp package if your machine uses two or more CPUs.
176
177 %package xenU
178 Summary: The Linux kernel compiled for xenU virtual machines.
179
180 Group: System Environment/Kernel
181 Provides: kernel = %{version}
182 Provides: kernel-drm = 4.3.0
183 Prereq: %{kernel_prereq}
184 Conflicts: %{kernel_dot_org_conflicts}
185 Conflicts: %{package_conflicts}
186 Conflicts: %{nptl_conflicts}
187 Obsoletes: kernel-enterprise < 2.4.10
188 # We can't let RPM do the dependencies automatic because it'll then pick up
189 # a correct but undesirable perl dependency from the module headers which
190 # isn't required for the kernel proper to function
191 AutoReqProv: no
192
193 %description xenU
194 This package includes a xenU version of the Linux kernel. It is used
195 to run the Linux kernel in an unprivileged Xen domain.
196
197 Install the kernel-xenU package if your machine supports the Xen VMM.
198
199
200 %package uml
201 Summary: The Linux kernel compiled for use in user mode (User Mode Linux).
202
203 Group: System Environment/Kernel
204
205 %description uml
206 This package includes a user mode version of the Linux kernel.
207
208 %package vserver
209 Summary: A placeholder RPM that provides kernel and kernel-drm
210
211 Group: System Environment/Kernel
212 Provides: kernel = %{version}
213 Provides: kernel-drm = 4.3.0
214
215 %description vserver
216 VServers do not require and cannot use kernels, but some RPMs have
217 implicit or explicit dependencies on the "kernel" package
218 (e.g. tcpdump). This package installs no files but provides the
219 necessary dependencies to make rpm and yum happy.
220
221 %prep
222
223 %setup -n linux-%{kversion}
224
225 # make sure the kernel has the sublevel we know it has. This looks weird
226 # but for -pre and -rc versions we need it since we only want to use
227 # the higher version when the final kernel is released.
228 perl -p -i -e "s/^SUBLEVEL.*/SUBLEVEL = %{sublevel}/" Makefile
229 perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -prep/" Makefile
230
231 # get rid of unwanted files resulting from patch fuzz
232 find . -name "*.orig" -exec rm -fv {} \;
233 find . -name "*~" -exec rm -fv {} \;
234
235 ###
236 ### build
237 ###
238 %build
239
240 BuildKernel() {
241
242     # Pick the right config file for the kernel we're building
243     if [ -n "$1" ] ; then
244         Config=kernel-%{kversion}-%{_target_cpu}-$1-planetlab.config
245     else
246         Config=kernel-%{kversion}-%{_target_cpu}-planetlab.config
247     fi
248
249     KernelVer=%{version}-%{release}$1
250     echo BUILDING A KERNEL FOR $1 %{_target_cpu}...
251
252     # make sure EXTRAVERSION says what we want it to say
253     perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}$1/" Makefile
254
255     # override ARCH in the case of UML
256     if [ "$1" = "uml" ] ; then
257         export ARCH=um
258     fi
259
260     # override ARCH in the case of UML
261     if [ "$1" = "xenU" ] ; then
262         export ARCH=xen
263     fi
264
265     # and now to start the build process
266
267     make -s mrproper
268     cp configs/$Config .config
269
270     make -s nonint_oldconfig > /dev/null
271     make -s include/linux/version.h 
272
273     make -s %{?_smp_mflags} %{make_target}
274     make -s %{?_smp_mflags} modules || exit 1
275     make buildcheck
276     
277     # Start installing the results
278
279     mkdir -p $RPM_BUILD_ROOT/usr/lib/debug/boot
280     mkdir -p $RPM_BUILD_ROOT/%{image_install_path}
281     install -m 644 System.map $RPM_BUILD_ROOT/usr/lib/debug/boot/System.map-$KernelVer
282     objdump -t vmlinux | grep ksymtab | cut -f2 | cut -d" " -f2 | cut -c11- | sort -u  > exported
283     echo "_stext" >> exported
284     echo "_end" >> exported
285     touch $RPM_BUILD_ROOT/boot/System.map-$KernelVer
286     for i in `cat exported` 
287     do 
288          grep " $i\$" System.map >> $RPM_BUILD_ROOT/boot/System.map-$KernelVer || :
289          grep "tab_$i\$" System.map >> $RPM_BUILD_ROOT/boot/System.map-$KernelVer || :
290          grep "__crc_$i\$" System.map >> $RPM_BUILD_ROOT/boot/System.map-$KernelVer ||:
291     done
292     rm -f exported
293 #    install -m 644 init/kerntypes.o $RPM_BUILD_ROOT/boot/Kerntypes-$KernelVer
294     install -m 644 .config $RPM_BUILD_ROOT/boot/config-$KernelVer
295     rm -f System.map
296     cp arch/*/boot/bzImage $RPM_BUILD_ROOT/%{image_install_path}/vmlinuz-$KernelVer
297
298     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer
299     make -s INSTALL_MOD_PATH=$RPM_BUILD_ROOT modules_install KERNELRELEASE=$KernelVer
300  
301     # And save the headers/makefiles etc for building modules against
302     #
303     # This all looks scary, but the end result is supposed to be:
304     # * all arch relevant include/ files
305     # * all Makefile/Kconfig files
306     # * all script/ files 
307
308     rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
309     rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/source
310     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
311     (cd $RPM_BUILD_ROOT/lib/modules/$KernelVer ; ln -s build source)
312     # first copy everything
313     cp --parents `find  -type f -name Makefile -o -name "Kconfig*"` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build 
314     cp Module.symvers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
315     # then drop all but the needed Makefiles/Kconfig files
316     rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Documentation
317     rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts
318     rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
319     cp arch/%{_arch}/kernel/asm-offsets.s $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch}/kernel || :
320     cp .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
321     cp -a scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
322     cp -a arch/%{_arch}/scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch} || :
323     cp -a arch/%{_arch}/*lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch}/ || :
324     rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*.o
325     rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*/*.o
326     mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
327     cd include
328     cp -a acpi config linux math-emu media net pcmcia rxrpc scsi sound video asm asm-generic $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
329     cp -a `readlink asm` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include
330     # Make sure the Makefile and version.h have a matching timestamp so that
331     # external modules can be built
332     touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Makefile $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/version.h
333     touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/autoconf.h
334     cd .. 
335
336     #
337     # save the vmlinux file for kernel debugging into the kernel-debuginfo rpm
338     #
339     mkdir -p $RPM_BUILD_ROOT/usr/lib/debug/lib/modules/$KernelVer
340     cp vmlinux $RPM_BUILD_ROOT/usr/lib/debug/lib/modules/$KernelVer
341
342     # mark modules executable so that strip-to-file can strip them
343     find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name "*.ko" -type f  | xargs chmod u+x
344
345     # detect missing or incorrect license tags
346     for i in `find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name "*.ko" ` ; do echo -n "$i " ; /sbin/modinfo -l $i >> modinfo ; done
347     cat modinfo | grep -v "^GPL" | grep -v "^Dual BSD/GPL" | grep -v "^Dual MPL/GPL" | grep -v "^GPL and additional rights" | grep -v "^GPL v2" && exit 1 
348     rm -f modinfo
349     # remove files that will be auto generated by depmod at rpm -i time
350     rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.*
351
352 }
353
354 ###
355 # DO it...
356 ###
357
358 # prepare directories
359 rm -rf $RPM_BUILD_ROOT
360 mkdir -p $RPM_BUILD_ROOT/boot
361
362 %if %{buildup}
363 BuildKernel
364 %endif
365
366 %if %{buildsmp}
367 BuildKernel smp
368 %endif
369
370 %if %{builduml}
371 BuildKernel uml
372 %endif
373
374 %if %{buildxenU}
375 BuildKernel xenU
376 %endif
377
378
379 ###
380 ### install
381 ###
382
383 %install
384
385 # architectures that don't get kernel-source (i586/i686/athlon) dont need
386 # much of an install because the build phase already copied the needed files
387
388 %if %{builddoc}
389 mkdir -p $RPM_BUILD_ROOT/usr/share/doc/kernel-doc-%{kversion}/Documentation
390
391 # sometimes non-world-readable files sneak into the kernel source tree
392 chmod -R a+r *
393 # copy the source over
394 tar cf - Documentation | tar xf - -C $RPM_BUILD_ROOT/usr/share/doc/kernel-doc-%{kversion}
395 %endif
396
397 %if %{buildsource}
398
399 mkdir -p $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}
400 chmod -R a+r *
401
402 # clean up the source tree so that it is ready for users to build their own
403 # kernel
404 make -s mrproper
405 # copy the source over
406 tar cf - . | tar xf - -C $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}
407
408 # set the EXTRAVERSION to <version>custom, so that people who follow a kernel building howto
409 # don't accidentally overwrite their currently working moduleset and hose
410 # their system
411 perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}custom/" $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}/Makefile
412
413 # some config options may be appropriate for an rpm kernel build but are less so for custom user builds,
414 # change those to values that are more appropriate as default for people who build their own kernel.
415 perl -p -i -e "s/^CONFIG_DEBUG_INFO.*/# CONFIG_DEBUG_INFO is not set/" $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}/configs/*
416 perl -p -i -e "s/^.*CONFIG_DEBUG_PAGEALLOC.*/# CONFIG_DEBUG_PAGEALLOC is not set/" $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}/configs/*
417 perl -p -i -e "s/^.*CONFIG_DEBUG_SLAB.*/# CONFIG_DEBUG_SLAB is not set/" $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}/configs/*
418 perl -p -i -e "s/^.*CONFIG_DEBUG_SPINLOCK.*/# CONFIG_DEBUG_SPINLOCK is not set/" $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}/configs/*
419 perl -p -i -e "s/^.*CONFIG_DEBUG_HIGHMEM.*/# CONFIG_DEBUG_HIGHMEM is not set/" $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}/configs/*
420 perl -p -i -e "s/^.*CONFIG_MODULE_SIG.*/# CONFIG_MODULE_SIG is not set/" $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}/configs/*
421
422 install -m 644 %{SOURCE10}  $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}
423 %endif
424
425 ###
426 ### clean
427 ###
428
429 %clean
430 rm -rf $RPM_BUILD_ROOT
431
432 ###
433 ### scripts
434 ###
435
436 # load the loop module for upgrades...in case the old modules get removed we have
437 # loopback in the kernel so that mkinitrd will work.
438 %pre 
439 /sbin/modprobe loop 2> /dev/null > /dev/null  || :
440 exit 0
441
442 %pre smp
443 /sbin/modprobe loop 2> /dev/null > /dev/null  || :
444 exit 0
445
446 %pre xenU
447 /sbin/modprobe loop 2> /dev/null > /dev/null  || :
448 exit 0
449
450 %post 
451 # trick mkinitrd in case the current environment does not have device mapper
452 rootdev=$(awk '/^[ \t]*[^#]/ { if ($2 == "/") { print $1; }}' /etc/fstab)
453 if echo $rootdev |grep -q /dev/mapper 2>/dev/null ; then
454     if [ ! -f $rootdev ]; then
455         fake_root_lvm=1
456         mkdir -p $(dirname $rootdev)
457         touch $rootdev
458     fi
459 fi
460 [ -x /sbin/new-kernel-pkg ] && /sbin/new-kernel-pkg --mkinitrd --depmod --install %{KVERREL}
461 if [ -n "$fake_root_lvm" ]; then
462     rm -f $rootdev
463 fi
464 if [ -x /usr/sbin/hardlink ] ; then
465 pushd /lib/modules/%{KVERREL}/build > /dev/null ; {
466         cd /lib/modules/%{KVERREL}/build
467         find . -type f | while read f; do hardlink -c /lib/modules/*/build/$f $f ; done
468 }
469 popd > /dev/null
470 fi
471
472 # make some useful links
473 pushd /boot > /dev/null ; {
474         ln -sf System.map-%{KVERREL} System.map
475 #       ln -sf Kerntypes-%{KVERREL} Kerntypes
476         ln -sf config-%{KVERREL} config
477         ln -sf initrd-%{KVERREL}.img initrd-boot
478         ln -sf vmlinuz-%{KVERREL} kernel-boot
479 }
480 popd > /dev/null
481
482 # ask for a reboot
483 mkdir -p /etc/planetlab
484 touch /etc/planetlab/update-reboot
485
486 %post smp
487 [ -x /sbin/new-kernel-pkg ] && /sbin/new-kernel-pkg --mkinitrd --depmod --install %{KVERREL}smp
488 if [ -x /usr/sbin/hardlink ] ; then
489 pushd /lib/modules/%{KVERREL}smp/build > /dev/null ; {
490         cd /lib/modules/%{KVERREL}smp/build
491         find . -type f | while read f; do hardlink -c /lib/modules/*/build/$f $f ; done
492 }
493 popd > /dev/null
494 fi
495
496 %post xenU
497 [ -x /sbin/new-kernel-pkg ] && /sbin/new-kernel-pkg --mkinitrd --depmod --install %{KVERREL}xenU
498 if [ -x /usr/sbin/hardlink ] ; then
499 pushd /lib/modules/%{KVERREL}xenU/build > /dev/null ; {
500         cd /lib/modules/%{KVERREL}xenU/build
501         find . -type f | while read f; do hardlink -c /lib/modules/*/build/$f $f ; done
502 }
503 popd > /dev/null
504 fi
505
506
507 %preun 
508 /sbin/modprobe loop 2> /dev/null > /dev/null  || :
509 [ -x /sbin/new-kernel-pkg ] && /sbin/new-kernel-pkg --rminitrd --rmmoddep --remove %{KVERREL}
510
511 %preun smp
512 /sbin/modprobe loop 2> /dev/null > /dev/null  || :
513 [ -x /sbin/new-kernel-pkg ] && /sbin/new-kernel-pkg --rminitrd --rmmoddep --remove %{KVERREL}smp
514
515 %preun xenU
516 /sbin/modprobe loop 2> /dev/null > /dev/null  || :
517 [ -x /sbin/new-kernel-pkg ] && /sbin/new-kernel-pkg --rminitrd --rmmoddep --remove %{KVERREL}xenU
518
519
520 ###
521 ### file lists
522 ###
523
524 %if %{buildup}
525 %files 
526 %defattr(-,root,root)
527 /%{image_install_path}/*-%{KVERREL}
528 #/boot/Kerntypes-%{KVERREL}
529 /boot/System.map-%{KVERREL}
530 /boot/config-%{KVERREL}
531 %dir /lib/modules/%{KVERREL}
532 /lib/modules/%{KVERREL}/kernel
533 %verify(not mtime) /lib/modules/%{KVERREL}/build
534 /lib/modules/%{KVERREL}/source
535 %endif
536
537 %if %{buildsmp}
538 %files smp
539 %defattr(-,root,root)
540 /%{image_install_path}/*-%{KVERREL}smp
541 #/boot/Kerntypes-%{KVERREL}smp
542 /boot/System.map-%{KVERREL}smp
543 /boot/config-%{KVERREL}smp
544 %dir /lib/modules/%{KVERREL}smp
545 /lib/modules/%{KVERREL}smp/kernel
546 %verify(not mtime) /lib/modules/%{KVERREL}smp/build
547 /lib/modules/%{KVERREL}smp/source
548 %endif
549
550 %if %{buildxenU}
551 %files xenU
552 %defattr(-,root,root)
553 /%{image_install_path}/*-%{KVERREL}xenU
554 #/boot/Kerntypes-%{KVERREL}xenU
555 /boot/System.map-%{KVERREL}xenU
556 /boot/config-%{KVERREL}xenU
557 %dir /lib/modules/%{KVERREL}xenU
558 /lib/modules/%{KVERREL}xenU/kernel
559 %verify(not mtime) /lib/modules/%{KVERREL}xenU/build
560 /lib/modules/%{KVERREL}xenU/source
561 %endif
562
563 %if %{builduml}
564 %files uml
565 %defattr(-,root,root)
566 %endif
567
568 # only some architecture builds need kernel-source and kernel-doc
569
570 %if %{buildsource}
571 %files sourcecode
572 %defattr(-,root,root)
573 /usr/src/linux-%{KVERREL}/
574 %endif
575
576
577 %if %{builddoc}
578 %files doc
579 %defattr(-,root,root)
580 /usr/share/doc/kernel-doc-%{kversion}/Documentation/*
581 %endif
582
583
584 %files vserver
585 %defattr(-,root,root)
586 # no files
587
588 %changelog
589 * Sun Mar 27 2005 Dave Jones <davej@redhat.com>
590 - Catch up with all recent security issues.
591   - CAN-2005-0210 : dst leak
592   - CAN-2005-0384 : ppp dos
593   - CAN-2005-0531 : Sign handling issues.
594   - CAN-2005-0400 : EXT2 information leak.
595   - CAN-2005-0449 : Remote oops.
596   - CAN-2005-0736 : Epoll overflow
597   - CAN-2005-0749 : ELF loader may kfree wrong memory.
598   - CAN-2005-0750 : Missing range checking in bluetooth 
599   - CAN-2005-0767 : drm race in radeon
600   - CAN-2005-0815 : Corrupt isofs images could cause oops.
601
602 * Tue Mar 22 2005 Dave Jones <davej@redhat.com>
603 - Fix swapped parameters to memset in ieee802.11 code.
604
605 * Thu Feb 24 2005 Dave Jones <davej@redhat.com>
606 - Use old scheme first when probing USB. (#145273)
607
608 * Wed Feb 23 2005 Dave Jones <davej@redhat.com>
609 - Try as you may, there's no escape from crap SCSI hardware. (#149402)
610
611 * Mon Feb 21 2005 Dave Jones <davej@redhat.com>
612 - Disable some experimental USB EHCI features.
613
614 * Tue Feb 15 2005 Dave Jones <davej@redhat.com>
615 - Fix bio leak in md layer.
616
617 * Wed Feb  9 2005 Dave Jones <davej@redhat.com> [2.6.10-1.766_FC3, 2.6.10-1.14_FC2]
618 - Backport some exec-shield fixes from devel/ branch.
619 - Scan all SCSI LUNs by default.
620   Theoretically, some devices may hang when being probed, though
621   there should be few enough of these that we can blacklist them
622   instead of having to whitelist every other device on the planet.
623
624 * Tue Feb  8 2005 Dave Jones <davej@redhat.com>
625 - Use both old-style and new-style for USB initialisation.
626
627 * Mon Feb  7 2005 Dave Jones <davej@redhat.com> [2.6.10-1.762_FC3, 2.6.10-1.13_FC2]
628 - Update to 2.6.10-ac12
629
630 * Tue Feb  1 2005 Dave Jones <davej@redhat.com> [2.6.10-1.760_FC3, 2.6.10-1.12_FC2]
631 - Disable longhaul driver, it causes random hangs. (#140873)
632 - Fixup NFSv3 oops when mounting with sec=krb5 (#146703)
633
634 * Mon Jan 31 2005 Dave Jones <davej@redhat.com>
635 - Rebase to 2.6.10-ac11
636
637 * Sat Jan 29 2005 Dave Jones <davej@redhat.com>
638 - Reintegrate Tux. (#144812)
639
640 * Thu Jan 20 2005 Dave Jones <davej@redhat.com> [2.6.10-1.753_FC3, 2.6.10-1.11_FC2]
641 - Fix x87 fnsave Tag Word emulation when using FXSR (SSE)
642 - Add multi-card reader of the day to the whitelist. (#145587)
643
644 * Tue Jan 18 2005 Dave Jones <davej@redhat.com>
645 - Reintegrate netdump/netconsole. (#144068)
646
647 * Mon Jan 17 2005 Dave Jones <davej@redhat.com>
648 - Update to 2.6.10-ac10
649 - Revert module loader patch that caused lots of invalid parameter problems.
650 - Print more debug info when spinlock code triggers a panic.
651 - Print tainted information on various mm debug info.
652
653 * Fri Jan 14 2005 Dave Jones <davej@redhat.com>
654 - Enable advansys scsi module on x86. (#141004)
655
656 * Thu Jan 13 2005 Dave Jones <davej@redhat.com>
657 - Reenable CONFIG_PARIDE (#127333)
658
659 * Thu Jan 13 2005 Dave Jones <davej@redhat.com>  [2.6.10-1.741_FC3, 2.6.10-1.9_FC2]
660 - Update to 2.6.10-ac9
661 - Fix slab corruption in ACPI video code.
662
663 * Mon Jan 10 2005 Dave Jones <davej@redhat.com>
664 - Add another Lexar card reader to the whitelist. (#143600)
665 - Package asm-m68k for asm-ppc includes. (don't ask). (#144604)
666
667 * Mon Jan 10 2005 Dave Jones <davej@redhat.com>  [2.6.10-1.737_FC3, 2.6.10-1.8_FC2]
668 - Disable slab debugging.
669
670 * Sat Jan  8 2005 Dave Jones <davej@redhat.com>
671 - Periodic slab debug is incompatable with pagealloc debug.
672   Disable the latter.
673 - Update to 2.6.10-ac8
674
675 * Fri Jan  7 2005 Dave Jones <davej@redhat.com>
676 - Bump up to -ac7
677 - Another new card reader.
678
679 * Thu Jan  6 2005 Dave Jones <davej@redhat.com>
680 - Rebase to 2.6.10-ac5
681
682 * Tue Jan  4 2005 Dave Jones <davej@redhat.com>
683 - Rebase to 2.6.10-ac4
684 - Add periodic slab debug checker.
685
686 * Mon Jan  3 2005 Dave Jones <davej@redhat.com>
687 - Drop patch which meant we needed a newer gcc. (#144035)
688 - Rebase to 2.6.10-ac2
689 - Enable SL82C104 IDE driver as built-in on PPC64 (#131033)
690
691 * Sat Jan  1 2005 Dave Jones <davej@redhat.com>
692 - Fix probing of vesafb. (#125890)
693 - Enable PCILynx driver. (#142173)
694
695 * Fri Dec 31 2004 Dave Jones <davej@redhat.com>
696 - Drop 4g/4g patch completely.
697
698 * Tue Dec 28 2004 Dave Jones <davej@redhat.com>
699 - Drop bogus ethernet slab cache.
700
701 * Thu Dec 23 2004 Dave Jones <davej@redhat.com>
702 - Fix bio error propagation.
703 - Clear ebp on sysenter return.
704 - Extra debugging info on OOM kill.
705 - exit() race fix.
706 - Fix refcounting order in sd/sr, fixing cable pulls on USB storage.
707 - IGMP source filter fixes.
708 - Fix ext2/3 leak on umount.
709 - fix missing wakeup in ipc/sem
710 - Fix another tux corner case bug.
711
712 * Wed Dec 22 2004 Dave Jones <davej@redhat.com>
713 - Add another ipod to the unusual usb devices list. (#142779)
714
715 * Tue Dec 21 2004 Dave Jones <davej@redhat.com>
716 - Fix two silly bugs in the AGP posting fixes.
717
718 * Thu Dec 16 2004 Dave Jones <davej@redhat.com>
719 - Better version of the PCI Posting fixes for agpgart.
720 - Add missing cache flush to the AGP code.
721
722 * Sun Dec 12 2004 Dave Jones <davej@redhat.com>
723 - fix false ECHILD result from wait* with zombie group leader.
724
725 * Sat Dec 11 2004 Dave Jones <davej@redhat.com>
726 - Workaround broken pci posting in AGPGART.
727 - Make sure VC resizing fits in s16.
728
729 * Fri Dec 10 2004 Dave Jones <davej@redhat.com>
730 - Prevent block device queues from being shared in viocd. (#139018)
731 - Libata updates. (#132848, #138405)
732 - aacraid: remove aac_handle_aif (#135527)
733 - fix uninitialized variable in waitid(2). (#142505)
734 - Fix CMSG validation checks wrt. signedness.
735 - Fix memory leak in ip_conntrack_ftp
736 - [IPV4]: Do not leak IP options.
737 - ppc64: Align PACA buffer for hypervisor's use. (#141817)
738 - ppc64: Indicate that the veth link is always up. (#135402)
739 - ppc64: Quiesce OpenFirmware stdin device at boot. (#142009)
740 - SELinux: Fix avc_node_update oops. (#142353)
741 - Fix CCISS ioctl return code.
742 - Make ppc64's pci_alloc_consistent() conform to documentation. (#140047)
743 - Disable tiglusb module. (#142102)
744 - E1000 64k-alignment fix. (#140047)
745 - Disable tiglusb module. (#142102)
746 - ID updates for cciss driver.
747 - Fix overflows in USB Edgeport-IO driver. (#142258)
748 - Fix wrong TASK_SIZE for 32bit processes on x86-64. (#141737)
749 - Fix ext2/ext3 xattr/mbcache race. (#138951)
750 - Fix bug where __getblk_slow can loop forever when pages are partially mapped. (#140424)
751 - Add missing cache flushes in agpgart code.
752
753 * Wed Dec  8 2004 Dave Jones <davej@redhat.com>
754 - Enable EDD
755 - Enable ETH1394. (#138497)
756 - Workaround E1000 post-maturely writing back to TX descriptors. (#133261)
757 - Fix the previous E1000 errata workaround.
758 - Several IDE fixes from 2.6.9-ac
759 - vm pageout throttling. (#133858)
760 - Fix Tux from oopsing. (#140918)
761 - Fix Tux/SELinux incompatability (#140916)
762 - Fix Tux/IPV6 problem. (#140916)
763 - ide: Fix possible oops on boot.
764 - Make spinlock debugging panic instead of printk.
765 - Update Emulex lpfc driver to 8.0.16
766 - Selected patches from 2.6.9-ac12
767 - ppc64: Fix inability to find space for TCE table (#138844)
768 - Fix compat fcntl F_GETLK{,64} (#141680)
769 - blkdev_get_blocks(): handle eof
770 - Another card reader for the whitelist. (#134094)
771
772 * Sat Dec  4 2004 Dave Jones <davej@redhat.com>
773 - Enable both old and new megaraid drivers.
774 - Add yet another card reader to usb scsi whitelist. (#141367)
775 - Fix oops in conntrack on rmmod.
776
777 * Fri Dec  3 2004 Dave Jones <davej@redhat.com>
778 - Pull in bits of -ac12
779   Should fix the smbfs & visor issues among others.
780
781 * Thu Dec  2 2004 Dave Jones <davej@redhat.com>
782 - Drop the futex debug patch, it served its purpose.
783 - XFRM layer bug fixes
784 - ppc64: Convert to using ibm,read-slot-reset-state2 RTAS call
785 - ide: Make CSB6 driver support configurations.
786 - ide: Handle early EOF on CDs.
787 - Fix sx8 device naming in sysfs
788 - e100/e1000: return -EINVAL when setting rx-mini or rx-jumbo. (#140793)
789
790 * Wed Dec  1 2004 Dave Jones <davej@redhat.com>
791 - Disable 4G/4G for i686.
792 - Workaround for the E1000 erratum 23 (#140047)
793 - Remove bogus futex warning. (#138179)
794 - x86_64: Fix lost edge triggered irqs on UP kernel.
795 - x86_64: Reenable DRI for MGA.
796 - Workaround E1000 post-maturely writing back to TX descriptors (#133261)
797 - 3c59x: add EEPROM_RESET for 3c900 Boomerang
798 - Fix buffer overrun in arch/x86_64/sys_ia32.c:sys32_ni_syscall()
799 - ext3: improves ext3's error logging when we encounter an on-disk corruption.
800 - ext3: improves ext3's ability to deal with corruption on-disk
801 - ext3: Handle double-delete of indirect blocks.
802 - Disable SCB2 flash driver for RHEL4. (#141142)
803
804 * Tue Nov 30 2004 Dave Jones <davej@redhat.com>
805 - x86_64: add an option to configure oops stack dump
806 - x86[64]: display phys_proc_id only when it is initialized
807 - x86_64: no TIOCSBRK/TIOCCBRK in ia32 emulation
808 - via-rhine: references __init code during resume
809 - Add barriers to generic timer code to prevent race. (#128242)
810 - ppc64: Add PURR and version data to /proc/ppc64/lparcfg
811 - Prevent xtime value becoming incorrect.
812 - scsi: return full SCSI status byte in SG_IO
813 - Fix show_trace() in irq context with CONFIG_4KSTACKS
814 - Adjust alignment of pagevec structure.
815 - md: make sure md always uses rdev_dec_pending properly.
816 - Make proc_pid_status not dereference dead task structs.
817 - sg: Fix oops of sg_cmd_done and sg_release race (#140648)
818 - fix bad segment coalescing in blk_recalc_rq_segments()
819 - fix missing security_*() check in net/compat.c
820 - ia64/x86_64/s390 overlapping vma fix
821 - Update Emulex lpfc to 8.0.15
822
823 * Mon Nov 29 2004 Dave Jones <davej@redhat.com>
824 - Add another card reader to whitelist. (#141022)
825 - Fix possible hang in do_wait() (#140042)
826 - Fix ps showing wrong ppid. (#132030)
827 - Print advice to use -hugemem if >=16GB of memory is detected.
828 - Enable ICOM serial driver. (#136150)
829 - Enable acpi hotplug driver for IA64.
830 - SCSI: fix USB forced remove oops.
831 - ia64: add missing sn2 timer mask in time_interpolator code. (#140580)
832 - ia64: Fix hang reading /proc/pal/cpu0/tr_info (#139571)
833 - ia64: bump number of UARTS. (#139100)
834 - Fix ACPI debug level (#141292)
835 - Make EDD runtime configurable, and reenable.
836 - ppc64: IBM VSCSI driver race fix. (#138725)
837 - ppc64: Ensure PPC64 interrupts don't end up hard-disabled. (#139020, #131590)
838 - ppc64: Yet more sigsuspend/singlestep fixing. (#140102, #137931)
839 - x86-64: Implement ACPI based reset mechanism. (#139104)
840 - Backport 2.6.10rc sysfs changes needed for IBM hotplug driver. (#140372)
841 - Update Emulex lpfc driver to v8.0.14
842 - Optimize away the unconditional write to debug registers on signal delivery path.
843 - Fix up scsi_test_unit_ready() to work correctly with CD-ROMs.
844 - md: fix two little bugs in raid10
845 - Remove incorrect ELF check from module loading. (#140954)
846 - Plug leaks in error paths of aic driver.
847 - Add refcounting to scsi command allocation.
848 - Taint oopses on machine checks, bad_page()'s calls and forced rmmod's.
849 - Share Intel cache descriptors between x86 & x86-64.
850 - rx checksum support for gige nForce ethernet
851 - vm: vm_dirty_ratio initialisation fix
852
853 * Mon Nov 29 2004 Soeren Sandmann <sandmann@redhat.com>
854 - Build FC-3 kernel in RHEL build root
855
856 * Sun Nov 28 2004 Dave Jones <davej@redhat.com>
857 - Move 4g/4g kernel into -hugemem.
858
859 * Sat Nov 27 2004 Dave Jones <davej@redhat.com>
860 - Recognise Shuttle SN85G4 card reader. (#139163)
861
862 * Tue Nov 23 2004 Dave Jones <davej@redhat.com>
863 - Add futex debug patch.
864
865 * Mon Nov 22 2004 Dave Jones <davej@redhat.com>
866 - Update -ac patch to 2.6.9-ac11
867 - make tulip_stop_rxtx() wait for DMA to fully stop. (#138240)
868 - ACPI: Make LEqual less strict about operand types matching.
869 - scsi: avoid extra 'put' on devices in __scsi_iterate_device() (#138135)
870 - Fix bugs with SOCK_SEQPACKET AF_UNIX sockets
871 - Reenable token ring drivers. (#119345)
872 - SELinux: Map Unix seqpacket sockets to appropriate security class
873 - SELinux: destroy avtab node cache in policy load error path.
874 - AF_UNIX: Serialize dgram read using semaphore just like stream.
875 - lockd: NLM blocks locks don't sleep
876 - NFS lock recovery fixes
877 - Add more MODULE_VERSION tags (#136403)
878 - Update qlogic driver to 2.6.10rc2 level.
879 - cciss: fixes for clustering
880 - ieee802.11 update.
881 - ipw2100: update to ver 1.0.0
882 - ipw2200: update to ver 1.0.0
883 - Enable promisc mode on ipw2100
884 - 3c59x: reload EEPROM values at rmmod for needy cards
885 - ppc64: Prevent sigsuspend stomping on r4 and r5
886 - ppc64: Alternative single-step fix.
887 - fix for recursive netdump oops on x86_64
888 - ia64: Fix IRQ routing fix when booted with maxcpus=  (#138236)
889 - ia64: search the iommu for the correct size
890 - Deal with fraglists correctly on ipv4/ipv6 output
891 - Various statm accounting fixes (#139447)
892 - Reenable CMM /proc interface for s390 (#137397)
893
894 * Fri Nov 19 2004 Dave Jones <davej@redhat.com>
895 - e100: fix improper enabling of interrupts. (#139706)
896 - autofs4: allow map update recognition
897 - Various TCP fixes from 2.6.10rc
898 - Various netlink fixes from 2.6.10rc
899 - [IPV4]: Do not try to unhash null-netdev nexthops.
900 - ppc64: Make NUMA map CPU->node before bringing up the CPU (#128063)
901 - ppc64: sched domains / cpu hotplug cleanup. (#128063)
902 - ppc64: Add a CPU_DOWN_PREPARE hotplug CPU notifier (#128063)
903 - ppc64: Register a cpu hotplug notifier to reinitialize the
904   scheduler domains hierarchy (#128063)
905 - ppc64: Introduce CPU_DOWN_FAILED notifier (#128063)
906 - ppc64: Make arch_destroy_sched_domains() conditional (#128063)
907 - ppc64: Use CPU_DOWN_FAILED notifier in the sched-domains hotplug code (#128063)
908 - Various updates to the SCSI midlayer from 2.6.10rc.
909 - vlan_dev: return 0 on vlan_dev_change_mtu success. (#139760)
910 - Update Emulex lpfc driver to v8013
911 - Fix problem with b44 driver and 4g/4g patch. (#118165)
912 - Prevent oops when loading aic79xx on machine without hardware. (#125982)
913 - Use correct spinlock functions in token ring net code. (#135462)
914 - scsi: Add reset ioctl capability to ULDs
915 - scsi: update ips driver to 7.10.18
916 - Reenable ACPI hotplug driver. (#139976, #140130, #132691)
917
918 * Thu Nov 18 2004 Dave Jones <davej@redhat.com>
919 - Drop 2.6.9 changes that broke megaraid. (#139723)
920 - Update to 2.6.9-ac10, fixing the SATA problems (#139674)
921 - Update the OOM-killer tamer to upstream.
922 - Implement an RCU scheme for the SELinux AVC
923 - Improve on the OOM-killer taming patch.
924 - device-mapper: Remove duplicate kfree in dm_register_target error path.
925 - Make SHA1 guard against misaligned accesses
926 - ASPM workaround for PCIe. (#123360)
927 - Hot-plug driver updates due to MSI change (#134290)
928 - Workaround for 80332 IOP hot-plug problem (#139041)
929 - ExpressCard hot-plug support for ICH6M (#131800)
930 - Fix boot crash on VIA systems (noted on x86-64)
931 - PPC64: Store correct backtracking info in ppc64 signal frames
932 - PPC64: Prevent HVSI from oopsing on hangup (#137912)
933 - Fix poor performance b/c of noncacheable mapping in 4g/4g (#130842)
934 - Fix PCI-X hotplug issues (#132852, #134290)
935 - Re-export force_sig() (#139503)
936 - Various fixes for more security issues from latest -ac patch.
937 - Fix d_find_alias brokenness (#137791)
938 - tg3: Fix fiber hw autoneg bounces (#138738)
939 - diskdump: Fix issue with NMI watchdog. (#138041)
940 - diskdump: Export disk_dump_state. (#138132)
941 - diskdump: Tickle NMI watchdog in diskdump_mdelay() (#138036)
942 - diskdump: Fix mem= for x86-64 (#138139)
943 - diskdump: Fix missing system_state setting. (#138130)
944 - diskdump: Fix diskdump completion message (#138028)
945 - Re-add aic host raid support.
946 - Take a few more export removal patches from 2.6.10rc
947 - SATA: Make AHCI work
948 - SATA: Core updates.
949 - S390: Fix Incorrect registers in core dumps. (#138206)
950 - S390: Fix up lcs device state. (#131167)
951 - S390: Fix possible qeth IP registration failure.
952 - S390: Support broadcast on z800/z900 HiperSockets
953 - S390: Allow FCP port to recover after aborted nameserver request.
954 - Flush error in pci_mmcfg_write (#129338)
955 - hugetlb_get_unmapped_area fix (#135364, #129525)
956 - Fix ia64 cyclone timer on ia64 (#137842, #136684)
957 - Fix ipv6 MTU calculation. (#130397)
958 - ACPI: Don't display messages about ACPI breakpoints. (#135856)
959 - Fix x86_64 copy_user_generic (#135655)
960 - lockd: remove hardcoded maximum NLM cookie length
961 - Fix SCSI bounce limit
962 - Disable polling mode on hotplug controllers in favour of interrupt driven. (#138737)
963
964 * Sat Nov 13 2004 Dave Jones <davej@redhat.com>
965 - Drop some bogus patches.
966
967 * Thu Nov 11 2004 Dave Jones <davej@redhat.com>
968 - NFS: Fix dentry refcount accounting error
969 - Fix single-stepping on PPC64
970 - Integrate kernel-devel changes
971 - SELinux: netif fixes.
972 - SELinux: add DAC check to setxattr() hook.
973 - SELinux: sidtab locking fix.
974 - SELinux: mediate send_sigurg().
975 - SELinux: fix setscheduler hook deadlock.
976 - ide-floppy: Supresses error messages resulting from Medium not present
977 - Various IA64 updates from 2.6.10rc1
978 - nfsd: make sure getxattr inode op is non-NULL before calling it.
979 - Handle NULL dev->dev_addr in SIOCGIFHWADDR correctly. (#137648)
980 - Fix NFSD domainname size limit.
981 - nfsd4: nfsd oopsed when encountering a conflict with a local lock
982 - nfsd4: fix putrootfh return
983 - nfsd: Insecure port warning shows decimal IPv4 address
984 - Disable sw irqbalance/irqaffinity for e7520/e7320/e7525 (#136419)
985 - Fix exec-shield non-PIE/non-prelinked bug
986 - ext3 reservations: fix goal hit accounting.
987 - Fix problems with non-power-of-two sector size discs. (#135094)
988 - Fix possible oops in netpoll (#132153)
989 - Add missing MODULE_VERSION tags to various modules. (#136399)
990 - Add USB card reader de jour. (#124048)
991 - Remove SG_IO deprecation warning (#136179)
992 - Make sure that modules get signed with the right key.
993 - Remove SG_IO deprecation warning (#136179)
994 - s390: Fix fake_ll for qeth device. (#136175)
995 - s390: zfcp: Kernel stack frame for zfcp_cfdc_dev_ioctl() is too big
996 - s390: Use slab allocator for DASD I/O pages.
997 - PPC64: HVSI udbg support
998 - PPC64: Make HVSI console survive FSP reset
999 - PPC64: Make PCI hostbridge hotplugging work
1000 - PPC64: Fix IBM VSCSI problems (#138124)
1001 - Rebase -ac patch to 2.6.9-ac8.
1002
1003 * Wed Nov  3 2004 Dave Jones <davej@redhat.com>
1004 - Reenable token-ring drivers (#122602)
1005
1006 * Tue Nov  2 2004 Dave Jones <davej@redhat.com>
1007 - Reenable SLIP. (#124223)
1008 - Add USB card reader de jour. (#124048)
1009
1010 * Mon Nov  1 2004 Dave Jones <davej@redhat.com>
1011 - Fix memory leak on x86-64 in mixed 32/64 mode. (#132947)
1012 - Yet another USB card reader for the whitelist. (#137722)
1013
1014 * Fri Oct 29 2004 Dave Jones <davej@redhat.com>
1015 - Fix raid5 oops (#127862)
1016 - Stop E820 BIOS entries being corrupted by EDID info. (#137510)
1017
1018 * Thu Oct 28 2004 Dave Jones <davej@redhat.com>
1019 - Remove the possibility of some false OOM kills. (#131251)
1020 - Add more USB card readers to SCSI whitelist (#131546)
1021 - Disable CONFIG_SCHED_SMT for iseries.
1022
1023 * Wed Oct 27 2004 Dave Jones <davej@redhat.com>
1024 - Reenable ISA NIC support (#136569)
1025
1026 * Tue Oct 26 2004 Dave Jones <davej@redhat.com>
1027 - Reenable Initio 9100U(W) SCSI driver. (#137153)
1028
1029 * Mon Oct 25 2004 Dave Jones <davej@redhat.com>
1030 - Add another USB card reader to SCSI whitelist (#132923)
1031
1032 * Fri Oct 22 2004 Dave Jones <davej@redhat.com>
1033 - Fix PPC NUMA (#130716).
1034 - Fix autoraid for S390 (#123842/#130339)
1035 - Selected bits from 2.6.9-ac3
1036   - Fix syncppp/async ppp problems with new hangup
1037   - Fix broken parport_pc unload
1038   - Stop i8xx_tco making some boxes reboot on load
1039   - Fix cpia/module tools deadlock
1040   - Security fix for smbfs leak/overrun
1041
1042 * Thu Oct 21 2004 Dave Jones <davej@redhat.com>
1043 - Misc security fixes from 2.6.9-ac2
1044
1045 * Wed Oct 20 2004 Dave Jones <davej@redhat.com>
1046 - Fix ia64 module loading. (#136365)
1047 - Enable discontigmem for PPC64
1048 - Disable a bunch of useless PPC config options
1049 - Enable PACK_STACK on s390.
1050
1051 * Tue Oct 19 2004 Dave Jones <davej@redhat.com>
1052 - Fix NFS badness (#132726)
1053 - Drop bogus USB workaround. (#131127)
1054
1055 * Mon Oct 18 2004 Dave Jones <davej@redhat.com>
1056 - Rebase to 2.6.9
1057 - Speedtouch USB DSL modem driver update.
1058 - Cleanup some iseries config options.
1059
1060 * Fri Oct 15 2004 Dave Jones <davej@redhat.com>
1061 - 2.6.9-rc4-bk3
1062 - Fix up a bunch of unresolved symbols that crept in recently.
1063 - Remove bogus O_NONBLOCK patch which broke lots of userspace.
1064 - Fix booting on PPC64 by reserving initrd pages.
1065
1066 * Thu Oct 14 2004 Dave Jones <davej@redhat.com>
1067 - Rebase to 2.6.9-rc4-bk2
1068 - librtas needs to work around the /dev/mem restrictions.
1069 - EXT3 reservations use-before-initialised bugfix.
1070 - support O_NONBLOCK for read,pread,readv of regular files.
1071 - EDD blows up some x86-64's. Disable again.
1072
1073 * Wed Oct 13 2004 Dave Jones <davej@redhat.com>
1074 - Make EDD driver modular on x86-64 too.
1075 - Various mkinitrd spec changes (Jeremy Katz)
1076 - Enable a bunch more PPC64 config options. (Dave Howells)
1077 - Enable ACPI cpufreq driver for x86-64 too.
1078
1079 * Tue Oct 12 2004 Dave Jones <davej@redhat.com>
1080 - Rebase to 2.6.9-rc4-bk1
1081 - Tux update.
1082 - Update netdump/diskdump patches
1083 - PowerPC 64 netboot changes.
1084 - Various CONFIG_ option diddling.
1085 - Fix up the find_isa_irq_pin() oops on reboot for x86-64 too. 
1086
1087 * Mon Oct 11 2004 Dave Jones <davej@redhat.com>
1088 - Rebase to 2.6.9-rc4
1089 - Enable CONFIG_MICROCODE for x86-64
1090
1091 * Fri Oct  8 2004 Dave Jones <davej@redhat.com>
1092 - Rebase to 2.6.9-rc3-bk8
1093
1094 * Thu Oct  7 2004 Dave Jones <davej@redhat.com>
1095 - Rebase to 2.6.9-rc3-bk7
1096 - Fix up PPC/PPC64 compilation failures due to new binutils. (David Woodhouse)
1097
1098 * Wed Oct  6 2004 Dave Jones <davej@redhat.com>
1099 - Rebase to 2.6.9-rc3-bk6
1100 - Add xattr support for tmpfs.
1101
1102 * Mon Oct  4 2004 Stephen C. Tweedie <sct@redhat.com>
1103 - Update ext3 online resize to 2.6.9-rc3-mm2 upstream
1104 - Reenable ext3 online resize in .spec
1105
1106 * Tue Sep 28 2004 Jeremy Katz <katzj@redhat.com>
1107 - add patch from Roland McGrath/James Morris to fix mprotect hook bug (#133505)
1108
1109 * Mon Sep 20 2004 Arjan van de Ven <arjanv@redhat.com>
1110 - 2.6.9-rc2-bk5
1111
1112 * Thu Sep 16 2004 Arjan van de Ven <arjanv@redhat.com>
1113 - fix tux for x86-64 and ppc64
1114
1115 * Tue Sep 14 2004 Arjan van de Ven <arjanv@redhat.com>
1116 - 2.6.9-rc2
1117 - add diskdump
1118
1119 * Fri Sep 10 2004 Arjan van de Ven <arjanv@redhat.com>
1120 - 2.6.9-rc1-bk17 ; make ppc32 build
1121
1122 * Tue Sep 07 2004 Arjan van de Ven <arjanv@redhat.com>
1123 - 2.6.9-rc1-bk13
1124
1125 * Mon Sep 06 2004 Arjan van de Ven <arjanv@redhat.com>
1126 - disable online resize again
1127 - hopefully fix Quake3 interaction with execshield
1128 - add Alan's borken-bios-IRQ workaround patch
1129
1130 * Sat Sep 04 2004 Arjan van de Ven <arjanv@redhat.com>
1131 - 2.6.9-rc1-bk11
1132
1133 * Tue Aug 31 2004 Arjan van de Ven <arjanv@redhat.com>
1134 - fix execshield buglet with legacy binaries
1135 - 2.6.9-rc1-bk7
1136
1137 * Mon Aug 30 2004 Arjan van de Ven <arjanv@redhat.com>
1138 - 2.6.9-rc1-bk6
1139
1140 * Sat Aug 28 2004 Arjan van de Ven <arjanv@redhat.com>
1141 - 2.6.9-rc1-bk4, now with i915 DRM driver
1142
1143 * Fri Aug 27 2004 Arjan van de Ven <arjanv@redhat.com>
1144 - 2.6.9-rc1-bk2 
1145
1146 * Mon Aug 23 2004 Arjan van de Ven <arjanv@redhat.com>
1147 - 2.6.8.1-bk2
1148
1149 * Sat Aug 21 2004 Arjan van de Ven <arjanv@redhat.com>
1150 - attempt to fix early-udev bug
1151
1152 * Fri Aug 13 2004 Arjan van de Ven <arjanv@redhat.com>
1153 - 2.6.8-rc4-bk3
1154 - split execshield up some more
1155
1156 * Fri Aug 13 2004 Dave Jones <davej@redhat.com>
1157 - Update SCSI whitelist again with some more card readers.
1158
1159 * Mon Aug 9 2004 Arjan van de Ven <arjanv@redhat.com>
1160 - 2.6.8-rc3-bk3
1161
1162 * Wed Aug 4 2004 Arjan van de Ven <arjanv@redhat.com>
1163 - Add the flex-mmap bits for s390/s390x (Pete Zaitcev)
1164 - Add flex-mmap for x86-64 32 bit emulation
1165 - 2.6.8-rc3
1166
1167 * Mon Aug 2 2004 Arjan van de Ven <arjanv@redhat.com>
1168 - Add Rik's token trashing control patch
1169
1170 * Sun Aug 1 2004 Arjan van de Ven <arjanv@redhat.com>
1171 - 2.6.8-rc2-bk11
1172
1173 * Fri Jul 30 2004 Arjan van de Ven <arjanv@redhat.com>
1174 - 2.6.8-rc2-bk8
1175
1176 * Wed Jul 28 2004 Arjan van de Ven <arjanv@redhat.com>
1177 - 2.6.8-rc2-bk6
1178 - make a start at splitting up the execshield patchkit
1179
1180 * Fri Jul 16 2004 Arjan van de Ven <arjanv@redhat.com>
1181 - ppc32 embedded updates
1182
1183 * Thu Jul 15 2004 Arjan van de Ven <arjanv@redhat.com>
1184 - make USB modules again and add Alan's real fix for the SMM-meets-USB bug
1185 - 2.6.8-rc1-bk4
1186
1187 * Wed Jul 14 2004 Arjan van de Ven <arjanv@redhat.com>
1188 - 2.6.8-rc1-bk3
1189
1190 * Tue Jul 13 2004 Arjan van de Ven <arjanv@redhat.com>
1191 - add "enforcemodulesig" boot option to make the kernel load signed modules only
1192
1193 * Mon Jul 12 2004 Arjan van de Ven <arjanv@redhat.com>
1194 - updated voluntary preempt
1195 - 2.6.8-rc1
1196
1197 * Wed Jul 7 2004 Arjan van de Ven <arjanv@redhat.com>
1198 - fix boot breakage that was hitting lots of people (Dave Jones)
1199
1200 * Tue Jul 6 2004 Arjan van de Ven <arjanv@redhat.com>
1201 - add voluntary preemption patch from Ingo
1202 - 2.6.7-bk19
1203
1204 * Tue Jun 29 2004 Arjan van de Ven <arjanv@redhat.com>
1205 - make a start at gpg signed modules support
1206
1207 * Sat Jun 27 2004 Arjan van de Ven <arjanv@redhat.com>
1208 - experiment with making the hardlink call in post more efficient
1209 - 2.6.7-bk9
1210
1211 * Thu Jun 24 2004 Arjan van de Ven <arjanv@redhat.com>
1212 - 2.6.7-bk7
1213 - Add wli's patch to allocate memory bottom up not top down
1214 - change some config options in the kernel-sourcecode package that are
1215   good for rpm kernel builds but not for custom user builds to more appropriate 
1216   default values.
1217 - reenable kernel-sourcecode again for a few builds 
1218
1219 * Wed Jun 23 2004 Arjan van de Ven <arjanv@redhat.com>
1220 - 2.6.7-bk5
1221 - fix tux unresolved symbols (#126532)
1222
1223 * Mon Jun 21 2004 Arjan van de Ven <arjanv@redhat.com>
1224 - make kernel-doc and kernel-sourcecode builds independent of eachother
1225 - disable kernel-sourcecode builds entirely, we'll be replacing it with documentation
1226   on how to use the src.rpm instead for building your own kernel.
1227
1228 * Sat Jun 19 2004 Arjan van de Ven <arjanv@redhat.com>
1229 - 2.6.7-bk2
1230
1231 * Sun Jun 13 2004 Arjan van de Ven <arjanv@redhat.com>
1232 - add patch from DaveM to fix the ppp-keeps-iface-busy bug
1233
1234 * Sat Jun 12 2004 Arjan van de Ven <arjanv@redhat.com>
1235 - add fix from Andi Kleen/Linus for the fpu-DoS
1236
1237 * Thu Jun 10 2004 Arjan van de Ven <arjanv@redhat.com>
1238 - disable mlock-uses-rlimit patch, it has a security hole and needs more thought
1239 - revert airo driver to the FC2 one since the new one breaks
1240
1241 * Tue Jun 8 2004 Dave Jones <davej@redhat.com>
1242 - Update to 2.6.7rc3
1243
1244 * Fri Jun 4 2004 Arjan van de Ven <arjanv@redhat.com>
1245 - fix the mlock-uses-rlimit patch
1246
1247 * Wed Jun 2 2004 David Woodhouse <dwmw2@redhat.com>
1248 - Add ppc64 (Mac G5)
1249
1250 * Wed Jun 2 2004 Arjan van de Ven <arjanv@redhat.com>
1251 - add a forward port of the mlock-uses-rlimit patch
1252 - add NX support for x86 (Intel, Ingo)
1253
1254 * Tue Jun 1 2004 Arjan van de Ven <arjanv@redhat.com>
1255 - refresh ext3 reservation patch
1256
1257 * Sun May 30 2004 Arjan van de Ven <arjanv@redhat.com>
1258 - 2.6.7-rc2
1259 - set the ACPI OS name to "Microsoft Windows XP" for better compatibility
1260
1261 * Thu May 27 2004 Pete Zaitcev <zaitcev@redhat.com>
1262 - Fix qeth and zfcp (s390 drivers): align qib by 256, embedded into qdio_irq.
1263
1264 * Thu May 27 2004 Dave Jones <davej@redhat.com>
1265 - Fix the crashes on boot on Asus P4P800 boards. (#121819)
1266
1267 * Wed May 26 2004 Dave Jones <davej@redhat.com>
1268 - Lots more updates to the SCSI whitelist for various
1269   USB card readers. (#112778, among others..)
1270
1271 * Wed May 26 2004 Arjan van de Ven <arjanv@redhat.com>
1272 - back out ehci suspend/resume patch, it breaks
1273 - add fix for 3c59x-meets-kudzu bug from Alan
1274
1275 * Tue May 25 2004 Arjan van de Ven <arjanv@redhat.com>
1276 - try improving suspend/resume by restoring more PCI state
1277 - 2.6.7-rc1-bk1
1278
1279 * Mon May 24 2004 Dave Jones <davej@redhat.com>
1280 - Add yet another multi-card reader to the whitelist (#85851)
1281
1282 * Sun May 23 2004 Dave Jones <davej@redhat.com>
1283 - Add another multi-card reader to the whitelist (#124048)
1284
1285 * Wed May 19 2004 Arjan van de Ven <arjanv@redhat.com>
1286 - put firewire race fix in (datacorruptor)
1287
1288 * Tue May 18 2004 Dave Jones <davej@redhat.com>
1289 - Fix typo in ibmtr driver preventing compile (#123391)
1290
1291 * Mon May 17 2004 Arjan van de Ven <arjanv@redhat.com>
1292 - update to 2.6.6-bk3
1293 - made kernel-source and kernel-doc noarch.rpm's since they are not
1294   architecture specific.
1295
1296 * Sat May 08 2004 Arjan van de Ven <arjanv@redhat.com>
1297 - fix non-booting on Transmeta cpus (Peter Anvin)
1298 - fix count leak in message queues
1299
1300 * Fri May 07 2004 Arjan van de Ven <arjanv@redhat.com>
1301 - more ide cache flush work
1302 - patch from scsi-bk to fix sd refcounting
1303
1304 * Thu May 06 2004 Arjan van de Ven <arjanv@redhat.com>
1305 - some more ide cache flush fixes 
1306
1307 * Wed May 05 2004 Arjan van de Ven <arjanv@redhat.com>
1308 - fix bug 122504
1309 - convert b44 to ethtool ops (jgarzik)
1310 - make IDE do a cache-flush on shutdown (me/Alan)
1311
1312 * Tue May 04 2004 Arjan van de Ven <arjanv@redhat.com>
1313 - work around i810/i830 DRM issue
1314
1315 * Fri Apr 30 2004 Arjan van de Ven <arjanv@redhat.com>
1316 - 2.6.6-rc3-bk1
1317 - make amd64 boot again
1318 - fix vm86-vs-4g4g interaction (Ingo)
1319
1320 * Thu Apr 22 2004 Arjan van de Ven <arjanv@redhat.com>
1321 - 2.6.6-rc2
1322  
1323 * Tue Apr 20 2004 Arjan van de Ven <arjanv@redhat.com>
1324 - add the ext3 online resize patch
1325
1326 * Mon Apr 19 2004 Arjan van de Ven <arjanv@redhat.com>
1327 - 2.6.6-rc1-bk3
1328 - add the objrmap vm from the -mm tree; it needs testing
1329
1330 * Thu Apr 15 2004 Arjan van de Ven <arjanv@redhat.com>
1331 - 2.6.5-bk2
1332 - disable DISCONTIGMEM on ia64 for performance
1333 - fix sleep_on use in reiserfs (Chris Mason)
1334
1335 * Tue Apr 13 2004 Arjan van de Ven <arjanv@redhat.com>
1336 - 2.6.5-mc4
1337 - reenable sg driver for scsi tape changers and such
1338 - the sk98lin driver oopses on module unload, preven that
1339
1340 * Mon Apr 12 2004 Arjan van de Ven <arjanv@redhat.com>
1341 - fix "bad pmd" bug with patch from Ingo
1342
1343 * Fri Apr 09 2004 Arjan van de Ven <arjanv@redhat.com>
1344 - 2.6.5-mc3
1345 - finish up the -mc2 merge
1346 - latest 4g/4g patch from Ingo
1347 - latest execshield patch from Ingo
1348 - fix a few framebuffer bugs
1349
1350 * Thu Apr 08 2004 Arjan van de Ven <arjanv@redhat.com>
1351 - first attempt at a 2.6.5-mc2 merge
1352
1353 * Thu Apr 08 2004 Dave Jones <davej@redhat.com>
1354 - Add in missing SiS AGP fix.
1355
1356 * Tue Apr 06 2004 Dave Jones <davej@redhat.com>
1357 - More agpgart fixes.
1358
1359 * Fri Apr 02 2004 Arjan van de Ven <arjanv@redhat.com>
1360 - fix another 4g/4g-vs-resume bug
1361
1362 * Tue Mar 30 2004 Arjan van de Ven <arjanv@redhat.com>
1363 - 2.6.5-rc3
1364 - fix PCI posting bug in i830 DRM
1365
1366 * Mon Mar 29 2004 Arjan van de Ven <arjanv@redhat.com>
1367 - 2.6.5-rc2-bk8
1368
1369 * Mon Mar 29 2004 Dave Jones <davej@redhat.com>
1370 - Include latest agpgart fixes.
1371
1372 * Thu Mar 25 2004 Arjan van de Ven <arjanv@redhat.com>
1373 - more DRM fixes
1374 - add the fsync patches from akpm
1375
1376 * Tue Mar 23 2004 Arjan van de Ven <arjanv@redhat.com>
1377 - 2.6.5-rc2-bk3
1378 - fix direct userspace memory access in i830 drm driver
1379
1380 * Mon Mar 22 2004 Arjan van de Ven <arjanv@redhat.com>
1381 - 2.6.5-rc2-bk2
1382 - some stackbloat reductions from Dave and me
1383
1384 * Sat Mar 20 2004 Arjan van de Ven <arjanv@redhat.com>
1385 - 2.6.5-rc2
1386
1387 * Tue Mar 16 2004 Dave Jones <davej@redhat.com>
1388 - 2.6.5-rc1
1389
1390 * Mon Mar 15 2004 Arjan van de Ven <arjanv@redhat.com>
1391 - 2.6.4-bk3
1392 - fix oops in toshiba_acpi (Barry K. Nathan)
1393
1394 * Sat Mar 13 2004 Arjan van de Ven <arjanv@redhat.com>
1395 - 2.6.4-bk2 merge 
1396
1397 * Thu Mar 11 2004 Arjan van de Ven <arjanv@redhat.com>
1398 - renable sonypi driver that was off accidentally
1399 - 2.6.4-final 
1400 - fix the oops on alsa module unloads
1401
1402 * Wed Mar 10 2004 Arjan van de Ven <arjanv@redhat.com>
1403 - add ppc64/iseries, ppc32 (powermac/ibook) and ia64 architectures
1404 - 2.6.4-rc3 
1405
1406 * Tue Mar 09 2004 Arjan van de Ven <arjanv@redhat.com>
1407 - 2.6.4-rc2-bk5
1408 - fix nfs-vs-selinux issue
1409 - fix typo in URL as per #117849
1410
1411 * Mon Mar 08 2004 Arjan van de Ven <arjanv@redhat.com>
1412 - fix race in lp.c (#117710)
1413 - 2.6.4-rc2-bk3
1414 - attempt to fix S3 suspend-to-ram with 4g/4g split
1415
1416 * Sat Mar 06 2004 Arjan van de Ven <arjanv@redhat.com>
1417 - fix reiserfs
1418 - set HZ to 1000 again for some tests
1419
1420 * Wed Feb 25 2004 Arjan van de Ven <arjanv@redhat.com>
1421 - merge back a bunch of fedora fixes
1422 - disable audit
1423
1424 * Tue Feb 24 2004 Arjan van de Ven <arjanv@redhat.com>
1425 - audit bugfixes
1426 - update tux to a working version
1427 - 2.6.3-bk5 merge
1428
1429 * Fri Feb 20 2004 Arjan van de Ven <arjanv@redhat.com>
1430 - re-add and enable the Auditing patch
1431 - switch several cpufreq modules to built in since detecting in userspace
1432   which to use is unpleasant
1433 * Thu Jul 03 2003 Arjan van de Ven <arjanv@redhat.com>
1434 - 2.6 start