Skip to contentSkip to conversation

New: Invalid ioctl during Xorg startup

Bug 98997 [email protected] 1 participant 2 messages Dec 5, 2016 – Dec 4, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=98997

Bug ID: 98997
Summary: Invalid ioctl during Xorg startup
Product: xorg
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

OS: Ubuntu 16.10
Kernel: 4.8.0-28-generic
xorg-server: 1.18.4
cpu: Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz

After connecting UDL device and restarting Xorg, Xorg tries to send invalid ioctl to that device.

Looks like Xorg enumerates existing drm devices and performs driver's platformprobe function on them regardless of their type.

syslog:

Dec  5 11:31:55 kernel: [ 1026.543315] [drm:drm_stub_open]
Dec  5 11:31:55 kernel: [ 1026.543317] [drm:drm_open_helper] pid = 4642, minor
= 0
Dec  5 11:31:55 kernel: [ 1026.543341] [drm:drm_setup]
Dec  5 11:31:55 kernel: [ 1026.543349] [drm:drm_ioctl] pid=4642, dev=0xe200,
auth=1, DRM_IOCTL_VERSION
Dec  5 11:31:55 kernel: [ 1026.543351] [drm:drm_ioctl] pid=4642, dev=0xe200,
auth=1, DRM_IOCTL_VERSION
Dec  5 11:31:55 kernel: [ 1026.543355] [drm:drm_ioctl] pid=4642, dev=0xe200,
auth=1, NOUVEAU_GETPARAM
Dec  5 11:31:55 kernel: [ 1026.543357] [drm:drm_ioctl] pid=4642, dev=0xe200,
auth=1, NOUVEAU_GETPARAM
Dec  5 11:31:55 kernel: [ 1026.543358] [drm:drm_ioctl] pid=4642, dev=0xe200,
auth=1, NOUVEAU_GETPARAM
Dec  5 11:31:55 kernel: [ 1026.543359] [drm:drm_ioctl] pid=4642, dev=0xe200,
auth=1, NOUVEAU_GETPARAM
Dec  5 11:31:55 kernel: [ 1026.543362] [drm:drm_ioctl] pid=4642, dev=0xe200,
auth=1, DRM_IOCTL_VERSION
Dec  5 11:31:55 kernel: [ 1026.543364] [drm:drm_ioctl] pid=4642, dev=0xe200,
auth=1, DRM_IOCTL_VERSION
Dec  5 11:31:55 kernel: [ 1026.543393] [drm:drm_release] open_count = 1
Dec  5 11:31:55 kernel: [ 1026.543394] [drm:drm_release] pid = 4642, device =
0xe200, open_count = 1
Dec  5 11:31:55 kernel: [ 1026.543401] [drm:drm_lastclose]
Dec  5 11:31:55 kernel: [ 1026.543401] [drm:drm_lastclose] driver lastclose
completed
Dec  5 11:31:55 kernel: [ 1026.543414] [drm:drm_stub_open]
Dec  5 11:31:55 kernel: [ 1026.543415] [drm:drm_open_helper] pid = 4642, minor
= 2
Dec  5 11:31:55 kernel: [ 1026.543416] [drm:drm_setup]
Dec  5 11:31:55 kernel: [ 1026.543418] [drm:drm_ioctl] pid=4642, dev=0xe202,
auth=1, DRM_IOCTL_VERSION
Dec  5 11:31:55 kernel: [ 1026.543419] [drm:drm_ioctl] pid=4642, dev=0xe202,
auth=1, DRM_IOCTL_VERSION
Dec  5 11:31:55 kernel: [ 1026.543421] [drm:drm_ioctl] invalid ioctl: pid=4642,
dev=0xe202, auth=1, cmd=0xc0106440, nr=0x40
Dec  5 11:31:55 kernel: [ 1026.543422] [drm:drm_ioctl] ret = -22
Dec  5 11:31:55 kernel: [ 1026.543425] [drm:drm_release] open_count = 1
Dec  5 11:31:55 kernel: [ 1026.543426] [drm:drm_release] pid = 4642, device =
0xe202, open_count = 1
Dec  5 11:31:55 kernel: [ 1026.543427] [drm:drm_lastclose]
Dec  5 11:31:55 kernel: [ 1026.543427] [drm:drm_lastclose] driver lastclose

completed

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): bug-98997-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 98997] Invalid ioctl during Xorg startup

https://bugs.freedesktop.org/show_bug.cgi?id=98997

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #1 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/309.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau