From owner-freebsd-x11@freebsd.org Sun Nov 29 15:55:23 2020 Return-Path: Delivered-To: freebsd-x11@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 F195A4A5ECE for ; Sun, 29 Nov 2020 15:55:23 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) (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 4CkXy31mYqz4nlb for ; Sun, 29 Nov 2020 15:55:23 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x330.google.com with SMTP id 11so9039520oty.9 for ; Sun, 29 Nov 2020 07:55:23 -0800 (PST) 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=9mqCzwKGZB8/MR/xNlUioumD1FIoPbJQKf+uBBJ+WAM=; b=myLDmOywhM+D/Rh8YeTpfx3t4I6aV/MEz1YkKhUmPpvXbPUvRxbj83C2HGCFxXqG1N XTKY+wX03a6/jJoB4a+K9lTJwQ/pelSlw+uE096p3L6XnXoRpAGfISYfixFpt6QL+bdF zr5z1nWqJj1m8SXu/AjqzcGtnr02+jXMkdM3RC2Z8JTMqmSxYkDI0ynxsaS26p9zBEN+ jwumy72cB6K+vZb57X23hi50sjhzlA2HXeeWcGSI0iiONySAdgZUv7nC7g2khT/nh6ov 1eZABFUvIhBDCBJa4qgX3LWysJSO8j0x/Rd6bvB3QlRB+jD8HyuWmURMnrgzhXMYHbA9 7QEg== 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=9mqCzwKGZB8/MR/xNlUioumD1FIoPbJQKf+uBBJ+WAM=; b=Zrs7Nzm4mHkRgugG2m/rkSpyZT+5KbFqLYO00+AAJ3xpSEh9KsjvlW1dfKQmfslG6/ LskVtmdQjUsp6f1dVPXpa4Rm72d4Qbk/VCks1ZeaxQd5DuG8Cv8YWhp1aMhNBKoJSLJa KjpT98ZQ232I4mU1nPT07GtumNrvUfYb1mBNfDHahQz9RfNRBdE9Tn3cl4OrvF/otvxI u+JDQRQ5HsDUq3wkz9u4AUL0imUGzxegkzNqZdaVIXeMW6JEjRBGq7nn9t7I7nNxdyTn 804iqmjJrV7j6clx7baPDgFJTeIg06L41Ed9ZwiXsYmbZawKDiOJUWinvese9V+F4cDM 4egA== X-Gm-Message-State: AOAM533Cy+zIEXpAqi1Nu2bMqMBjiwoJHqoLGFyOauB9DrorCaUmdaR2 o2cHLiHz5BwRx4BxiiaakIDAfE9fzBggQzN/RnE= X-Google-Smtp-Source: ABdhPJyhgLseXOWz2sgKFgj3CxhLsL8wM2VtJCl9st0KrPru5e0QXXZedD9HdW1NrRu9Uk/hDoju7tqIRkrpqLjWGzw= X-Received: by 2002:a9d:7b53:: with SMTP id f19mr12978749oto.93.1606665322169; Sun, 29 Nov 2020 07:55:22 -0800 (PST) MIME-Version: 1.0 References: <5fc35cd2.1c69fb81.38cc3.dc2bSMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: <5fc35cd2.1c69fb81.38cc3.dc2bSMTPIN_ADDED_MISSING@mx.google.com> From: Kevin Oberman Date: Sun, 29 Nov 2020 07:55:05 -0800 Message-ID: Subject: Re: [Bug 251007] need update graphics/drm-kmod To: Thomas Mueller Cc: "freebsd-x11@freebsd.org" X-Rspamd-Queue-Id: 4CkXy31mYqz4nlb X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=myLDmOyw; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::330 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-3.70 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[twc.com]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::330:from]; 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]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-x11@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::330:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::330:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-x11] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2020 15:55:24 -0000 On Sun, Nov 29, 2020 at 12:33 AM Thomas Mueller wrote: > (In reply to comment #5 from rkoberman@gmail.com) > > Since you didn't say how you updated, do you have the sources for 12.2 in > > /usr/src? You probably do but, just to be sure, you must build from > ports with > > the kernel sources used to build your kernel which, I assume, is > 12.2-RELEASE. > > Does that mean that if one updates the src tree but does not rebuild the > kernel or system at that time, they can not safely rebuild ports such as > graphics/drm-kmod?` > > Tom > It means that the module must be compiled against the sources for the kernel that is running when the module attempts loading. The lkpi is NOT stable. If it has changed between the kernel that the drm-kmod was built against and one running, a fail is likely and it is usually a panic. That is definitely the case between 12.1 and 12.2 as well as between 12.2-RELEASE and 12.2-STABLE. If you have multiple systems running the same version of the kernel, you need only build the port once and "make package" after the build but before cleaning and adding the generated package file on other systems. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683