From nobody  Mon Jul 27 07:43:51 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id HAA27564;
          Mon, 27 Jul 1998 07:43:51 -0700 (PDT)
          (envelope-from nobody)
Message-Id: <199807271443.HAA27564@hub.freebsd.org>
Date: Mon, 27 Jul 1998 07:43:51 -0700 (PDT)
From: jnickelsen@acm.org
To: freebsd-gnats-submit@freebsd.org
Subject: ssc pseudo device fails to include scsi/su.c in Makefile
X-Send-Pr-Version: www-1.0

>Number:         7413
>Category:       kern
>Synopsis:       ssc pseudo device fails to include scsi/su.c in Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 27 07:50:01 PDT 1998
>Closed-Date:    Mon Jul 27 16:34:41 PDT 1998
>Last-Modified:  Tue Jul 28 15:10:01 PDT 1998
>Originator:     Juergen Nickelsen
>Release:        2.2.7-stable
>Organization:
>Environment:
(sorry, not available at the moment)
>Description:
When I configure the ssc (super-scsi) pseudo device into the kernel, 
the build fails due to missing symbols _suopen(), _suclose(), etc.
These are defined in su.c, which is not included automaticvally in the 
kernel Makefile when the "ssc" pdeudo device is configured.
>How-To-Repeat:
[sorry, untested, but I hope this does it]
cd /sys/i386/conf
echo pseudo-device ssc >> GENERIC
config GENERIC
cd ../../compile/GENERIC
make
>Fix:
I propose to make the "pseudo-device ssc" option include the file
scsi/su.c in the kernel Makefile. I had no problem to find the missing
source, but people not as familiar with these things might get very
confused about that.

(Thanks again, BTW, for this marvellous operating system!)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: brian 
State-Changed-When: Mon Jul 27 16:34:41 PDT 1998 
State-Changed-Why:  
The ssc(4) man page mentions that ssc uses the su pseudo device and 
su therefore must also be configured. 

From: woods@zeus.leitch.com (Greg A. Woods)
To: Brian Somers <brian@FreeBSD.ORG>
Cc: jnickelsen@acm.org, FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/7413
Date: Tue, 28 Jul 1998 11:03:56 -0400 (EDT)

 [ On Mon, July 27, 1998 at 16:35:57 (-0700), Brian Somers wrote: ]
 > Subject: Re: kern/7413
 >
 > Synopsis: ssc pseudo device fails to include scsi/su.c in Makefile
 > 
 > State-Changed-From-To: open->closed
 > State-Changed-By: brian
 > State-Changed-When: Mon Jul 27 16:34:41 PDT 1998
 > State-Changed-Why: 
 > The ssc(4) man page mentions that ssc uses the su pseudo device and
 > su therefore must also be configured.
 
 It also seems harmless to edit sys/conf/files thusly:
 
 diff -c -r1.1.1.4 -r1.5
 *** files	1998/07/09 20:36:33	1.1.1.4
 --- files	1998/07/27 20:51:38	1.5
 ***************
 *** 352,357 ****
 --- 361,367 ----
   scsi/sd.c		optional sd
   scsi/ssc.c		optional ssc
   scsi/st.c		optional st
 + scsi/su.c		optional ssc
   scsi/su.c		optional su
   scsi/uk.c		optional scbus
   scsi/worm.c		optional worm
 
 -- 
 							Greg A. Woods
 
 +1 416 443-1734      VE3TCP      <gwoods@acm.org>      <robohack!woods>
 Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>

From: Brian Somers <brian@Awfulhak.org>
To: FreeBSD-gnats-submit@FreeBSD.ORG
Cc: Brian Somers <brian@FreeBSD.ORG>, jnickelsen@acm.org
Subject: Re: kern/7413 
Date: Tue, 28 Jul 1998 23:07:57 +0100

 [.....]
 > It also seems harmless to edit sys/conf/files thusly:
 > 
 > diff -c -r1.1.1.4 -r1.5
 > *** files	1998/07/09 20:36:33	1.1.1.4
 > --- files	1998/07/27 20:51:38	1.5
 > ***************
 > *** 352,357 ****
 > --- 361,367 ----
 >   scsi/sd.c		optional sd
 >   scsi/ssc.c		optional ssc
 >   scsi/st.c		optional st
 > + scsi/su.c		optional ssc
 >   scsi/su.c		optional su
 >   scsi/uk.c		optional scbus
 >   scsi/worm.c		optional worm
 > 
 > -- 
 > 							Greg A. Woods
 > 
 > +1 416 443-1734      VE3TCP      <gwoods@acm.org>      <robohack!woods>
 > Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>
 
 Agreed & committed.  Thanks.
 
 -- 
 Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
       <http://www.Awfulhak.org>
 Don't _EVER_ lose your sense of humour....
 
 
>Unformatted:
