Go to file
Chuck Ebbert 7139dd832a - Update to kernel 2.6.33.7
- Drop patches merged in 2.6.33.7:
    drm-i915-add-reclaimable-to-page-allocations.patch
    drm-i915-fix-hibernate-memory-corruption.patch
    drm-radeon-fix-shared-ddc-handling.patch
    linux-2.6-acpi-sleep-live-sci-live.patch
    drm-i915-make-G4X-style-PLL-search-more-permissive.patch
    mac80211-do-not-wipe-out-old-supported-rates.patch
    mac80211-fix-supported-rates-IE-if-AP-doesnt-give-us-its-rates.patch
    iwlwifi-cancel-scan-watchdog-in-iwl_bg_abort_scan.patch
    sched-fix-over-scheduling-bug.patch
    ethtool-fix-buffer-overflow.patch
    x86-debug-clear-reserved-bits-of-dr6.patch
    x86-debug-send-sigtrap-for-user-icebp.patch
    cifs-fix-malicious-redirect-problem-in-the-dns-lookup-code.patch
- Revert broken ssb patch from 2.6.33.7:
    ssb-handle-netbook-devices-where-the-sprom-address-is-changed.patch
2010-08-14 23:31:39 -04:00
scripts Restore README.txt, scripts. 2010-08-01 16:02:27 -04:00
.gitignore copy .gitignore from f14 2010-07-31 16:40:38 -04:00
acpi-ec-add-delay-before-write.patch initial srpm import 2010-07-29 17:19:53 -07:00
add-appleir-driver.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
alsa-usbmixer-add-possibility-to-remap-dB-values.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
btrfs-prohibit-a-operation-of-changing-acls-mask-when-noacl-mount-option-is-used.patch initial srpm import 2010-07-29 17:19:53 -07:00
config-arm Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
config-debug Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
config-generic Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
config-i686-PAE initial srpm import 2010-07-29 17:19:53 -07:00
config-ia64-generic Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
config-nodebug Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
config-powerpc32-generic Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
config-powerpc32-smp initial srpm import 2010-07-29 17:19:53 -07:00
config-powerpc64 Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
config-powerpc-generic Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
config-rhel-generic Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
config-s390x Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
config-sparc64-generic Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
config-x86_64-generic Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
config-x86-generic Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
crypto-aesni-kill-module_alias.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
crystalhd-2.6.34-staging.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
die-floppy-die.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
disable-i8042-check-on-apple-mac.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-1024x768-85.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-connection-cache.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-core-next.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-i915-fix-edp-panels.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-i915-fix-non-ironlake-965-class-crashes.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-i915-use-pipe_control-instruction-on-ironlake-and-sandy-bridge.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-intel-big-hammer.patch initial srpm import 2010-07-29 17:19:53 -07:00
drm-intel-gen5-dither.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-intel-make-lvds-work.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-intel-next.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-intel-sdvo-fix-2.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-intel-sdvo-fix.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-nouveau-abi16.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-nouveau-acpi-edid-fallback.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-nouveau-drm-fixed-header.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-nouveau-updates.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-radeon-evergreen.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-radeon-firemv-pciid.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-radeon-fix-rs600-tlb.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-radeon-kms-fix-dual-link-dvi.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
drm-radeon-ss-fix.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
ext4-issue-discard-operation-before-releasing-blocks.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
find-provides initial srpm import 2010-07-29 17:19:53 -07:00
fix_xen_guest_on_old_EC2.patch initial srpm import 2010-07-29 17:19:53 -07:00
fix-9p-fscache.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
genkey initial srpm import 2010-07-29 17:19:53 -07:00
git-bluetooth.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
git-cpufreq.patch initial srpm import 2010-07-29 17:19:53 -07:00
git-linus.diff initial srpm import 2010-07-29 17:19:53 -07:00
hda_intel-prealloc-4mb-dmabuffer.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
hdpvr-ir-enable.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
ibmvscsi-fix-DMA-API-misuse.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
inotify-fix-inotify-oneshot-support.patch initial srpm import 2010-07-29 17:19:53 -07:00
inotify-send-IN_UNMOUNT-events.patch initial srpm import 2010-07-29 17:19:53 -07:00
iwlwifi_-add-function-to-reset_tune-radio-if-needed.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
iwlwifi_-add-internal-short-scan-support-for-3945.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
iwlwifi_-Adjusting-PLCP-error-threshold-for-1000-NIC.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
iwlwifi_-code-cleanup-for-connectivity-recovery.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
iwlwifi_-iwl_good_ack_health-only-apply-to-AGN-device.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
iwlwifi_-Logic-to-control-how-frequent-radio-should-be-reset-if-needed.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
iwlwifi_-move-plcp-check-to-separated-function.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
iwlwifi_-multiple-force-reset-mode.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
iwlwifi_-Recover-TX-flow-failure.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
iwlwifi_-Recover-TX-flow-stall-due-to-stuck-queue.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
iwlwifi_-separated-time-check-for-different-type-of-force-reset.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
iwlwifi_-Tune-radio-to-prevent-unexpected-behavior.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
iwlwifi-fix-internal-scan-race.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
iwlwifi-fix-scan-races.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
iwlwifi-manage-QoS-by-mac-stack.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
iwlwifi-recover_from_tx_stall.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
kernel.spec - Update to kernel 2.6.33.7 2010-08-14 23:31:39 -04:00
kvm-mmu-fix-conflict-access-permissions-in-direct-sp.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-acpi-indirect_fan_control.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-acpi-video-dos.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-acpi-video-export-edid.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-ata-quirk.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-btrfs-update.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-build-nonintconfig.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-compile-fixes.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-cpufreq-locking.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-crash-driver.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-debug-always-inline-kzalloc.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-debug-nmi-timeout.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-debug-sizeof-structs.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-debug-taint-vm.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-debug-vm-would-have-oomkilled.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-defaults-acpi-video.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-defaults-aspm.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-defaults-pci_no_msi.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-defaults-pciehp.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-dell-laptop-rfkill-fix.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-driver-level-usb-autosuspend.diff initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-enable-btusb-autosuspend.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-execshield.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-firewire-git-pending.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-firewire-git-update.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-fix-btusb-autosuspend.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-fix-usb-serial-autosuspend.diff Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-g5-therm-shutdown.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-hotfixes.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-input-clickpad-support.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-input-fix-toshiba-hotkeys.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-input-hid-quirk-egalax.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-input-kill-stupid-messages.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-intel-iommu-igfx.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-mac80211-age-scan-results-on-resume.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-makefile-after_link.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-nfs4-callback-hidden.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-p54pci.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-pciehp-update.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-phylib-autoload.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-qcserial-autosuspend.diff Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-rfkill-all.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-selinux-avtab-size.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-selinux-mprotect-checks.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-serial-460800.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-silence-acpi-blacklist.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-silence-fbcon-logo.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-silence-noise.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-sparc-selinux-mprotect-checks.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-tracehook.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-umh-refactor.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-upstream-reverts.patch - Update to kernel 2.6.33.7 2010-08-14 23:31:39 -04:00
linux-2.6-usb-uvc-autosuspend.diff initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-usb-wwan-update.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-utrace-ptrace.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-utrace.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-v4l-dvb-add-kworld-a340-support.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-v4l-dvb-add-lgdt3304-support.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-v4l-dvb-experimental.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-v4l-dvb-fixes.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-v4l-dvb-gspca-fixes.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-v4l-dvb-rebase-gspca-to-latest.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-v4l-dvb-update.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6-vio-modalias.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-x86-64-fbdev-primary.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6-x86-cfi_sections.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6.29-sparc-IOC_TYPECHECK.patch initial srpm import 2010-07-29 17:19:53 -07:00
linux-2.6.30-hush-rom-warning.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
linux-2.6.30-no-pcspkr-modalias.patch initial srpm import 2010-07-29 17:19:53 -07:00
lirc-2.6.33.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
mac80211-explicitly-disable-enable-QoS.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
Makefile Add prep target to Makefile; use PREPARCH 2010-08-01 22:02:45 -04:00
Makefile.config initial srpm import 2010-07-29 17:19:53 -07:00
merge.pl initial srpm import 2010-07-29 17:19:53 -07:00
neuter_intel_microcode_load.patch initial srpm import 2010-07-29 17:19:53 -07:00
ntrig-backport.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
perf initial srpm import 2010-07-29 17:19:53 -07:00
perf-mount-debugfs-automatically.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
prevent-runtime-conntrack-changes.patch initial srpm import 2010-07-29 17:19:53 -07:00
README.txt Restore README.txt, scripts. 2010-08-01 16:02:27 -04:00
rt2x00-rt2800-Make-rt30xx-and-rt35xx-chipsets-configurable.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
sources - Update to kernel 2.6.33.7 2010-08-14 23:31:39 -04:00
ssb_check_for_sprom.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
thinkpad-acpi-add-x100e.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
thinkpad-acpi-fix-backlight.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
vhost_net-rollup2.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
vhost_net-rollup.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
virt_console-fix-fix-race.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
virt_console-fix-race.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
virt_console-rollup2.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00
virt_console-rollup.patch Add 2.6.33 branch to git repository. 2010-08-14 22:13:27 -04:00

		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.