Can not mount io-net fiter module.

I saw few similar postings but not a solution to the problem I have.

I made a simple filtering io-module but I have problems mounting it on QNX
6.1.

when I try to mount it I am getting:

ROOT@dragon3:/home/Gogi/vornetest/x86/dll>mount -T io-net -vvvvv
…/nfm-vornet.so
Parsed: mount from [./nfm-vornet.so] mount on [NULL] type [io-net]
exec: mount_io-net -o nostat ./nfm-vornet.so /
Failed with external mounts, trying internal mount
Type [io-net] Flags 0x80000000
Device [./nfm-vornet.so] Directory [/]
Options []
mount: Can’t mount / (type io-net)
mount: Possible reason: No such device or address

So far my filter initialization function “VorNetInit” just creates a file,
writes few log messages to it, registers to io-net and returns EOK

I declared entry “table” as:
const io_net_dll_entry_t io_net_dll_entry =
{
2, // Number of functions
VorNetInit, // Initialization function
VorNetShutdown // Shutdown/unload function
};

No log file is created (I assume my init function is not called at all).

I used the Makefile and directory structure from “bpf” sample project and
“make log” looks like:
make -j 1 -Cx86 all
make[1]: Entering directory /home/Gogi/vornetest/x86' make -j 1 -Cdll all make[2]: Entering directory /home/Gogi/vornetest/x86/dll’
/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall -Wc,-Wno-parentheses -O -DRESMGR_OCB
_T=“void” -DNDEBUG -I. -I/home/Gogi/vornetest/x86/dll -I/home/Gogi/vornete
st/x86 -I/home/Gogi/vornetest -I/home/Gogi/vornetest/…/…/public -I/usr/inc
lude -shared -DVARIANT_dll /home/Gogi/vornetest/vornet.c
/bin/rm -f /home/Gogi/vornetest/x86/dll/nfm-vornet.so
/usr/bin/qcc -Vgcc_ntox86 -shared -Wl,-hnfm-vornet.so -o/home/Gogi/vornetest
/x86/dll/nfm-vornet.so vornet.o -L. -L/x86/lib -L/x86/usr/lib -Wl,-Bsymbolic
/usr/bin/usemsg -s __USAGENTO -s __USAGE
/home/Gogi/vornetest/x86/dll/nfm-vornet.so
/home/Gogi/vornetest/nfm-vornet.use
/bin/true /home/Gogi/vornetest/x86/dll/nfm-vornet.so
make[2]: Leaving directory /home/Gogi/vornetest/x86/dll' make[1]: Leaving directory /home/Gogi/vornetest/x86’

Thanks.
Gogi


Ljubomir (Gogi) Kaludjercic
Software Engineer
Vortek Industries
605 West Kent Av.
Vancouver, BC
V6P 6T7 Canada
T: (604) 251 2451
F: (604) 251 3356
gogi@vortek.com


Pass the fullpath:

mount -T io-net /home/Gogi/vornetest/x86/dll/nfm-vornet.so

-seanb

Gogi Kaludjercic <gogi@vortek.com> wrote:
: I saw few similar postings but not a solution to the problem I have.

: I made a simple filtering io-module but I have problems mounting it on QNX
: 6.1.

: when I try to mount it I am getting:

: ROOT@dragon3:/home/Gogi/vornetest/x86/dll>mount -T io-net -vvvvv
: ./nfm-vornet.so
: Parsed: mount from [./nfm-vornet.so] mount on [NULL] type [io-net]
: exec: mount_io-net -o nostat ./nfm-vornet.so /
: Failed with external mounts, trying internal mount
: Type [io-net] Flags 0x80000000
: Device [./nfm-vornet.so] Directory [/]
: Options []
: mount: Can’t mount / (type io-net)
: mount: Possible reason: No such device or address

Thanks, Gogi.

Sean Boudreau <seanb@qnx.com> wrote in message
news:9nqt9h$e7g$1@nntp.qnx.com

Pass the fullpath:

mount -T io-net /home/Gogi/vornetest/x86/dll/nfm-vornet.so

-seanb

Gogi Kaludjercic <> gogi@vortek.com> > wrote:
: I saw few similar postings but not a solution to the problem I have.

: I made a simple filtering io-module but I have problems mounting it on
QNX
: 6.1.

: when I try to mount it I am getting:

: ROOT@dragon3:/home/Gogi/vornetest/x86/dll>mount -T io-net -vvvvv
: ./nfm-vornet.so
: Parsed: mount from [./nfm-vornet.so] mount on [NULL] type [io-net]
: exec: mount_io-net -o nostat ./nfm-vornet.so /
: Failed with external mounts, trying internal mount
: Type [io-net] Flags 0x80000000
: Device [./nfm-vornet.so] Directory [/]
: Options []
: mount: Can’t mount / (type io-net)
: mount: Possible reason: No such device or address