From owner-freebsd-bugs Tue Apr 16 21:20:18 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2F52237B41A for ; Tue, 16 Apr 2002 21:20:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3H4K1539581; Tue, 16 Apr 2002 21:20:01 -0700 (PDT) (envelope-from gnats) Received: from mta05bw.bigpond.com (mta05bw.bigpond.com [139.134.6.95]) by hub.freebsd.org (Postfix) with ESMTP id 23C7737B405 for ; Tue, 16 Apr 2002 21:12:29 -0700 (PDT) Received: from areilly.bpc-users.org ([144.135.24.72]) by mta05bw.bigpond.com (Netscape Messaging Server 4.15 mta05bw Feb 26 2002 03:44:21) with SMTP id GUP2CQ00.1SV for ; Wed, 17 Apr 2002 14:12:26 +1000 Received: from CPE-144-132-240-160.nsw.bigpond.net.au ([144.132.240.160]) by bwmam02.mailsvc.email.bigpond.com(MailRouter V3.0l 11/45764); 17 Apr 2002 14:12:26 Received: (qmail 16344 invoked by uid 1000); 17 Apr 2002 04:12:26 -0000 Message-Id: <20020417041226.16343.qmail@areilly.bpc-users.org> Date: 17 Apr 2002 04:12:26 -0000 From: "Andrew Reilly" Reply-To: Andrew Reilly To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/37171: smbfs non-functional in -STABLE Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 37171 >Category: kern >Synopsis: smbfs non-functional in -STABLE >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 16 21:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Andrew Reilly >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD gurney.reilly.home 4.5-STABLE FreeBSD 4.5-STABLE #8: Sat Apr 13 12:47:47 EST 2002 root@gurney.reilly.home:/usr/obj/usr/src/sys/GURNEY i386 >Description: I can't make mount_smbfs work any more (it used to), and one of the ways that I tried caused it to crash and dump core. >How-To-Repeat: Run with -I option in attempt to avoid other failure modes (see below): mount_smbfs -I 192.168.10.12 -O andrew:us -W LAKE //andrew@newton-1/local /smb/Newton/Local Where the IP address is that of a Windows-NT server on our office network that I am connected to over a VPN managed by the mpd-3.7 port: ng0: flags=88d1 mtu 1498 inet6 fe80::200:e8ff:fee1:8e74%ng0 prefixlen 64 scopeid 0x6 inet 192.168.10.75 --> 192.168.10.77 netmask 0xffffffff This causes mount_smbfs to crash and dump core whether run as root or myself. GDB on dump says: GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... (no debugging symbols found)... Core was generated by `mount_smbfs'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libsmb.so.1...(no debugging symbols found)... done. Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done. Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)... done. #0 0x280e1236 in strchr () from /usr/lib/libc.so.4 (gdb) where #0 0x280e1236 in strchr () from /usr/lib/libc.so.4 #1 0x280709f8 in cf_optind () from /usr/lib/libsmb.so.1 #2 0x2806a163 in smb_ctx_opt () from /usr/lib/libsmb.so.1 #3 0x8048f1a in free () #4 0x8048c9d in free () (gdb) I have an entry in /etc/fstab that looks like this: //andrew@newton-1/local /smb/Newton/Local smbfs rw,noauto,noatime 0 0 The mount point is owned by me. I have vfs.usermount=1 in /etc/sysctl.conf If I try just "mount /smb/Newton/Local" I get: smbfs: can not setup kernel iconv table (default:tolower): syserr = Operation not permitted If I do that as root, I get: smbfs: can't get server address: syserr = Permission denied >Fix: Sorry, can't help here. Entirely happy to poke things to see what works. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message