From owner-freebsd-hackers Tue Jan 1 6:31: 4 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from artemis.drwilco.net (artemis.drwilco.net [209.167.6.62]) by hub.freebsd.org (Postfix) with ESMTP id 0F3FB37B42F for ; Tue, 1 Jan 2002 06:31:00 -0800 (PST) Received: from ceres.drwilco.net (docwilco.xs4all.nl [213.84.68.230]) by artemis.drwilco.net (8.11.6/8.11.6) with ESMTP id g01EUqR36334 (using TLSv1/SSLv3 with cipher DES-CBC3-SHA (168 bits) verified NO) for ; Tue, 1 Jan 2002 09:30:55 -0500 (EST) (envelope-from drwilco@drwilco.net) Message-Id: <5.1.0.14.0.20020101153934.01de0038@mail.drwilco.net> X-Sender: lists@mail.drwilco.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 01 Jan 2002 15:39:41 +0100 To: freebsd-hackers@freebsd.org From: "Rogier R. Mulhuijzen" Subject: Re: Running out of bufferspace Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >[ root@hera:~ ] # truss mount -t smbfs //drwilco@ceres/D$ /ceres/d_drive/ >readlink("/etc/malloc.conf",0xbfbffa94,63) ERR#2 'No such file or >directory' --SNIP-- >fork() = 3331 (0xd03) >smbfs: can't get server address: syserr = No buffer space available >SIGNAL 20 >wait4(0xd03,0xbfbff088,0x0,0x0) = 3331 (0xd03) >exit(0x1) process exit, rval = 256 This of course is useless, since mount fork()s and mount_smbfs does the real stuff which isn't visible.... So here's the real deal. (After using my device once and not running out of bufferspace on that run) [ root@hera:~ ] # truss mount_smbfs //drwilco@ceres/C$ /ceres/c_drive/ ---SNIP--- ioctl(3,SIOCGIFADDR,0x8051440) = 0 (0x0) ioctl(3,SIOCGIFNETMASK,0x8051440) = 0 (0x0) ioctl(3,SIOCGIFFLAGS,0x8051460) ERR#6 'Device not configured' ioctl(3,SIOCGIFFLAGS,0x8051480) ERR#6 'Device not configured' ioctl(3,SIOCGIFFLAGS,0x80514a0) ERR#6 'Device not configured' ioctl(3,SIOCGIFFLAGS,0x80514c0) ERR#6 'Device not configured' ioctl(3,SIOCGIFFLAGS,0x80514e0) ERR#6 'Device not configured' close(3) = 0 (0x0) socket(0x2,0x2,0x0) = 3 (0x3) setsockopt(0x3,0xffff,0x20,0xbfbfeef8,0x4) = 0 (0x0) bind(0x3,{ AF_INET 192.168.0.1:0 },16) = 0 (0x0) sendto(0x3,0x8050010,0x32,0x0,0x804f024,0x10) = 50 (0x32) select(0x4,0xbfbfee8c,0xbfbfee0c,0xbfbfed8c,0xbfbfed74) = 0 (0x0) sendto(0x3,0x8050010,0x32,0x0,0x804f024,0x10) = 50 (0x32) select(0x4,0xbfbfee8c,0xbfbfee0c,0xbfbfed8c,0xbfbfed74) = 0 (0x0) sendto(0x3,0x8050010,0x32,0x0,0x804f024,0x10) = 50 (0x32) select(0x4,0xbfbfee8c,0xbfbfee0c,0xbfbfed8c,0xbfbfed74) = 0 (0x0) sendto(0x3,0x8050010,0x32,0x0,0x804f024,0x10) = 50 (0x32) select(0x4,0xbfbfee8c,0xbfbfee0c,0xbfbfed8c,0xbfbfed74) = 0 (0x0) close(3) = 0 (0x0) socket(0x2,0x2,0x0) = 3 (0x3) setsockopt(0x3,0xffff,0x20,0xbfbfeef8,0x4) = 0 (0x0) bind(0x3,{ AF_INET 192.168.0.1:0 },16) = 0 (0x0) sendto(0x3,0x8050010,0x32,0x0,0x804f024,0x10) = 50 (0x32) select(0x4,0xbfbfee8c,0xbfbfee0c,0xbfbfed8c,0xbfbfed74) = 0 (0x0) sendto(0x3,0x8050010,0x32,0x0,0x804f024,0x10) ERR#55 'No buffer space available' close(3) = 0 (0x0) mount_smbfs: write(2,0xbfbfe884,13) = 13 (0xd) can't get server addresswrite(2,0xbfbfe8a4,24) = 24 (0x18) : syserr = No buffer space available write(2,0xbfbfe874,37) = 37 (0x25) sigprocmask(0x1,0x2805cbe0,0xbfbff0ac) = 0 (0x0) sigprocmask(0x3,0x2805cbf0,0x0) = 0 (0x0) exit(0x1) process exit, rval = 256 So again... which buffer(s) could this be, and how do I check its/their status? Doc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message