Skip site navigation (1)Skip section navigation (2)
Date:      чт, 06 мар 2003 14:26:32 +0100
From:      Kirill Ponomarew <ponomarew@oberon.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        peuyn@oberon.net
Subject:   kern/48976: nwfs.ko oddity 
Message-ID:  <E18qvOK-00028L-00@voodoo.oberon.net>

next in thread | raw e-mail | index | archive | help

>Number:         48976
>Category:       kern
>Synopsis:       nwfs.ko oddity
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 06 05:30:05 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kirill Ponomarew
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
Oberon.net 
>Environment:
System: FreeBSD serv.msi-europe.jis.de 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Thu Mar  6 12:27:11 CET 2003     root@serv.msi-europe.jis.de:/usr/obj/usr/src/sys/MSINW  i386
 

        
>Description:
nwfs.ko module loads ncp.ko even if "options NCP" is activated in kernel.

msi$ kldstat 
Id Refs Address    Size     Name
 1    2 0xc0100000 2424c0   kernel
 2    1 0xc3321000 14000    linux.ko

$ grep NCP /sys/i386/conf/MSINW 
options         NCP

msi$ mount_nwfs /sme_dus_svr:samba/vol1 /serv/smb/nw-vol1/
mount_nwfs: vfsload(nwfs): Exec format error
msi$ mount_nwfs /sme_dus_svr:samba/vol1 /serv/smb/nw-vol1/
Warning: no cfg files found.
Netware password:

msi$ df -h
Filesystem                Size   Used  Avail Capacity  Mounted on
/dev/twed0s1a             252M    74M   158M    32%    /
/dev/twed1s1e             226G   641M   208G     0%    /serv
/dev/twed0s1e             2.0G   1.0G   795M    57%    /usr
/dev/twed0s1g              78G   1.3G    70G     2%    /usr/local
/dev/twed0s1f              32G    29M    29G     0%    /var
procfs                    4.0K   4.0K     0B   100%    /proc
/SME_DUS_SVR:SAMBA/VOL1   3.0G   2.3G   688M    77%    /serv/smb/nw-vol1

msi$ kldstat 
Id Refs Address    Size     Name
 1    4 0xc0100000 2424c0   kernel
 2    1 0xc3321000 14000    linux.ko
 4    2 0xc338d000 a000     ncp.ko
 5    1 0xc3382000 a000     nwfs.ko


>How-To-Repeat:
        compile kernel only with "options NCP" support, without "options NWFS"
	and try mount_nwfs
>Fix:
not known
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E18qvOK-00028L-00>