Is there a way to determine the io-pkt version I am running?
"use -i ..." returns the build version of a binary. If you mean which variant i.e. whether you are io-pkt-v4, io-pkt-v4-hc, io-pkt-v6-hc then I don't know that it really matters. You could try doing something IPv6 and see if you get unknown protocol back, if not then you are io-pkt-v6-hc. Then to determine between the two IPv4 only variants io-pkt-v4-hc listens on /dev/crypto and io-pkt-v4 doesn't.
Isn't -i for starting an io-pkt instance? From qnx.com product documentation: -i instance The stack instance number, which is useful if you're running multiple instances of io-pkt. The io-pkt manager will service mount requests of type io-pktX, where X is the instance number. For example: io-pkt-v4 -i1 -ptcpip prefix=/alt mount -Tio-pkt1 /lib/dll/devnp-i82544.so
The -i switch to the 'use' utility, not io-pkt. On Wed, Dec 03, 2014 at 11:46:40AM -0500, maurice gibbs wrote: > Isn't -i for starting an io-pkt instance? From qnx.com product documentation: > > -i instance > The stack instance number, which is useful if you're running multiple instances of io-pkt. The io-pkt manager will service mount requests of type io-pktX, where X is the instance number. For example: > > io-pkt-v4 -i1 -ptcpip prefix=/alt > mount -Tio-pkt1 /lib/dll/devnp-i82544.so > > > > > > > _______________________________________________ > > Networking Drivers > http://community.qnx.com/sf/go/post112527 > To cancel your subscription to this discussion, please e-mail drivers-networking-unsubscribe@community.qnx.com
Thanks!
Another variant on the same question: does "use" also work on QNX 6.4.1? I get the following: # use -i io-pkt-v6-hc No info available in /proc/boot/io-pkt-v6-hc.
does use work for sw built with LZMA compression? I am wondering if the compression level removes module usage information...
mkifs used to remove the use info section from binaries. You'll have to locate the original binary, or use -s QNX_usage as an option to mkifs when building your image. On 2014-12-04, 1:25 PM, maurice gibbs wrote: > does use work for sw built with LZMA compression? I am wondering if the compression level removes module usage information... > > > > _______________________________________________ > > Networking Drivers > http://community.qnx.com/sf/go/post112543 > To cancel your subscription to this discussion, please e-mail drivers-networking-unsubscribe@community.qnx.com
Sorry, that's QNX_info On 2014-12-04, 8:53 PM, Colin Burgess wrote: > mkifs used to remove the use info section from binaries. You'll have > to locate the original binary, or use -s QNX_usage as an option to > mkifs when building your image. > > On 2014-12-04, 1:25 PM, maurice gibbs wrote: >> does use work for sw built with LZMA compression? I am wondering if >> the compression level removes module usage information... >> >> >> >> _______________________________________________ >> >> Networking Drivers >> http://community.qnx.com/sf/go/post112543 >> To cancel your subscription to this discussion, please e-mail >> drivers-networking-unsubscribe@community.qnx.com >