From owner-freebsd-stable@FreeBSD.ORG Thu Sep 4 08:07:13 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE0D216A4BF for ; Thu, 4 Sep 2003 08:07:13 -0700 (PDT) Received: from mallard.mail.pas.earthlink.net (mallard.mail.pas.earthlink.net [207.217.120.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id CED7143FF7 for ; Thu, 4 Sep 2003 08:07:12 -0700 (PDT) (envelope-from danielc@green-orb.com) Received: from user-37ka4dr.dsl.mindspring.com ([207.69.17.187] helo=brucha) by mallard.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 19uvhY-0002fl-00 for freebsd-stable@freebsd.org; Thu, 04 Sep 2003 08:07:12 -0700 From: "Daniel" Organization: 5am Designs To: freebsd-stable@freebsd.org Date: Thu, 04 Sep 2003 11:06:37 -0400 MIME-Version: 1.0 Message-ID: <3F571CBD.12275.4B8BF49@localhost> Priority: normal In-reply-to: <20030904115916.GA8814@dilbert.robbins.dropbear.id.au> References: <3F56C369.22546.35BCCF5@localhost> X-mailer: Pegasus Mail for Windows (v4.12a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: buildkernel errors with "options SMBFS" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2003 15:07:13 -0000 Wow, thanks! I thought I had read LINT well enough but I missed this part! Now I feel sheeeeeeeepish. :) Hopefully this helps another poor fool out too! :) It *would* be nice if the config parser at the beginning threw an error for obvious incompatible or known missing options like this ... ones that *will* throw an error later in the build. There was nothing in LINT (particularly around the SMBFS line) to indicate these were necessary additional options whatsoever. Anyway, thanks again and sorry for all the noise! Peace all... -- Daniel <>< On 4 Sep 2003 at 21:59, Tim Robbins wrote: > On Thu, Sep 04, 2003 at 04:45:29AM -0400, Daniel wrote: > > > Hi all... another lurker and first-time poster... if I forget something relevant please let me > > know... > > > > Anyway, have tried to make a kernel on two different machines under the latest (as of > > 04:37AM 4 September 2003 -0500 (EDT)) 4.9-PRERELEASE **AND** 5.1-p2 and get > > the error message as shown below. I am including (at the end) the uname-a from both > > of the systems. Each of them will compile this exact same kernel exactly right if I leave > > the "options SMBFS" line out of the kernel config file. I will happily post those files if you > > deem them relevant but I am not now for space reasons. > [...] > > Make sure you have all of the necessary options in your kernel config file. > For smbfs, you need these: > > options SMBFS > options NETSMB > options NETSMBCRYPTO > options LIBMCHAIN > options LIBICONV > > ... or you can just use kldload to load the right modules (smbfs.ko, > libiconv.ko, libmchain.ko) - kldload smbfs will drag them all in > automatically. > > > Tim >