Re: O2 boot failed
Tobias Nygren <[email protected]> Mon, 24 May 2010 12:27:00 +0200
| Newsgroups | gmane.os.netbsd.ports.sgimips |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 20 May 2010 17:22:12 -0400 Michael <[email protected]> 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.12.14.00.00.00 \ 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 \ include/locore.h * Fix printf compile warning issues in these files: mips/mips_machdep.c mips/vm_machdep.c mips/trap.c * 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.12.14.00.00.00 version of mach_init() into sgimips/machdep.c 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