Subject: -current/mvme68k panic on boot
To: None <port-mvme68k@NetBSD.ORG>
From: Steve Woodford <steve@mctavish.demon.co.uk>
List: port-mvme68k
Date: 11/02/1996 21:02:47
A patch for -current/mvme68k. Bug in mvme68k/clock.c causes a panic on
boot in evcnt_attach() being called with too long a name.

Cheers, Steve

*** OLD/clock.c	Mon Oct 14 16:13:00 1996
--- clock.c	Sat Nov  2 21:01:48 1996
***************
*** 121,128 ****
  	NVRAMsize = nvramsize;
  	cpu_initclocks_hook = initfunc;
  
! 	evcnt_attach(dev, "profintr", &clock_profcnt);
! 	evcnt_attach(dev, "statintr", &clock_statcnt);
  
  	/* Print info about the clock. */
  	printf(": Mostek MK48T0%d, %d bytes of NVRAM\n", (nvramsize / 1024),
--- 121,128 ----
  	NVRAMsize = nvramsize;
  	cpu_initclocks_hook = initfunc;
  
! 	evcnt_attach(dev, "profint", &clock_profcnt);
! 	evcnt_attach(dev, "statint", &clock_statcnt);
  
  	/* Print info about the clock. */
  	printf(": Mostek MK48T0%d, %d bytes of NVRAM\n", (nvramsize / 1024),


Steve Woodford: steve@mctavish.demon.co.uk             NetBSD-1.2/mvme68k
Small fast computers breed fat slow programmers.        Motorola MVME147S
                  ...This is a Microsoft free zone...