[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] grub error 28



hi

Il 11/09/2012 10.26, Jan Beulich ha scritto:
On 10.09.12 at 18:10, bunkertor<bunkertor@xxxxxxxxxx>  wrote:
i compiled by myself xen-unstable from hg repo (changeset:
25835:c70d70d85306)
but i'm facing a problem when i try to boot with xen kernel: Error 28
Selected item can not fit into memory.
i'm newbie and i cannot understand where i fail...
Did you ever successfully run Xen on that system?

first time, hardware is brandnew.

      GNU GRUB  version 0.97  (640K lower / 3072K upper memory)
Is the very small upper memory value perhaps causing your
problem (i.e. are you dealing with a GrUB issue rather than a
Xen one)? Admittedly I don't know what values GrUB would
display normally, but the E820 map you presented looks
quite unusual, so I wouldn't be surprised if that caused
problems.

   [ Minimal BASH-like line editing is supported.  For the first word, TAB
     lists possible command completions.  Anywhere else TAB lists the
possible
     completions of a device/filename.]
grub>  root (hd0,0)
root (hd0,0)
   Filesystem type is ext2fs, partition type 0x83
grub>  kernel /xen.gz
kernel /xen.gz
     [Multiboot-elf,<0x964000:0x1a6db8:0x54248>(bad)

Error 28: Selected item cannot fit into memory
> From this, it pretty clearly is the (relatively small) hypervisor
image itself.

Jan


i solved with grub2 (from fedora16), installing last changeset of xen-unstable and konrad kernel.

============================================================================================================
[root@xen-02 ~]# xl info
host                   : xen-02
release                : 3.5.0+
version                : #1 SMP Tue Sep 11 19:40:37 CEST 2012
machine                : x86_64
nr_cpus                : 4
max_cpu_id             : 3
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 1
cpu_mhz                : 3093
hw_caps : bfebfbff:28100800:00000000:00003f40:17bae3ff:00000000:00000001:00000000
virt_caps              : hvm
total_memory           : 16083
free_memory            : 13853
sharing_freed_memory   : 0
sharing_used_memory    : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 3
xen_extra              : -unstable
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : Mon Sep 10 11:13:56 2012 +0100 25841:7d770de90b7f
xen_commandline        : placeholder dom0_mem=2048M
cc_compiler            : gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2)
cc_compile_by          : root
cc_compile_domain      :
cc_compile_date        : Tue Sep 11 19:19:34 CEST 2012
xend_config_format     : 4
[root@xen-02 ~]# cat /etc/redhat-release
Fedora release 16 (Verne)
[root@xen-02 ~]#
[root@xen-02 ~]# uptime
 20:57:28 up 5 min,  1 user,  load average: 0.01, 0.08, 0.05
[root@xen-02 ~]#
[root@xen-02 ~]# ls -ltrh /boot
totale 136M
-rwxr-xr-x. 1 root root 4,6M 23 ago 20.08 vmlinuz-3.4.9-2.fc16.x86_64
-rw-------. 1 root root 2,4M 23 ago 20.08 System.map-3.4.9-2.fc16.x86_64
-rw-r--r--. 1 root root 118K 23 ago 20.08 config-3.4.9-2.fc16.x86_64
drwx------. 2 root root  12K 11 set 18.37 lost+found
-rw-r--r--. 1 root root  13M 11 set 18.43 initramfs-3.4.9-2.fc16.x86_64.img
-rw-r--r--  1 root root  13M 11 set 19.19 xen-syms-4.3-unstable
lrwxrwxrwx  1 root root   19 11 set 19.19 xen.gz -> xen-4.3-unstable.gz
lrwxrwxrwx  1 root root   19 11 set 19.19 xen-4.gz -> xen-4.3-unstable.gz
-rw-r--r--  1 root root 779K 11 set 19.19 xen-4.3-unstable.gz
lrwxrwxrwx  1 root root   19 11 set 19.19 xen-4.3.gz -> xen-4.3-unstable.gz
-rw-r--r--  1 root root 119K 11 set 19.37 config-3.5.0
-rw-r--r--  1 root root 2,4M 11 set 19.40 System.map-3.5.0
-rw-r--r--  1 root root 4,7M 11 set 19.41 vmlinuz-3.5.0
-rw-r--r--  1 root root  96M 11 set 20.08 initramfs-3.5.0.img
drwxr-xr-x. 3 root root 7,0K 11 set 20.51 grub2
[root@xen-02 ~]#
============================================================================================================

i've noticed that booting from efi with standard linux distributions i can see more upper memory; but i'm not so close with it, so further test is needed.

thanks to all for help and patience
regards.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.