Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: 2.3.99-pre6/milo: expected 1, not 2 program headers
  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 17:06 ` W Bauske
  2 siblings, 1 reply; 6+ messages in thread
From: Peter Petrakis @ 2000-04-30 12:26 UTC (permalink / raw)
  To: axp-list

ALO has the entire RH axplist archive. Also you can search it.

> ANyone any idea what this is? A google search shows it was discussed
> (about 4 years ago.....) but I can't get to the original message.

A quick search found me the following.
http://www.alphalinux.org/archives/axp-list/1996/October1996/0585.html

Peter
--
www.alphalinux.org
Peter Petrakis         Warrior/Engineer        ppetrakis@alphalinux.org
"Oh my God! They killed Xena! You bastards!!"
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."


^ permalink raw reply	[flat|nested] 6+ messages in thread

* 2.3.99-pre6/milo: expected 1, not 2 program headers
@ 2000-04-30 16:09 Dave Gilbert
  2000-04-30 12:26 ` Peter Petrakis
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Dave Gilbert @ 2000-04-30 16:09 UTC (permalink / raw)
  To: axp-list

Hi,
  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.

ANyone any idea what this is? A google search shows it was discussed
(about 4 years ago.....) but I can't get to the original message.

I've noticed the kernel is getting near to, but not over 1MB - could that
be it?

Dave

P.S. Trying to build in x86 emulation gave two link errors of not being
able to find teh symbol 'fputs'

-- 
 ---------------- Have a happy GNU millennium! ----------------------   
/ Dr. David Alan Gilbert      | Running GNU/Linux on       |  Happy  \ 
\   gro.gilbert @ treblig.org |  Alpha, x86, ARM and SPARC |  In Hex /
 ____________________________|___ http://www.treblig.org  |________/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 2.3.99-pre6/milo: expected 1, not 2 program headers
  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 16:26 ` David Huggins-Daines
  2000-04-30 20:21   ` W Bauske
  2000-04-30 17:06 ` W Bauske
  2 siblings, 1 reply; 6+ messages in thread
From: David Huggins-Daines @ 2000-04-30 16:26 UTC (permalink / raw)
  To: axp-list

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?

-- 
David Huggins-Daines, GNU/Linux Consultant, Linuxcare, Inc.
613.223.0225 mobile
dhd@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 2.3.99-pre6/milo: expected 1, not 2 program headers
  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 16:26 ` David Huggins-Daines
@ 2000-04-30 17:06 ` W Bauske
  2 siblings, 0 replies; 6+ messages in thread
From: W Bauske @ 2000-04-30 17:06 UTC (permalink / raw)
  To: axp-list

Dave Gilbert wrote:
> 
> Hi,
>   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.
> 

I had aboot say this yesterday when I built 2.2.15pre19.
Sounds more like a bin util is broken to me. I didn't
try to chase it yet. My kernel was 949471 bytes so it's
not likely to be size I think. I boot larger 2.2.15pre17
kernels without a hitch. One thing though. We're probably
both booting from EIDE disks but then again, why does
2.2.15pre17 work? Might try diff the pre17 patch with the
pre19 patch and see if anything looks related.


Wes


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 2.3.99-pre6/milo: expected 1, not 2 program headers
  2000-04-30 12:26 ` Peter Petrakis
@ 2000-04-30 17:30   ` Dave Gilbert
  0 siblings, 0 replies; 6+ messages in thread
From: Dave Gilbert @ 2000-04-30 17:30 UTC (permalink / raw)
  To: axp-list

On Sun, 30 Apr 2000, Peter Petrakis wrote:

> A quick search found me the following.
> http://www.alphalinux.org/archives/axp-list/1996/October1996/0585.html

Hmm not relevant then, that was just someone picking up the wrong file

Dave

-- 
 ---------------- Have a happy GNU millennium! ----------------------   
/ Dr. David Alan Gilbert      | Running GNU/Linux on       |  Happy  \ 
\   gro.gilbert @ treblig.org |  Alpha, x86, ARM and SPARC |  In Hex /
 ____________________________|___ http://www.treblig.org  |________/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 2.3.99-pre6/milo: expected 1, not 2 program headers
  2000-04-30 16:26 ` David Huggins-Daines
@ 2000-04-30 20:21   ` W Bauske
  0 siblings, 0 replies; 6+ messages in thread
From: W Bauske @ 2000-04-30 20:21 UTC (permalink / raw)
  To: axp-list

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)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-04-30 19:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2000-04-30 17:06 ` W Bauske

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox