grub error 28
hi all
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...
here's the error (bad...)
================================================================
[root@xen-02 xen-unstable]# grub
Probing devices to guess BIOS drives. This may take a long time.
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ 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
================================================================
and here are my specs:
================================================================
[root@xen-02 xen-unstable]# uname -r 2.6.32-279.5.2.el6.x86_64
[root@xen-02 xen-unstable]# cat /etc/redhat-release CentOS release 6.3 (Final)
[root@xen-02 xen-unstable]#
[root@xen-02 xen-unstable]# cat /proc/meminfo
MemTotal: 16029352 kB MemFree: 15720112 kB Buffers: 11488 kB Cached: 47264 kB SwapCached: 0 kB Active: 23736 kB Inactive: 40804 kB Active(anon): 5924 kB Inactive(anon): 5628 kB Active(file): 17812 kB Inactive(file): 35176 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 32767992 kB SwapFree: 32767992 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 5776 kB Mapped: 5768 kB Shmem: 5764 kB Slab: 36836 kB SReclaimable: 10224 kB SUnreclaim: 26612 kB KernelStack: 1224 kB PageTables: 1128 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 40782668 kB Committed_AS: 59656 kB VmallocTotal: 34359738367 kB VmallocUsed: 392120 kB VmallocChunk: 34359341780 kB HardwareCorrupted: 0 kB AnonHugePages: 0 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB DirectMap4k: 8192 kB DirectMap2M: 16480256 kB
[root@xen-02 xen-unstable]# cat /proc/cpuinfo
processor : 0vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
stepping : 7
cpu MHz : 3092.749
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yesfpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 x2apic popcnt aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips : 6185.49
clflush size : 64cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
.....
.....
=================================================================
[root@xen-02 xen-unstable]# ls -lh /boot/
totale 247M
-rw-r--r--. 1 root root 100K 24 ago 03:31 config-2.6.32-279.5.2.el6.x86_64 -rw-r--r--. 1 root root 100K 22 giu 14:44 config-2.6.32-279.el6.x86_64
-rw-r--r--. 1 root root 114K 9 set 02:09 config-3.1.0-rc9 drwxr-xr-x. 3 root root 4,0K 9 set 00:16 efi drwxr-xr-x. 2 root root 4,0K 9 set 12:11 grub -rw-r--r--. 1 root root 23M 9 set 01:16 initramfs-2.6.32-279.5.2.el6.x86_64.img -rw-r--r--. 1 root root 23M 9 set 00:17 initramfs-2.6.32-279.el6.x86_64.img -rw-r--r--. 1 root root 154M 9 set 02:31 initramfs-3.1.0-rc9.img drwx------. 2 root root 16K 9 set 00:13 lost+found
-rw-r--r--. 1 root root 176K 24 ago 03:32 symvers-2.6.32-279.5.2.el6.x86_64.gz -rw-r--r--. 1 root root 175K 22 giu 14:45 symvers-2.6.32-279.el6.x86_64.gz -rw-r--r--. 1 root root 2,3M 24 ago 03:31 System.map-2.6.32-279.5.2.el6.x86_64 -rw-r--r--. 1 root root 2,3M 22 giu 14:44 System.map-2.6.32-279.el6.x86_64 -rw-r--r--. 1 root root 2,4M 9 set 02:12 System.map-3.1.0-rc9 -rwxr-xr-x. 1 root root 3,9M 24 ago 03:31 vmlinuz-2.6.32-279.5.2.el6.x86_64 -rwxr-xr-x. 1 root root 3,9M 22 giu 14:44 vmlinuz-2.6.32-279.el6.x86_64
-rwxr-xr-x. 1 root root 3,9M 9 set 02:12 vmlinuz-3.1.0-rc9 -rw-r--r--. 1 root root 776K 9 set 11:42 xen-4.2.0-rc2.gz -rw-r--r--. 1 root root 779K 9 set 01:01 xen-4.2.0-rc4-pre.gz lrwxrwxrwx. 1 root root 16 9 set 11:42 xen-4.2.gz -> xen-4.2.0-rc2.gz lrwxrwxrwx. 1 root root 16 9 set 11:42 xen-4.gz -> xen-4.2.0-rc2.gz lrwxrwxrwx. 1 root root 16 9 set 11:42 xen.gz -> xen-4.2.0-rc2.gz -rw-r--r--. 1 root root 13M 9 set 11:42 xen-syms-4.2.0-rc2 -rw-r--r--. 1 root root 14M 9 set 01:01 xen-syms-4.2.0-rc4-pre
=================================================================
title Xen 4.2.0-rc4-pre with linux 3.1.0-rc9 pvops
root (hd0,0)
kernel /xen.gz dom0_mem=2048M loglvl=all guest_loglvl=all
module /vmlinuz-3.1.0-rc9 ro root=/dev/mapper/vg_xen02-LogVol00
LANG=it_IT.UTF-8 rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=it rd_NO_MD rd_LVM_LV=vg_xen02/LogVol00 SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=vg_xen02/LogVol01 rd_NO_DM rhgb quiet nomodeset
module /initramfs-3.1.0-rc9.img=================================================================
[root@xen-02 xen-unstable]# dmesg | grep BIOS
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009ec00 (usable)
BIOS-e820: 000000000009ec00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000020000000 (usable)
BIOS-e820: 0000000020000000 - 0000000020200000 (reserved)
BIOS-e820: 0000000020200000 - 0000000040000000 (usable)
BIOS-e820: 0000000040000000 - 0000000040200000 (reserved)
BIOS-e820: 0000000040200000 - 00000000cd86f000 (usable)
BIOS-e820: 00000000cd86f000 - 00000000ce01a000 (reserved)
BIOS-e820: 00000000ce01a000 - 00000000ce29a000 (ACPI NVS)
BIOS-e820: 00000000ce29a000 - 00000000ce29f000 (ACPI data)
BIOS-e820: 00000000ce29f000 - 00000000ce2e2000 (ACPI NVS)
BIOS-e820: 00000000ce2e2000 - 00000000cec3f000 (usable)
BIOS-e820: 00000000cec3f000 - 00000000ceff2000 (reserved)
BIOS-e820: 00000000ceff2000 - 00000000cf000000 (usable)
BIOS-e820: 00000000cf800000 - 00000000dfa00000 (reserved)
BIOS-e820: 00000000f8000000 - 00000000fc000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fed00000 - 00000000fed04000 (reserved)
BIOS-e820: 00000000fed1c000 - 00000000fed20000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)
BIOS-e820: 0000000100000000 - 000000041f600000 (usable)
SMBIOS version 2.7 @ 0xF0480
DMI: To Be Filled By O.E.M. To Be Filled By O.E.M./Z68 Extreme4, BIOS P2.20 06/29/2012 AMI BIOS detected: BIOS may corrupt low RAM, working around it.
#0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 -
0000001000]
#4 [000009ec00 - 0000100000] BIOS reserved ==> [000009ec00 -
0000100000]
=================================================================
any help will be appreciated.
thanks in advance.
Quoted 14 lines
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ 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 type0x83
grub> kernel /xen.gz
kernel /xen.gz
[Multiboot-elf, <0x964000:0x1a6db8:0x54248>(bad)
Quoted 2 lines
Error 28: Selected item cannot fit into memory
Wish it said which one..
Quoted 8 lines
[root@xen-02 xen-unstable]# ls -lh
/boot/
totale 247M(quoted diff) +0
-3-rw-r--r--. 1 root root 100K 24 ago 03:31 config-2.6.32-279.5.2.el6.x86_64 -rw-r--r--. 1 root root 100K 22 giu 14:44 config-2.6.32-279.el6.x86_64 -rw-r--r--. 1 root root 114K 9 set 02:09 config-3.1.0-rc9drwxr-xr-x. 3 root root 4,0K 9 set 00:16 efi drwxr-xr-x. 2 root root 4,0K 9 set 12:11 grub -rw-r--r--. 1 root root 23M 9 set 01:16
Quoted 4 lines
initramfs-2.6.32-279.5.2.el6.x86_64.img
-rw-r--r--. 1 root root 23M 9 set 00:17 initramfs-2.6.32-279.el6.x86_64.img
-rw-r--r--. 1 root root 154M 9 set 02:31 initramfs-3.1.0-rc9.img
This is pretty large? Any reason its so huge compared to the other ones?
And why not use v3.4 instead of v3.1?
Quoted 6 lines · Konrad Rzeszutek Wilk
Quoted 6 lines
[root@xen-02 xen-unstable]# ls -lh
/boot/
totale 247M(quoted diff) +0
-3-rw-r--r--. 1 root root 100K 24 ago 03:31 config-2.6.32-279.5.2.el6.x86_64 -rw-r--r--. 1 root root 100K 22 giu 14:44 config-2.6.32-279.el6.x86_64 -rw-r--r--. 1 root root 114K 9 set 02:09 config-3.1.0-rc9drwxr-xr-x. 3 root root 4,0K 9 set 00:16 efi
Quoted 8 lines
Quoted 6 lines
drwxr-xr-x. 2 root root 4,0K 9 set 12:11 grub -rw-r--r--. 1 root root 23M 9 set 01:16 initramfs-2.6.32-279.5.2.el6.x86_64.img
-rw-r--r--. 1 root root 23M 9 set 00:17 initramfs-2.6.32-279.el6.x86_64.img
-rw-r--r--. 1 root root 154M 9 set 02:31 initramfs-3.1.0-rc9.imgThis is pretty large? Any reason its so huge compared to the other ones?
Self built kernel with debug + unstripped modules perhaps? Not sure what the behaviour of RH's mkinitrd (drakut?) is but if it includes a large selection of modules, all of which have full debug then it could quickly add up to those sorts of sizes.
Ian.
Il 10/09/2012 22.20, Ian Campbell ha scritto:
Quoted 19 lines · Konrad Rzeszutek Wilk
Quoted 5 lines
Quoted 5 lines
[root@xen-02 xen-unstable]# ls -lh
/boot/
totale 247M(quoted diff) +0
-3-rw-r--r--. 1 root root 100K 24 ago 03:31 config-2.6.32-279.5.2.el6.x86_64 -rw-r--r--. 1 root root 100K 22 giu 14:44 config-2.6.32-279.el6.x86_64 -rw-r--r--. 1 root root 114K 9 set 02:09 config-3.1.0-rc9Quoted 8 lines
Quoted 7 lines
drwxr-xr-x. 3 root root 4,0K 9 set 00:16 efi drwxr-xr-x. 2 root root 4,0K 9 set 12:11 grub -rw-r--r--. 1 root root 23M 9 set 01:16initramfs-2.6.32-279.5.2.el6.x86_64.img
-rw-r--r--. 1 root root 23M 9 set 00:17 initramfs-2.6.32-279.el6.x86_64.img
-rw-r--r--. 1 root root 154M 9 set 02:31 initramfs-3.1.0-rc9.imgThis is pretty large? Any reason its so huge compared to the other ones?
Self built kernel with debug + unstripped modules perhaps? Not sure what the behaviour of RH's mkinitrd (drakut?) is but if it includes a large selection of modules, all of which have full debug then it could quickly add up to those sorts of sizes.
Quoted 8 lines
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
hi
i use dracut, --strip should be the default...
regards.
Quoted 6 lines
Quoted 1 line
Quoted 1 line · bunkertor
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?
Quoted 1 line
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.
Quoted 9 lines
[ 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 type0x83
grub> kernel /xen.gz
kernel /xen.gz
Quoted 5 lines
[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
hi
Il 11/09/2012 10.26, Jan Beulich ha scritto:
Quoted 7 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line · bunkertor
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.
Quoted 19 lines
Quoted 1 line
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.
Quoted 11 lines
[ 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 type0x83
grub> kernel /xen.gz
kernel /xen.gz[Multiboot-elf,<0x964000:0x1a6db8:0x54248>(bad)
Quoted 7 lines
Quoted 2 lines
Error 28: Selected item cannot fit into memory
From this, it pretty clearly is the (relatively small) hypervisorimage 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_64nr_cpus : 4max_cpu_id : 3nr_nodes : 1cores_per_socket : 4threads_per_core : 1cpu_mhz : 3093hw_caps : bfebfbff:28100800:00000000:00003f40:17bae3ff:00000000:00000001:00000000virt_caps : hvmtotal_memory : 16083free_memory : 13853sharing_freed_memory : 0sharing_used_memory : 0free_cpus : 0xen_major : 4xen_minor : 3xen_extra : -unstablexen_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_64xen_scheduler : creditxen_pagesize : 4096platform_params : virt_start=0xffff800000000000xen_changeset : Mon Sep 10 11:13:56 2012 +0100 25841:7d770de90b7fxen_commandline : placeholder dom0_mem=2048Mcc_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.