#514027 [uswsusp] aborting suspend while image is being written on disk crashes X server

Package:
xserver-xorg-video-nouveau
Source:
xserver-xorg-video-nouveau
Description:
X.Org X server -- Nouveau display driver
Submitter:
Heiner Markert
Date:
2013-11-27 00:18:06 UTC
Severity:
normal
#514027#5
Date:
2009-02-03 14:46:53 UTC
From:
To:
--- Please enter the report below this line. ---

When I abort the suspend cycle by pressing "backspace" while the image is
written to disk, the X server crashes. If the suspend cycle is not aborted,
suspend to disk works fine without crashing X.

Debian Release: 5.0
  700 testing         www.debian-multimedia.org
  700 testing         security.debian.org
  700 testing         ftp2.de.debian.org
  700 testing         deb.opera.com
    1 experimental    ftp2.de.debian.org
--- Package information. ---
Depends               (Version) | Installed
===============================-+-================
libc6                (>= 2.7-1) | 2.7-18
libgcc1         (>= 1:4.1.1-21) | 1:4.3.2-1.1
libgcrypt11          (>= 1.4.0) | 1.4.1-1
liblzo2-2                       | 2.03-1
libpci3                         | 1:3.0.0-6
libsplashy1                     | 0.3.13-3
libx86-1            (>= 0.99-1) | 1.1+ds1-2
debconf               (>= 0.5)  | 1.5.24
 OR debconf-2.0                 |

#514027#10
Date:
2013-11-23 12:59:22 UTC
From:
To:
Hi,

I can confirm this bug. On console, with X11 running, no problem.

Thanks for your report.
kix

#514027#21
Date:
2013-11-25 11:39:39 UTC
From:
To:
Hi,

I tested the s2disk in other machine (Lenovo X61, with intel video
card) and the problem is not reproducible.

The problem, in the machine with problems (NVidia Card) is in the
function restore_console (in suspend.c) here:

http://git.kernel.org/cgit/linux/kernel/git/rafael/suspend-utils.git/tree/suspend.c#n1900

Exactly in the call "error = ioctl(fd, VT_ACTIVATE, orig_vc);"

The screen goes to blank, with the backlight enabled, and the system
stops. IMO, the problem seems to be in the video card module/driver.

Cheers,
kix

#514027#26
Date:
2013-11-25 12:10:11 UTC
From:
To:
Indeed, it seems to be caused by 'opensource' Radeon drivers.

Thanks

Michal

#514027#31
Date:
2013-11-25 12:53:53 UTC
From:
To:
Hi,

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594569

Seems the same problem. But I have the problem with noveau driver.
Probably I will clone the bug and reassign it to both drivers. I will
test today if the problem is reproducible with propietary drivers or
with the experimental version of noveau.

Cheers,
kix

Michal Suchanek <hramrach@gmail.com> escribió:

#514027#36
Date:
2013-11-27 00:11:42 UTC
From:
To:
Hi,

I tried the testing/unstable version of xserver-xorg-video-nouveau and the problem continues.

I will reassign this bug to xserver-xorg-video-nouveau, but it could apply to xserver-xorg-video-radeon (we need that Heiner confirm it).

Cheers,
kix