[igt-dev] [PATCH i-g-t] igt/pm_rpm: Close local fd before trying to unload module

Chris Wilson chris at chris-wilson.co.uk
Wed Aug 15 20:58:56 UTC 2018


Quoting Chris Wilson (2018-08-15 12:08:25)
> Make sure everything we open in setup_environment() is paired to
> teardown_environment().

Still more:
pm_rpm:1800) DEBUG: Reload w/o display
(pm_rpm:1800) igt_kmod-DEBUG: Could not remove module i915 (Resource temporarily unavailable)
(pm_rpm:1800) igt_kmod-WARNING: Could not unload i915
(pm_rpm:1800) igt_kmod-INFO: Module		      Used by
(pm_rpm:1800) igt_kmod-INFO: vgem
(pm_rpm:1800) igt_kmod-INFO: snd_hda_codec_hdmi
(pm_rpm:1800) igt_kmod-INFO: x86_pkg_temp_thermal
(pm_rpm:1800) igt_kmod-INFO: coretemp
(pm_rpm:1800) igt_kmod-INFO: i915
(pm_rpm:1800) igt_kmod-INFO: crct10dif_pclmul
(pm_rpm:1800) igt_kmod-INFO: crc32_pclmul
(pm_rpm:1800) igt_kmod-INFO: ghash_clmulni_intel
(pm_rpm:1800) igt_kmod-INFO: snd_hda_codec_realtek
(pm_rpm:1800) igt_kmod-INFO: snd_hda_codec_generic   snd_hda_codec_realtek
(pm_rpm:1800) igt_kmod-INFO: r8169
(pm_rpm:1800) igt_kmod-INFO: mii                     r8169
(pm_rpm:1800) igt_kmod-INFO: snd_hda_codec           snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_codec_realtek
(pm_rpm:1800) igt_kmod-INFO: snd_hwdep               snd_hda_codec
(pm_rpm:1800) igt_kmod-INFO: snd_hda_core            snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_codec_realtek
(pm_rpm:1800) igt_kmod-INFO: mei_me
(pm_rpm:1800) igt_kmod-INFO: snd_pcm                 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_core
(pm_rpm:1800) igt_kmod-INFO: mei                     mei_me
(pm_rpm:1800) igt_kmod-INFO: lpc_ich
(pm_rpm:1800) igt_kmod-INFO: prime_numbers           i915
(pm_rpm:1800) igt_aux-INFO:                 COMM        PID                 Type        UID       GID                  Size                       Filename
(pm_rpm:1800) igt_aux-INFO:               pm_rpm       1800            character          0        44               0 bytes                 /dev/dri/card0

Oh, this will be the at_exit_drm_fd. Grr.
-Chris


More information about the igt-dev mailing list