From owner-freebsd-stable Thu Sep 13 19:25:54 2001 Delivered-To: freebsd-stable@freebsd.org Received: from creme-brulee.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id 7C0D337B403 for ; Thu, 13 Sep 2001 19:25:50 -0700 (PDT) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.11.3/8.11.3) with ESMTP id f8E2OX579762; Thu, 13 Sep 2001 22:24:33 -0400 (EDT) (envelope-from marcus@marcuscom.com) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.3/8.11.3) with ESMTP id f8E2Pq807545; Thu, 13 Sep 2001 22:25:53 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Thu, 13 Sep 2001 22:25:52 -0400 (EDT) From: Joe Clarke To: Annelise Anderson Cc: Subject: Re: smbfs problem with latest 4.4-RC In-Reply-To: Message-ID: <20010913222346.S7531-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I thought I could just do this from the kernel module. I suppose I need the LIBICONV compiled statically. Thanks. Joe On Thu, 13 Sep 2001, Annelise Anderson wrote: > On Thu, 13 Sep 2001, Joe Clarke wrote: > > > I just CVSup'd 4.4-RC an hour ago, and now I'm trying to use smbfs loaded > > as a module with the smbfs-1.4.1 port. I'm getting the following: > > > > mount_smbfs: vfsload(smbfs): Exec format error > > > > When trying to do a mount_smbfs. I searched the archives on -stable and > > -questions, but I didn't get any hits. I know I must be doing something > > wrong, but I wanted to make sure. file(1) reveals: > > > > smbfs.ko: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), > > not stripped > > > > file(1) of ntfs.ko (which loaded fine): > > > > ntfs.ko: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), > > not stripped > > > > The error in dmesg is: > > > > link_elf: symbol iconv_open undefined > > link_elf: symbol iconv_open undefined > > link_elf: symbol iconv_open undefined > > > > I do not have the iconv port loaded (smbfs-1.4.1 didn't require it). The > > machine in question is: > > > Did you include relevant stuff from LINT in your kernel, i.e., from: > > # SMB/CIFS requester > # NETSMB enables support for SMB protocol, it requires LIBMCHAIN and > # LIBICONV options. > # NETSMBCRYPTO enables support for encrypted passwords. > options NETSMB #SMB/CIFS requester > options NETSMBCRYPTO #encrypted password support for SMB > > # mchain library. It can be either loaded as KLD or compiled into kernel > options LIBMCHAIN #mbuf management library > > > Mine works with this. > > Annelise > > -- > Annelise Anderson > Author of: FreeBSD: An Open-Source Operating System for Your PC > Book Website: http://www.bittreepress.com/FreeBSD/introbook/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message