From owner-freebsd-stable@freebsd.org Mon Oct 29 11:34:15 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 C157510D4764 for ; Mon, 29 Oct 2018 11:34:15 +0000 (UTC) (envelope-from ardovm@yahoo.it) Received: from sonic311-21.consmr.mail.gq1.yahoo.com (sonic311-21.consmr.mail.gq1.yahoo.com [98.137.65.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3692F6CDAE for ; Mon, 29 Oct 2018 11:34:14 +0000 (UTC) (envelope-from ardovm@yahoo.it) X-YMail-OSG: trtLVHEVM1n.7C304Hp5cIzSkYR92JvjbCCkRPMdTeuX2xbmpmRGgnLzVUfzg23 nOW_h2NFHTUUKXBk9tRymIe2plBkXGwi.NruC6uwMSsZ9Zb7OVSCm4TZiJiL9ERuujzEZ1CsL8rc SlrocxcFCqWen6R7gc95dFFk5ahQGrfvxNFO6Q5nig34QST2UAYiWOXtYOUHHTrgjr4KDCZXkA7J pmE3nLq28bJXmsyjFbtq12H4zEMjxIov3HSfcX_g29s03tBYBPRvChlKxcRtdA7_ZRrCFGbmOI6O ZfXCRBAXeClOnruNxfPUyqyvx4gX6bEdGeAfF5dP5vbm5AL8lOk8OtvriqPDgU7YVXVglO1pk8aw SaqWDYO6bQz.vvnB.b5ptbchqrxNz84.p7lniTeWvBU7mrnCFhf6tBndJuGTrthN75jgT0WIwNex 6sIgn2Pe1J0muc7qENAqQ7tX6Etyuty_eNWfJPhgtYNHnHKL0fZBnXLPO0IA0Ieubxrbq0yxcNIp FjyD0s9eiaWw40XIleUYfwDARVEsM3alqJ8Kz2lTGkKtFySTiOH83d.A3ER6JXslmYu5lEq1jDtw GjmGhLnsdJXYDARjVc8FtRDDt6Wo5h7xGgim.X7ZE7GfaCZ67Rn7dEor2NL_p943vp6OWOnq20IO ZI9Hya2KYjbQMpEHhbLxqKj6LqFwk9olUbz10_.lrLmC_0MbZbHzNd4d.ksAoTel72OmDpnPU.d_ 13Ho0_E.4SWtdo_.UoZoVt0bcOfcWXhPL6v2SpUNB3qQcBSWvlinE9CHtUPYi4aDuP1rnIybn2o4 wslM3KiDCDgKIVZ4Ul4XNIpbSzL9BpnbpMiywyeNe.WChqBpT1r7TMW3WfwnfDFXiofrB5WcAe_G Q9.YeGL.5YACbyISWKisXJAIZYVQFsIo9j1gMeIpg8h7HuABZHJi9jKwoVmgM0JM.JhrrQNGPmk1 3cq47A0waQAohqMPwi59WY16h134W3xNuCv3tlpAwtkAF_EToQUwemetvtJVKDDg9oNSkFGCnw9I ACl1y Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Mon, 29 Oct 2018 11:34:07 +0000 Received: from 104.219.53.199 (EHLO nuvolo.localdomain) ([104.219.53.199]) by smtp409.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 543d7a8ce78ff167faa981a2d8778f8b for ; Mon, 29 Oct 2018 11:23:56 +0000 (UTC) Received: by nuvolo.localdomain (Postfix, from userid 1001) id 20D5A112E34; Mon, 29 Oct 2018 12:23:55 +0100 (CET) Date: Mon, 29 Oct 2018 12:23:55 +0100 From: Arrigo Marchiori To: freebsd-stable@freebsd.org Subject: Kernel modules and updates (problems with graphics/drm-stable-kmod) Message-ID: <20181029112355.GA3887@nuvolo> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) 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 11:34:15 -0000 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, -- rigo http://rigo.altervista.org