Port-sgimips archive

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

Re: O2 boot failed

On Thu, 20 May 2010 17:22:12 -0400
Michael <macallan%netbsd.org@localhost> wrote:

> > I have some spare time, do we know ~when this regression occurred?
> This has been borked ever since gimpy merged some part of his mips64  
> branch.

Well, I spent most of yesterday messing around with this and by
reverting the bulk of this merge got to a point where a current kernel
boots into a 5.1RC1 userland. current userland however immediately
dumps core. I'm now out of time since this is pkgsrccon week but here
are approximate instructions to get it working.

* Revert some files to pre-merge revisions:

cd src/sys/arch/mips && cvs -q update -dPD 2009. \
 include/cpu.h include/cpuregs.h include/int_fmtio.h \
 include/mcontext.h include/mips3_p te.h include/pcb.h \
 include/pmap.h include/psl.h include/signal.h mips/bus_dma.c \
 mips/bus_space_alignstride_chipdep.c mips/copy.S \
 mips/db_interface.c mips/db_trace.c mips/fp.S \
 mips/genassym.cf mips/locore.S mips/locore_mips3.S \
 mips/mipsX_subr.S mips/mips_emul.c mips/mips_fputrap.c \
 mips/pmap.c mips/sig_machdep.c mips/syscall.c \
 mips/mips_machdep.c mips/trap.c mips/vm_machdep.c \

* Fix printf compile warning issues in these files:


* Fix mips3_ld and mips3_sd prototypes in include/locore.h:

uint64_t mips3_ld(volatile uint64_t *va);
void    mips3_sd(volatile uint64_t *, uint64_t);

* copy/paste current version of startlwp() into mips/mips_machdep.c
* copy/paste -D2009. version of mach_init() into

Build kernel with the following:

no options COMPAT_IRIX
no pseudo-device irix_usema
no pseudo-device irix_kmem
no options COMPAT_40
no options COMPAT_30
no options COMPAT_20
no options COMPAT_16
no options COMPAT_15

Home | Main Index | Thread Index | Old Index