Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #56040

Customized debian kernel hangs during loading

From Roman Storozhenko <romeusmeister@gmail.com>
Newsgroups linux.debian.kernel
Subject Customized debian kernel hangs during loading
Date 2016-12-07 18:20 +0100
Message-ID <sLO2S-2Y5-17@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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 ?

-- 
Kind regards,
Roman

Back to linux.debian.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Customized debian kernel hangs during loading Roman Storozhenko <romeusmeister@gmail.com> - 2016-12-07 18:20 +0100
  Customized debian kernel hangs during loading Roman Storozhenko <romeusmeister@gmail.com> - 2016-12-07 18:30 +0100

csiph-web