NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/52401: Booting install media fails with "init died"
The following reply was made to PR lib/52401; it has been noted by GNATS.
From: Joerg Sonnenberger <joerg%bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: lib-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost, Andreas Gustafsson <gson%gson.org@localhost>
Subject: Re: lib/52401: Booting install media fails with "init died"
Date: Fri, 14 Jul 2017 21:01:57 +0200
On Fri, Jul 14, 2017 at 06:35:01PM +0000, Andreas Gustafsson wrote:
> The following reply was made to PR lib/52401; it has been noted by GNATS.
>
> From: Andreas Gustafsson <gson%gson.org@localhost>
> To: Joerg Sonnenberger <joerg%bec.de@localhost>
> Cc: gnats-bugs%NetBSD.org@localhost
> Subject: Re: lib/52401: Booting install media fails with "init died"
> Date: Fri, 14 Jul 2017 21:33:22 +0300
>
> Joerg Sonnenberger wrote:
> > At least the SPARC issue is a bug in objcopy. The attached patch is a
> > workaround. You can check if the same issue is present on hpcmips by
> > looking at the 'readelf -l rescue' output. If the TLS segment is
> > starting at 0 with size 0, it is the culprit.
>
> Do you mean like this?
>
> $ /tmp/bracket/build/2017.07.14.15.53.08-hpcmips/tools/bin/mipsel--netbsd-readelf -l /tmp/bracket/build/2017.07.14.15.53.08-hpcmips/obj/rescue/rescue
>
> Elf file type is EXEC (Executable file)
> Entry point 0x400350
> There are 7 program headers, starting at offset 52
>
> Program Headers:
> Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
> ABIFLAGS 0x01010c 0x00400120 0x00400120 0x00018 0x00018 R 0x8
> REGINFO 0x010124 0x00400138 0x00400138 0x00018 0x00018 R 0x4
> LOAD 0x000000 0x003f0000 0x00400000 0x7a3758 0x7a3758 R E 0x10000
> LOAD 0x7a8f00 0x00c58f00 0x00c58f00 0x56104 0x2f9a50 RW 0x10000
> LOAD 0x808f00 0x00c58f00 0x00c58f00 0x00040 0x00040 RW 0x10000
> NOTE 0x0100f4 0x004000f4 0x004000f4 0x00018 0x00018 R 0x4
> TLS 0x000000 0x00000000 0x00c58f00 0x00000 0x00000 R 0x4
Yes, exactly. Same bug.
Joerg
Home |
Main Index |
Thread Index |
Old Index