From owner-freebsd-stable@freebsd.org Fri Dec 6 23:03:57 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9B8D01BA7C1 for ; Fri, 6 Dec 2019 23:03:57 +0000 (UTC) (envelope-from mil@milshop.ru) Received: from mail-io1-xd41.google.com (mail-io1-xd41.google.com [IPv6:2607:f8b0:4864:20::d41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47V7SD3yxNz43lc for ; Fri, 6 Dec 2019 23:03:56 +0000 (UTC) (envelope-from mil@milshop.ru) Received: by mail-io1-xd41.google.com with SMTP id l17so9041362ioj.3 for ; Fri, 06 Dec 2019 15:03:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=milshop-ru.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7Aq/W9vEU6dM4suLSMmCBEtucPvh3wTD9Vf8fURDYBE=; b=o0FeWIIq8cE+/LM0OZF0YF4Y6ALbQBMZKeb01XUPMROj/9ytWe5NbNKIGB+MyMWsUG h9TqVXTXOPUOryzU3mCZHRIHLcBvYR+d3xmk+yIX8oXVYPrTHk6rISzzp3ppxwi7bdFN t2Se2+Ki0M0HidtI53EM3tiYMPsTS5tmkya9Cwl5uc5fU5/JhwVZ/b8WNFs5/xQwzBOj U7wsqdwCbVu4Jyg1QZGvaZdG7gepGODjvOx8FUTiT0h/JKgbkBtX+6W8TUFZ2gCSAoAc fZByBhtiZm1QDv+r+EqGqIKOYsc8EpZnDpI+TDxJf6Bxj0DMX0REhG53YwkevTMGH3ia zeRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7Aq/W9vEU6dM4suLSMmCBEtucPvh3wTD9Vf8fURDYBE=; b=HjFbjLAewUl/tP0xKWS7hEQ9nvesqtPjSyJauc5GDelbBtnuO6zR7YG5oQNeQpRm58 xYiSVcL1NVVhRg4gkf3KKoG8kSylv6YZIL3naOCNkfY8BBuHupp9SFBksUzwqPn65Jzw QgZhKeK6GwTBGt7kN+lhhiZyIDuN0q9SGW8TTFx22cj7SzKkMDLOl9ZLUPERu3zS2QTe qy2nZkUv/Vt1Xex/14E49zA+UMyiABTzhqnrPoIl/DjShYQ1dSVKt+AxaD6hhz7+3ess xk41DUHZEnpSnxcJ6uZzrnLHIrAgV0KnLE/qEIXX6lIPFtGdEjvOUQg/vIU3ZnjkFeeZ 1sjw== X-Gm-Message-State: APjAAAXP1U86JhhmG6nzQGgipvZJtGkaouzxFk4mitFU5XN/GvM1ExBO p+XAYmbZd+tU+eYOk7Pd2MZgPoLkX93xsn1QKXC5GeH1 X-Google-Smtp-Source: APXvYqzD8nGqPintHY2ddD7FP4hKoVVXsFUP5ACyHKa5YMhRYOo8B1A4D4A0c4aL0YScgLewYz/6pOesh/FfNjpJQxk= X-Received: by 2002:a02:c9c6:: with SMTP id c6mr16177758jap.133.1575673435196; Fri, 06 Dec 2019 15:03:55 -0800 (PST) MIME-Version: 1.0 References: <1cc79b58-813d-60ae-477c-e89dd114e59c@grosbein.net> In-Reply-To: <1cc79b58-813d-60ae-477c-e89dd114e59c@grosbein.net> From: Eugene Kazarinov Date: Sat, 7 Dec 2019 02:03:44 +0300 Message-ID: Subject: Re: ng_ipacct on FreeBSD 12.1 doesnt work To: Eugene Grosbein Cc: freebsd-stable X-Rspamd-Queue-Id: 47V7SD3yxNz43lc X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=milshop-ru.20150623.gappssmtp.com header.s=20150623 header.b=o0FeWIIq; dmarc=none; spf=none (mx1.freebsd.org: domain of mil@milshop.ru has no SPF policy when checking 2607:f8b0:4864:20::d41) smtp.mailfrom=mil@milshop.ru X-Spamd-Result: default: False [-2.41 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[milshop-ru.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[milshop.ru]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[milshop-ru.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[1.4.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[kamuzon@milshop.ru,mil@milshop.ru]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.41)[ip: (2.18), ipnet: 2607:f8b0::/32(-2.23), asn: 15169(-1.93), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[kamuzon@milshop.ru,mil@milshop.ru]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Dec 2019 23:03:57 -0000 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. =D0=BF=D1=82, 6 =D0=B4=D0=B5=D0=BA. 2019 =D0=B3. =D0=B2 22:37, Eugene Grosb= ein : > 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 tha= t > 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. > >