Bug 1451009
Summary: | X crashes on undocking of laptop | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Florian Engel <florian.engel> |
Component: | xorg-x11-drv-nouveau | Assignee: | Ray Strode [halfline] <rstrode> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 25 | CC: | airlied, ajax, bskeggs, fweimer, normand, rs, rstrode |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | xorg-x11-drv-nouveau-1.0.15-2.fc25 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-05-23 00:41:03 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Florian Engel
2017-05-15 14:45:23 UTC
I'm seeing this too, also on a P50. One difference - I'm using the KDE spin, not Gnome. Started after a dnf update... May 10 23:25:59 DEBUG ---> Package xorg-x11-drv-nouveau.x86_64 1:1.0.13-1.fc25 will be upgraded May 10 23:25:59 DEBUG ---> Package xorg-x11-drv-nouveau.x86_64 1:1.0.15-1.fc25 will be an upgrade log excerpt: May 12 08:59:37 p50 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' May 12 08:59:37 p50 kernel: audit: type=1131 audit(1494593977.588:246): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' May 12 08:59:38 p50 kernel: usb 1-4: USB disconnect, device number 2 May 12 08:59:38 p50 kernel: usb 1-4.4: USB disconnect, device number 4 May 12 08:59:38 p50 kernel: usb 1-4.4.2: USB disconnect, device number 6 May 12 08:59:38 p50 kernel: usb 2-4: USB disconnect, device number 2 May 12 08:59:38 p50 kernel: usb 2-4.4: USB disconnect, device number 3 May 12 08:59:38 p50 kernel: thinkpad_acpi: undocked from hotplug port replicator May 12 08:59:38 p50 audit[4097]: AVC avc: denied { write } for pid=4097 comm="iw" path="/run/tlp/lock_tlp" dev="tmpfs" ino=25523 scontext=system_u:system_r:ifconfig_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tlp_var_run_t:s0 tclass=file permissive=0 May 12 08:59:38 p50 kernel: audit: type=1400 audit(1494593978.747:247): avc: denied { write } for pid=4097 comm="iw" path="/run/tlp/lock_tlp" dev="tmpfs" ino=25523 scontext=system_u:system_r:ifconfig_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tlp_var_run_t:s0 tclass=file permissive=0 May 12 08:59:38 p50 audit[4100]: AVC avc: denied { write } for pid=4100 comm="ethtool" path="/run/tlp/lock_tlp" dev="tmpfs" ino=25523 scontext=system_u:system_r:ifconfig_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tlp_var_run_t:s0 tclass=file permissive=0 May 12 08:59:38 p50 kernel: audit: type=1400 audit(1494593978.758:248): avc: denied { write } for pid=4100 comm="ethtool" path="/run/tlp/lock_tlp" dev="tmpfs" ino=25523 scontext=system_u:system_r:ifconfig_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tlp_var_run_t:s0 tclass=file permissive=0 May 12 08:59:38 p50 kernel: e1000e: enp0s31f6 NIC Link is Down May 12 08:59:38 p50 plasmashell[2094]: networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "RxBytes" May 12 08:59:38 p50 plasmashell[2094]: networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "TxBytes" May 12 08:59:38 p50 kdeinit5[2034]: colord: Failed to register device: "device id 'xrandr-Sharp Corporation' already exists" May 12 08:59:38 p50 kdeinit5[2034]: colord: EDID ICC Profile already exists "/home/rstory/.local/share/icc/edid-5cd97fdd84cf5f4c0793de4c7ea16d4d.icc" May 12 08:59:38 p50 kdeinit5[2034]: networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "RxBytes" May 12 08:59:38 p50 kdeinit5[2034]: networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "TxBytes" May 12 08:59:39 p50 dbus-daemon[1073]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.39' (uid=20210 pid=2192 comm="/usr/libexec/org_kde_powerdevil -session 1023c1a61" label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023") (using servicehelper) May 12 08:59:39 p50 dbus-daemon[1073]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper' May 12 08:59:39 p50 kernel: thinkpad_acpi: EC reports that Thermal Table has changed May 12 08:59:39 p50 kernel: nouveau 0000:01:00.0: disp: 0x64a8[0]: INIT_GENERIC_CONDITON: unknown 0x07 May 12 08:59:39 p50 audit[1278]: ANOM_ABEND auid=4294967295 uid=0 gid=0 ses=4294967295 subj=system_u:system_r:xserver_t:s0-s0:c0.c1023 pid=1278 comm="Xorg" exe="/usr/libexec/Xorg" sig=6 May 12 08:59:39 p50 kernel: audit: type=1701 audit(1494593979.730:249): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=system_u:system_r:xserver_t:s0-s0:c0.c1023 pid=1278 comm="Xorg" exe="/usr/libexec/Xorg" sig=6 May 12 08:59:39 p50 abrt-hook-ccpp[4174]: Process 1278 (Xorg) of user 0 killed by SIGABRT - dumping core May 12 08:59:40 p50 at-spi-bus-launcher[3806]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" May 12 08:59:40 p50 at-spi-bus-launcher[3806]: after 29 requests (29 known processed) with 0 events remaining. May 12 08:59:40 p50 akonadi_newmailnotifier_agent[3511]: The X11 connection broke (error 1). Did the X11 server die? after 'dnf downgrade xorg-x11-drv-nouveau', Xorg survives an undock. Unfortunately, machine hangs upon a redock, which I suppose warrants a new bug. I've had the re-dock issue for a while on newer kernels. It was working on 4.10.8, until the latest dnf update. I can confirm your workaround. Downgrading nouveau did indeed fix the crash. I changed the component to nouveau, since you have the same problem with KDM. Regarding your re-dock issue: I am using 4.10.14 and everything works like a charm. Maybe your re-dock problem is indeed related to KDE/KWM? possible dup of #1426245 For those downgrading xorg-x11-drv-nouveau, can you confirm that you're seeing the 'modesetting' driver being used on the older version, and not nouveau? The newer nouveau versions add support for Maxwell/Pascal (against my recommendation...), however, the nouveau DDX cannot handle DP MST hotplugging, which at least the P50 dock makes use of. I suspect this is the cause of the dock issues on the newer version. In F26/rawhide, I've modified the xserver to autoconfigure 'modesetting' on new NVIDIA GPUs. For F25, I'll probably submit a revert patch for just Maxwell/Pascal. # egrep "modesetting|nouveau" /var/log/Xorg.0.log [ 21.964] (==) Matched nouveau as autoconfigured driver 1 [ 21.964] (==) Matched modesetting as autoconfigured driver 4 [ 21.966] (II) LoadModule: "nouveau" [ 21.966] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so [ 21.967] (II) Module nouveau: vendor="X.Org Foundation" [ 21.967] (II) LoadModule: "modesetting" [ 21.967] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so [ 21.968] (II) Module modesetting: vendor="X.Org Foundation" [ 21.968] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 22.079] (II) [drm] nouveau interface version: 1.3.1 [ 62.975] (II) modeset(G0): [DRI2] DRI driver: nouveau [ 62.975] (II) modeset(G0): [DRI2] VDPAU driver: nouveau (In reply to Robert Story from comment #7) > # egrep "modesetting|nouveau" /var/log/Xorg.0.log > [ 21.964] (==) Matched nouveau as autoconfigured driver 1 > [ 21.964] (==) Matched modesetting as autoconfigured driver 4 > [ 21.966] (II) LoadModule: "nouveau" > [ 21.966] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so > [ 21.967] (II) Module nouveau: vendor="X.Org Foundation" > [ 21.967] (II) LoadModule: "modesetting" > [ 21.967] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so > [ 21.968] (II) Module modesetting: vendor="X.Org Foundation" > [ 21.968] (II) modesetting: Driver for Modesetting Kernel Drivers: kms > [ 22.079] (II) [drm] nouveau interface version: 1.3.1 > [ 62.975] (II) modeset(G0): [DRI2] DRI driver: nouveau > [ 62.975] (II) modeset(G0): [DRI2] VDPAU driver: nouveau And it works correctly in this configuration? In the failing configuration, you see "NOUVEAU(G0)" instead yeah? Yes, this configuration works. Unfortunately I did not save an Xorg log from the failing configuration. I will upgrade the driver back to the current version later and run the same egrep against the log file. Here is my output with 1.0.15. It is like you said... [f.engel@gerty xorg]$ egrep "modesetting|nouveau" Xorg.1.log [ 7786.194] (==) Matched nouveau as autoconfigured driver 1 [ 7786.194] (==) Matched modesetting as autoconfigured driver 4 [ 7786.194] (II) LoadModule: "nouveau" [ 7786.194] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so [ 7786.194] (II) Module nouveau: vendor="X.Org Foundation" [ 7786.194] (II) LoadModule: "modesetting" [ 7786.194] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so [ 7786.194] (II) Module modesetting: vendor="X.Org Foundation" [ 7786.195] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 7786.196] (II) [drm] nouveau interface version: 1.3.1 [ 7786.411] (II) NOUVEAU(G0): [DRI2] DRI driver: nouveau [ 7786.411] (II) NOUVEAU(G0): [DRI2] VDPAU driver: nouveau if anyone else sees docking issues after downgrading nouveau so that undocking works, head over to bz#1452697 and chime in. (Note: first dock works if you boot/login while undocked. It's the second one that gets you.) xorg-x11-drv-nouveau-1.0.15-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-0031ce08bf update works for me.. xorg-x11-drv-nouveau-1.0.15-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-0031ce08bf xorg-x11-drv-nouveau-1.0.15-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. Thank you, the new version fixes the problem for me. Unfortunately, my external display is not detected anymore after I re-dock the laptop, but I think this is another bug. |