From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27867 invoked from network); 30 Apr 2000 19:49:05 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 30 Apr 2000 19:49:05 -0000 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA00827 for ; Sun, 30 Apr 2000 15:49:03 -0400 Received: by paralleldata.com from localhost (router,SLMail V2.5); Sun, 30 Apr 2000 14:55:25 -0500 Received: by paralleldata.com from paralleldata.com (24.15.240.182::mail daemon; unverified,SLMail V2.5); Sun, 30 Apr 2000 14:55:21 -0500 Sender: "Wsb" Message-ID: <390C95D6.DC772551@paralleldata.com> Date: Sun, 30 Apr 2000 15:21:42 -0500 From: "W Bauske" Organization: PDS Inc. X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: 2.3.99-pre6/milo: expected 1, not 2 program headers References: <87pur7mu62.fsf@linuxcare.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit David Huggins-Daines wrote: > > Dave Gilbert 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)