ncplogin panic

Antony Mawer fbsd-stable at mawer.org
Fri Aug 11 07:02:38 UTC 2006


On 9/08/2006 10:01 PM, m.ehinger at ltur.de wrote:
> Antony Mawer <fbsd-stable at 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


More information about the freebsd-stable mailing list