Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2006 21:02:38 -1000
From:      Antony Mawer <fbsd-stable@mawer.org>
To:        m.ehinger@ltur.de
Cc:        freebsd-stable@freebsd.org
Subject:   Re: ncplogin panic
Message-ID:  <44DC2B8E.5080903@mawer.org>
In-Reply-To: <OF887CFFCA.93C95699-ONC12571C6.002B598B-C12571C6.002C1C72@gateway-inter.net>
References:  <OF887CFFCA.93C95699-ONC12571C6.002B598B-C12571C6.002C1C72@gateway-inter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/08/2006 10:01 PM, m.ehinger@ltur.de wrote:
> Antony Mawer <fbsd-stable@mawer.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44DC2B8E.5080903>