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

[Xen-devel] grub Error 28: Selected item cannot fit into memory


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Sam Johnston <samjie@xxxxxxxxx>
  • Date: Thu, 31 Mar 2005 01:21:57 +0100
  • Delivery-date: Thu, 31 Mar 2005 00:22:02 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=HmnQpG9UFRfp1GWvMipnfzu1whs0FdhRzDu/xQ7TQWVbq77V6h4xq+/qa5yyy19O0dwUcshdbvfqzHF18RFX+/h/phhBckp6rrVvyIwZn8WY6atTsXHI9iKdh/sMIIvjK7FnjLBNAI5BV/E/2ygve888Xa514JaL2/+wX3b5Rio=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Good evening all,

I've all but finished installing Xen 2.0.5, XenLinux 2.6.10 and Debian
GNU/Linux 3.0r4 into /boot on a colo box currently (and temporarily)
running CentOS. I've chrooted into the debian install (chroot /boot
/bin/bash) and was able to set everything up, install requisite
packages, install xen, etc.

Now I'm at the last step and I've run into problems. When I point grub
at xen.gz it complains loudly:

   GNU GRUB  version 0.95  (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)
Filesystem type is ext2fs, partition type 0x83

grub> kernel /boot/xen.gz dom0_mem=131072 console=vga
  [Multiboot-elf, <0xb72f2000:0x3ef3c:0x360c4>(bad)

Error 28: Selected item cannot fit into memory

grub>

Does anyone have any ideas about how to solve this one? I have set up
the menu.lst but would rather not have to call on a console jockey
should things go awry as it's a colo box in another country. The
underlying CentOS 3.4 is using grub 0.93 (the new / is currently
polluted with the current running kernel and grub directory as it's
still mounted as /boot for the time being - it will be / when all this
works). I'd have tried recompiling were I not short on space - it
would be nice if that were all I needed to do. It's an Athlon 2000+
with 512Mb RAM and an 80Gb IDE disk, by the way, per the following
/proc contents. Let me know if there's anything else you need to know.

Kind regards,

Sam

# cat /proc/meminfo
       total:    used:    free:  shared: buffers:  cached:
Mem:  524251136 515284992  8966144        0 86786048 306520064
Swap: 1069244416    94208 1069150208
MemTotal:       511964 kB
MemFree:          8756 kB
MemShared:           0 kB
Buffers:         84752 kB
Cached:         299280 kB
SwapCached:         56 kB
Active:         352508 kB
ActiveAnon:      97552 kB
ActiveCache:    254956 kB
Inact_dirty:     89512 kB
Inact_laundry:   18456 kB
Inact_clean:      9664 kB
Inact_target:    94028 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       511964 kB
LowFree:          8756 kB
SwapTotal:     1044184 kB
SwapFree:      1044092 kB
Committed_AS:   191292 kB
HugePages_Total:     0
HugePages_Free:      0
Hugepagesize:     4096 kB

# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : AMD Athlon(tm) XP 2000+
stepping        : 1
cpu MHz         : 1665.921
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips        : 3322.67

# cat /proc/partitions
major minor  #blocks  name     rio rmerge rsect ruse wio wmerge wsect
wuse running use aveq

  3     0   80418240 hda 45071 143921 957432 389900 364406 964781
7682300 10972860 4294967233 16997266 14692735
  3     1     257008 hda1 5833 62092 135850 28140 22470 473210 992108
3701560 0 65430 3740690
  3     2   46082452 hda2 1938 1573 27434 13310 71000 147686 1755888
2062300 0 87920 2078460
  3     3   14338012 hda3 12079 16317 226530 67920 206684 186747
3153992 1769070 0 162580 1837780
  3     4          1 hda4 2 0 4 20 0 0 0 0 0 20 20
  3     5    8193118 hda5 4113 10472 116026 55120 16826 23884 326816
550270 0 58870 605390
  3     6    8193118 hda6 13713 25130 310090 90650 21348 66743 709768
1750850 0 143920 1842640
  3     7    1020096 hda7 356 1118 10952 4120 3278 21145 196720
704310 0 35460 717330
  3     8    1020096 hda8 5593 4133 77778 20050 22664 43770 533112
299090 0 71210 319140
  3     9    1044193 hda9 619 43 5032 1020 136 1596 13896 135410 0 35230 136430

/boot# ls -al
total 20961
drwxr-xr-x   3 root root    1024 Mar 30 23:57 .
drwxr-xr-x  22 root root    1024 Mar 30 22:32 ..
-rw-r--r--   1 root root  634475 Mar 30 23:57 System.map-2.4.29-xen0
-rw-r--r--   1 root root  287120 Mar 30 23:57 System.map-2.4.29-xenU
-rw-r--r--   1 root root  628847 Mar 30 23:57 System.map-2.6.10-xen0
-rw-r--r--   1 root root  406212 Mar 30 23:57 System.map-2.6.10-xenU
-rw-r--r--   1 root root   21880 Mar 30 23:57 config-2.4.29-xen0
-rw-r--r--   1 root root   13463 Mar 30 23:57 config-2.4.29-xenU
-rw-r--r--   1 root root   23785 Mar 30 23:57 config-2.6.10-xen0
-rw-r--r--   1 root root   10776 Mar 30 23:57 config-2.6.10-xenU
drwxr-xr-x   2 root root    1024 Mar 30 23:42 grub
-rw-r--r--   1 root root 3934024 Mar 30 23:57 vmlinux-syms-2.4.29-xen0
-rw-r--r--   1 root root 2054353 Mar 30 23:57 vmlinux-syms-2.4.29-xenU
-rw-r--r--   1 root root 4922084 Mar 30 23:57 vmlinux-syms-2.6.10-xen0
-rw-r--r--   1 root root 2716450 Mar 30 23:57 vmlinux-syms-2.6.10-xenU
lrwxrwxrwx   1 root root      19 Mar 30 23:57 vmlinuz-2.4-xen0 ->
vmlinuz-2.4.29-xen0
lrwxrwxrwx   1 root root      19 Mar 30 23:57 vmlinuz-2.4-xenU ->
vmlinuz-2.4.29-xenU
-rw-r--r--   1 root root 1484426 Mar 30 23:57 vmlinuz-2.4.29-xen0
-rw-r--r--   1 root root  815398 Mar 30 23:57 vmlinuz-2.4.29-xenU
lrwxrwxrwx   1 root root      19 Mar 30 23:57 vmlinuz-2.6-xen0 ->
vmlinuz-2.6.10-xen0
lrwxrwxrwx   1 root root      19 Mar 30 23:57 vmlinuz-2.6-xenU ->
vmlinuz-2.6.10-xenU
-rw-r--r--   1 root root 1902243 Mar 30 23:57 vmlinuz-2.6.10-xen0
-rw-r--r--   1 root root 1054891 Mar 30 23:57 vmlinuz-2.6.10-xenU
lrwxrwxrwx   1 root root      19 Mar 30 23:57 vmlinuz-xen0 ->
vmlinuz-2.4.29-xen0
lrwxrwxrwx   1 root root      19 Mar 30 23:57 vmlinuz-xenU ->
vmlinuz-2.4.29-xenU
-rw-r--r--   1 root root  314869 Mar 30 23:57 xen-syms
-rw-r--r--   1 root root  118971 Mar 30 23:57 xen.gz

# cat grub/menu.lst
#boot=/dev/hda
default=0
timeout=10
#splashimage=(hd0,0)/grub/splash.xpm.gz
title Xen 2.0.5 (Debian GNU/Linux 3.0 on XenLinux 2.6.10)
       root (hd0,0)
       kernel /boot/xen.gz dom0_mem=131072 console=vga
       module /boot/vmlinuz-2.6.10-xen0 root=/dev/hda1 ro console=tty0
title CentOS (2.4.21-27.0.2.EL)
       root (hd0,0)
       kernel /vmlinuz-2.4.21-27.0.2.EL ro root=LABEL=/ hdc=ide-scsi
       initrd /initrd-2.4.21-27.0.2.EL.img
title CentOS-3 (2.4.21-27.0.1.EL)
       root (hd0,0)
       kernel /vmlinuz-2.4.21-27.0.1.EL ro root=LABEL=/ hdc=ide-scsi
       initrd /initrd-2.4.21-27.0.1.EL.img

# cat grub/device.map
(fd0)   /dev/fd0
(hd0)   /dev/hda

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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