[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Customized debian kernel hangs during loading



I have __VMWare Workstation 12__ with installed __Debian Jessie__. I
use serial port to put kernel messages to a file.

I decided to customize kernel and made steps described in the __Debian
Administration handbook__. In particular I:

1) Installed __kernel headers, gcc, make, etc__...

2) Obtained the source code:

    sudo apt-get install linux-source-3.16
3) Extracted source files from __/usr/source/__ to a __/home/kernel/__

4) Copied an old __.config__ file from /boot/

5) Ran __make menuconfig__

This is the diff with the standart file:

    +CONFIG_CONSOLE_POLL=y
    +CONFIG_FRAME_POINTER=y
    +CONFIG_DEBUG_KOBJECT=y
    +CONFIG_SAMPLES=y
    +CONFIG_KGDB=y
    +CONFIG_KGDB_SERIAL_CONSOLE=y
    +CONFIG_KGDB_TESTS=y
    +CONFIG_KGDB_TESTS_ON_BOOT=y
    +CONFIG_KGDB_TESTS_BOOT_STRING="V1F100"
    +CONFIG_KGDB_LOW_LEVEL_TRAP=y
    +CONFIG_KGDB_KDB=y
    +CONFIG_KDB_KEYBOARD=y
    +CONFIG_KDB_CONTINUE_CATASTROPHIC=0
    +CONFIG_X86_VERBOSE_BOOTUP=y
    +CONFIG_X86_PTDUMP=y
    +CONFIG_EFI_PGT_DUMP=y
    +CONFIG_X86_DEBUG_STATIC_CPU_HAS=y

6) Built and installed resulted kernel to __grub__.

7) When I try to load a kernel it immediately hangs. This is the
output that VM put in the console file:

    Entering kdb (current=0xffff88042e1cf2b0, pid 1) on processor 2
due to Keyboard Entry
    [2]kdb> Loading, please wait...

Does anybody know how to fix that ?


Reply to: