Go to file
Kyle McMartin 22028b1178 final f12 build 2010-12-01 16:24:56 -05:00
scripts Restore README.txt, scripts. 2010-08-01 16:03:34 -04:00
.gitignore Linux 2.6.32.26 2010-11-22 16:06:12 -05:00
Makefile Add prep target to Makefile; use PREPARCH 2010-08-02 10:04:03 -04:00
Makefile.config initial srpm import 2010-07-29 17:18:45 -07:00
README.txt Restore README.txt, scripts. 2010-08-01 16:03:34 -04:00
acpi-ec-add-delay-before-write.patch initial srpm import 2010-07-29 17:18:45 -07:00
add-appleir-usb-driver.patch initial srpm import 2010-07-29 17:18:45 -07:00
add-support-for-ricoh-e822-sdhci.patch add some patches from sgruska to fix various issues in f-12, thanks! 2010-10-14 11:16:09 -04:00
btrfs-prohibit-a-operation-of-changing-acls-mask-when-noacl-mount-option-is-used.patch initial srpm import 2010-07-29 17:18:45 -07:00
config-arm initial srpm import 2010-07-29 17:18:45 -07:00
config-debug initial srpm import 2010-07-29 17:18:45 -07:00
config-generic Don't build UIO platform drivers: they require additional platform code. 2010-09-01 08:00:43 -04:00
config-i686-PAE initial srpm import 2010-07-29 17:18:45 -07:00
config-ia64-generic initial srpm import 2010-07-29 17:18:45 -07:00
config-nodebug initial srpm import 2010-07-29 17:18:45 -07:00
config-powerpc-generic initial srpm import 2010-07-29 17:18:45 -07:00
config-powerpc32-generic initial srpm import 2010-07-29 17:18:45 -07:00
config-powerpc32-smp initial srpm import 2010-07-29 17:18:45 -07:00
config-powerpc64 initial srpm import 2010-07-29 17:18:45 -07:00
config-rhel-generic initial srpm import 2010-07-29 17:18:45 -07:00
config-s390x initial srpm import 2010-07-29 17:18:45 -07:00
config-sparc64-generic initial srpm import 2010-07-29 17:18:45 -07:00
config-x86-generic initial srpm import 2010-07-29 17:18:45 -07:00
config-x86_64-generic initial srpm import 2010-07-29 17:18:45 -07:00
crypto-add-async-hash-testing.patch initial srpm import 2010-07-29 17:18:45 -07:00
crystalhd-2.6.34-staging.patch initial srpm import 2010-07-29 17:18:45 -07:00
die-floppy-die.patch initial srpm import 2010-07-29 17:18:45 -07:00
drm-i915-resume-force-mode.patch initial srpm import 2010-07-29 17:18:45 -07:00
drm-i915-sanity-check-pread-pwrite.patch drm-i915-sanity-check-pread-pwrite.patch: backport fix for CVE-2010-2962 2010-10-23 01:23:31 -04:00
drm-intel-945gm-stability-fixes.patch initial srpm import 2010-07-29 17:18:45 -07:00
drm-intel-acpi-populate-didl.patch initial srpm import 2010-07-29 17:18:45 -07:00
drm-intel-big-hammer.patch initial srpm import 2010-07-29 17:18:45 -07:00
drm-intel-make-lvds-work.patch initial srpm import 2010-07-29 17:18:45 -07:00
drm-intel-next.patch initial srpm import 2010-07-29 17:18:45 -07:00
drm-intel-no-tv-hotplug.patch initial srpm import 2010-07-29 17:18:45 -07:00
drm-nouveau-d620.patch initial srpm import 2010-07-29 17:18:45 -07:00
drm-nouveau-g80-ctxprog.patch initial srpm import 2010-07-29 17:18:45 -07:00
drm-nouveau-kconfig.patch initial srpm import 2010-07-29 17:18:45 -07:00
drm-nouveau-mutex.patch initial srpm import 2010-07-29 17:18:45 -07:00
drm-nouveau-nva3-noaccel.patch - Backport nouveau noaccel fix for nva3+ cards from f13. 2010-08-10 12:38:41 -04:00
drm-nouveau-safetile-getparam.patch initial srpm import 2010-07-29 17:18:45 -07:00
drm-nouveau-tvout-disable.patch initial srpm import 2010-07-29 17:18:45 -07:00
drm-nouveau-update.patch initial srpm import 2010-07-29 17:18:45 -07:00
drm-radeon-pm.patch initial srpm import 2010-07-29 17:18:45 -07:00
drm-upgrayed-fixes.patch - Bring back drm-upgrayed-fixes.patch, dropped in the 2010-08-10 11:10:03 -04:00
drm-upgrayedd.patch Linux 2.6.32.22 2010-09-20 18:48:03 -04:00
find-provides initial srpm import 2010-07-29 17:18:45 -07:00
fix-abrtd.patch initial srpm import 2010-07-29 17:18:45 -07:00
fix-ima-null-ptr-deref.patch initial srpm import 2010-07-29 17:18:45 -07:00
genkey initial srpm import 2010-07-29 17:18:45 -07:00
git-bluetooth.patch initial srpm import 2010-07-29 17:18:45 -07:00
git-cpufreq.patch initial srpm import 2010-07-29 17:18:45 -07:00
git-linus.diff initial srpm import 2010-07-29 17:18:45 -07:00
hda_intel-prealloc-4mb-dmabuffer.patch initial srpm import 2010-07-29 17:18:45 -07:00
hdpvr-ir-enable.patch initial srpm import 2010-07-29 17:18:45 -07:00
ice1712-fix-revo71-mixer-names.patch initial srpm import 2010-07-29 17:18:45 -07:00
inet_diag-make-sure-we-run-the-same-bytecode-we-audited.patch fix logic error in INET_DIAG bytecode auditing (CVE-2010-3880) 2010-11-23 11:17:52 -05:00
ipc-shm-fix-information-leak-to-user.patch zero struct memory in ipc shm (CVE-2010-4072) 2010-11-23 11:01:02 -05:00
ipc-zero-struct-memory-for-compat-fns.patch initialize struct memory to zero in ipc compat (CVE-2010-4073) 2010-11-23 10:15:23 -05:00
iwlwifi-fix-internal-scan-race.patch initial srpm import 2010-07-29 17:18:45 -07:00
iwlwifi-fix-scan-races.patch initial srpm import 2010-07-29 17:18:45 -07:00
iwlwifi-manage-QoS-by-mac-stack.patch initial srpm import 2010-07-29 17:18:45 -07:00
iwlwifi-recover_from_tx_stall.patch initial srpm import 2010-07-29 17:18:45 -07:00
iwlwifi-reset-card-during-probe.patch initial srpm import 2010-07-29 17:18:45 -07:00
iwlwifi_-Adjusting-PLCP-error-threshold-for-1000-NIC.patch initial srpm import 2010-07-29 17:18:45 -07:00
iwlwifi_-Logic-to-control-how-frequent-radio-should-be-reset-if-needed.patch initial srpm import 2010-07-29 17:18:45 -07:00
iwlwifi_-Recover-TX-flow-failure.patch initial srpm import 2010-07-29 17:18:45 -07:00
iwlwifi_-Recover-TX-flow-stall-due-to-stuck-queue.patch initial srpm import 2010-07-29 17:18:45 -07:00
iwlwifi_-Tune-radio-to-prevent-unexpected-behavior.patch initial srpm import 2010-07-29 17:18:45 -07:00
iwlwifi_-add-function-to-reset_tune-radio-if-needed.patch initial srpm import 2010-07-29 17:18:45 -07:00
iwlwifi_-add-internal-short-scan-support-for-3945.patch initial srpm import 2010-07-29 17:18:45 -07:00
iwlwifi_-code-cleanup-for-connectivity-recovery.patch initial srpm import 2010-07-29 17:18:45 -07:00
iwlwifi_-iwl_good_ack_health-only-apply-to-AGN-device.patch initial srpm import 2010-07-29 17:18:45 -07:00
iwlwifi_-move-plcp-check-to-separated-function.patch initial srpm import 2010-07-29 17:18:45 -07:00
iwlwifi_-multiple-force-reset-mode.patch initial srpm import 2010-07-29 17:18:45 -07:00
iwlwifi_-separated-time-check-for-different-type-of-force-reset.patch initial srpm import 2010-07-29 17:18:45 -07:00
kernel.spec final f12 build 2010-12-01 16:24:56 -05:00
l2tp-fix-oops-in-pppol2tp_xmit.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-acpi-video-dos.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-ata-quirk.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-autoload-wmi.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-b43_-Rewrite-DMA-Tx-status-handling-sanity-checks.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-build-nonintconfig.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-cantiga-iommu-gfx.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-compile-fixes.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-crash-driver.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-debug-always-inline-kzalloc.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-debug-nmi-timeout.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-debug-sizeof-structs.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-debug-taint-vm.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-debug-vm-would-have-oomkilled.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-defaults-acpi-video.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-defaults-alsa-hda-beep-off.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-defaults-aspm.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-defaults-pci_no_msi.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-defaults-pciehp.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-dell-laptop-rfkill-fix.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-driver-level-usb-autosuspend.diff initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-e1000-ich9.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-enable-btusb-autosuspend.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-execshield.patch Linux 2.6.32.21-rc1 2010-08-25 20:14:08 -04:00
linux-2.6-firewire-git-pending.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-firewire-git-update.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-g5-therm-shutdown.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-hotfixes.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-imac-transparent-bridge.patch * Mon Aug 02 2010 Chuck Ebbert <cebbert@redhat.com> 2.6.32.17-155.rc1 2010-08-02 18:00:48 -04:00
linux-2.6-input-fix-toshiba-hotkeys.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-input-hid-quirk-egalax.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-input-kill-stupid-messages.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-ksm-kvm.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-makefile-after_link.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-nfs4-callback-hidden.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-nfsd4-proots.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-pci-cacheline-sizing.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-pciehp-update.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-phylib-autoload.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-ps3-storage-alias.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-revert-dvb-net-kabi-change.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-rfkill-all.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-selinux-mprotect-checks.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-serial-460800.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-silence-acpi-blacklist.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-silence-fbcon-logo.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-silence-noise.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-sparc-selinux-mprotect-checks.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-tracehook.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-upstream-reverts.patch - Bring back drm-upgrayed-fixes.patch, dropped in the 2010-08-10 11:10:03 -04:00
linux-2.6-usb-uvc-autosuspend.diff initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-usb-wwan-update.patch - Linux 2.6.32.19-rc1 2010-08-13 08:52:43 -04:00
linux-2.6-utrace-ptrace.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-utrace.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-v4l-dvb-add-kworld-a340-support.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-v4l-dvb-add-lgdt3304-support.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-v4l-dvb-experimental.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-v4l-dvb-fixes.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-v4l-dvb-rebase-gspca-to-latest.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-v4l-dvb-update.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-vio-modalias.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6-x86-64-fbdev-primary.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6.29-sparc-IOC_TYPECHECK.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6.30-hush-rom-warning.patch initial srpm import 2010-07-29 17:18:45 -07:00
linux-2.6.30-no-pcspkr-modalias.patch initial srpm import 2010-07-29 17:18:45 -07:00
lirc-2.6.32.patch initial srpm import 2010-07-29 17:18:45 -07:00
mac80211-explicitly-disable-enable-QoS.patch initial srpm import 2010-07-29 17:18:45 -07:00
merge.pl initial srpm import 2010-07-29 17:18:45 -07:00
net-do-not-check-capable-if-kernel.patch backport two fixes from 2.6.33 to quiet avc denials (#598796) 2010-09-06 14:58:48 -04:00
netlink-make-nlmsg_find_attr-take-a-const-ptr.patch quiet a netlink build warning the INET_DIAG fix caused 2010-11-26 15:16:03 -05:00
pci-acpi-disable-aspm-if-no-osc.patch initial srpm import 2010-07-29 17:18:45 -07:00
pci-aspm-dont-enable-too-early.patch initial srpm import 2010-07-29 17:18:45 -07:00
perf initial srpm import 2010-07-29 17:18:45 -07:00
posix-cpu-timers-workaround-to-suppress-problems-with-mt-exec.patch posix-cpu-timers: workaround to suppress the problems with mt exec (rhbz#656264) 2010-11-23 11:35:47 -05:00
sky2-optima-add-missing-write-bits.patch initial srpm import 2010-07-29 17:18:45 -07:00
sky2-optima-add-register-definitions.patch initial srpm import 2010-07-29 17:18:45 -07:00
sky2-optima-fix-tcp-offload.patch initial srpm import 2010-07-29 17:18:45 -07:00
sky2-optima-print-chip-name.patch initial srpm import 2010-07-29 17:18:45 -07:00
sky2-optima-support.patch initial srpm import 2010-07-29 17:18:45 -07:00
sources Linux 2.6.32.26 2010-11-22 16:06:12 -05:00
thinkpad-acpi-add-x100e.patch initial srpm import 2010-07-29 17:18:45 -07:00
thinkpad-acpi-fix-backlight.patch initial srpm import 2010-07-29 17:18:45 -07:00
tty-icount-changeover-for-other-main-devices.patch plug various tty/serial stack leaks 2010-11-26 15:12:25 -05:00
tty-make-tiocgicount-a-handler.patch plug various tty/serial stack leaks 2010-11-26 15:12:25 -05:00
via-hwmon-temp-sensor.patch initial srpm import 2010-07-29 17:18:45 -07:00
viafb-neuter-device-table.patch initial srpm import 2010-07-29 17:18:45 -07:00
wmi-check-find_guid-return-value-to-prevent-oops.patch initial srpm import 2010-07-29 17:18:45 -07:00
wmi-survive-bios-with-duplicate-guids.patch initial srpm import 2010-07-29 17:18:45 -07:00

README.txt

		Kernel package tips & tricks.
		~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The kernel is one of the more complicated packages in the distro, and
for the newcomer, some of the voodoo in the spec file can be somewhat scary.
This file attempts to document some of the magic.


Speeding up make prep
---------------------
The kernel is nearly 500MB of source code, and as such, 'make prep'
takes a while. The spec file employs some trickery so that repeated
invocations of make prep don't take as long.  Ordinarily the %prep
phase of a package will delete the tree it is about to untar/patch.
The kernel %prep keeps around an unpatched version of the tree,
and makes a symlink tree clone of that clean tree and than applies
the patches listed in the spec to the symlink tree.
This makes a huge difference if you're doing multiple make preps a day.
As an added bonus, doing a diff between the clean tree and the symlink
tree is slightly faster than it would be doing two proper copies of the tree.


build logs.
-----------
There's a convenience helper script in scripts/grab-logs.sh
that will grab the build logs from koji for the kernel version reported
by make verrel


config heirarchy.
-----------------
Instead of having to maintain a config file for every arch variant we build on,
the kernel spec uses a nested system of configs.  At the top level, is
config-generic. Add options here that should be present in every possible
config on all architectures.
Beneath this are per-arch overrides. For example config-x86-generic add
additional x86 specific options, and also _override_ any options that were
set in config-generic.
There exist two additional overrides, config-debug, and config-nodebug,
which override -generic, and the per-arch overrides. It is documented
further below.

debug options.
--------------
This is a little complicated, as the purpose & meaning of this changes
depending on where we are in the release cycle.
If we are building for a current stable release, 'make release' has
typically been run already, which sets up the following..
- Two builds occur, a 'kernel' and a 'kernel-debug' flavor.
- kernel-debug will get various heavyweight debugging options like
  lockdep etc turned on.

If we are building for rawhide, 'make debug' has been run, which changes
the status quo to:
- We only build one kernel 'kernel'
- The debug options from 'config-debug' are always turned on.
This is done to increase coverage testing, as not many people actually
run kernel-debug.

To add new debug options, add an option to _both_ config-debug and config-nodebug,
and also new stanzas to the Makefile 'debug' and 'release' targets.

Sometimes debug options get added to config-generic, or per-arch overrides
instead of config-[no]debug. In this instance, the options should have no
discernable performance impact, otherwise they belong in the debug files.