From owner-freebsd-current@freebsd.org Wed Sep 18 15:33:00 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 232A9121521 for ; Wed, 18 Sep 2019 15:33:00 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2607:f740:d:20::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46YPBM5t5Tz4SlW for ; Wed, 18 Sep 2019 15:32:59 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 46YPBJ0n0jz3c7b for ; Wed, 18 Sep 2019 15:32:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([127.0.0.1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [127.0.0.1]) (amavisd-new, port 10587) with ESMTPS id D2O8ldcn1N7z for ; Wed, 18 Sep 2019 15:32:55 +0000 (UTC) Received: from garnet.daemonic.se (host-90-232-139-242.mobileonline.telia.com [90.232.139.242]) by mail.daemonic.se (Postfix) with ESMTPSA id 46YPBH2z6Pz3c7Z for ; Wed, 18 Sep 2019 15:32:55 +0000 (UTC) Subject: Re: hang up with r352239 and r352386 with i5-7500 To: freebsd-current@freebsd.org References: <20190917.072041.480458056274937279.ish@amail.plala.or.jp> <20190917140912.GC35245@raichu> <20190917.235930.528406816270492485.ish@amail.plala.or.jp> <20190918.171520.1850897233083712866.ish@amail.plala.or.jp> From: Niclas Zeising Message-ID: <5fa15ee8-a1cb-37e7-b954-c50b1cd0a8d9@freebsd.org> Date: Wed, 18 Sep 2019 17:32:54 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 MIME-Version: 1.0 In-Reply-To: <20190918.171520.1850897233083712866.ish@amail.plala.or.jp> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46YPBM5t5Tz4SlW X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-2.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; ASN(0.00)[asn:36236, ipnet:2607:f740:d::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] 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: Wed, 18 Sep 2019 15:33:00 -0000 On 2019-09-18 10:15, Masachika ISHIZUKA wrote: >>>>>>> Can you please use absolute paths to i915kms.ko anyway, just to test? >>>>>> The same hang up occure with kld_list="/boot/modules/i915kms.ko" >>>>>> in /etc/rc.conf. >>>>>> >>>>> >>>>> Even after applying the patch I suggested? >>>> >>>> Yes. >>>> >>>> kld_list="/boot/modules/drm.ko /boot/modules/i915kms.ko" >>>> will hang as well. >>>> >>>> /boot/modules/{drm,i915kms}.ko is patched modules. >>>> >>>> # /boot/kernel.r352239/{drm,i915kms}.ko is not patched. >>> >>> Are you able to collect a kernel dump? If so, remove the kld_list >>> setting and set debug.debugger_on_panic=0 and dev.drm.skip_ddb=1. Then >>> manually kldload /boot/modules/i915kms.ko. If you are running an >>> INVARIANTS kernel you might be hitting an assertion failure; having the >>> vmcore would help us debug. >> >> Thank you for mail. >> >> As I'm busy now, I'll try to get kernel dump about 1 day after. > > I'm very sorry. > > The patch you suggested is work fine. > The reason why it didn't work was because the patch was applied > to the wrong file. > > Now, drm-current-kmod is working fine on r352467 by your patch. > Hi! I just updated the port with the fix I suggested earlier, hopefully it works. It will take some time before it shows up as packages, but there is no problems building drm-current-kmod from ports even if packages are used for the rest of the system. Regards -- Niclas Zeising