From owner-freebsd-current@freebsd.org Sun Oct 21 05:26:07 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 39D5BFCEA1A for ; Sun, 21 Oct 2018 05:26:07 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) (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 ABA917C3E6 for ; Sun, 21 Oct 2018 05:26:06 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x32e.google.com with SMTP id x4so35555455otg.3 for ; Sat, 20 Oct 2018 22:26:06 -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=xel93zY/hksjuHQWfar85z2RX0efluMAgb0cI0jusmU=; b=gWhGK4hupBsEt7bcr/ZAGxBu+Icj0fh3fMG/qrAvBif6JMQ5iFhbHgRq88RS5I9QFz 8pSuknjqAfRyV2Vg9fBh6jNKwuGGzmSUKFIOwAAEfKszP2pEwA3Al+UtUjyxqG3ulNpI TaIpJxOnhS3/OBHCGtT4PqHozdPfsjqHCO0x4qCZYXK9eC591HE5JHEbX1GdpcLEhyH8 t0gp3uCN4yV7U9XsRVBK/Uc6/FD3LT2a7WaPe8j7XrYr5LnrzAk/qPEUKYIJEAUnEm9a oMa1ONzz58q7JWDZmSTQq7bYQDbbmQUkWCqbWQgO5ZMEcu0NpwqClTHaqxa0JrtcyxBi X20A== 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=xel93zY/hksjuHQWfar85z2RX0efluMAgb0cI0jusmU=; b=YmcOPUFo7NjQzsdMQUteCtc6QbcJ3I0P0Tv5VeFgpvj20TJrIFAKGUquBKTO6MA2LP fyIi1KFwfzZAf6S7QJoNRDskH10ma4at1zhC/NqLXPxjDXi0PpbOPplQSfSSwwGw5Wuu MSur4u61Ju4pmwrcgNSSH7q/9NDkTFSq/SbWj7DqB1foForqEGM4tzeHMqjuZD70kRgY GLbxk1WE+cMRXmm8Cwx6IkFej6lZkXOXKeJOnKAuJB/zDVDpERWabpSS8SLN/UtjRPCQ S5DNobVhVeKTnCNo9VgRSnvMaENnIVsvDUBsD3iNRvRihYu4Bq/CXqLI2YvetrpV/FF0 /pFg== X-Gm-Message-State: ABuFfogG4HoDZVai7y74ARynVPVoG0C4+vcVrQMLQu835SpIXETFagly E9G6MgWwVMTZijZ5kwXJYl4JJGD3/iZKxqyiFLHooiOv X-Google-Smtp-Source: ACcGV635U+xmCglf9uaBqMvGg4Ii+O1cypXbTvk4V4A4oZGHpfZM1mKMvmDXplhg8oLKtbRdYRuLaaIwgsj/XcFqv+g= X-Received: by 2002:a9d:2b33:: with SMTP id o48mr28069456otb.315.1540099565743; Sat, 20 Oct 2018 22:26:05 -0700 (PDT) MIME-Version: 1.0 References: <29c87b89-2de0-fc72-4591-e362fd965322@gmail.com> In-Reply-To: From: Kevin Oberman Date: Sat, 20 Oct 2018 22:25:48 -0700 Message-ID: Subject: =?UTF-8?B?UmU6IERSTTogcmFkZW9ua21zIOKApiBjYW4gbm90IGJlIHVubG9hZGVkIChrZXJuZWwgcA==?= =?UTF-8?B?YW5pYykpIOKApg==?= To: Hans Petter Selasky Cc: 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 05:26:07 -0000 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 try > 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 you > 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. Even if you install packages for your release, you need to realize that packages are built against the oldest supported minor release of a major release and 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 minor release where people who have broken systems can get trusted packages. Some people are really not very capable of building from ports. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683