Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Kernel 3.0 and Xen [new features]

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
pablolibo
n00b
n00b
Posts: 5
Joined: Sun May 29, 2011 11:59 pm

Kernel 3.0 and Xen [new features]

  • Quote

Post by pablolibo » Fri Aug 12, 2011 11:43 pm

Hello everybody,

I am currently having a problem with gentoo-sources 3.0 , I am not found the new features on the combatibilidad between xen and kernel 3.0 . Does anyone know how enable DOM0 (xen) in new kernel 3.0?

Any idea?

Thanks in advances
Top
fbcyborg
Advocate
Advocate
User avatar
Posts: 3056
Joined: Sun Oct 16, 2005 12:08 pm
Location: ROMA

  • Quote

Post by fbcyborg » Mon Aug 22, 2011 12:20 pm

Hi!

As far as I know you can do as usual. Enable the following:

Code: Select all

Processor type and features  --->
	[*] Paravirtualized guest support  --->
		[*]   Xen guest support

then:

Code: Select all

Device Drivers  --->
	Xen driver support  --->
		[*] Xen memory balloon driver (NEW)
		[*]   Scrub pages before returning them to system (NEW)
		<*> Xen /dev/xen/evtchn device (NEW)
		[*] Backend driver support (NEW)
		<*> Xen filesystem (NEW)
		[*]   Create compatibility mount point /proc/xen (NEW)
		[*] Create xen entries under /sys/hypervisor (NEW)
		<M> userspace grant access device driver (NEW)
		<M> User-space grant reference allocator driver (NEW)
		<M> xen platform pci device driver (NEW)
	[*] Network device support  --->
		< >   Xen network device frontend driver
		<*>   Xen backend network device
Try and let me know please.
Last edited by fbcyborg on Sun Sep 04, 2011 7:10 pm, edited 1 time in total.
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Top
fbcyborg
Advocate
Advocate
User avatar
Posts: 3056
Joined: Sun Oct 16, 2005 12:08 pm
Location: ROMA

  • Quote

Post by fbcyborg » Tue Aug 30, 2011 6:58 am

Also the following is necessary:

Code: Select all

Device Drivers  --->
	[*] Block devices  --->
		<*>   Xen virtual block device support
		<*>   Xen block-device backend driver

Networking support  --->
	Networking options  --->
		<M> 802.1d Ethernet Bridging
I tried to start a VM and I had no one problem with this configuration.
Last edited by fbcyborg on Thu Oct 27, 2011 11:56 am, edited 1 time in total.
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Top
maurs
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 85
Joined: Sun Oct 16, 2005 8:57 am
Contact:
Contact maurs
Website

  • Quote

Post by maurs » Fri Oct 21, 2011 7:14 pm

fbcyborg wrote:Also the following is necessary:

Code: Select all

Device Drivers  --->
	[*] Block devices  --->
		<*>   Xen virtual block device support
		<*>   Block-device backend driver

Networking support  --->
	Networking options  --->
		<M> 802.1d Ethernet Bridging
I tried to start a VM and I had no one problem with this configuration.
thank you for posting this kernel configuration
MaUrS
[HOW-TO] Gentoo su PC datati (aka Portatile Felice)
Maurs' Blog
VDD Project
Top
themightychris
n00b
n00b
Posts: 9
Joined: Tue Apr 26, 2005 6:28 am
Location: Philadelphia, PA
Contact:
Contact themightychris
Website

  • Quote

Post by themightychris » Fri Nov 11, 2011 7:05 pm

What changes are necessary for compiling a domU kernel? I haven't been able to disable the dom0 or privileged domain config flags or find any up to date documentation online.

I tried using menuconfig to disable the backend drivers but my domU boot hangs at "XENBUS: Waiting for devices to initialise"

here's the relevant bits of my .config:

Code: Select all

linux-3.0.6-gentoo-domU # grep XEN .config
CONFIG_XEN=y
CONFIG_XEN_DOM0=y
CONFIG_XEN_PRIVILEGED_GUEST=y
CONFIG_XEN_PVHVM=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=128
CONFIG_XEN_SAVE_RESTORE=y
# CONFIG_XEN_DEBUG_FS is not set
# CONFIG_XEN_DEBUG is not set
CONFIG_PCI_XEN=y
CONFIG_XEN_PCIDEV_FRONTEND=y
CONFIG_XEN_BLKDEV_FRONTEND=y
# CONFIG_NETXEN_NIC is not set
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_INPUT_XEN_KBDDEV_FRONTEND=y
CONFIG_HVC_XEN=y
# CONFIG_XEN_WDT is not set
CONFIG_XEN_FBDEV_FRONTEND=y
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=y
# CONFIG_XEN_BACKEND is not set
CONFIG_XENFS=y
CONFIG_XEN_COMPAT_XENFS=y
CONFIG_XEN_SYS_HYPERVISOR=y
CONFIG_XEN_XENBUS_FRONTEND=y
CONFIG_XEN_GNTDEV=m
CONFIG_XEN_GRANT_DEV_ALLOC=m
CONFIG_XEN_PLATFORM_PCI=m
CONFIG_SWIOTLB_XEN=y
Am I missing something?
Top
fbcyborg
Advocate
Advocate
User avatar
Posts: 3056
Joined: Sun Oct 16, 2005 12:08 pm
Location: ROMA

  • Quote

Post by fbcyborg » Fri Nov 11, 2011 8:00 pm

themightychris wrote:Am I missing something?
No, I don't think so.
This is mine, and it works:

Code: Select all

CONFIG_XEN=y
CONFIG_XEN_DOM0=y
CONFIG_XEN_PRIVILEGED_GUEST=y
CONFIG_XEN_PVHVM=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=128
CONFIG_XEN_SAVE_RESTORE=y
# CONFIG_XEN_DEBUG_FS is not set
# CONFIG_XEN_DEBUG is not set
CONFIG_PCI_XEN=y
CONFIG_XEN_PCIDEV_FRONTEND=y
CONFIG_XEN_BLKDEV_FRONTEND=y
# CONFIG_NETXEN_NIC is not set
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_INPUT_XEN_KBDDEV_FRONTEND=y
CONFIG_HVC_XEN=y
# CONFIG_XEN_WDT is not set
CONFIG_XEN_FBDEV_FRONTEND=y
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
# CONFIG_XEN_DEV_EVTCHN is not set
# CONFIG_XEN_BACKEND is not set
# CONFIG_XENFS is not set
# CONFIG_XEN_SYS_HYPERVISOR is not set
CONFIG_XEN_XENBUS_FRONTEND=y
# CONFIG_XEN_GNTDEV is not set
CONFIG_XEN_GRANT_DEV_ALLOC=m
CONFIG_XEN_PLATFORM_PCI=m
CONFIG_SWIOTLB_XEN=y
Yours looks very similar to mine.
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Top
richard.scott
Veteran
Veteran
Posts: 1497
Joined: Mon May 19, 2003 5:19 pm
Location: Oxfordshire, UK
Contact:
Contact richard.scott
Website

  • Quote

Post by richard.scott » Mon Apr 16, 2012 11:49 am

Do you have to change or add anything to grub to get the hypervisor/dom0 features?
Top
fbcyborg
Advocate
Advocate
User avatar
Posts: 3056
Joined: Sun Oct 16, 2005 12:08 pm
Location: ROMA

  • Quote

Post by fbcyborg » Mon Apr 16, 2012 11:51 am

Yes, you may look for an example here.
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Top
richard.scott
Veteran
Veteran
Posts: 1497
Joined: Mon May 19, 2003 5:19 pm
Location: Oxfordshire, UK
Contact:
Contact richard.scott
Website

  • Quote

Post by richard.scott » Mon Apr 16, 2012 12:01 pm

thanks, I'll take a look.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic