Bug 172406 - Xen Domain0 Fails To Boot - Not Enough Memory
Summary: Xen Domain0 Fails To Boot - Not Enough Memory
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xen
Version: 4
Hardware: i686
OS: Linux
medium
high
Target Milestone: ---
Assignee: Rik van Riel
QA Contact:
URL:
Whiteboard:
: 170163 172079 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-03 22:45 UTC by jon westlake
Modified: 2007-11-30 22:11 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-24 20:12:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description jon westlake 2005-11-03 22:45:56 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1

Description of problem:
When booting 2.6.13-1.1532_FC4xen0 kernel hangs almost immediately with complaint about domain allocation - something like
CPU0 Panic
Domain 0 allocation is too small for kernel image

The kernel then auto-reboots after a very short time, so full details difficult to get.



Version-Release number of selected component (if applicable):
xen-2-20050823 / kernel-xen0-2.6.13-1.1532_FC4

How reproducible:
Always

Steps to Reproduce:
1.Boot the xen0 option of grub
2.
3.
  

Actual Results:  Same error followed by reboot as above

Additional info:

Comment 1 Andrew Haley 2005-11-04 11:14:44 UTC
I have duplicated this on my box, kernel-xen0-2.6.13-1.1532_FC4 &
kernel-xenU-2.6.13-1.1532_FC4.


Comment 2 Andrew Haley 2005-11-04 11:47:55 UTC
2.6.12-1.1454_FC4.i686.rpm does boot, but networking is nonfunctional.  It seems
that although the box does transmit correctly and I can verify that by looking
at a tcpdump on another box, no packets are received.

My dmesg contains this:

e100: Intel(R) PRO/100 Network Driver, 3.4.8-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
e100: eth0: e100_probe: addr 0xcfe00000, irq 16, MAC addr 00:90:27:8C:D8:19

...

e100: eth0: e100_watchdog: link up, 100Mbps, half-duplex

...

eth0: no IPv6 routers present
e100: eth0: e100_watchdog: link up, 100Mbps, half-duplex
eth0: no IPv6 routers present
e100: eth0: e100_watchdog: link up, 100Mbps, half-duplex
eth0: no IPv6 routers present
e100: eth0: e100_watchdog: link up, 100Mbps, half-duplex
eth0: no IPv6 routers present
device eth0 entered promiscuous mode
NETDEV WATCHDOG: eth0: transmit timed out
e100: eth0: e100_watchdog: link up, 100Mbps, half-duplex


Comment 3 Tim Born 2005-11-28 02:28:18 UTC
FWIW I was able to reproduce Andrew's situation and can confirm that:

kernel-xen0.i686                                         2.6.13-1.1532_FC4     
     updates-releasedkernel-xenU.i686                         2.6.13-1.1532_FC4
         updates-releasedxen.i386                                 2-20050823

... will fail to boot up with an error message of "Domain 0 allocation is too
small for kernel"

Following the advice on the Fedora Xen Quickstart
(http://www.fedoraproject.org/wiki/FedoraXenQuickstart#head-3a85df2e27189c12a2b8f045bfef3b2a759bb2ef)
I also installed:

kernel-xen0.i686                         2.6.12-1.1454_FC4      
kernel-xenU.i686                         2.6.12-1.1454_FC4      
xen.i386                                 3.0-0.20050912.fc4

... and I also have no networking, although in my case it doesn't seem to even
try to come up, and none of my prodding so far has gotten anything resembling a
network connection to come up.

Comment 4 Maxx Lobo 2005-12-15 01:56:42 UTC
I can also confirm this problem. Is there going to be an update on how to fix it?

Comment 5 Gert van Spijker 2005-12-15 14:23:14 UTC
Just like Tim I tried the kernel from the current yum repository as well as the
one suggested in the Fedora Xen Quickstart:
"2.6.12-1.1456_FC4xen0 has been known to work with the xen RPM available from
[WWW] Riel's homepage"
However, the kernel listed here is not 2.6.12-1.1456_FC4xen0 but 2.6.12-1.1454_FC4
Is somebody working on this issue?

Comment 6 Joost van der Locht 2006-01-03 20:40:53 UTC
Same problem here....
I tried the alternative kernels as in the advice of the FC Xen QS. But I had to
compile a kernelmodule for a Areca Sata controller. De building works without an
error (after fixed the asm linking). Also created a new initrd. But after a
reboot the new made kernelmodule fails. 

BTW no error for the memory problem.

Comment 7 Stephen Tweedie 2006-01-18 18:09:24 UTC
*** Bug 172079 has been marked as a duplicate of this bug. ***

Comment 8 Stephen Tweedie 2006-01-18 18:16:06 UTC
re comment #2: the networking issue is very different; if you can still
reproduce that, please open a separate bug for it.  (I suspect it may be the
issue described in bug 177794.)

Comment 9 Stephen Tweedie 2006-01-18 18:17:41 UTC
There has been a significant rebasing of the kernel and HV images for fc5t2. 
Can you still reproduce the problem?

If so, then this sounds like a mismatch between the memory calculations in the
HV/bootloader and the kernel.  The full Xen logs would be really useful in
tracking this down; is it possible for you to capture that to a serial console?
 That, in conjunction with the normal non-xen boot logs, should let us examine
the memory maps being computed in both cases to see if there's a mismatch somewhere.

You _may_ be able to work around this by adding the "dom0_mem=...M" option to
the xen hypervisor line ("kernel=xen...") in /etc/grub.conf.  If you assign
(say) only half your physical memory to dom0 on boot, does that work?

Comment 10 Stephen Tweedie 2006-01-18 18:26:25 UTC
*** Bug 170163 has been marked as a duplicate of this bug. ***

Comment 11 Stephen Tweedie 2006-02-24 20:12:33 UTC
The FC5test* / rawhide kernels should fix this bug; please reopen if it recurs.


Note You need to log in before you can comment on or make changes to this bug.