From owner-freebsd-current@freebsd.org Mon Sep 16 12:26:20 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F108FFF063 for ; Mon, 16 Sep 2019 12:26:20 +0000 (UTC) (envelope-from ish@amail.plala.or.jp) Received: from msc13.plala.or.jp (msc13.plala.or.jp [60.36.166.23]) by mx1.freebsd.org (Postfix) with ESMTP id 46X57t0gkRz4ZQt for ; Mon, 16 Sep 2019 12:26:17 +0000 (UTC) (envelope-from ish@amail.plala.or.jp) Received: from localhost ([2400:4050:9320:7a00::8]) by msc13.plala.or.jp with ESMTP id <20190916122614.YCMF18269.msc13.plala.or.jp@localhost> for ; Mon, 16 Sep 2019 21:26:14 +0900 Date: Mon, 16 Sep 2019 21:26:08 +0900 (JST) Message-Id: <20190916.212608.705565847837928740.ish@amail.plala.or.jp> To: freebsd-current@freebsd.org Subject: Re: hang up with r352239 and r352386 with i5-7500 From: Masachika ISHIZUKA In-Reply-To: References: <20190916.200921.794188770284180789.ish@amail.plala.or.jp> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-VirusScan: Outbound; mvir-ac13; Mon, 16 Sep 2019 21:26:14 +0900 X-Rspamd-Queue-Id: 46X57t0gkRz4ZQt X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ish@amail.plala.or.jp designates 60.36.166.23 as permitted sender) smtp.mailfrom=ish@amail.plala.or.jp X-Spamd-Result: default: False [0.66 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.56)[-0.557,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:60.36.166.0/24]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.41)[-0.410,0]; DMARC_NA(0.00)[plala.or.jp]; MV_CASE(0.50)[]; MID_CONTAINS_FROM(1.00)[]; IP_SCORE(0.42)[ip: (-1.09), ipnet: 60.32.0.0/12(3.00), asn: 4713(0.23), country: JP(-0.02)]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[23.166.36.60.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4713, ipnet:60.32.0.0/12, country:JP]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[] 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: Mon, 16 Sep 2019 12:26:21 -0000 >> My machine (with core i5-7500) is hangup when loading i915kms.ko >> on r352239 and r352386 (1300047). >> This machine was working good with r351728 (1300044). >> /etc/rc.conf has the following line. >> kld_list="i915kms.ko" >> It is good wowking with core i7-4500U on r352239 (1300047). >> > > Hi! > Which version of drm-current are you using? Thank you for reply. % pkg info drm-current-kmod drm-current-kmod-4.16.g20190828 Name : drm-current-kmod Version : 4.16.g20190828 Installed on : Mon Sep 2 14:42:56 2019 JST Origin : graphics/drm-current-kmod Architecture : FreeBSD:13:amd64 Prefix : /usr/local Categories : graphics kld Licenses : BSD2CLAUSE, MIT, GPLv2 Maintainer : x11@FreeBSD.org WWW : https://github.com/FreeBSDDesktop/kms-drm Comment : DRM modules for the linuxkpi-based KMS components Options : DEBUG : off SOURCE : on Annotations : FreeBSD_version: 1300042 repo_type : binary repository : FreeBSD Flat size : 122MiB Description : amdgpu, i915, and radeon DRM modules for the linuxkpi-based KMS components. Currently corresponding to Linux 4.16 DRM. This version is for FreeBSD CURRENT. amdgpu and radeonkms are known to fail with EFI boot. WWW: https://github.com/FreeBSDDesktop/kms-drm > Have you recompiled it after updating the kernel? No. > What happens if you change to kld_list="/boot/modules/i915kms.ko"? The same hangup has occured. > There is a patch here: > https://github.com/FreeBSDDesktop/kms-drm/pull/175/commits/7b8fab2461262b22f64425146b60608bb0e0240d > that might solve the issue, can you apply that and recompile > drm-current-kmod and see if it works? Thank you. I did the following. # portsnap fetch # portsnap update # cd /usr/local/sys/modules/drm-current-kmod/linuxkpi/gplv2/include/linux # vi pagevec.h (comment out line 49) # cd /usr/ports/graphics/drm-current-kmod # make # make deinstall # make install # reboot But, it hangs up. -- Masachika ISHIZUKA