Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: amd64 kernel doesn't boot



On Friday 02 October 2009 10:35:37 Nicolas Joly wrote:
> On Fri, Oct 02, 2009 at 08:34:49AM +0100, Nick Hudson wrote:
> > You didn't post the link line which I suspect doesn't include -z
> > maxpagesize=0x100000. I think, if you delete the objdir Makefile it
> > should get re-created and include the EXTRA_LINKFLAGS option.
>
> Same symptoms here with build.sh ...
>
> >> NetBSD/x86 BIOS Boot, Revision 5.3 (from NetBSD 5.99.7)
> >> Memory: 637/2096064 k
>
> Press return to boot now, any other key for boot menu
> booting hd0a:netbsd - starting in 0
> 12007312\
> [...HANG...]
>
> The kernel link do indeed has the maxpagesize option :
>
> #      link  LANFEUST/netbsd
> /local/src/NetBSD/tool/bin/x86_64--netbsd-ld -Map netbsd.map --cref -T
> /local/src/NetBSD/src/sys/arch/amd64/conf/kern.ldscript -Ttext
> 0xffffffff80100000 -e start -z maxpagesize=0x100000 -X -o netbsd
> ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o

cvs update sys/arch/amd64/conf/Makefile.amd64

The ld(1) option should be -z max-page-size not -z maxpagesize.

Sorry for the breakage.

Nick


Home | Main Index | Thread Index | Old Index