Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7057961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:03:21+00:00 2026-05-28T04:03:21+00:00

I am trying to compile the linux kernel (3.0.0-13) with the Xen dom0 config

  • 0

I am trying to compile the linux kernel (3.0.0-13) with the Xen dom0 config flags which are not exposed via menuconfig. (Yes, I know that ubuntu provides a ‘virtual’ flavoured kernel that supports Xen paravirtualization, but that kernel does not seem to boot on my hardware. So, I am trying to compile the ‘generic’ flavoured ubuntu kernel with the extra Xen config flags since I know that the ‘generic’ flavour runs on my hardware). Every time that I try to compile my config flags are ignored based on the .config file that is generated and packaged with my kernel binary.

I have tried the following the following:

  • Downloaded the kernel source using apt-get source linux-image

I have then followed all of the steps from this guide: How to compile a new Ubuntu 11.10 (Oneiric) kernel and performed the following extra steps:

  • put my own config flags in the config.flavour.xxx file then compiled the linux-image package
  • Paused the ‘debian/rules editconfigs’ command immediately after the it runs ‘menuconfig’ and replaced the build/.config file with my custom .config file then compiled the linux-image package

I have also used the following howto How To Compile A Kernel – The Ubuntu Way and run the following commands on kernel source code that I already had:

  • edit the .config file to have my config flags
  • run ‘make oldconfig’
  • run ‘make-kpkg clean && fakeroot make-kpkg –initrd –append-to-version=-custom kernel_image kernel_headers’

After every time I have compiled the kernel I have installed the newly compiled linux-image package and have discovered that my config flags are not in the /boot/config-xxx file as I expect.

  1. What am I doing wrong to cause my config flags to be ignored?
  2. What can I do to make sure that my kernel config flags are used when compiling?
  3. Is there some other option than recompiling the kernel to get a Xen dom0 kernel that work for my hardware?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:03:22+00:00Added an answer on May 28, 2026 at 4:03 am

    What am I doing wrong to cause my config flags to be ignored?

    The root of the issue lies in the first portion of your problem; the Xen dom0 config flags are not exposed via menuconfig

    Simply setting them in the .config doesn’t mean they’ll be activated. You have to consider the dependencies for the config options.

    From the linux 3.0 tag at github: https://github.com/torvalds/linux/blob/02f8c6aee8df3cdc935e9bdd4f2d020306035dbe/arch/x86/xen/Kconfig

    config XEN_DOM0
    def_bool y
    depends on XEN && PCI_XEN && SWIOTLB_XEN
    depends on X86_LOCAL_APIC && X86_IO_APIC && ACPI && PCI
    

    Are all these depends flags met?

    What can I do to make sure that my kernel config flags are used when compiling?

    In the beginning stages of the kernel compile process, the .config file is re-written if there are any discrepancies. A good test to make sure your edits will persist is checking if they still exist in your .config file after doing a make menuconfig and saving changes. If after that your flags are still there, you can be sure that your flags are being used.

    Is there some other option than recompiling the kernel to get a Xen dom0 kernel that work for my hardware?

    Not unless another distribution ships with XEN_DOM0 enabled.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While trying to compile a 64 bit linux kernel using gcc, I see the
I'm trying to compile a linux kernel module using a Makefile: obj-m += main.o
I am trying to compile the Linux kernel on my Ubuntu machine But I
I am trying to cross-compile a Linux kernel for an ARM-target ( Freescale i.Mx28
i am trying to compile my program which uses regex on linux. I built
I am trying to compile VLC for Linux. When I run the configure script,
I'm trying to compile GNUstep on a linux box but gnustep-gui-0.16.0 package is failing.
I'm trying to compile a .cpp file using g++ in Linux Ubuntu 10.10 and
I'm trying to compile the zpipe.c example in my Linux(Ubuntu 8.04) with gcc, but
I am trying to compile code that works on os x and linux using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.