Yes. It works. Thank you very much.
I delete manual copied file.
I install ports via portsnap.
I fetch srcs from ftp.
And install ng_ipacct from ports.
And option VIMAGE in port ng_ipacct was disabled. I dont know why.
option VIMAGE in kernel of 12.1 by default is enabled.
PS Is any option for pkg install to enable VIMAGE in this port?
Or I need to return to /usr/src and /usr/ports to rebuild this port after
each FreeBSD version upgrade?
So. I use FreeBSD many years. And in a few years ago I switched from manual
building of kernel and world to freebsd-update. It works on 10.x version
well. I install on that freebsd version ng_ipacct via "pkg install".
And
all works fine.
On version 11.1 it looks like all was fine too. Work with total pkg upgrade
after upgrade FreeBSD from version 10 to 11. Here I dont sure, because I
was on version 11.3 only a few days. At least one or two years it works on
version 11.1 very well.
But after upgrade from 11.3 to 12.1 "pkg install ng_ipacct" got
broken.
Is it really can be? Or it's my mistake?
Thanks again.
??, 6 ???. 2019 ?. ? 22:37, Eugene Grosbein <eugen at grosbein.net>:
> 07.12.2019 0:49, Eugene Kazarinov wrote:
>
> > pkg install ng_ipacct install ng_ipacct.ko in /boot/modules/ and it
> > doesnt start
> >
> > if I copy ng_ipacct.ko to /boot/kernel/ it didnt start with error:
> > link_elf_obj: symbol tcbinfo undefined
> > linker_load_file: /boot/kernel/ng_ipacct.ko - unsupported file type
> >
> > How to run ng_ipacct on FreeBSD 12.1?
>
> The port has option VIMAGE enabled by default matching GENERIC kernel that
> has options VIMAGE included.
> It seems you have built the port with option VIMAGE disabled for some
> reason.
>
> Use: make config clean all deinstall reinstall
> to enable this option and rebuild ng_ipacct. You don't need to copy in
> manually, remove copied file.
>
>