Xen + Kernel compilation

Discussion in 'Kernel Questions' started by LeoLinux, Apr 15, 2007.

  1. LeoLinux

    LeoLinux New Member

    Hi,


    I've just had this problem several times when I used this how to: http://howtoforge.com/debian_sarge_xen_3.0.3_p2

    everyting is working fine until the step "4.2 Compile A dom0 Kernel"

    Code:
    cd /usr/src/xen-3.0.3_0-src/
    make linux-2.6-xen0-config CONFIGMODE=menuconfig KERNELS="linux-2.6-xen0"
    
    because I have a lot of modules running .. for example my sata adapter and so on - and everything is running fine under the standart kernel of sarge and etch ... but all those modules and the other stuff gets lost after this compilation ... ofcourse ... because it was not mentioned in the kernel configuration.

    I guess there are two options to change that:

    1. run
    Code:
    cd /usr/src/xen-3.0.3_0-src/
    make linux-2.6-xen0-config CONFIGMODE=menuconfig KERNELS="linux-2.6-xen0"
    and change all needed options to "M" or "*" BY HAND ;-/

    or to store the old kernel configuration and load this so that I only have to tick the xen compatibly, the quota, and the iptables stuff in the menuconfig.

    ^^the last one is the one which I want to know how to solve that ;-)

    I don't know how to save my old config .. or where to get a Debian etch standart kernel config.





    I hope anyone could give me some nice clues or help ;-)


    Thanks for reading ;-)


    Leander
     
  2. LeoLinux

    LeoLinux New Member

    does nobody know any solve of this problem?


    Thanks,

    Leander
     
  3. falko

    falko Super Moderator ISPConfig Developer

    That's the way to go. Take a look at http://www.howtoforge.com/kernel_compilation_debian . In step 5 it is shown how to copy your current kernel configuration so that it is used by your new kernel:
    Code:
    cd /usr/src/linux (that should be the directory where you new kernel sources are - replace it with your own value)
    cp /boot/config-`uname -r` ./.config
     

Share This Page