Re: ng_ipacct on FreeBSD 12.1 doesnt work

2019-12-07 Thread Eugene Kazarinov
Great Thanks.

сб, 7 дек. 2019 г. в 03:28, Eugene Grosbein :

> 07.12.2019 7:22, Eugene Grosbein wrote:
>
> Adding port maintainer to CC:
>
> >> 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?
> >
> > This option is enabled by default, so the package should be built
> accordingly.
> > Are you sure you use official source for packages?
>
> Sorry, I was wrong: the port defaults to disabled VIMAGE option, this
> explains your difficulty.
>
> Vsevolid, please consider enabling option VIMAGE for net-mgmt/ng_ipacct
> for branches having VIMAGE in GENERIC,
> so the package would be usable out-of-the-box there.
>
>
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: ng_ipacct on FreeBSD 12.1 doesnt work

2019-12-06 Thread Eugene Grosbein
07.12.2019 7:22, Eugene Grosbein wrote:

Adding port maintainer to CC:

>> 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?
> 
> This option is enabled by default, so the package should be built accordingly.
> Are you sure you use official source for packages?

Sorry, I was wrong: the port defaults to disabled VIMAGE option, this explains 
your difficulty.

Vsevolid, please consider enabling option VIMAGE for net-mgmt/ng_ipacct for 
branches having VIMAGE in GENERIC,
so the package would be usable out-of-the-box there.

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: ng_ipacct on FreeBSD 12.1 doesnt work

2019-12-06 Thread Eugene Grosbein
07.12.2019 6:03, Eugene Kazarinov wrote:

> 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?

This option is enabled by default, so the package should be built accordingly.
Are you sure you use official source for packages?

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: ng_ipacct on FreeBSD 12.1 doesnt work

2019-12-06 Thread Eugene Kazarinov
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 :

> 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.
>
>
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: ng_ipacct on FreeBSD 12.1 doesnt work

2019-12-06 Thread Eugene Grosbein
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.

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


ng_ipacct on FreeBSD 12.1 doesnt work

2019-12-06 Thread Eugene Kazarinov
Hi.
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?
Thanks.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"