Skip site navigation (1)Skip section navigation (2)
Date:      17 Apr 2002 04:12:26 -0000
From:      "Andrew Reilly" <areilly@bigpond.net.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/37171: smbfs non-functional in -STABLE
Message-ID:  <20020417041226.16343.qmail@areilly.bpc-users.org>

next in thread | raw e-mail | index | archive | help

>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<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020417041226.16343.qmail>