Error 28 selected item cannot fit into memory

USB installed failed on all latest, hn, and cn images while successfully installing SmartOS images on the same hardware. Upon boot from USB, the screen stops right before the setup after Grub and d...

I can’t get mine right. The main ip is, 5.5.5.227 (gw: 5.5.5.225, nm: 255.255.255.224) for example.

The subnet ips are 8.8.8.112/29 (gw: 5.5.5.5.227, nm: 255.255.255.248):

  • 8.8.8.112 is used to route the traffic by Hetzner
  • 8.8.8.113 is the gw of the subnet
  • 8.8.8.114 is 1st useable ip for cloud admin.
{
    "config_console": "vga",
    "skip_instructions": true,
    "simple_headers": true,
    "accept_eula": false,
    "advanced_install": true,
    "datacenter_name": "My datacenter",
    "etherstubs": "adminstub0",    <<<automatically generated
    "admin_ip": "5.5.5.227",
    "admin_netmask": "255.255.255.224",
    "admin_gateway": "5.5.5.225",
    "admin_vlan_id": "",
    "add_nictags": true,
    "external_add_nictag": true,
    "external_add_ip": true,
    "external_ip": "8.8.8.113",
    "external_netmask": "8.8.8.248",
    "external_preserve_mac": false,  <<<it fails everytime if true
    "internal_add_nictag": false,
    "storage_add_nictag": false,
    "headnode_default_gateway": "5.5.5.227",  <<<this is more like external ip gateway)
    "dns_resolver1": "<default>",
    "dns_resolver2": "<default>",
    "dns_search": "<default>",
    "ntp_host": "<default>",
    "skip_ntp_check": false,
    "install_to_hdd": false,
    "disk_layout": "<default>",
    "root_password": "Passw0rd",
    "hostname": "<default>",
    "remote_node": false,
    "mgmt_admin_ip": "8.8.8.114",
    "cfgdb_admin_ip": "8.8.8.115",
    "esdc_install_password": "nbusr123",
    "admin_email": "root@example.com",
    "skip_final_confirm": true
}

May I know at what point were you able to run the /opt/custom/bin/create-router-from-gz.sh script? Shouldn’t it be run before the Danube Cloud install script so the gateways for the admin and zabbix VM’s are correctly addressed?


0

0

Пытался запустить мемтест86 через груб. все сделал как положено. впринципе там все очень просто, ребутаюсь, выбираю в грубе нужный пункт с мемтестом.

на что мне груб и говорит: error 28: selected item cannot fin into the memory

погуглил, нашел одно достаточно внятное объяснение (оно в самом низу приведено), но неужели никак не получится у меня погонять тесты на память? сервер стоит в датацентре, и я с ним через КВМ общаюсь. ехать с болванкой достаточно затруднительно.

может кто знает что и где подкрутить, чтобы он запускался нормально? может в биосе какие-то настройки подкрутить можно?

описание проблемы, на англиском:

* Run from boot manager

In grub you can simply add an entry like the following;

title Memtest86+
kernel /boot/memtest86+.bin

You would of course need to copy the memtest86+-1.xx.bin file from the
distribution to /boot/memtest86+.bin.

Note that on some computers this does not work and results in an «Error
28: Selected item cannot fit into memory» reported by grub. The problem
here is that memtest86+ uses the legacy linux loading mechanism which
expects to be loaded at 0x9A000 in memory. On some systems the BIOS uses a
part of the memory closely after this address and correctly reserves it in
the e820 memory map. Grub will then fail to load memtes86+ over this
reserved memory area, which is the correct behaviour. For now there is no
way to circumvent this. The memtes86+ loader should be rewritten to use a
newer loading mechanism, but this will be quite a big task. It is unclear
when this will be realised.

Меню Проекта
  • Главная страница
  • Руководство по Grub4Dos
  • Руководство по Syslinux
  • Каталог статей
  • Склад
  • Форум
  • GfxMenu
  • Книга Жалоб и Предложений
  • Cкачать?!
  • Информация о Проекте
  • Обратная связь
Мнение Общественности

Какую файловую систему на флешке вы предпочитаете?

1. NTFS

2. FAT-16/32

3. Ext-2/3

4. Другую

Всего ответов: 4978

Статистика

Переполнение памяти ошибка 28. Grub

Kamil_MT Дата: Воскресенье, 20.05.2012, 22:45 | Сообщение # 1

Неизвестный

Группа: Пользователи

Репутация: 0

Статус: Отсутствует

Итак, имеем: Флешка 16 ГБ, отформатировал, сделал активной, поместил MBR, закинул GRUB. Затем взял несколько ISO образов размерами более 4 ГБ. на моем ноуте ОЗУ 2 ГБ.
Значит проблема при монтировании из образа iso в память. Выдает ошибку 28: Selected item cannot fit into memory. Строку использую: map —mem /1/XXX.iso (hd32).
Если требуется какая либо дополнительная инфа готов предоставить по первому требованию, можем даже поработать сообща ))) дабы удаленка теперь не новость ))). С предлажениями пролистать bible Unix или спрашивать у гугла могу порекомендовать отсасать у Била Г. Жду только людей кто встречался с похожей проблемой и как вариант готовых поделится своими знаниями. umnik

 
Sh1td0wn Дата: Воскресенье, 20.05.2012, 22:47 | Сообщение # 2

Программист

Группа: Модераторы

Репутация: 210

Статус: Отсутствует

> С предлажениями пролистать bible Unix или спрашивать у гугла
Что, неужели уже гуглили?

> map —mem /1/XXX.iso (hd32)
Уберите —mem и дефрагментируйте образ. Или переместите его содержимое в корень флешки, а сам образ удалите.


НАЖМИ МЕНЯ, прежде чем что-либо написать

 
Kamil_MT Дата: Воскресенье, 20.05.2012, 23:11 | Сообщение # 3

Неизвестный

Группа: Пользователи

Репутация: 0

Статус: Отсутствует

Вериш нет — гуглил до этого пробовал сам и так и эток, мем тож убирал — невыходило… В этот раз поползло ))) biggrin . Спс огромное. Будем рулить дальше ))).
PS. dry Как часто тебя тут можно встретить и в лучше в какое время (по МСК)?

 
Kamil_MT Дата: Понедельник, 21.05.2012, 06:13 | Сообщение # 4

Неизвестный

Группа: Пользователи

Репутация: 0

Статус: Отсутствует

И снова проблема, образ Win7.iso, нормально идет установка до выбора логических дисков, затем вместо окна выбора логических дисков куда будем устанавливать выдает окно с просьбой найти драйвера для оптического дисковода. angry
Если распаковываю этот же образ и ложу его как пишет Мелкомягкие то норм загрузка идет. Но есть потребность держать именно в виде образа .iso. sad
Флешку дефрагментировал! (Средствами винды7). Что можно сделать?
achi не использую.

Сообщение отредактировал Kamil_MTПонедельник, 21.05.2012, 06:22

 
Sh1td0wn Дата: Понедельник, 21.05.2012, 08:35 | Сообщение # 5

Программист

Группа: Модераторы

Репутация: 210

Статус: Отсутствует

> Что можно сделать?
Прочитать на форуме, почему map —mem просто так не работает для не-DOS. Потом прочитать на нём же, как интегрировать ImDisk.


НАЖМИ МЕНЯ, прежде чем что-либо написать

 
  • Страница 1 из 1
  • 1

hi evreyone,
don’t know but Solaris 10 is not making any sense to me at all.the peoblem is i have installed Solaris 10 many times ,sometime GRUB detected Windows XP automatically and other times it could not and other times it halted during installation and said I/O error could not install all packages ,so i changed my CD-ROM anyway it did install Solaris 10 some times but GRUB could not detec Windows XP automatically and i could not configure GRUB to do so manually so i bought a new CD-ROM and mounted it on my pc.anyway when i tryed to install Solaris 10 and choosed Solaris from the booting screen it displayed the above mentioned error:

Error 28: Selected item can not fit into memory

the upper memory in the booting screen was: 752576 kb
lower memory: 639 kb
don’t know but Solaris 10 is not making any sense to me since a week ,it’s behavior is not understood .although i did run the install check before starting the installation and it did say Soalris 10 can be installed on you system.my hardware information is the following:

Gigabyte mother board with bult in VGA ,Sound ,Ethernet
40 GB Western Digital Hard Disk
750 MB of RAM’s
Pentuiem 4 ,1 MB Cache

please adivce if anyone knows about this?

memtest86+ не влазает в память.

Пытался запустить мемтест86 через груб. все сделал как положено. впринципе там все очень просто, ребутаюсь, выбираю в грубе нужный пункт с мемтестом.

на что мне груб и говорит: error 28: selected item cannot fin into the memory

погуглил, нашел одно достаточно внятное объяснение (оно в самом низу приведено), но неужели никак не получится у меня погонять тесты на память? сервер стоит в датацентре, и я с ним через КВМ общаюсь. ехать с болванкой достаточно затруднительно.

может кто знает что и где подкрутить, чтобы он запускался нормально? может в биосе какие-то настройки подкрутить можно?

описание проблемы, на англиском:

* Run from boot manager

In grub you can simply add an entry like the following;

title Memtest86+ kernel /boot/memtest86+.bin

You would of course need to copy the memtest86+-1.xx.bin file from the distribution to /boot/memtest86+.bin.

Note that on some computers this does not work and results in an «Error 28: Selected item cannot fit into memory» reported by grub. The problem here is that memtest86+ uses the legacy linux loading mechanism which expects to be loaded at 0x9A000 in memory. On some systems the BIOS uses a part of the memory closely after this address and correctly reserves it in the e820 memory map. Grub will then fail to load memtes86+ over this reserved memory area, which is the correct behaviour. For now there is no way to circumvent this. The memtes86+ loader should be rewritten to use a newer loading mechanism, but this will be quite a big task. It is unclear when this will be realised.

Источник

Arch Linux

You are not logged in.

#1 2006-08-13 14:34:43

Error 28: Selected item cannot fit into memory

I just installed Arch64. I’ve done it before but now I get an error (from Grub I think) that says: «Error 28 Selected item cannot fit into memory». Both with fallback and old initrd. Every seems to be fine, correct root and kernel/initrd files.

Can someone help me with this?

#2 2006-08-13 18:30:18

Re: Error 28: Selected item cannot fit into memory

Worked in Lilo. Maybe the new kernel doesn’t have the problem with Grub.

#3 2006-09-25 08:22:51

Re: Error 28: Selected item cannot fit into memory

Ok, so I found the cause of this problem. It’s a bug in Grub that was reported, with a fix, two years ago. Apparently Grub can’t deal with systems that have more than 2 gigs of memory very well and will not detect the available memory correctly. It will not detect enough to load a 64-bit kernel (in my case anyway).

Maybe it’s a good idea to include this patch in the Grub build.

#4 2006-09-25 15:55:25

Re: Error 28: Selected item cannot fit into memory

Please file a bug report.

#5 2006-09-25 16:00:04

Re: Error 28: Selected item cannot fit into memory

Why hasn’t this fix been added to GRUB upstream if it’s been two years and people are still having this issue. I suppose it’s not an issue for me because I only have 2GB of memory in this box with my 64-bit kernel.

#6 2006-09-25 17:16:00

Re: Error 28: Selected item cannot fit into memory

Why hasn’t this fix been added to GRUB upstream if it’s been two years and people are still having this issue. I suppose it’s not an issue for me because I only have 2GB of memory in this box with my 64-bit kernel.

I don’t know. They don’t care I guess. Anyway, Gentoo’s grub is patched and works great. All other Grubs I tried (Ubuntu, Arch, Frugalware (can’t even install it)) can’t boot a 64-bit kernel.

I’ll look into the bug report thingy later.

#7 2006-09-25 17:26:54

Re: Error 28: Selected item cannot fit into memory

I’ll look into the bug report thingy later.

Yep, a bug report seems the best way to handle this problem. I figure this will be fixed upstream when x86_64 systems with >2GB system RAM start becoming common place, but for now this will do nicely.

#8 2006-09-25 17:45:02

Re: Error 28: Selected item cannot fit into memory

According to the PKGBUILD for Grub I can’t even compile it.

«this package has to be build on i686, won’t compile on x86_64»

Источник

OSDev.org

The Place to Start for Operating System Developers

It is currently Tue Jan 10, 2023 1:46 pm

All times are UTC — 6 hours

GrUB; Selected item cannot fit into memory

Print view Previous topic | Next topic
Author Message
computafreak
Member

Joined: Sun Dec 14, 2008 1:53 pm
Posts: 76

I’ve now got another linking problem. My kernel compiles fine, but GrUB doesn’t boot it. The error is 28: Selected item cannot fit into memory. Based on my research, I’ve found that what it actually means is that I have a weird load address, caused by a bad linker script. But this doesn’t seem right, since this only happened when I added a class, Stream, which only contains virtual methods. Is the problem with my code, or my linker script (below)?

OUTPUT_FORMAT(«elf32-i386»)
ENTRY(start)
SECTIONS
<
.text 0x1000000 :
<
code = .; _code = .; __code = .;
*(.multiboot)
*(.text)
. = ALIGN(4096);
>

.data :
<
_CTOR_LIST__ = .; LONG((_CTOR_END__ — _CTOR_LIST__) / 4 — 2) * (.ctors) LONG(0) _CTOR_END__ = .;
_DTOR_LIST__ = .; LONG((_DTOR_END__ — _DTOR_LIST__) / 4 — 2) * (.dtors) LONG(0) _DTOR_END__ = .;
data = .; _data = .; __data = .;
*(.data)
*(.rodata)
. = ALIGN(4096);
>

.bss :
<
bss = .; _bss = .; __bss = .;
*(.bss)
. = ALIGN(4096);
>

end = .; _end = .; __end = .;
>

finarfin
Member

Joined: Fri Feb 23, 2007 1:41 am
Posts: 106
Location: Italy & Ireland

Probably you have to change your text (too 0’s ):

with something like that:

This way, should work.

computafreak
Member

Joined: Sun Dec 14, 2008 1:53 pm
Posts: 76

finarfin
Member

Joined: Fri Feb 23, 2007 1:41 am
Posts: 106
Location: Italy & Ireland

hi,
if you are developing on Linux you should try the command: Mbchk
You have to launch it passing your kernel image as argument. It check if your MultibootHeader has something wrong

Now i don’t know why objdump give you that values, but When i do an objdump of my kernel i have that:

Here is my kernel.lds script:

.text 0x100000 :
<
code = .; _code = .; __code = .;
*(.text)
. = ALIGN(4096);
>

.data :
<
data = .; _data = .; __data = .;
*(.data)
*(.rodata)
. = ALIGN(4096);
>

.bss :
<
bss = .; _bss = .; __bss = .;
*(.bss)
. = ALIGN(4096);
>

i don’t know if that could help you.

_________________
Elen síla lúmenn’ omentielvo
— DreamOS64 — My latest attempt with osdev: https://github.com/dreamos82/Dreamos64
— Osdev Notes — My notes about osdeving! https://github.com/dreamos82/Osdev-Notes
— My old Os Project: https://github.com/dreamos82/DreamOs

computafreak
Member

Joined: Sun Dec 14, 2008 1:53 pm
Posts: 76

I’m running in Cygwin on Windows, but I found the mbchk application. It returned these results:
Multiboot header at offset 4096
Page alignment on
Memory information on
Address fields off
All checks passed

I’ve tried the linker script you posted, and GrUB won’t load the file (error 13, unsupported file format), and neither will objdump. Incidentally, this error began to occur only when I began to use inheritance. Does that change anything?

finarfin
Member

Joined: Fri Feb 23, 2007 1:41 am
Posts: 106
Location: Italy & Ireland

(taken from your code)

The error 13 probably depend on the fact that your grub doesn’t support my format (binary). Searching on google i found that:

_________________
Elen síla lúmenn’ omentielvo
— DreamOS64 — My latest attempt with osdev: https://github.com/dreamos82/Dreamos64
— Osdev Notes — My notes about osdeving! https://github.com/dreamos82/Osdev-Notes
— My old Os Project: https://github.com/dreamos82/DreamOs

computafreak
Member

Joined: Sun Dec 14, 2008 1:53 pm
Posts: 76

Love4Boobies
Member

Joined: Fri Mar 07, 2008 5:36 pm
Posts: 2111
Location: Bucharest, Romania

The rules state that you’re not supposed to tell us what you think Anyway, I’m not sure it’s the linker script. Perhaps you should show us the beginning of your kernel (the part with the Multiboot header I am most interested in).

_________________
«Computers in the future may weigh no more than 1.5 tons.», Popular Mechanics (1949)
[ Project UDI ]

computafreak
Member

Joined: Sun Dec 14, 2008 1:53 pm
Posts: 76

Member

Joined: Sat Oct 25, 2008 11:32 am
Posts: 29
Location: until we meet again!!

I was getting the same error 13 by grub. I am not exactly sure but i think this fixed my problem Anyways i guess there is no harm in trying.

computafreak
Member

Joined: Sun Dec 14, 2008 1:53 pm
Posts: 76

computafreak
Member

Joined: Sun Dec 14, 2008 1:53 pm
Posts: 76

kernelbin: file format elf32-i386

Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00003000 00100000 00100000 00001000 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .gnu.linkonce.t._ZN6StreamC2Ev 0000000e 00103000 00103000 00004000 2**1
CONTENTS, ALLOC, LOAD, READONLY, CODE, LINK_ONCE_DISCARD
2 .data 00000fe0 00103020 00103020 00004020 2**5
CONTENTS, ALLOC, LOAD, DATA
3 .bss 00001000 00104000 00104000 00005000 2**5
ALLOC
4 .comment 000000f6 00000000 00000000 00005000 2**0
CONTENTS, READONLY
5 .gnu.linkonce.r._ZTV6Stream 00000028 00000100 00000100 00000100 2**5
CONTENTS, ALLOC, LOAD, READONLY, DATA, LINK_ONCE_DISCARD
6 .gnu.linkonce.r._ZTV7Console 00000028 00000140 00000140 00000140 2**5
CONTENTS, ALLOC, LOAD, READONLY, DATA, LINK_ONCE_DISCARD

Page 1 of 1 [ 12 posts ]

All times are UTC — 6 hours

Who is online

Users browsing this forum: Bing [Bot] , Majestic-12 [Bot] , mtbro, PetalBot [Bot] and 174 guests

Источник

Adblock
detector

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Error 403 что это такое
  • Error 403 ошибка 403 killa laharl
  • Error 403 как обойти
  • Error 403 yandex
  • Error 403 this web app is stopped

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии