From owner-freebsd-current@FreeBSD.ORG Thu Jun 17 00:04:12 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A94D516A528 for ; Thu, 17 Jun 2004 00:04:12 +0000 (GMT) Received: from mgate11.so-net.ne.jp (mgate11.so-net.ne.jp [210.139.254.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBC3243D2F for ; Thu, 17 Jun 2004 00:04:11 +0000 (GMT) (envelope-from sanewo@ba2.so-net.ne.jp) Received: from mail.ba2.so-net.ne.jp (mspool28.so-net.ne.jp [210.139.248.26]) by mgate11.so-net.ne.jp with ESMTP id i5H04A111606 for ; Thu, 17 Jun 2004 09:04:10 +0900 (JST) Received: from Venus (pdd7109.tkyoac00.ap.so-net.ne.jp [218.221.113.9]) by mail.ba2.so-net.ne.jp with SMTP id i5H048U03215 for ; Thu, 17 Jun 2004 09:04:08 +0900 (JST) Message-ID: <002401c453fe$940412b0$1400a8c0@Venus> From: "SANETO Takanori" To: References: <200404191110.20057.jonathan@fosburgh.org><20040419181423.H650@korben> <4083FD45.6050604@FreeBSD.org><200404191136.53506.syjef@mdanderson.org> <20040419164656.GA56629@chihiro.leafy.idv.tw> Date: Thu, 17 Jun 2004 09:03:42 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="Big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Re: SMBFS problems in this morning's -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 00:04:12 -0000 Before calling mount(2), mount_smbfs calls smb_lib_init(), which requires smbfs module loaded. Solution 1: It's a spec. Put ``smbfs_load="YES"'' in your loader.conf. Solution 2: Modify(backout) mount_smbfs so that it behaves as before. Solution 3: Modify smb_lib_init so that it tries to load smbfs if it failed. Ideas? -- SANETO Takanori ----- Original Message ----- From: "leafy" To: "Jonathan Fosburgh" Cc: ; "Lukas Ertl" ; "Alex Dupre" Sent: Tuesday, April 20, 2004 1:46 AM Subject: Re: SMBFS problems in this morning's -CURRENT > On Mon, Apr 19, 2004 at 11:36:35AM -0500, Jonathan Fosburgh wrote: > > I had to do the same thing this time, but I assumed (perhaps incorrectly) that > > it had something to do with trying to use the previous, incorrect version of > > mount_smbfs. > > > > - -- > > Jonathan Fosburgh > The new binary requires this, the old one did not. The commit message > says that mount(2) will auto-load the smbfs kernel module, but I am > afraid it's not the case. > > Jiawei > -- > "Without the userland, the kernel is useless." > --inspired by The Tao of Programming