From owner-freebsd-arch@freebsd.org Fri Mar 1 05:50:34 2019 Return-Path: Delivered-To: freebsd-arch@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 909BA1503357; Fri, 1 Mar 2019 05:50:34 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from mail02.asahi-net.or.jp (mail02.asahi-net.or.jp [202.224.55.14]) by mx1.freebsd.org (Postfix) with ESMTP id 0BCBA83CE1; Fri, 1 Mar 2019 05:50:32 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from rv515.advok.com (pool-72-76-119-135.nwrknj.fios.verizon.net [72.76.119.135]) (Authenticated sender: NR2Y-OOT) by mail02.asahi-net.or.jp (Postfix) with ESMTPSA id 3185F2B63A; Fri, 1 Mar 2019 14:50:19 +0900 (JST) Date: Fri, 1 Mar 2019 00:50:09 -0500 From: Yoshihiro Ota To: Cy Schubert Cc: ota@j.email.ne.jp, sgk@troutmask.apl.washington.edu, FreeBSD X11 mailing list , "freebsd-arch@freebsd.org" , freebsd-arch@freebsd.org, greg@unrelenting.technology Subject: Re: DRM removal soon Message-Id: <20190301005009.4457f46f10c3a8229b5dd7fc@j.email.ne.jp> In-Reply-To: References: <20190223003126.4aec5a01b77ec9bf9ea0992a@j.email.ne.jp> <1550926557.1795.0@unrelenting.technology> <20190223234351.0addf9de71953eb31136322b@j.email.ne.jp> <20190228004220.fb3ed982fa8a34252ec19bb5@j.email.ne.jp> <603D07F7-CA80-40C6-8D55-3DC6EABE667E@cschubert.com> <20190228191511.GA18089@troutmask.apl.washington.edu> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; i386-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 0BCBA83CE1 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.84 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.84)[-0.841,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 05:50:34 -0000 Hi, all and Cy. I trimmed most of old posts. On Thu, 28 Feb 2019 11:22:52 -0800 Cy Schubert wrote: > > Yes. drm-legacy-kmod should be removed from ports sooner than later. drm-current-kind works > perfectly on older gear like my 13 year old Pentium-M, which was repurposed as an i386 test > platform years ago. Don't worry. You are still talking in the unit of years. I still occasionally use a laptop from the last century. :) Jokes aside, I have 2 questions. I have a 12.0-RELEASE base system and 12.0 pkg configuration. Looking back my operational log, pkg install was like this. # pkg install drm-kmod Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 3 package(s) will be affected (of 0 checked): New packages to be INSTALLED: drm-kmod: g20180930 drm-legacy-kmod: g20181031_1 gpu-firmware-kmod: g20180825 Question #1: drm-current-kmod was mentioned in your reply. Have I installed wrong kmod? I do not setup X to come up as a part of boot process. So, I login via console and may stay there or decide to startx depending on what I want to do. I can see the driver switching and my kld_list="/boot/modules/radeonkms.ko" loads these modules as expected. On the other hand, I still see the following in dmesg. drmn0: ======================================================= drmn0: This code is obsolete abandonware. Install the graphics/drm-legacy-kmod p kg drmn0: ======================================================= drmn0: Deprecated code (to be removed in FreeBSD 13): drm2 drivers drmn0: ======================================================= drmn0: This code is obsolete abandonware. Install the graphics/drm-legacy-kmod pkg drmn0: ======================================================= drmn0: Deprecated code (to be removed in FreeBSD 13): drm2 drivers drmn0: on vgapci0 info: [drm] RADEON_IS_PCIE info: [drm] initializing kernel modesetting (PALM 0x1002:0x9806 0x144D:0xC589). info: [drm] register mmio base: 0xFEB00000 info: [drm] register mmio size: 262144 info: [drm] radeon_atrm_get_bios: ===> Try ATRM... kldstat -v reports this: 5 1 0x1900d000 10c000 radeonkms.ko (/boot/modules/radeonkms.ko) Contains modules: Id Name 529 vgapci/radeonkms 534 drmn/radeon_atom_hw_i2c 531 radeon_iicbb/iicbb 533 radeon_hw_i2c/iicbus 530 drmn/radeon_iicbb 532 drm/radeon_hw_i2c 6 1 0x19119000 4e000 drm2.ko (/boot/kernel/drm2.ko) Contains modules: Id Name 525 drmn/drm_iic_dp_aux 526 drmn Question #2. Am I loading the right driver set? Regards, Hiro