[Nouveau] [Bug 98997] New: Invalid ioctl during Xorg startup

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 5 12:20:46 UTC 2016


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: nouveau at lists.freedesktop.org
          Reporter: reptm at mail.com
        QA Contact: xorg-team at lists.x.org

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20161205/73cb54c6/attachment.html>


More information about the Nouveau mailing list