Comment # 9 on bug 973129 from
(In reply to Calin Calin from comment #8)
> What I meant is I don't know how to boot the system in non graphical mode.

Ok, understood. There are two ways to do this:
1. If you want it mermanent, ie until you change it again:
  a. log in as root.
  b. run:
     # systemctl set-default multi-user.target
     or to set it back to graphical:
     # systemctl set-default graphical.target
1. To do it temporarily: 
  a  In grub, press 'e' to get to the editable menu screen
  b. Add a '3' somewhere to the kernel command line.

> I found this tutorial online related to git-bisect
> https://wiki.gentoo.org/wiki/Kernel_git-bisect do you have a better resource?

Partly.
1. You can do this from any directory on a file system with a lot of space. 
   If there is a lot of space left in the fs with your home directory for
   example, do something like:
   $ mkdir $HOME/kernel-source
   $ cd kernel-source
   $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
    (don't use kernel-stable.git)
   $ cd linux
2. I would recommend to build a 'vanilla' 4.5 kernel first to see if this also  
   exhibits the problem:
   in the directory 'linux' do:
   $ git checkout v4.5
   v4.5 is a version tag. To list all available version tags, do 'git tag'
3. If the v4.5 kernel also has the problem, you should do the same for the 4.4
   kernel to see if this one works 'better':
   $ git checkout v4.4
4. After these steps, (ie if you veriried that v4.4 is ok while v4.5 is broken) 
   you can start bisecting.
   I the tree, do 
   $ git bisect start
   $ git bisect good v4.4
   $ git bisect bad v4.5
   Build the kernel.

Building:
0. If you don't have a .config from a previous build, create a .config file: 
   $ zcat /proc/config.gz .config

1. To build the kernel & modules, do
   $ make olddefconfig
   $ make bzImage modules modules_install <other_options_see_below>

2. Once the build is done, as root do:
   # make install modules-install
   # mkinitrd

3. Reboot, select the kernel you've just built in the boot menu and test.

4. After testing, continue bisecting:
   $ cd $HOME/kernel-source/linux
   If problem didn't occur:
   $ git bisect good
   If you saw the problem:
   $ git bisect bad
   Go to step 1. above and redo.

5. You may want to get rid of old test kernels: 
   The 'quick-n-dirty' way I use:
   # rm /boot/*{VERSION}*
   # rm -rf /lib/modules/*{VERSION}
   What I often do is the delete the current test-kernel before I call
   'mkinitrd' in step 2 above. ${VERSION} can be obtained by calling 
   'uname -r':
   # VERSION=$(uname -r}

There are a few things I do recommend to speed up building:
1. Do you have multiple CPU cores and/or hyper-threading?
   Build with multiple threads: add -j <N> to the make command line:
   If n is the number of cores: 
     - with hyper-threading: <N> = (n + 1) * 2
     - without hyper-threading <N> = (n + 1)
2. Are you building on the machine you are using to run the kernel?
   Limit the modules you build to the ones you really need: 
   In the kernel sources, do
   $ zcat /proc/config.gz > .config
   $ make olddefconfig
   $ make localmodconfig
   The .config file generated should be saved for later builds (just in case):
   $ cp .config <save_place>/my_kernel_config
3. Make sure /tmp is mounted to tmpfs.
   do:
   $ mount | grep tmp
   If the output doesn't contain a line like:
   tpmfs on /tmp type tmpfs (rw,relatime)
   Add the line:
    tmpfs    /tmp   tmpfs      defaults        0 0
   to your /etc/fstab  and reboot.


You are receiving this mail because: