Re: 4.01 panic/lock issues?

Izumi Tsutsui <[email protected]> Sat, 27 Dec 2008 11:31:13 +0900
Newsgroups gmane.os.netbsd.ports.sun3
Message-ID <[email protected]>
[email protected] wrote:

> On Sat, Dec 27, 2008 at 02:41:18AM +0900, Izumi Tsutsui wrote:
> > Ah, I'm afraid GENERIC is a bit too large for 3/60 PROM.
> > (current has already been hit the same problem even on 3/80)
> > 
> > Does it work if the GENERIC kernel is stripped?
> 
> Attached is a config file that makes a bootable kernel from the netbsd-4
> branch. I removed the VME stuff and some pseudo-devices. So size may
> well be the issue.

Okay, adding "makeoptions COPTS="-Os" as -current would be
a simpler fix, but I wonder if it's worth to move bootloader
address a bit (though it doesn't work on sun2):

---
Index: stand/Makefile.inc
===================================================================
RCS file: /cvsroot/src/sys/arch/sun68k/stand/Makefile.inc,v
retrieving revision 1.13
diff -u -r1.13 Makefile.inc
--- stand/Makefile.inc	17 Sep 2006 06:15:40 -0000	1.13
+++ stand/Makefile.inc	27 Dec 2008 02:28:42 -0000
@@ -12,7 +12,11 @@
 
 MDEC_DIR?=/usr/mdec
 
+.if ${MACHINE} == "sun2"
 RELOC?= 240000
+.else
+RELOC?= 280000
+.endif
 DEFS?= -Dsun3 -D_STANDALONE -D__daddr_t=int32_t
 INCL?= -I. -I${.CURDIR} -I${.CURDIR}/../libsa -I${S}/lib/libsa -I${S}
 
---

---
Izumi Tsutsui