From owner-freebsd-current Tue Feb 25 0:33:46 2003 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 0275D37B401; Tue, 25 Feb 2003 00:33:45 -0800 (PST) Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94DA043F93; Tue, 25 Feb 2003 00:33:43 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 18naWy-00028z-00; Tue, 25 Feb 2003 14:33:40 +0600 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 18naWy-00028k-00; Tue, 25 Feb 2003 14:33:40 +0600 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.6/8.12.6) with ESMTP id h1P8XKRV059286; Tue, 25 Feb 2003 14:33:20 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.6/8.12.6/Submit) id h1P8XJiD059285; Tue, 25 Feb 2003 14:33:19 +0600 (NS) Date: Tue, 25 Feb 2003 14:33:19 +0600 From: Max Khon To: "Tim J. Robbins" Cc: freebsd-current@freebsd.org Subject: Re: netncp/nwfs is rotting... Message-ID: <20030225143319.A59106@iclub.nsu.ru> References: <20030224222028.A93044@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030224222028.A93044@hub.freebsd.org>; from tjr@freebsd.org on Mon, Feb 24, 2003 at 10:20:28PM -0800 X-Spam-Status: No, hits=-3.0 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.43 X-Envelope-To: tjr@freebsd.org, freebsd-current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, there! On Mon, Feb 24, 2003 at 10:20:28PM -0800, Tim J. Robbins wrote: j > A few months ago there was a thread on this list discussing the state > of NWFS/netncp/libncp/etc. on 5.0. Terry Lambert produced a patch [1] > that made netncp compile. The patch still applies cleanly to -current > and almost compiles; I broke it with ncp_ncp.c rev 1.13, adding > #includes of sys/lock.h and sys/mutex.h fixes it. > > However, even with this patch, ncp.ko still does not load because the > aout_sysvec symbol is not available. After patching ncp_load() to use > SYS_MAXSYSCALL instead of elf_sysvec.sv_size, the module loads but > crashes in ncp_timer(): > > ncp_load: [210-213] > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x10 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc1027d39 > stack pointer = 0x10:0xc5b9cc8c > frame pointer = 0x10:0xc5b9cc9c > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, IOPL = 0 > current process = 12 (swi6: clock) > > > Even after that has been fixed, there are plenty of other bug fixes that > need to be backported from smbfs. > > Is anyone still working on updating netncp/nwfs for 5.0? I think that it > should be retired to the Attic if nobody has any plans to fix it before > we create the RELENG_5 branch. I have a patch that makes nwfs work to some extent (i.e. I was able to mount and use netware shares from mars_nwe server). /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message