From owner-freebsd-stable@FreeBSD.ORG Fri Aug 11 07:02:38 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 832F116A4E0 for ; Fri, 11 Aug 2006 07:02:38 +0000 (UTC) (envelope-from fbsd-stable@mawer.org) Received: from mail32.syd.optusnet.com.au (mail32.syd.optusnet.com.au [211.29.132.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id C879943D49 for ; Fri, 11 Aug 2006 07:02:37 +0000 (GMT) (envelope-from fbsd-stable@mawer.org) Received: from [10.4.1.1] (c220-239-234-69.thorn1.nsw.optusnet.com.au [220.239.234.69]) by mail32.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k7B72XDm004942; Fri, 11 Aug 2006 17:02:34 +1000 Message-ID: <44DC2B8E.5080903@mawer.org> Date: Thu, 10 Aug 2006 21:02:38 -1000 From: Antony Mawer User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: m.ehinger@ltur.de References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: ncplogin panic X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2006 07:02:38 -0000 On 9/08/2006 10:01 PM, m.ehinger@ltur.de wrote: > Antony Mawer schrieb am 09.08.2006 02:08:20: >> Okay. What version of Netware are you using? What are the step-by-step >> procedures you are following in order to reproduce this (from step 1 as >> logging in to Netware or mounting the volume)? > > > We're using Netware Verion 6.5 over TCP/IP only. > > Step 1. load ncp.ko, mount volume (mount_nwfs -A ... ) > Step 2. cp /netwarefile /localfolder > > Here is what strace gives me: ... > stat("file", {st_mode=S_IFREG|0755, st_size=12, ...}) = 0 > stat("/root/file", {st_mode=0, st_size=4294967297, ...}) = 0 > open("file", O_RDONLY) = 3 > open("/root/file", O_WRONLY|O_TRUNC) = 4 > mmap(0, 12, PROT_READ, MAP_SHARED, 3, 0) = -1 EINVAL (Invalid argument) Pure speculation -- I wonder if this is because "cp" is trying to mmap the file, and for whatever reason that doesn't work as intended with NWFS? Could you try using something else - eg. we use rsync against Netware friendly with success? Cheers Antony