Subject: Re: Boot-Floppies fail to boot on i386
To: None <port-i386@netbsd.org>
From: Matthias Petermann <matthias.petermann@gmx.de>
List: port-i386
Date: 05/21/2004 17:22:23
This is a multi-part message in MIME format.

--Multipart=_Fri__21_May_2004_17_22_23_+0200_5KEiT2=V_R2x=pXo
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi David,

thank you for your reply. 

On Thu, 20 May 2004 21:04:50 +0100
David Laight <david@l8s.co.uk> wrote:

> Can you send the output of:
> $ readelf -a obj/distrib/i386/floppies/instkernel/netbsd-INSTALL

to avoid line wrapping I have attached the output as ascii file. Hope
that is ok. The file represents the results of cvs-version from May,20th.
The corresponding boot floppies show a slightly different number after
"starting in 0" compared to my first posting (cvs-version from May, 12th):

<snip>
booting fd0a:netbsd - starting in 0
3651244/
Please remove disk 1, insert disk 2, and press return...
+5197916+289576lseek section headers: invalid file offset
</snip>

Kind regards
Matthias

-- 
  ,MN  NM, PPPP,   Matthias Petermann . Cell: +49 172 878 43 76
  NM NN MN PP PP      http://www.glesir.de/~mp
  MM    MM PPPP'   mailto: matthias.petermann@gmx.de
--MM----MM-PP--------------------------------- DSA key ID 28DC2ACA ----


--Multipart=_Fri__21_May_2004_17_22_23_+0200_5KEiT2=V_R2x=pXo
Content-Type: text/plain;
 name="readelf.txt"
Content-Disposition: attachment;
 filename="readelf.txt"
Content-Transfer-Encoding: 7bit

ELF Header:
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           Intel 80386
  Version:                           0x1
  Entry point address:               0xc0100000
  Start of program headers:          52 (bytes into file)
  Start of section headers:          8926408 (bytes into file)
  Flags:                             0x0
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         2
  Size of section headers:           40 (bytes)
  Number of section headers:         13
  Section header string table index: 12

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .text             PROGBITS        c0100000 001000 27d48c 00  AX  0   0  4
  [ 2] .rodata           PROGBITS        c037d4a0 27e4a0 0b412d 00   A  0   0 32
  [ 3] .rodata.str1.1    PROGBITS        c04315cd 3325cd 019088 01 AMS  0   0  1
  [ 4] .rodata.str1.32   PROGBITS        c044a660 34b660 030e53 01 AMS  0   0 32
  [ 5] link_set_sysctl_f PROGBITS        c047b4b4 37c4b4 000098 00   A  0   0  4
  [ 6] link_set_malloc_t PROGBITS        c047b54c 37c54c 000130 00   A  0   0  4
  [ 7] link_set_evcnts   PROGBITS        c047b67c 37c67c 000030 00   A  0   0  4
  [ 8] .data             PROGBITS        c047c6c0 37c6c0 4f505c 00  WA  0   0 32
  [ 9] .bss              NOBITS          c0971720 871720 046b24 00  WA  0   0 32
  [10] .comment          PROGBITS        00000000 871720 007c96 00      0   0  1
  [11] .ident            PROGBITS        00000000 8793b6 00a082 00      0   0  1
  [12] .shstrtab         STRTAB          00000000 883438 00008f 00      0   0  1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings)
  I (info), L (link order), G (group), x (unknown)
  O (extra OS processing required) o (OS specific), p (processor specific)

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x001000 0xc0100000 0xc0100000 0x37b6ac 0x37b6ac R E 0x1000
  LOAD           0x37c6c0 0xc047c6c0 0xc047c6c0 0x4f505c 0x53bb84 RW  0x1000

 Section to Segment mapping:
  Segment Sections...
   00     .text .rodata .rodata.str1.1 .rodata.str1.32 link_set_sysctl_funcs link_set_malloc_types link_set_evcnts 
   01     .data .bss 

There is no dynamic segment in this file.

There are no relocations in this file.

There are no unwind sections in this file.

No version information found in this file.


--Multipart=_Fri__21_May_2004_17_22_23_+0200_5KEiT2=V_R2x=pXo--