Comment # 8 on bug 975824 from
It'd be great if you can perform the git bisection by compiling the kernel by
yourself.  Here is a brief instruction.

First off, boot with kernel-vanilla-4.1.15, and confirm that it works.
Then,  clone linux-stable git tree:
 % git clone
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
 % cd linux-stable
 % git checkout linux-4.1.y

Then go back to 4.1.15.
 % git reset --hard v4.1.15

Run make localmodconfig to have a minimal kernel config matching with your
running kernel:
 % make localmodconfig
 .... just press RETURN key if anything asked

Edit .config file, especially rename CONFIG_LOCALVERSION to another string,
e.g. "-test"

Then run make.  Pass -j4 or -j8 for parallel builds.
 % make -j4

Install it.  Run "make install" as root, and it'll copy the files to /boot. 
Then update grub.conf.
 % su
 # make install
 # /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg

Reboot with the test kernel and test.  This 4.1.15 kernel must work.  If it
doesn't, something is missing.

Now, we can start git bisect.  Set up git bisect, indicate that 4.1.5 is a good
kernel.  And, go to 4.1.20, make, and install it.
 % cd linux-stable
 % git bisect start
 % git bisect good
 % git reset --hard v4.1.20
 % make -j4
 # make install

Test this kernel, and confirm that it's broken.  Then boot back to any working
kernel, and run "git bisect bad" to indicate that it's a bad kernel.
 % cd linux-stable
 % git bisect bad

This will point to the commit between good and bad points.  Again make, install
and retest.  If this kernel works, run "git bisect good", and if not, "git
bisect bad".  Repeat this until you spot to the culprit.


You are receiving this mail because: