Port-sun3 archive

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

Re: 4.01 panic/lock issues?



bouyer%antioche.eu.org@localhost 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


Home | Main Index | Thread Index | Old Index