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


Groups > linux.debian.kernel > #56040 > unrolled thread

Customized debian kernel hangs during loading

Started byRoman Storozhenko <romeusmeister@gmail.com>
First post2016-12-07 18:20 +0100
Last post2016-12-07 18:30 +0100
Articles 2 — 1 participant

Back to article view | Back to linux.debian.kernel


Contents

  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

#56040 — Customized debian kernel hangs during loading

FromRoman Storozhenko <romeusmeister@gmail.com>
Date2016-12-07 18:20 +0100
SubjectCustomized debian kernel hangs during loading
Message-ID<sLO2S-2Y5-17@gated-at.bofh.it>

[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

[toc] | [next] | [standalone]


#56041

FromRoman Storozhenko <romeusmeister@gmail.com>
Date2016-12-07 18:30 +0100
Message-ID<sLOcx-31p-5@gated-at.bofh.it>
In reply to#56040
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 ?

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web