From: Dave Hansen <dave.hansen@intel.com>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>,
intel-gfx <intel-gfx@lists.freedesktop.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
dri-devel <dri-devel@lists.freedesktop.org>,
Daniel Vetter <daniel.vetter@intel.com>
Subject: Re: 4.10-rc2 oops in DRM connector code
Date: Wed, 11 Jan 2017 08:16:56 -0800 [thread overview]
Message-ID: <3a9056db-3837-aefd-db9e-47a1645feecb@intel.com> (raw)
In-Reply-To: <CAKMK7uGg7ZqyY8qDkTa9zCeBmOM42+_J71kxAT_KZjyLCdHNKQ@mail.gmail.com>
On 01/11/2017 07:39 AM, Daniel Vetter wrote:
> Hm, just cherry-picked it on top of Linus' latest 4.10 git, applies
> cleanly there. The substituation was for 4.9. I can send you the patch
> here, but seems all fine from what I can tell ...
All of the printk's that I added were making it fail to apply.
So, I took a 4.10-rc3 kernel with i915 compiled in (not as a module) and
applied e73ab00e9a0f17, which I grabbed from linux-next.
I'm seeing basically the same behavior that I did before applying
e73ab00e9a0f17. sysfs_create_dir_ns() fails because of a NULL kobj->parent.
Have you guys tried testing this yourselves? It seems really easy to
reproduce if you just compile the driver in.
> [ 1.400797] drm_dev_register(ffff88040c730000)::730 cpu: 2
> [ 1.400860] drm_connector_register(ffff88040c76b000)::382 connector->registered: 0 cpu: 1
> [ 1.400870] sysfs_create_dir_ns()::53 error: -2
> [ 1.400874] create_dir()::75 error: -2 cpu: 1
> [ 1.400878] ------------[ cut here ]------------
> [ 1.400884] WARNING: CPU: 1 PID: 91 at lib/kobject.c:249 kobject_add_internal+0x273/0x330
> [ 1.400888] kobject_add_internal failed for card0-DP-3 (error: -2 parent: card0)
> [ 1.400892] Modules linked in:
> [ 1.400896] CPU: 1 PID: 91 Comm: kworker/1:2 Not tainted 4.10.0-rc3-i915borked-dirty #67
> [ 1.400900] Hardware name: LENOVO 20F5S7V800/20F5S7V800, BIOS R02ET50W (1.23 ) 09/20/2016
> [ 1.400906] Workqueue: events_long drm_dp_mst_link_probe_work
> [ 1.400909] Call Trace:
> [ 1.400914] dump_stack+0x67/0x99
> [ 1.400918] __warn+0xd1/0xf0
> [ 1.400922] warn_slowpath_fmt+0x4f/0x60
> [ 1.400925] kobject_add_internal+0x273/0x330
> [ 1.400927] kobject_add+0x65/0xb0
> [ 1.400931] ? klist_init+0x31/0x40
> [ 1.400936] device_add+0x102/0x5d0
> [ 1.400940] ? kfree_const+0x22/0x30
> [ 1.400944] device_create_groups_vargs+0xd8/0x100
> [ 1.400947] device_create_with_groups+0x36/0x40
> [ 1.400952] ? vprintk_default+0x29/0x50
> [ 1.400957] ? __might_sleep+0x4a/0x90
> [ 1.400962] drm_sysfs_connector_add+0x60/0xe0
> [ 1.400967] drm_connector_register+0x74/0xd0
> [ 1.400971] intel_dp_register_mst_connector+0x41/0x50
> [ 1.400975] drm_dp_add_port+0x350/0x450
> [ 1.400977] drm_connector_register(ffff88040ee6f800)::382 connector->registered: 0 cpu: 2
> [ 1.400982] ? rcu_early_boot_tests+0x1/0x10
> [ 1.400986] ? schedule_timeout+0x1cd/0x390
> [ 1.400989] ? __might_sleep+0x4a/0x90
> [ 1.400992] ? mutex_lock+0x25/0x50
> [ 1.400995] ? drm_dp_mst_wait_tx_reply+0x118/0x1e0
> [ 1.400996] drm_sysfs_connector_add() connector: ffff88040ee6f800 kdev: ffff88040eef9c00
> [ 1.401002] ? prepare_to_wait_event+0x120/0x120
> [ 1.401005] ? drm_dp_check_mstb_guid+0x3d/0x120
> [ 1.401008] drm_dp_send_link_address+0x185/0x1f0
> [ 1.401012] drm_dp_check_and_send_link_address+0xad/0xc0
> [ 1.401015] drm_dp_mst_link_probe_work+0x57/0xa0
> [ 1.401018] process_one_work+0x14b/0x430
> [ 1.401021] worker_thread+0x12b/0x4a0
> [ 1.401025] kthread+0x10c/0x140
> [ 1.401027] ? process_one_work+0x430/0x430
> [ 1.401030] ? kthread_create_on_node+0x40/0x40
> [ 1.401034] ret_from_fork+0x27/0x40
> [ 1.401038] ---[ end trace ba43fc250fbf282d ]---
> [ 1.401041] drm_sysfs_connector_add() connector: ffff88040c76b000 kdev: fffffffffffffffe
> [ 1.401043] drm_connector_register(ffff88040c768000)::382 connector->registered: 0 cpu: 2
> [ 1.401050] [drm:drm_sysfs_connector_add] *ERROR* failed to register connector device: -2
> [ 1.401057] drm_sysfs_connector_add() connector: ffff88040c768000 kdev: ffff88040eefa000
> [ 1.401093] drm_connector_register(ffff88040c768800)::382 connector->registered: 0 cpu: 2
> [ 1.401113] drm_sysfs_connector_add() connector: ffff88040c768800 kdev: ffff88040eefa400
> [ 1.401122] drm_connector_register(ffff88040c769000)::382 connector->registered: 0 cpu: 2
> [ 1.401140] drm_sysfs_connector_add() connector: ffff88040c769000 kdev: ffff88040eefa800
> [ 1.401167] drm_connector_register(ffff88040c769800)::382 connector->registered: 0 cpu: 2
> [ 1.401186] drm_sysfs_connector_add() connector: ffff88040c769800 kdev: ffff88040eefac00
> [ 1.401195] drm_connector_register(ffff88040c76b000)::382 connector->registered: 0 cpu: 2
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-01-11 16:16 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-05 19:03 4.10-rc2 oops in DRM connector code Dave Hansen
2017-01-05 19:53 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-01-09 10:15 ` Daniel Vetter
2017-01-09 12:59 ` Dave Hansen
2017-01-09 13:40 ` Dave Hansen
2017-01-09 13:46 ` Dave Hansen
2017-01-09 16:41 ` Daniel Vetter
2017-01-09 16:50 ` Dave Hansen
2017-01-09 16:59 ` [Intel-gfx] " Daniel Vetter
2017-01-09 17:22 ` Dave Hansen
2017-01-09 19:34 ` [Intel-gfx] " Alex Deucher
2017-01-09 17:42 ` Dave Hansen
2017-01-10 10:31 ` [Intel-gfx] " Daniel Vetter
2017-01-10 16:52 ` Dave Hansen
2017-01-11 7:43 ` [Intel-gfx] " Daniel Vetter
2017-01-11 15:24 ` Dave Hansen
2017-01-11 15:39 ` Daniel Vetter
2017-01-11 16:16 ` Dave Hansen [this message]
2017-01-11 22:25 ` [Intel-gfx] " Daniel Vetter
2017-01-11 15:40 ` Chris Wilson
2017-01-11 20:23 ` ✗ Fi.CI.BAT: warning for 4.10-rc2 oops in DRM connector code (rev2) Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3a9056db-3837-aefd-db9e-47a1645feecb@intel.com \
--to=dave.hansen@intel.com \
--cc=airlied@linux.ie \
--cc=daniel.vetter@intel.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox