bugzilla-daemon at freedesktop.org
2016-Dec-05 12:20 UTC
[Nouveau] [Bug 98997] New: Invalid ioctl during Xorg startup
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>
bugzilla-daemon at freedesktop.org
2019-Dec-04 09:22 UTC
[Nouveau] [Bug 98997] Invalid ioctl during Xorg startup
https://bugs.freedesktop.org/show_bug.cgi?id=98997 Martin Peres <martin.peres at free.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |MOVED --- Comment #1 from Martin Peres <martin.peres at free.fr> --- -- 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. -- 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/20191204/e4c22b89/attachment.html>
Reasonably Related Threads
- [Bug 11868] New: Starting X for the second time fails (without reloading drm modules)
- RESEND [Xen-unstable][Qemu-xen] HVM Guest reading of Expansion ROM from passthroughed PCI device returns data from emulated VGA rom
- [PATCH v2 1/9] drm: Do delayed switcheroo in drm_lastclose()
- [PATCH v2 1/9] drm: Do delayed switcheroo in drm_lastclose()
- [PATCH v2 1/9] drm: Do delayed switcheroo in drm_lastclose()