From owner-freebsd-stable@freebsd.org Mon Oct 29 21:13:54 2018 Return-Path: Delivered-To: freebsd-stable@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 22FBD10EA63B for ; Mon, 29 Oct 2018 21:13:54 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from mail-it1-x12c.google.com (mail-it1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (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 A744E83B64; Mon, 29 Oct 2018 21:13:53 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by mail-it1-x12c.google.com with SMTP id f16-v6so3803199ita.3; Mon, 29 Oct 2018 14:13:53 -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=/sJfP0tVLuEQVXc+MJMwSS4NUdQKygF/sC501Bn+00k=; b=g3uDryA0gNeQ/yFjzz8ZB6W5119Fsb84N5c02lBeKNydPznw1z1k24lVvA3XhBrNzj bo7wjSdY1KFQi0b25gKwWagEUi5AizXKafcggXoa6d6dLBF9hsCZ+2RE9MODnIovKRoo 28dFOvvks6rp6O+rU2wbyH2ZwztJwWfsohLTHBODNdcHb693n+UYkw9w9ekUmyrAI6fx aSLFzEiPb4Y8MyM02D+p5Y512whu5QLWdP876IPYOY4XeeeQo0NFoBVEmSb2PMneAmRw TnPvycPihbgxQlraD1OblQ95K1e3vTyMn590vSY6CnxftVsmirLYMJa3rsxSxIpRXUxw 6sNQ== 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=/sJfP0tVLuEQVXc+MJMwSS4NUdQKygF/sC501Bn+00k=; b=Ky+2/jzaMW7hFg1qbAtfUbRCTpTTmc6JgvQVJOnRpsWhu0mMGpjQ/w9RGpmvMAz71M 83OYDvVygKII5Xdo/wpjD+LjkYPcqDCFeakol3sGDl9m0rziRxkkiHeJQW/UWAu4ZEFs 0ma8+fRRTjQxC13erMrM6LEa9IKPxxYkoxeysbaeqdtJeqGKkJ4a8bVxcFZ7vnsJNaZ4 s6zguFNiz3FO34DTcAtZrDUIXldh858rjoLh9PRVERuQ0RDfgkIeUujAB4S6aRsX/uKf C4UMwynNs8H7dk6Huz1i407w5CZl8IWy2rmvSRotuoTkoBCbChBdUCRsAZJbL61t34bR 6XCw== X-Gm-Message-State: AGRZ1gImsO/lC4/LY89E5C2tFB4hoQxH8ZcatZ0eo+fie6GjfN/VnnqY lgaKWOHQshUxSYVJvkBgLNTYAz6/W54UHtmr+PNp8g== X-Google-Smtp-Source: AJdET5dvSr1yajRhYnojnsl/koK/nFj6Sn7p3BTcQx1OG4zH57qtQbOa/vHNhXokZs6kNtxVvwDNwdOM9i/ofRKdnls= X-Received: by 2002:a24:35d7:: with SMTP id k206-v6mr5589046ita.102.1540847632463; Mon, 29 Oct 2018 14:13:52 -0700 (PDT) MIME-Version: 1.0 References: <20181029112355.GA3887@nuvolo> <47be1338-40fa-ec15-0c97-4655ee39ab12@freebsd.org> In-Reply-To: <47be1338-40fa-ec15-0c97-4655ee39ab12@freebsd.org> From: Matthew Macy Date: Mon, 29 Oct 2018 14:13:41 -0700 Message-ID: Subject: Re: Kernel modules and updates (problems with graphics/drm-stable-kmod) To: Niclas Zeising Cc: Arrigo Marchiori , Warner Losh , freebsd-stable@freebsd.org 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: Mon, 29 Oct 2018 21:13:54 -0000 On Mon, Oct 29, 2018 at 05:20 Niclas Zeising wrote: > On 10/29/18 12:23 PM, Arrigo Marchiori via freebsd-stable wrote: > > Dear All, > > > > I am encountering a strange problem with port graphics/drm-stable-kmod. > > My system is a 11.2-STABLE amd64 with GENERIC kernel. > > > > I upgrade the base system every week or two from source. My > > /etc/make.conf lists graphics/drm-stable-kmod in PORTS_MODULES, in > > order to have it recompiled with every kernel. > > > > When I install the new kernel, run mergemaster and reboot, however, > > Xorg is unable to drive the video card: something goes wrong with DRM > > and he tty belonging to Xorg remains black. The other tty's work > > well. > > > > I tracked down the problem to the file /boot/kernel/radeonkms.ko > > ^^^^^^ > > If I delete that file and reboot, Xorg works fine. > > > > My question is: why is that file there? The port > > graphics/drm-stable-kmod installs its module in > > /boot/modules/radeonkms.ko but the other version from /boot/kernel/ > > ^^^^^^^ ^^^^^^ > > seems to be loaded instead, and therefore Xorg does not work. > > > > Is this a bug of either installkernel, or the port? Or am I doing > > anything wrong? > > > > Thank you in advance, > > > > Hi! > /boot/kernel/radeonkms.ko is part of the old drm driver that is in base > on 11.2 and 12. In order to load the module from drm-stable-kmod you > need to specify the whole path, /boot/modules/radeonkms.ko when loading > the module. > Regards > -- > Niclas Zeising > __ This is why there was an effort to move the drivers from base in 12 and they have now been marked deprecated. Niclas - I=E2=80=99ve lost track of the work that=E2=80=99s been done there= - is this error not possible on 12? Thanks. _____________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >