[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
"Error 28" -problem on an old 386
From: |
Riku 'Rakkis' Nurminen |
Subject: |
"Error 28" -problem on an old 386 |
Date: |
Sat, 14 Jun 2003 18:12:17 +0300 |
User-agent: |
Mutt/1.3.28i |
Hi,
I'm posting this message here as the new Bug Tracking System site seems
to be unworking at the moment. (I'm only seeing some "connection refused"
message upon entering).
I'm trying to boot my own tiny kernel (8.5KB, ELF format) from a floppy
disk with GRUB. Everything worked fine when my kernel was < 6KB in size,
but now in its current size I always get the following error when
booting:
[]
...
kernel /boot/rkernel
[Multiboot-elf, <0x0:0xac1:0x0>
Error 28: Selected item cannot fit into memory
[]
The computer is an old 386SX with 4MB RAM. I've tested it with both 0.93
and CVS GRUB (from today). Grub reports the machine's memory as
639K lower / 3456K upper.
I've set the physical and virtual load address of the kernel to 1MB
(0x100000). This can be verified from the objdump output:
[]
$ objdump -f -h build/rkernel
build/rkernel: file format elf32-i386
architecture: i386, flags 0x00000102:
EXEC_P, D_PAGED
start address 0x00100000
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00002000 00100000 00100000 00001000 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .data 00001000 00102000 00102000 00003000 2**2
CONTENTS, ALLOC, LOAD, DATA
2 .bss 00001000 00103000 00103000 00004000 2**5
ALLOC
3 .rodata.str1.32 00000742 00000100 00000100 00000100 2**5
CONTENTS, ALLOC, LOAD, READONLY, DATA
4 .rodata.str1.1 0000027f 00000842 00000842 00000842 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA
[]
According to this the kernel should end at 0x105000 (1044KB). After that
there should still be plenty (~3MB) of RAM available.
Thanks in advance for any help.
Riku "Rakkis" Nurminen
Personal: http://www.rakkis.net
Member of: http://www.madqon.org
- "Error 28" -problem on an old 386,
Riku 'Rakkis' Nurminen <=