git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
cd linux
git checkout v4.12
git bisect start
git bisect good v4.12
git bisect bad v4.13-rc1
Bisecting: 6041 revisions left to test after this (roughly 13 steps)
[e5f76a2e0e84ca2a215ecbf6feae88780d055c56] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
git bisect bad
Bisecting: 2965 revisions left to test after this (roughly 12 steps)
[1849f800fba32cd5a0b647f824f11426b85310d8] Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
git bisect bad
[cbcd4f08aa637b74f575268770da86a00fabde6d] Merge tag 'staging-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
git bisect good
Bisecting: 604 revisions left to test after this (roughly 9 steps)
[408c9861c6979db974455b9e7a9bcadd60e0934c] Merge tag 'pm-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
git bisect bad
Bisecting: 292 revisions left to test after this (roughly 8 steps)
[650fc870a2ef35b83397eebd35b8c8df211bff78] Merge tag 'docs-4.13' of git://git.lwn.net/linux
git bisect good
Bisecting: 146 revisions left to test after this (roughly 7 steps)
[d62eb5edf6643ede7e48b4d03ba972c0e8949acc] Merge tag 'regulator-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
git bisect good
Bisecting: 66 revisions left to test after this (roughly 6 steps)
[8f8e5c3e2796eaf150d6262115af12707c2616dd] Merge branch 'acpi-pm'
cp /boot/config-`uname -r` .config
make oldconfig -> pressed enter few times
make clean
scripts/config --disable DEBUG_INFO
scripts/config --disable CC_STACKPROTECTOR_STRONG
make -j `getconf _NPROCESSORS_ONLN` deb-pkg LOCALVERSION=-custom
// 4:02PM build started
// 445 finished.
file generated
cd ..
installed there two files linux-headers-4.12.0-rc7-custom_4.12.0-rc7-custom-1_amd64.deb
linux-image-4.12.0-rc7-custom_4.12.0-rc7-custom-1_amd64.deb
sudo apt-get install git build-essential kernel-package fakeroot libncurses5-dev libssl-dev ccache
git clone git://git. kernel. org/pub/ scm/linux/ kernel/ git/torvalds/ linux.git
cd linux
git checkout v4.12 a2a215ecbf6feae 88780d055c56] Merge branch 'for-linus' of git://git. kernel. org/pub/ scm/linux/ kernel/ git/ebiederm/ user-namespace
git bisect start
git bisect good v4.12
git bisect bad v4.13-rc1
Bisecting: 6041 revisions left to test after this (roughly 13 steps)
[e5f76a2e0e84c
git bisect bad
Bisecting: 2965 revisions left to test after this (roughly 12 steps) cd5a0b647f824f1 1426b85310d8] Merge tag 'armsoc-dt' of git://git. kernel. org/pub/ scm/linux/ kernel/ git/arm/ arm-soc
[1849f800fba32
git bisect bad b74f575268770da 86a00fabde6d] Merge tag 'staging-4.13-rc1' of git://git. kernel. org/pub/ scm/linux/ kernel/ git/gregkh/ staging db974455b9e7a9b cadd60e0934c] Merge tag 'pm-4.13-rc1' of git://git. kernel. org/pub/ scm/linux/ kernel/ git/rafael/ linux-pm 5b83397eebd35b8 c8df211bff78] Merge tag 'docs-4.13' of git://git. lwn.net/ linux ede7e48b4d03ba9 72c0e8949acc] Merge tag 'regulator-v4.13' of git://git. kernel. org/pub/ scm/linux/ kernel/ git/broonie/ regulator af150d6262115af 12707c2616dd] Merge branch 'acpi-pm'
[cbcd4f08aa637
git bisect good
Bisecting: 604 revisions left to test after this (roughly 9 steps)
[408c9861c6979
git bisect bad
Bisecting: 292 revisions left to test after this (roughly 8 steps)
[650fc870a2ef3
git bisect good
Bisecting: 146 revisions left to test after this (roughly 7 steps)
[d62eb5edf6643
git bisect good
Bisecting: 66 revisions left to test after this (roughly 6 steps)
[8f8e5c3e2796e
cp /boot/config-`uname -r` .config OR_STRONG -custom
make oldconfig -> pressed enter few times
make clean
scripts/config --disable DEBUG_INFO
scripts/config --disable CC_STACKPROTECT
make -j `getconf _NPROCESSORS_ONLN` deb-pkg LOCALVERSION=
// 4:02PM build started
// 445 finished.
file generated
cd ..
installed there two files linux-headers- 4.12.0- rc7-custom_ 4.12.0- rc7-custom- 1_amd64. deb image-4. 12.0-rc7- custom_ 4.12.0- rc7-custom- 1_amd64. deb
linux-