Subject: Re: Weird Crashes, RAM propblem? Now Kernel Compile
To: Ben Bogart - FMPM/F1999 <bbogart@acs.ryerson.ca>
From: Ignatios Souvatzis <is@jocelyn.rhein.de>
List: port-amiga
Date: 01/24/2000 22:43:53
--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii

On Mon, Jan 24, 2000 at 03:42:39PM -0500, Ben Bogart - FMPM/F1999 wrote:
> Thank you to all who gave me suggestions on my problem. I got to the 
> motherboard this weekend and pushed in all zips and other little house 
> keeping things. I also cleaned all the card contacts. I'm now having no 
> problems. Running X now as hapiliy as i did before. 

"NetBSD--- touch RAM that no AmigaDOS program has touched before!" ;-)

> Now I'm having another little (in comparision) problem. I'm trying to 
> compile my own 1.4.1 kernel and am running into some difficulty. Here is 
> the error:
> 
> cc1:warnings being treated as errors
> ...amiga/dev/sbic.c in function `sbic_dump' 
> ...amiga/dev/sbic.c:2864: warning argument is not a pointer. (arg 4)
> 
> I've just commented out all the hardware i don't have... Here is the 
> config file:

You didn't mention that you added DEBUG... but its visible in your config
file.

Anyway, you need sys/arch/amiga/dev/sbic.c 1.34.6.1. (This is
scheduled to be in the upcoming 1.4.2 patch release, and accessible
through anoncvs or the netbsd-release sources on ftp).

Or apply the patch below to your sbic.c. 

Regards,
	-is

--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="sbic.c.patch-to-1.4.2_ALPHA"

Index: sbic.c
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/amiga/dev/sbic.c,v
retrieving revision 1.34
retrieving revision 1.34.6.1
diff -u -r1.34 -r1.34.6.1
--- sbic.c	1998/11/05 14:13:59	1.34
+++ sbic.c	1999/10/05 21:45:10	1.34.6.1
@@ -1,4 +1,4 @@
-/*	$NetBSD: sbic.c,v 1.34 1998/11/05 14:13:59 frueauf Exp $	*/
+/*	$NetBSD: sbic.c,v 1.34.6.1 1999/10/05 21:45:10 he Exp $	*/
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -2860,8 +2860,8 @@
 		GET_SBIC_csr(regs, csr);
 	else
 		csr = 0;
-	printf("%s@%p regs %p asr %x csr %x\n", dev->sc_dev.dv_xname,
-	    dev, regs, asr, csr);
+	printf("%s@%p regs %p/%p asr %x csr %x\n", dev->sc_dev.dv_xname,
+	    dev, regs.sbic_asr_p, regs.sbic_value_p, asr, csr);
 	if ((acb = dev->free_list.tqh_first)) {
 		printf("Free list:\n");
 		while (acb) {

--+HP7ph2BbKc20aGI--