Subject: port-pmax/2743: Can't compile pmax kernel without disks and/or tapes.
To: None <gnats-bugs@gnats.netbsd.org>
From: Simon Burge <simonb@telstra.com.au>
List: netbsd-bugs
Date: 09/10/1996 13:13:20
>Number:         2743
>Category:       port-pmax
>Synopsis:       Can't compile pmax kernel without disks and/or tapes.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep  9 23:35:00 1996
>Last-Modified:
>Originator:     Simon Burge
>Organization:
	Telstra Australia.
>Release:        1.2_ALPHA
>Environment:
System: NetBSD mona 1.2_BETA NetBSD 1.2_BETA (MONA) #12: Thu Sep 5 14:14:42 EST 1996 simonb@mona:/usr/src/sys/arch/pmax/compile/MONA pmax


>Description:
	The old-style SCSI configuration isn't perfect (and this fact is
	recognised in comments in conf-glue.c) and references rz and tz
	drivers even if not configured in the kernel.
>How-To-Repeat:
	Configure and try to build a kernel with disks and/or tapes.
>Fix:
	The proper fix (as recognised in comments in conf-glue.c) is to
	move to the new MI SCSI driver), but this at least works.  Apply
	the following patch in /usr/src/sys/arch/pmax/pmax:

*** conf-glue.c.ORIG	Thu Apr 11 21:43:00 1996
--- conf-glue.c	Tue Sep 10 10:55:49 1996
***************
*** 70,92 ****
--- 70,100 ----
  /*driver,	cdriver,	unit,	ctlr,	drive,	slave,	dk,	flags*/
  
  #if NSII > 0
+ #if NRZ > 0
  { &rzdriver,	&siidriver,	0,	0,	0,	0,	1,	0x0 },
  { &rzdriver,	&siidriver,	1,	0,	1,	0,	1,	0x0 },
  { &rzdriver,	&siidriver,	2,	0,	2,	0,	1,	0x0 },
  { &rzdriver,	&siidriver,	3,	0,	3,	0,	1,	0x0 },
  { &rzdriver,	&siidriver,	4,	0,	4,	0,	1,	0x0 },
+ #endif /* NRZ */
+ #if NTZ > 0
  { &tzdriver,	&siidriver,	0,	0,	5,	0,	0,	0x0 },
  { &tzdriver,	&siidriver,	1,	0,	6,	0,	0,	0x0 },
+ #endif /* NTZ */
  #endif /* NSII */
  
  #if NASC > 0
+ #if NRZ > 0
  { &rzdriver,	&ascdriver,	0,	0,	0,	0,	1,	0x0 },
  { &rzdriver,	&ascdriver,	1,	0,	1,	0,	1,	0x0 },
  { &rzdriver,	&ascdriver,	2,	0,	2,	0,	1,	0x0 },
  { &rzdriver,	&ascdriver,	3,	0,	3,	0,	1,	0x0 },
  { &rzdriver,	&ascdriver,	4,	0,	4,	0,	1,	0x0 },
+ #endif /* NRZ */
+ #if NTZ > 0
  { &tzdriver,	&ascdriver,	0,	0,	5,	0,	0,	0x0 },
  { &tzdriver,	&ascdriver,	1,	0,	6,	0,	0,	0x0 },
+ #endif /* NTZ */
  #endif /* NASC */
  
   { 0 }
>Audit-Trail:
>Unformatted: