Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Reg - loading lsm-packfil.so problem: (7 Items)
   
Reg - loading lsm-packfil.so problem  
Hi ,

While loading lsm-packfil.so, i m getting error.

# mount -T io-pkt lsm-packfil.so
mount: Can't mount / (type io-pkt)
mount: Possible reason: No such device or address


----
sloginfo

Jun 29 16:13:46    2    14     0 Unable to load lsm-packfil.so: Library cannot be found


Please help on this.

Thanks and Regards
K.Senthil
RE: Reg - loading lsm-packfil.so problem  
Senthil,

The first thing I would look at is to make sure that the library in
question 'lsm-packfil.so' exists somewhere in the library path
'LD_LIBRARY_PATH' at the time you issued the mount command.  The system
log indicates it was not found.

Regards,

Eric 

> While loading lsm-packfil.so, i m getting error.
> 
> # mount -T io-pkt lsm-packfil.so
> mount: Can't mount / (type io-pkt)
> mount: Possible reason: No such device or address
> 
> 
> ----
> sloginfo
> 
> Jun 29 16:13:46    2    14     0 Unable to load 
> lsm-packfil.so: Library cannot be found
Re: RE: Reg - loading lsm-packfil.so problem  
Hi Eric,

Thanks now i m able to mount.

Can you please tell how to unmount it <any command>.

Thanks and Regards
K.Senthil
Re: RE: Reg - loading lsm-packfil.so problem  
Hi Eric,

How to un load the lsm-packfil.so module?

Thanks and Regards
K.Senthil
RE: RE: Reg - loading lsm-packfil.so problem  
 
Senthil,

> How to un load the lsm-packfil.so module?
I don't think that it's possible.  If you look at the io-pkt users guide
here:
http://www.qnx.com/developers/docs/6.4.1/io-pkt_en/user_guide/overview.h
tml

You will notice what it says in the following section:
-----
# mount and umount capabilities:

    * Only io-net drivers may be both mounted and unmounted. Other
drivers may allow you to detach the driver from the stack, by using the
ifconfig iface destroy command (if the driver supports it).
    * The IP stack is an integral part of io-pkt; you can't start io-pkt
without it. This means that you don't need to specify the -ptcpip option
to the stack unless there are additional parameters (e.g. prefix=) that
you need to pass to it. If you specify the -ptcpip option without
additional parameters, io-pkt accepts it with no effect.
    * Protocols and enhanced stack functionality (e.g. TDP, NAT / IP
Filtering) can be mounted, but not unmounted.
-----

Specifically the last sentence implies that this packet filter module
cannot be unmounted once it has been mounted.

Regards,

Eric
Re: RE: RE: Reg - loading lsm-packfil.so problem  
Hi Eric,

if i want to change any coding in packfilter module then instead of mounting i will reboot the PC after that i m able to
 load the lsm-packfil.so.

No other way to do that...

Thanks and Regards
K.Senthil
RE: Reg - loading lsm-packfil.so problem  
Senthil,

> if i want to change any coding in packfilter module then 
> instead of mounting i will reboot the PC after that i m able 
> to load the lsm-packfil.so.
> 
> No other way to do that...

There is no reason that I know of that you would need to restart or
reboot the PC.  I think you could just slay/kill io-pkt and then restart
the service.

Regards,

Eric