From owner-freebsd-questions@FreeBSD.ORG Thu Apr 26 15:05:00 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BADC716A401 for ; Thu, 26 Apr 2007 15:05:00 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.freebsd.org (Postfix) with ESMTP id 922F913C484 for ; Thu, 26 Apr 2007 15:05:00 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 5936 invoked from network); 26 Apr 2007 15:05:00 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 26 Apr 2007 15:04:59 -0000 Received: from Lowell-Desk.localdomain (Lowell-Desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 9A83128426; Thu, 26 Apr 2007 11:04:56 -0400 (EDT) Received: by Lowell-Desk.localdomain (Postfix, from userid 1147) id 015961CD2B; Thu, 26 Apr 2007 11:04:55 -0400 (EDT) To: Scott D Friedemann References: <462E8A51.2000502@friedemann.us> From: Lowell Gilbert Date: Thu, 26 Apr 2007 11:04:55 -0400 In-Reply-To: <462E8A51.2000502@friedemann.us> (Scott D. Friedemann's message of "Tue\, 24 Apr 2007 17\:53\:05 -0500") Message-ID: <44tzv3mb1k.fsf@Lowell-Desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.98 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Error from mount_smbfs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2007 15:05:00 -0000 Scott D Friedemann writes: > FreeBSD 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #0 > > I have run mount_smbfs for the last couple years without incident. > Now I find the command no longer works, but gives this error. > > mount_smbfs -I 192.168.1.100 //drogo/c /mnt/bsdstuff > Password: > mount_smbfs: unable to open connection: syserr = Cannot allocate memory > > Can anyone offer a clue? I tracked it as far as an ioctl call for creating what looks like a protocol block. I don't have the time to trace into the kernel right now, and it doesn't look like anything in the smbtools userland has changed in quite a while. Can we assume that you checked the obvious things, like making sure that the system isn't running out of memory? Does this happen with a GENERIC kernel? Are you sure the kernel matches the userland? Also let us know if you can recall when it stopped working. And for what it's worth, I don't get such an error on -STABLE. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/