Re: hang up with r352239 and r352386 with i5-7500

From: Masachika ISHIZUKA <ish_at_amail.plala.or.jp>
Date: Mon, 16 Sep 2019 21:26:08 +0900 (JST)
>>    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_at_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
Received on Mon Sep 16 2019 - 10:26:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:21 UTC