Bug 74033

Summary: [BYT] DP i2c warning on module unload
Product: DRI Reporter: Jesse Barnes <jbarnes>
Component: DRM/IntelAssignee: Antti Koskipaa <antti.koskipaa>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 74161    

Description Jesse Barnes 2014-01-24 23:44:36 UTC
[   63.081970] drm_kms_helper: drm: unregistered panic notifier
[   63.110173] ------------[ cut here ]------------
[   63.110187] WARNING: CPU: 1 PID: 1616 at fs/sysfs/group.c:214 sysfs_remove_group+0xb9/0xc0()
[   63.110191] sysfs group c29498c8 not found for kobject 'i2c-6'
[   63.110194] Modules linked in: coretemp kvm_intel kvm crc32_pclmul snd_hda_codec_hdmi aesni_intel snd_hda_codec_realtek aes_i586 xts lrw gf128mul ablk_helper cryptd snd_hda_intel hid_sensor_accel_3d hid_sensor_gyro_3d hid_sensor_magn_3d hid_sensor_trigger industrialio_triggered_buffer kfifo_buf industrialio hid_sensor_iio_common snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer dm_multipath scsi_dh microcode snd hid_sensor_hub soundcore dw_dmac_pci dw_dmac_core ppdev asix usbnet mii rfcomm bnep bluetooth parport_pc binfmt_misc mac_hid lp parport nls_iso8859_1 hid_generic usbhid hid dm_mirror dm_region_hash dm_log igb dca i915(O-) ptp pps_core i2c_algo_bit drm_kms_helper(O) video drm(O) ahci libahci
[   63.110282] CPU: 1 PID: 1616 Comm: rmmod Tainted: G        W  O 3.13.0-rc8+ #1
[   63.110286] Hardware name: NEXCOM VTC1010/Aptio CRB, BIOS 5.6.5 09/24/2013
[   63.110289]  00000000 00000000 f2bf7d0c c264be23 f2bf7d4c f2bf7d3c c20538de c283cb2c
[   63.110300]  f2bf7d68 00000650 c2836ae1 000000d6 c21d64e9 c21d64e9 00000000 c29498c8
[   63.110310]  f70a18e4 f2bf7d54 c2053933 00000009 f2bf7d4c c283cb2c f2bf7d68 f2bf7d7c
[   63.110320] Call Trace:
[   63.110330]  [<c264be23>] dump_stack+0x41/0x52
[   63.110338]  [<c20538de>] warn_slowpath_common+0x7e/0xa0
[   63.110344]  [<c21d64e9>] ? sysfs_remove_group+0xb9/0xc0
[   63.110350]  [<c21d64e9>] ? sysfs_remove_group+0xb9/0xc0
[   63.110356]  [<c2053933>] warn_slowpath_fmt+0x33/0x40
[   63.110362]  [<c21d64e9>] sysfs_remove_group+0xb9/0xc0
[   63.110368]  [<c2412047>] dpm_sysfs_remove+0x37/0x40
[   63.110375]  [<c24092d4>] device_del+0x34/0x170
[   63.110382]  [<c2409431>] device_unregister+0x21/0x60
[   63.110387]  [<c21d58a6>] ? sysfs_remove_link+0x16/0x30
[   63.110393]  [<c240daf2>] ? class_compat_remove_link+0x42/0x50
[   63.110400]  [<c24f94bd>] i2c_del_adapter+0x1ad/0x2c0
[   63.110405]  [<c24f7e20>] ? i2c_do_del_adapter+0xe0/0xe0
[   63.110412]  [<c215eb4d>] ? kfree+0xcd/0x100
[   63.110457]  [<f99ffb1d>] intel_dp_encoder_destroy+0x1d/0x70 [i915]
[   63.110483]  [<f880f43a>] drm_mode_config_cleanup+0x3a/0x210 [drm]
[   63.110521]  [<f99f456f>] intel_modeset_cleanup+0xbf/0xd0 [i915]
[   63.110549]  [<f99be1f6>] i915_driver_unload+0x246/0x2f0 [i915]
[   63.110572]  [<f8809443>] drm_dev_unregister+0x23/0x90 [drm]
[   63.110593]  [<f88094ed>] drm_put_dev+0x3d/0x70 [drm]
[   63.110623]  [<f99ba615>] i915_pci_remove+0x15/0x20 [i915]
[   63.110630]  [<c23387ff>] pci_device_remove+0x2f/0xa0
[   63.110638]  [<c240c601>] __device_release_driver+0x61/0xc0
[   63.110645]  [<c240cebf>] driver_detach+0x8f/0xa0
[   63.110654]  [<c240c2df>] bus_remove_driver+0x4f/0xc0
[   63.110662]  [<c240d498>] driver_unregister+0x28/0x60
[   63.110668]  [<c20cebd2>] ? stop_cpus+0x32/0x40
[   63.110675]  [<c20bd4f0>] ? module_refcount+0x90/0x90
[   63.110682]  [<c2337655>] pci_unregister_driver+0x15/0x60
[   63.110705]  [<f880b39f>] drm_pci_exit+0x9f/0xb0 [drm]
[   63.110746]  [<f9a3030a>] i915_exit+0x1b/0x1d [i915]
[   63.110752]  [<c20bf778>] SyS_delete_module+0x158/0x1f0
[   63.110760]  [<c2173aed>] ? ____fput+0xd/0x10
[   63.110766]  [<c206f0fe>] ? task_work_run+0x7e/0xb0
[   63.110774]  [<c265a40d>] sysenter_do_call+0x12/0x28
[   63.110778] ---[ end trace 43b74c05f338a183 ]---
[   63.120062] [drm] Module unloaded
[   63.149171] [drm] Initialized drm 1.1.0 20060810
[   63.177079] [drm:i915_dump_device_info], i915 device info: gen=7, pciid=0x0f3
Comment 1 Imre Deak 2014-01-30 13:05:59 UTC
This looks like bug 70523, which has a proposed fix for it.
Comment 2 Antti Koskipaa 2014-02-19 11:11:54 UTC
Now that bug 70523 has a fix in -nightly, can you retest?
Comment 3 Daniel Vetter 2014-03-03 14:23:35 UTC
Presuming closed - the dp fumble is fixed in -nightly and a generic sysfs/kernfs fumble should be fixed now that -nightly has rolled forward to -rc5. Please scream (and reopen) if this isn't the case.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.