From: "W Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: 2.3.99-pre6/milo: expected 1, not 2 program headers
Date: Sun, 30 Apr 2000 15:21:42 -0500 [thread overview]
Message-ID: <390C95D6.DC772551@paralleldata.com> (raw)
In-Reply-To: 87pur7mu62.fsf@linuxcare.com
David Huggins-Daines wrote:
>
> Dave Gilbert <gilbertd@treblig.org> writes:
>
> > I've just built 2.3.99-pre6 (currently running -pre1 fine)
> > but on trying to boot it I get:
> >
> > expected 1, not 2 program headers'
> >
> > from MILO.
>
> Yeah, Jay has been having the same problem with aboot and 2.3.99-pre,
> but I've been categorically unable to reproduce it (even if I put a
> *lot* of stuff in the kernel - I got the uncompressed size up to over
> 6M)
>
> I think we've narrowed the problem down to the GCC version - I'm using
> 2.95.2 (Debian), you guys are presumably using egcs 1.1.2 (Red Hat).
>
> Can you send me (a) the size of vmlinux (not vmlinux.gz/vmlinuz),
> (b) the output of `objdump -x vmlinux', and (c) which versions of gcc
> and binutils (use `ld -V' to show this) you are using?
>
> > I've noticed the kernel is getting near to, but not over 1MB - could that
> > be it?
>
> Er, that's the compressed size. I suspect the uncompressed size will
> be closer to 4 or 5 MB.
>
> > P.S. Trying to build in x86 emulation gave two link errors of not being
> > able to find teh symbol 'fputs'
>
> On a related subject, does anyone know if there is a version of em86
> out there that will actually compile and work with recent kernel
> versions?
>
My 2.2.15pre19 uncompressed is 2288272 bytes
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
ld -V:
GNU ld version 2.9.1 (with BFD 2.9.1.0.24)
Supported emulations:
elf64alpha
alpha
objdump -x :
objdump -x vmlinux.221519
vmlinux.221519: file format elf64-alpha
vmlinux.221519
architecture: alpha, flags 0x00000103:
HAS_RELOC, EXEC_P, D_PAGED
start address 0xfffffc0000310000
Program Header:
LOAD off 0x0000000000010000 vaddr 0xfffffc0000310000 paddr 0xfffffc000031
0000 align 2**16
filesz 0x00000000001a0000 memsz 0x00000000001a0000 flags r-x
LOAD off 0x00000000001b0000 vaddr 0xfffffc00004b0000 paddr 0xfffffc00004b
0000 align 2**16
filesz 0x00000000000797d8 memsz 0x00000000000cea38 flags rw-
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 0017b560 fffffc0000310000 fffffc0000310000 00010000 2**5
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .text2 000029ac fffffc000048b560 fffffc000048b560 0018b560 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
2 __ex_table 00001720 fffffc000048df10 fffffc000048df10 0018df10 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
3 __ksymtab 000032a0 fffffc000048f630 fffffc000048f630 0018f630 2**3
CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
4 .kstrtab 00002d27 fffffc00004928d0 fffffc00004928d0 001928d0 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA
5 .text.init 0001a000 fffffc0000496000 fffffc0000496000 00196000 2**5
CONTENTS, ALLOC, LOAD, READONLY, CODE
6 .data.init 00006e74 fffffc00004b0000 fffffc00004b0000 001b0000 2**3
CONTENTS, ALLOC, LOAD, RELOC, DATA
7 init_task 00004000 fffffc00004b8000 fffffc00004b8000 001b8000 2**3
CONTENTS, ALLOC, LOAD, RELOC, DATA
8 .rodata 00033860 fffffc00004bc000 fffffc00004bc000 001bc000 2**3
CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
9 .data 00029ac0 fffffc00004ef860 fffffc00004ef860 001ef860 2**5
CONTENTS, ALLOC, LOAD, RELOC, DATA
10 .sdata 00000e98 fffffc0000528940 fffffc0000528940 00228940 2**3
CONTENTS, ALLOC, LOAD, RELOC, DATA
11 .got 0000f620 fffffc0000519320 fffffc0000519320 00219320 2**3
CONTENTS, ALLOC, LOAD, DATA
12 .sbss 0000051c fffffc00005297d8 fffffc00005297d8 002297d8 2**3
ALLOC
13 .bss 00054d38 fffffc0000529d00 fffffc0000529d00 002297e4 2**5
ALLOC
14 .comment 00004c03 0000000000000000 0000000000000000 002297e4 2**0
CONTENTS, READONLY
No symbols in "vmlinux.221519".
RELOCATION RECORDS FOR [__ksymtab]: (none)
RELOCATION RECORDS FOR [.data.init]: (none)
RELOCATION RECORDS FOR [init_task]: (none)
RELOCATION RECORDS FOR [.rodata]: (none)
RELOCATION RECORDS FOR [.data]: (none)
RELOCATION RECORDS FOR [.sdata]: (none)
next prev parent reply other threads:[~2000-04-30 19:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-30 16:09 2.3.99-pre6/milo: expected 1, not 2 program headers Dave Gilbert
2000-04-30 12:26 ` Peter Petrakis
2000-04-30 17:30 ` Dave Gilbert
2000-04-30 16:26 ` David Huggins-Daines
2000-04-30 20:21 ` W Bauske [this message]
2000-04-30 17:06 ` W Bauske
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox