From owner-freebsd-current@freebsd.org Sun Oct 21 14:44:34 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 782AFFF489C for ; Sun, 21 Oct 2018 14:44:34 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-vs1-xe29.google.com (mail-vs1-xe29.google.com [IPv6:2607:f8b0:4864:20::e29]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 13A069093E for ; Sun, 21 Oct 2018 14:44:34 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-vs1-xe29.google.com with SMTP id i10so28007259vsm.13 for ; Sun, 21 Oct 2018 07:44:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XZtWOLLa5Rj/HUGLmmLF7JbRlmuJDaavY2Oi6a8hP00=; b=GVA05YPNrq1nvRV9k38dPSU9JsipcT3OtKUr8i9nLtNgLFQNB3xR0A7/2ZFHyDIonP tlthXGLC0uN2h7uLl6kcjHPXhXRZH1AMf0ZIRd32ZnWUoM3naav+yl1jvGxqNxDSDPxP 2B8BMR5uZFfQ9uOeZbQ+OhzyjgmzMOIIbQzcxh2y4ksVFEmiRUKs5zOsp+pR6ZOjMXzM sfPHRREiCTskOdyjjYgp3s/dmaCLbgZfDC7hkRyDUYcFkPc2t0kvBn0++vcI/suO3beG b+jLH2MOTej9h9Vk0FY5J5oiELwFVRbOQorS38EqvQhXKxvuRg5S6vUCKENmNS5T8hiq WQ9w== 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=XZtWOLLa5Rj/HUGLmmLF7JbRlmuJDaavY2Oi6a8hP00=; b=NFnQjZOUWsKbt1CgdbpKKfT5PvnlBhEw0sbSgndKaj6LMRlETWdHokD+mKyqlLev1A UdgSkEuvUflbjt8ePIJyrxnXdpVfFJKE0LQli+D3Ad5q5qGVG2GLdbXmXWEyKSWxAIzv VzC+YURpi1b8/81fEJCrNaBM1MBazp5N0+yaHuiLp/l8fDkQxYDB5Cv0db7cFbxL9SSM fzd1LnIYN4J9SxU+Qa2LQi+Pn5cfkP7K4Mq/6Bnu59R5A+y/gXIjGDdyqzMGlc7adhvq 6dWxHM17yVTmXXz1d9fbELisJaSvJcSBdYXx/kjtZ1gzjunbeIgOA1Opak84/7fb+Ul9 U5BQ== X-Gm-Message-State: ABuFfoj89HoARzyH27WhyQngEClj+I9MEqFXC8mhzoyz8yLJREIR4jCz waZ3y0QGolw2BjMxf0EJaPUIit+P8P8p1grxgi4d1Dfx X-Google-Smtp-Source: ACcGV60Gdpllekw0+BJDlUjQEwgiAPSRXBo8dzZdDrnE2g6FXoF3wduTv1LjR9cbdfr3Y5HjrxB31jdxKaYWvum22q4= X-Received: by 2002:a67:4dc7:: with SMTP id i68mr17445440vsg.46.1540133073302; Sun, 21 Oct 2018 07:44:33 -0700 (PDT) MIME-Version: 1.0 References: <29c87b89-2de0-fc72-4591-e362fd965322@gmail.com> In-Reply-To: From: Warner Losh Date: Sun, 21 Oct 2018 08:44:21 -0600 Message-ID: Subject: =?UTF-8?B?UmU6IERSTTogcmFkZW9ua21zIOKApiBjYW4gbm90IGJlIHVubG9hZGVkIChrZXJuZWwgcA==?= =?UTF-8?B?YW5pYykpIOKApg==?= To: Kevin Oberman Cc: Hans Petter Selasky , Graham Perrin , FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2018 14:44:34 -0000 On Sun, Oct 21, 2018, 2:29 AM Kevin Oberman wrote: > On Sat, Oct 20, 2018 at 1:28 AM Hans Petter Selasky > wrote: > > > On 10/20/18 3:10 AM, Graham Perrin wrote: > > > On 20/10/2018 00:01, Graham Perrin wrote: > > > > > >> kldunload radeonkms > > >> > > >> =E2=80=93 results in a kernel panic. > > > > > > Found, at < > > > https://github.com/FreeBSDDesktop/kms-drm/issues/90#issuecomment-41585902= 1 > > > > under 'drm-devel-kmod g20180822 screen freeze': > > > > > >>> =E2=80=A6 normally you never unload the graphics driver so we haven= 't spent > > time on proper cleanup. Also, the drm module will cause panic if you tr= y > > load load it again after unload. > > > > > > ---- > > > > > > Is the principle for -next- the same as for -devel-, should I simply > > _never_ attempt to unload the module? > > > > > > $ date ; uname -v > > > Sat 20 Oct 2018 02:06:21 BST > > > FreeBSD 12.0-BETA1 r339438 GENERIC > > > $ pkg query '%o %v %R' drm-kmod drm-next-kmod gpu-firmware-kmod > > > graphics/drm-next-kmod 4.11.g20180822 poudriere > > > graphics/gpu-firmware-kmod g20180825 FreeBSD > > > > I recommend building these modules from source, /usr/src which match yo= u > > currently installed kernel! > > > > --HPS > > > This is a really good practice for all kernel modules from ports. If you > build your kernel from source, put them into /etc/rc.conf to define > PORTS_MODULES to always rebuild all modules when the kernel is built. Eve= n > if you install packages for your release, you need to realize that packag= es > are built against the oldest supported minor release of a major release a= nd > that works or all ports that only have to match system ABIs which remain > stable for the life of a major release. But, while the KBI (Kernel Binary > Interface) usually remains stable, it occasionally does and did between > 11.1 and 11.2 which meant that two ports failed when installed from > packages on 11.2 system until 11.1 went EOL this month. > > I really wish that the portsmgr team would come up with a policy to > maintain an archive of port based kernel modules whenever there is a mino= r > release where people who have broken systems can get trusted packages. So= me > people are really not very capable of building from ports. > I've reviewed patches from jhb that rebuild when the kernel is rebuilt. Having the package would be better but is more tricky. Warner -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " >