On Wed, Sep 14, 2016 at 08:06:16PM +0200, Martin Husemann wrote: > On Wed, Sep 14, 2016 at 11:12:17AM -0500, Patrick Welche wrote: > > I also tried tftp, and get stuck at the same value whether a kernel or > > its compressed version is used - would that rule out the pxe boot side > > of things? (FreeBSD iso served via its pxe boot from the same NetBSD > > server also worked.) > > Can you show the output of "size netbsd" (for the uncompressed kernel) > and what value you get stuck at? > > Also details from "readelf -e netbsd" might be interesting here.
Taking the 7.0.1 experiment, the INSTALL kernel from ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-7.0.1/amd64/ has text data bss dec hex filename 10888712 5722076 593920 17204708 10685e4 nbsd7-INSTALL and stopped at 12120088 = 0xa62608 12120088 > 1088712 ? For the 5.2.3 experiment, the INSTALL kernel from ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-archive/NetBSD-5.2.3/amd64/ has text data bss dec hex filename 10185579 5693216 781728 16660523 fe382b nbsd5-INSTALL and stopped at 10185608 What am I looking fro in readelf? e.g. for 7.0.1 INSTALL Section Headers: [Nr] Name Type Address Offset Size EntSize Flags Link Info Align [ 0] NULL 0000000000000000 00000000 0000000000000000 0000000000000000 0 0 0 [ 1] .text PROGBITS ffffffff80100000 00100000 00000000007773e5 0000000000000000 AX 0 0 64 [ 2] .rodata PROGBITS ffffffff80877400 00877400 00000000002eaab3 0000000000000000 A 0 0 32 [ 3] link_set_modules PROGBITS ffffffff80c8e8a8 00c8e8a8 00000000000003e0 0000000000000000 A 0 0 8 so 0xa62608 means load got stuck loading .rodata? Thanks, Patrick