lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+icZUXbM-Aq0v0-ZVdJptgQ3sUFs64unf4ubNeTP6Lgyq=6fg@mail.gmail.com>
Date:	Mon, 23 Mar 2015 07:25:27 +0100
From:	Sedat Dilek <sedat.dilek@...il.com>
To:	Daniel Vetter <daniel.vetter@...ll.ch>,
	Dave Airlie <airlied@...hat.com>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	intel-gfx <intel-gfx@...ts.freedesktop.org>
Subject: [Linux v4.0-rc5] Warnings in drm_framebuffer_reference() and drm_atomic_check_only()

Hi,

I did my weekly update of the Linux RC (here: v4.0-rc5) and fell over
some warning in the drm area.

Please have a look...


Trace #1:

[   19.429883] ------------[ cut here ]------------
[   19.429902] WARNING: CPU: 0 PID: 811 at include/linux/kref.h:47
drm_framebuffer_reference+0x7a/0x90 [drm]()
[   19.429904] Modules linked in: mac80211 i915(+) snd_hda_codec_hdmi
snd_hda_codec_realtek snd_hda_codec_generic uvcvideo snd_hda_intel
snd_hda_controller videobuf2_vmalloc snd_hda_codec videobuf2_memops
rfcomm videobuf2_core bnep v4l2_common i2c_algo_bit cdc_ether
snd_hwdep iwlwifi joydev parport_pc ppdev option videodev snd_pcm
usb_wwan drm_kms_helper usbserial usbnet cfg80211 snd_seq_midi
snd_seq_midi_event btusb snd_rawmidi bluetooth snd_seq drm snd_timer
psmouse snd_seq_device snd serio_raw samsung_laptop video lpc_ich
soundcore intel_rst wmi mac_hid lp binfmt_misc parport hid_generic
usbhid hid r8169 mii usb_storage
[   19.429947] CPU: 0 PID: 811 Comm: modprobe Not tainted
4.0.0-rc5-1-iniza-small #1
[   19.429949] Hardware name: SAMSUNG ELECTRONICS CO., LTD.
530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[   19.429951]  ffffffffa0131f44 ffff8800c8d036e8 ffffffff81769019
0000000000000000
[   19.429955]  0000000000000000 ffff8800c8d03728 ffffffff810757ba
ffff8800c8d03718
[   19.429958]  ffff88011a3d11c0 ffff8800c82cf040 ffff8800c2310000
ffff8800c1a13000
[   19.429962] Call Trace:
[   19.429969]  [<ffffffff81769019>] dump_stack+0x4c/0x65
[   19.429973]  [<ffffffff810757ba>] warn_slowpath_common+0x8a/0xc0
[   19.429977]  [<ffffffff810758aa>] warn_slowpath_null+0x1a/0x20
[   19.429988]  [<ffffffffa010c18a>] drm_framebuffer_reference+0x7a/0x90 [drm]
[   19.430003]  [<ffffffffa011e90d>] drm_atomic_set_fb_for_plane+0x2d/0x90 [drm]
[   19.430037]  [<ffffffffa0461b48>]
ironlake_get_initial_plane_config+0x288/0x390 [i915]
[   19.430041]  [<ffffffff810c494d>] ? trace_hardirqs_on+0xd/0x10
[   19.430068]  [<ffffffffa0472151>] intel_modeset_init+0x9d1/0x1a50 [i915]
[   19.430091]  [<ffffffffa0438d7a>] ?
ironlake_irq_postinstall+0xca/0x1b0 [i915]
[   19.430101]  [<ffffffffa0103a12>] ? drm_irq_install+0xc2/0x1a0 [drm]
[   19.430130]  [<ffffffffa04a682b>] i915_driver_load+0xf0b/0x1140 [i915]
[   19.430134]  [<ffffffff810c470d>] ? mark_held_locks+0x6d/0xa0
[   19.430137]  [<ffffffff8176fe7e>] ? __mutex_unlock_slowpath+0xce/0x220
[   19.430140]  [<ffffffff810c470d>] ? mark_held_locks+0x6d/0xa0
[   19.430143]  [<ffffffff81772476>] ? _raw_spin_unlock_irqrestore+0x36/0x70
[   19.430147]  [<ffffffff810c489d>] ? trace_hardirqs_on_caller+0x15d/0x200
[   19.430151]  [<ffffffff810c494d>] ? trace_hardirqs_on+0xd/0x10
[   19.430161]  [<ffffffffa0106975>] drm_dev_register+0xb5/0x110 [drm]
[   19.430172]  [<ffffffffa0109a6d>] drm_get_pci_dev+0x8d/0x200 [drm]
[   19.430192]  [<ffffffffa03fe22b>] i915_pci_probe+0x3b/0x60 [i915]
[   19.430196]  [<ffffffff813ec7b5>] local_pci_probe+0x45/0xa0
[   19.430199]  [<ffffffff813edb65>] ? pci_match_device+0xe5/0x110
[   19.430202]  [<ffffffff813edca9>] pci_device_probe+0xd9/0x130
[   19.430206]  [<ffffffff814eb25f>] driver_probe_device+0x7f/0x260
[   19.430209]  [<ffffffff814eb523>] __driver_attach+0xa3/0xb0
[   19.430211]  [<ffffffff814eb480>] ? __device_attach+0x40/0x40
[   19.430215]  [<ffffffff814e9193>] bus_for_each_dev+0x73/0xb0
[   19.430218]  [<ffffffff814ead6e>] driver_attach+0x1e/0x20
[   19.430220]  [<ffffffff814ea9a8>] bus_add_driver+0x178/0x230
[   19.430223]  [<ffffffff814ebd94>] driver_register+0x64/0xf0
[   19.430226]  [<ffffffff813ec014>] __pci_register_driver+0x64/0x70
[   19.430237]  [<ffffffffa0109cda>] drm_pci_init+0xfa/0x130 [drm]
[   19.430240]  [<ffffffffa0506000>] ? 0xffffffffa0506000
[   19.430258]  [<ffffffffa05060a0>] i915_init+0xa0/0xa8 [i915]
[   19.430262]  [<ffffffff810020fc>] do_one_initcall+0x8c/0x1d0
[   19.430266]  [<ffffffff81767308>] ? do_init_module+0x28/0x1ce
[   19.430269]  [<ffffffff81767341>] do_init_module+0x61/0x1ce
[   19.430273]  [<ffffffff8110746c>] load_module+0x1f6c/0x24b0
[   19.430276]  [<ffffffff81103ae0>] ? __symbol_put+0x40/0x40
[   19.430281]  [<ffffffff81107a66>] SyS_init_module+0xb6/0xe0
[   19.430285]  [<ffffffff81772f4d>] system_call_fastpath+0x16/0x1b
[   19.430287] ---[ end trace a75358bf753fdfc1 ]---


Trace #2:

[   19.451698] ------------[ cut here ]------------
[   19.451723] WARNING: CPU: 3 PID: 80 at
drivers/gpu/drm/drm_atomic.c:482 drm_atomic_check_only+0x33d/0x500
[drm]()
[   19.451780] Modules linked in: mac80211 i915 snd_hda_codec_hdmi
snd_hda_codec_realtek snd_hda_codec_generic uvcvideo snd_hda_intel
snd_hda_controller videobuf2_vmalloc snd_hda_codec videobuf2_memops
rfcomm videobuf2_core bnep v4l2_common i2c_algo_bit cdc_ether
snd_hwdep iwlwifi joydev parport_pc ppdev option videodev snd_pcm
usb_wwan drm_kms_helper usbserial usbnet cfg80211 snd_seq_midi
snd_seq_midi_event btusb snd_rawmidi bluetooth snd_seq drm snd_timer
psmouse snd_seq_device snd serio_raw samsung_laptop video lpc_ich
soundcore intel_rst wmi mac_hid lp binfmt_misc parport hid_generic
usbhid hid r8169 mii usb_storage
[   19.451784] CPU: 3 PID: 80 Comm: kworker/u16:5 Tainted: G        W
     4.0.0-rc5-1-iniza-small #1
[   19.451786] Hardware name: SAMSUNG ELECTRONICS CO., LTD.
530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[   19.451793] Workqueue: events_unbound async_run_entry_fn
[   19.451799]  ffffffffa0132b4b ffff8800d43cb7d8 ffffffff81769019
0000000000000000
[   19.451802]  0000000000000000 ffff8800d43cb818 ffffffff810757ba
2222222222222222
[   19.451805]  0000000000000030 ffff8800c8c50640 ffff8800c4853140
ffff8800cc10f400
[   19.451806] Call Trace:
[   19.451812]  [<ffffffff81769019>] dump_stack+0x4c/0x65
[   19.451815]  [<ffffffff810757ba>] warn_slowpath_common+0x8a/0xc0
[   19.451818]  [<ffffffff810758aa>] warn_slowpath_null+0x1a/0x20
[   19.451832]  [<ffffffffa011e33d>] drm_atomic_check_only+0x33d/0x500 [drm]
[   19.451836]  [<ffffffff811a1676>] ? kmemdup+0x36/0x50
[   19.451849]  [<ffffffffa011e517>] drm_atomic_commit+0x17/0x60 [drm]
[   19.451856]  [<ffffffffa029556d>]
drm_atomic_helper_plane_set_property+0x8d/0xd0 [drm_kms_helper]
[   19.451867]  [<ffffffffa010c78d>] drm_mode_plane_set_obj_prop+0x2d/0x90 [drm]
[   19.451873]  [<ffffffffa029736b>] restore_fbdev_mode+0x6b/0xf0
[drm_kms_helper]
[   19.451879]  [<ffffffffa0299449>]
drm_fb_helper_restore_fbdev_mode_unlocked+0x29/0x80 [drm_kms_helper]
[   19.451884]  [<ffffffffa02994c2>] drm_fb_helper_set_par+0x22/0x50
[drm_kms_helper]
[   19.451917]  [<ffffffffa047ef0a>] intel_fbdev_set_par+0x1a/0x60 [i915]
[   19.451920]  [<ffffffff8141d298>] fbcon_init+0x588/0x610
[   19.451924]  [<ffffffff814a276c>] visual_init+0xbc/0x120
[   19.451926]  [<ffffffff814a503e>] do_bind_con_driver+0x17e/0x3b0
[   19.451929]  [<ffffffff814a57c4>] do_take_over_console+0xb4/0x1e0
[   19.451932]  [<ffffffff814183e3>] do_fbcon_takeover+0x63/0xd0
[   19.451935]  [<ffffffff8141deed>] fbcon_event_notify+0x7ed/0x8f0
[   19.451938]  [<ffffffff8109794f>] notifier_call_chain+0x4f/0x80
[   19.451941]  [<ffffffff81097c31>] __blocking_notifier_call_chain+0x51/0x70
[   19.451943]  [<ffffffff81097c66>] blocking_notifier_call_chain+0x16/0x20
[   19.451946]  [<ffffffff8142019b>] fb_notifier_call_chain+0x1b/0x20
[   19.451948]  [<ffffffff8142243c>] register_framebuffer+0x20c/0x350
[   19.451954]  [<ffffffffa029974c>]
drm_fb_helper_initial_config+0x25c/0x3b0 [drm_kms_helper]
[   19.451979]  [<ffffffffa04801fb>] intel_fbdev_initial_config+0x1b/0x20 [i915]
[   19.451982]  [<ffffffff810995cb>] async_run_entry_fn+0x3b/0x100
[   19.451984]  [<ffffffff81090dcd>] process_one_work+0x1cd/0x550
[   19.451986]  [<ffffffff81090d56>] ? process_one_work+0x156/0x550
[   19.451988]  [<ffffffff8109150b>] worker_thread+0x6b/0x4a0
[   19.451990]  [<ffffffff810914a0>] ? rescuer_thread+0x350/0x350
[   19.451993]  [<ffffffff810967aa>] kthread+0x10a/0x120
[   19.451995]  [<ffffffff817724e0>] ? _raw_spin_unlock_irq+0x30/0x50
[   19.451998]  [<ffffffff810966a0>] ? kthread_create_on_node+0x220/0x220
[   19.452001]  [<ffffffff81772e98>] ret_from_fork+0x58/0x90
[   19.452003]  [<ffffffff810966a0>] ? kthread_create_on_node+0x220/0x220
[   19.452004] ---[ end trace a75358bf753fdfc2 ]---

If you need more details and informations, please let me know.

Attached are my kernel-config and dmesg output.

Regards,
- Sedat -

View attachment "dmesg_4.0.0-rc5-1-iniza-small.txt" of type "text/plain" (66322 bytes)

Download attachment "config-4.0.0-rc5-1-iniza-small" of type "application/octet-stream" (125161 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ