| |
@@ -22,8 +22,8 @@
|
| |
* Add `initcall_debug` parameter, which traces the initcalls as they are
|
| |
executed.
|
| |
|
| |
- * If you get no output at all from the kernel, sometimes booting with
|
| |
- `earlyprintk=vga` can sometimes yield something of interest.
|
| |
+ * If you get no output at all from the kernel, booting with `earlyprintk=vga`
|
| |
+ can sometimes yield something of interest.
|
| |
|
| |
|
| |
== Hangs and freezes
|
| |
@@ -68,7 +68,7 @@
|
| |
version.
|
| |
|
| |
. Install the <<build-custom-kernel.adoc#get-the-dependencies,dependencies>>
|
| |
- required to build the kernel
|
| |
+ required to build the kernel.
|
| |
|
| |
. Next, <<build-custom-kernel.adoc#getting-the-sources,get the source code>>.
|
| |
|
| |
@@ -78,7 +78,13 @@
|
| |
will be added and removed as you bisect. It's _usually_ safe to select the
|
| |
default.]
|
| |
|
| |
- . Start a new `git-bisect` with `git bisect start <bad> <good>`.
|
| |
+ . Start a new `git-bisect` with `git bisect start`.
|
| |
+
|
| |
+ . Mark the newest version that works as "good" with `git bisect good <tag>`.
|
| |
+ For example: `git bisect good v4.16.8`.
|
| |
+
|
| |
+ . Mark the first version that does not work as "bad" with `git bisect bad
|
| |
+ <tag>`. For example: `git bisect bad v4.17`.
|
| |
|
| |
. <<build-custom-kernel.adoc#building-the-kernel,Build the kernel>>. Sometimes
|
| |
commits cannot be built. If this happens, skip the commit with `git bisect
|
| |
@@ -86,12 +92,10 @@
|
| |
|
| |
. <<build-custom-kernel.adoc#installing-the-kernel,Install the kernel>>.
|
| |
|
| |
- . Reboot into the new kernel and test to see if the it works.
|
| |
+ . Reboot into the new kernel and test to see if it works.
|
| |
|
| |
. If the new kernel works, mark it as good with `git bisect good`. Otherwise,
|
| |
mark it as bad with `git bisect bad`.
|
| |
|
| |
- . Check out the next commit to test by running `git bisect next`.
|
| |
-
|
| |
. Repeat the previous five steps until you've found the commit that introduced
|
| |
the problem.
|
| |
Based on some user feedback, this adds a few notes and changes a few instructions to be more useful.