From nobody@FreeBSD.org  Tue Apr  2 15:35:49 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 1D93237B405
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  2 Apr 2002 15:35:49 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g32NZnc55644;
	Tue, 2 Apr 2002 15:35:49 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200204022335.g32NZnc55644@freefall.freebsd.org>
Date: Tue, 2 Apr 2002 15:35:49 -0800 (PST)
From: Rob Sargent <rsargent@cisco.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: current kernel build broken in smbfs
X-Send-Pr-Version: www-1.0

>Number:         36675
>Category:       i386
>Synopsis:       current kernel build broken in smbfs
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 02 15:40:01 PST 2002
>Closed-Date:    Tue Apr 23 05:49:50 PDT 2002
>Last-Modified:  Tue Apr 23 05:49:50 PDT 2002
>Originator:     Rob Sargent
>Release:        4.5
>Organization:
>Environment:
FreeBSD blah.cisco.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Thu Mar  7 16:05:36 EST 2002     rsargent@cisco.com:/usr/src/sys/compile/BLAH  i386      
>Description:
make depend
...
===> smbfs
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
perl @/kern/vnode_if.pl -h @/kern/vnode_if.src
touch opt_inet.h
echo "#define INET 1" > opt_inet.h
touch opt_ipx.h
echo "#define NETSMB    1"  > opt_netsmb.h
echo "#define NETSMBCRYPTO 1" >> opt_netsmb.h
touch opt_smbfs.h
touch opt_vmpage.h
perl @/kern/makeops.pl -h @/libkern/iconv_converter_if.m
make: don't know how to make des_enc.S. Stop
*** Error code 2

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/src/sys/compile/BLAH.

diff GENERIC BLAH
26c26
< maxusers      0
---
> maxusers      128
46c46
< options       SCSI_DELAY=15000        #Delay (in ms) before probing SCSI
---
> options       SCSI_DELAY=5000         #Delay (in ms) before probing SCSI
159c159
< device                sio0    at isa? port IO_COM1 flags 0x10 irq 4
---
> device                sio0    at isa? port IO_COM1 flags 0x30 irq 4
253a254,258
> # The 'ti' device provides support for PCI gigabit ethernet NICs based
> device                ti              # Alteon (``Tigon I'', ``Tigon II'')
> #options              SMBFS                   #SMB/CIFS filesystem
> #options      NETSMB                  #SMB/CIFS requester
> #options      NETSMBCRYPTO            #encrypted password support for SMB


>How-To-Repeat:
cvsup to current (April 2 2002)
make world
cd /usr/src/sys/i386/conf
cp GENERIC BLAH
apply these diffs to BLAH:
(I tried with and without maxusers set to 0 or 128 and with and without
SMBFS entries shown in diffs)


#diff GENERIC BLAH
26c26
< maxusers      0
---
> maxusers      128
46c46
< options       SCSI_DELAY=15000        #Delay (in ms) before probing SCSI
---
> options       SCSI_DELAY=5000         #Delay (in ms) before probing SCSI
159c159
< device                sio0    at isa? port IO_COM1 flags 0x10 irq 4
---
> device                sio0    at isa? port IO_COM1 flags 0x30 irq 4
253a254,258
> # The 'ti' device provides support for PCI gigabit ethernet NICs based
> device                ti              # Alteon (``Tigon I'', ``Tigon II'')
> #options              SMBFS                   #SMB/CIFS filesystem
> #options      NETSMB                  #SMB/CIFS requester
> #options      NETSMBCRYPTO            #encrypted password support for SMB

config BLAH
cd ../..compile/BLAH
make depend

>Fix:
      
>Release-Note:
>Audit-Trail:

From: Kris Kennaway <kris@obsecurity.org>
To: Rob Sargent <rsargent@cisco.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: i386/36675: current kernel build broken in smbfs
Date: Tue, 2 Apr 2002 17:50:56 -0800

 --J2SCkAp4GZ/dPZZf
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Tue, Apr 02, 2002 at 03:35:49PM -0800, Rob Sargent wrote:
 
 > make: don't know how to make des_enc.S. Stop
 
 You don't have the full kernel sources installed (you're missing the
 src-sys-crypto cvsup collection).
 
 Kris
 
 --J2SCkAp4GZ/dPZZf
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.6 (FreeBSD)
 Comment: For info see http://www.gnupg.org
 
 iD8DBQE8qmAAWry0BWjoQKURAssvAKDlkZ8jeW6PXbVWtHY6GQIbp1FWAACg7cwG
 dt3WMemLJFKJ0RWa4rTCgsU=
 =NAjM
 -----END PGP SIGNATURE-----
 
 --J2SCkAp4GZ/dPZZf--

From: Robert Sargent <RSargent@Cisco.COM>
To: Kris Kennaway <kris@obsecurity.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: i386/36675: current kernel build broken in smbfs
Date: Wed, 3 Apr 2002 10:00:02 -0500

 On Tue, Apr 02, 2002 at 05:50:56PM -0800, Kris Kennaway promised:
 > On Tue, Apr 02, 2002 at 03:35:49PM -0800, Rob Sargent wrote:
 > 
 > > make: don't know how to make des_enc.S. Stop
 > 
 > You don't have the full kernel sources installed (you're missing the
 > src-sys-crypto cvsup collection).
 
 Thanks, Kris.  I already was using src-secure and src-crypto.
 
 When did this src-sys-crypto creep into the picture?
 I've been using the same cvsupfile forever and never ran into this.
 Is there a particular list I should be monitoring that might alert me to
 changes like this?
 
 Thanks-
 Rob
 
 > 
 > Kris
 
 
 
 -- 
 Rob Sargent
   Sr Engineering Manager
   865-671-8823
   http://knoxville.cisco.com

From: Kris Kennaway <kris@obsecurity.org>
To: Robert Sargent <RSargent@Cisco.COM>
Cc: Kris Kennaway <kris@obsecurity.org>,
	freebsd-gnats-submit@FreeBSD.org
Subject: Re: i386/36675: current kernel build broken in smbfs
Date: Wed, 3 Apr 2002 09:27:40 -0800

 On Wed, Apr 03, 2002 at 10:00:02AM -0500, Robert Sargent wrote:
 > On Tue, Apr 02, 2002 at 05:50:56PM -0800, Kris Kennaway promised:
 > > On Tue, Apr 02, 2002 at 03:35:49PM -0800, Rob Sargent wrote:
 > > 
 > > > make: don't know how to make des_enc.S. Stop
 > > 
 > > You don't have the full kernel sources installed (you're missing the
 > > src-sys-crypto cvsup collection).
 > 
 > Thanks, Kris.  I already was using src-secure and src-crypto.
 > 
 > When did this src-sys-crypto creep into the picture?
 
 Sometime over a year ago, I think.
 
 > I've been using the same cvsupfile forever and never ran into this.
 > Is there a particular list I should be monitoring that might alert me to
 > changes like this?
 
 It's presumably documented in the release notes or in UPDATING.  If
 not, it should be.
 
 Kris
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Tue Apr 23 05:49:13 PDT 2002 
State-Changed-Why:  
Problem turned out to be missing crypto bits in the checked out 
kernel sources. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36675 
>Unformatted:
