From owner-freebsd-stable@freebsd.org Mon Oct 29 12:45:52 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 5CFDD10D72FD for ; Mon, 29 Oct 2018 12:45:52 +0000 (UTC) (envelope-from ardovm@yahoo.it) Received: from sonic314-19.consmr.mail.gq1.yahoo.com (sonic314-19.consmr.mail.gq1.yahoo.com [98.137.69.82]) (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 DB1656FB3E for ; Mon, 29 Oct 2018 12:45:51 +0000 (UTC) (envelope-from ardovm@yahoo.it) X-YMail-OSG: ppj7CsoVM1ntbvPns8xfL0MePT1eeLCX0Te938vBut9wUIhDB6PFMkxjp1.h5em ke84vhmQqKIGA_S8oF8Ejt8q_98ThSAL50YO_Y2PSfPVyJB9t2JtmtqfoTTtSK_bCezG7FBEYl0i vA9_le2SbGhXeoiEUjbbS3oVHGHDRuELqZRNv1c1NbQ9P_WU9J4_PCVxpFfmAXJGAbZyDnb3K6Pc sqK.yJOB0hkBafxwhVEWCSaNABEZz_4rWkuIfnDLU9.5gVTYnveDYjMFarKZFRPT.agWYqHSMgoD 1cQ4kfbWlCI6IxVWMlqdsb18Z235ZEk0q9RuRahB1TAWUuTa05bFqPHZoTAGv4zCBkXqqTtyrHeb yB6JxMnq9tiHzecUzEX4Mdabw1l6DIvDEs4IYtr0tA_FF44nYnkzXy.lzHV5KOJ3fa6eVJoOB3Kh ABAvh38x5uOcam8XuS0Oox3r8NBdJYNYjYnYqThRLkiCQvFHGytdlSOZkbaoHAOuUGiRYIexUsVq Im72LttKNeGn9yVpn0MyX0GxcMqzayvy3Umk4YudRMG6VISYku073s1V6pEnrMguMu8pKp5SzCdJ T2CfVCYQ_NOyT_OnzNXsKYsd4ctpQGVQFDe3C0ZL_KZHK1.g_Gl3jR01QPeWyzFqhRH2rSV7pvh. zUIfKb_3L7w06LRfjwidsSqU3FRk64.kNoCWT0v2uOQw2HWVl28twN4NET8dHa66TGgwavA_rHmV 4fkocX_lPc_zhNNxT3vwbBQOp0eS1uXrXjwgPJGmBhcOTWruNlR0bQ01TLtAJBsXjJi83kTiMu2W Wc2J57gyy.1aDZ9ly8FV45vFpVIpaIerWF3K7hruxrCjI6SoQc5JF8_jXyKQAdsvgJK3RRQjp57r FMOCPfwddrwpzZ9qLp_tUIliFGjng4W5oGfECot4.p9jjGd0jNMYHJec3cJ50S2TSkbWrTJ3LoTm PUCK1CCREzO4FYH1EaclCNVpad6oTGifAkAPrPZxBoxxVrl1OXl32AQSLSY9whiunpAfjZUT0qii XhyummcTbq3PHsJSg6QXJ Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Mon, 29 Oct 2018 12:45:50 +0000 Received: from 104.219.53.199 (EHLO nuvolo.localdomain) ([104.219.53.199]) by smtp410.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 397a6ccfe2253a3d51ca49696a0ee92d; Mon, 29 Oct 2018 12:35:40 +0000 (UTC) Received: by nuvolo.localdomain (Postfix, from userid 1001) id 15D01112E34; Mon, 29 Oct 2018 13:35:39 +0100 (CET) Date: Mon, 29 Oct 2018 13:35:39 +0100 From: Arrigo Marchiori To: Niclas Zeising Cc: freebsd-stable@freebsd.org Subject: Re: Kernel modules and updates (problems with graphics/drm-stable-kmod) Message-ID: <20181029123539.GB3887@nuvolo> References: <20181029112355.GA3887@nuvolo> <47be1338-40fa-ec15-0c97-4655ee39ab12@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <47be1338-40fa-ec15-0c97-4655ee39ab12@freebsd.org> 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 12:45:52 -0000 Hello Niclas, On Mon, Oct 29, 2018 at 01:19:18PM +0100, 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 Thank you for your reply. I should have read more carefully the pkg-message from graphics/drm-stable-kmod ! Best regards, -- rigo http://rigo.altervista.org