From Fedora Project Wiki
Prepare
Installing git:
# yum install git -y
Usage
Get the git sources
$ cd ~ $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git $ cd linux
This creates the folder /usr/src/linux-stable
Start bisect
$ git bisect start $ git bisect bad v3.11-rc1 $ git bisect good v3.9
Build the kernel
$ export MAKEOPTS="`rpm --eval %{?_smp_mflags}`" $ curl http://pkgs.fedoraproject.org/cgit/kernel.git/plain/config-generic > .config $ curl http://pkgs.fedoraproject.org/cgit/kernel.git/plain/config-`arch`-generic >> .config $ make oldconfig $ make bzImage && make modules # make modules_install && make install
- BIOS:
# grub2-mkconfig -o /boot/grub2/grub.cfg
- UEFI:
# grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
Reboot:
# systemctl reboot
Testing problem..
Bad bisect
$ cd ~/linux $ git bisect bad
Goto #Build the kernel
Good bisect
$ cd ~/linux $ git bisect good
Goto #Build the kernel
Unknown bisect
$ cd ~/linux $ git bisect skip
Goto #Build the kernel