locked
Building kernel with Hyper-V and wanting i386 as the output RRS feed

  • Question

  • I have been dealing with an error over and over again.

    I have an existing build process for an EXTLinux (SYSLinux) VM that I am attempting to add Hyper-P support to.

    The normal output for this build process is an i386 kernel.

    However once I attempt to add Hyper-V support I notice two behaviors:

    1) make menuconfig turns on x64 support.

    2) the resulting VM will not boot with a kernel panic that a 32 bit kernel is attempted to be loaded into a 64 bit system.

    I noticed the #2 error before observing the #1 behavior.

    I am at the point now where I am thinking that enabling Hyper-V support through "make menuconfig" is causing this kernel disconnect problem as it is driving the x64 kernel.

    Is it possible to enable the Hyper-V ICs using 'make menuconfig' and maintain the i386 kernel output?

    Just to avoid the question, this is a 3.4.10 kernel.


    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.
    Disclaimer: Attempting change is of your own free will.

    Monday, October 15, 2012 4:21 PM

Answers

  • I solved my own issue, I have to build the kernel within an i386 system.

    Only this way do I get i386 / x86 as an output from 'menu makeconfig'


    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.
    Disclaimer: Attempting change is of your own free will.

    • Marked as answer by BrianEhMVP Thursday, October 18, 2012 11:40 PM
    Thursday, October 18, 2012 11:39 PM