From owner-freebsd-stable@freebsd.org Fri Aug 7 23:37:23 2020 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 D011A3772D7 for ; Fri, 7 Aug 2020 23:37:23 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4BNhbl002qz442L for ; Fri, 7 Aug 2020 23:37:22 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-oi1-x235.google.com with SMTP id l84so3417434oig.10 for ; Fri, 07 Aug 2020 16:37:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kwYGaF34DoyaU8Os5bPGVb9L0b5WeJ9XCDmmcMynhp8=; b=lYCFJzMhupNOgDoxEuBmPzBtlQ7U/3rnt7uSokwLAYMzwAE/JvY0k1hvF4xIYa/FQz WttCpHcdI6xBVhWkGgVYJ/aI9FmJYKAP8vag9pnaufvDX7j9B2QNH6F6VGvXp16souBl E2e3aRF1ySljMoIki5nZdZe200WZd22xOLLMANpPiIQKMjQFI8jJhRqA49jQov+HdK3z akcCh0ZZ2HbgoVtOFChUi8qY1A9gTDFEMeWqFUueFcAdI1Ah4yx2Z89oX01PsAZm2ELX bsSdaGz5URat4t2ydF+Ltzcpp1gRneidLtV4uMZdH3ktHd5V4vZfZEDGvOvlg8z5lj7d NWvA== 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=kwYGaF34DoyaU8Os5bPGVb9L0b5WeJ9XCDmmcMynhp8=; b=B246Fzxt8+7xcbpfLu9D/04djt6ZVjuHwxp4kMxJEcV9JX4guCpfe2Xaz47biOY0zr /xHQTPjwowVhD97PgWiGYsGtNfU9JIKgyi/BOGOFrskYJu56Bx0BEY4up5GEgNiQagGD Vs+vWM38YEgEMwbBO6qF3TAS3m83SyycSQ4rVt+YajnEddqs1u2meybq0TjSxPOuymt/ Aga6KNMDVw50oBH/baqKdZNrDn/ePyNfFpEUEaVzXvJDpgOZMmJ4ojQI+rynVONmuQmR IAKEo0DzH5mPFPJE88p3iPvUTHCq8/LmbffyvgiV9y0EfRamCRshKaXMf9DREmuXRtS6 jGzw== X-Gm-Message-State: AOAM5328OkaLSkraVk0FZiRWOS+t2FA07KP7nv8KNUbRQyIo93Gc819O i4cdjRuSBkyPeCuGQRTK/Zw60KrD0u45Psxdio8OhSe40QY= X-Google-Smtp-Source: ABdhPJzwxzXCEZLYvukD+u6S8i31pTQVgvdA/RRnceICK5CVIAKUUsRHyYJ/aFPQIL3hZz2Fa3cIeHFCg8JfbuQU8DI= X-Received: by 2002:aca:fd8d:: with SMTP id b135mr13169233oii.27.1596843440239; Fri, 07 Aug 2020 16:37:20 -0700 (PDT) MIME-Version: 1.0 References: <588641596810608@mail.yandex.ru> <7b5ecde9-5fba-29d8-6268-b496d1593bcb@nomadlogic.org> In-Reply-To: <7b5ecde9-5fba-29d8-6268-b496d1593bcb@nomadlogic.org> From: Kevin Oberman Date: Fri, 7 Aug 2020 16:37:04 -0700 Message-ID: Subject: Re: drm-kmod i915kms.ko no result from pkg To: Pete Wright Cc: FreeBSD-STABLE Mailing List X-Rspamd-Queue-Id: 4BNhbl002qz442L X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=lYCFJzMh; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::235 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-2.75 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.960]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-0.997]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::235:from]; NEURAL_HAM_SHORT(-0.09)[-0.093]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.33 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, 07 Aug 2020 23:37:23 -0000 On Fri, Aug 7, 2020 at 4:02 PM Pete Wright wrote: > > > On 8/7/20 7:39 AM, Dmitrii Postolov wrote: > > Hi to all! Sorry for my bad English... > > > > dmitrii@nuc7:~ % uname -a > > FreeBSD nuc7 12.1-STABLE FreeBSD 12.1-STABLE r363918 GENERIC amd64 > > > > Intel NUC7PJYH2 Intel HD Graphics. > > > > drm-kmod i915kms.ko no result if install from pkg. User in video group. > > in /etc/rc.conf: kld_list="/boot/modules/i915kms.ko" > > > > The workaround: build drm-kmod from ports after that all OK. > > > > This is regression for 12.1-STABLE, for 12.1-RELEASE all OK. > I believe that is somewhat expected because there may be changes to the > KPI in STABLE that have not been merged to a RELEASE branch yet. So > since the packages are built against RELEASE branches you will run into > issues where you need to build the DRM drivers locally for systems > running both STABLE and CURRENT. > > Cheers, > -pete > > -- > Pete Wright > pete@nomadlogic.org > @nomadlogicLA > More simply, if you run *-STABLE or CURRENT, you really need to rebuild kmod ports every time you rebuild the kernel. If you are using snapshots and not rebuilding, you need to at least keep the kernel sources (/usr/src/sys) on a system and then rebuild any kmod ports when you update the system. Also, lsof requires current kernel sources, so I suggest "PORTS_MODULES?=/apth/to/port directory" for any of them in your /etc/src.conf. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683