I've removed the built-in Solaris 10 x86 (8/07) version of ipf and now I'm
trying to build and install the latest version.  Building ipf seems to go
o.k. but complains about not being able to attach at the tail end of the
pkgadd of ipf.pkg:

devfsadm: driver failed to attach: ipf

These messages appear in /var/adm/messages:

Sep 11 15:26:31 proxy genunix: [ID 819705 kern.notice] /usr/kernel/drv/ipf:
undefined symbol
Sep 11 15:26:31 proxy genunix: [ID 826211 kern.notice] 'ipf_route_lookupv4' Sep 11 15:26:31 proxy genunix: [ID 819705 kern.notice] /usr/kernel/drv/ipf:
undefined symbol
Sep 11 15:26:31 proxy genunix: [ID 826211 kern.notice] 'ipf_route_lookupv6'

This is a classic example of "it's working, hmm, let me clean up the code, yes, it compiles..." and of course it will with unknown symbols for LKMs...patch below.

And now the LKM does load...

Sep 20 12:19:06 proxy2 ipf: [ID 209431 kern.notice] NOTICE: IP Filter: _info(d1e10700) = 1 Sep 20 12:19:06 proxy2 ipf: [ID 256853 kern.notice] NOTICE: IP Filter: _init() = 0 Sep 20 12:19:06 proxy2 ipf: [ID 150909 kern.notice] NOTICE: IP Filter: ipf_attach(d0c33ea0,0) Sep 20 12:19:06 proxy2 ipf: [ID 383649 kern.notice] NOTICE: IP Filter: attach ipf instance 0 Sep 20 12:19:06 proxy2 ipf: [ID 774698 kern.info] IP Filter: v4.1.24s10u4, running.


Yes, it does. Thanks Darren!

Reply via email to