xorg hang after resume

Doron Fediuk doron.fediuck at gmail.com
Thu Aug 7 01:21:53 PDT 2008


Thanks Sérgio.

I'm referring to suspend and resume from RAM.
I'm using sys-power/suspend-0.8 in Gentoo portage (comes from http://suspend.sourceforge.net/),
which works well AFAIK. I checked with console, and resume from console works fine.
Further more, I implemented your advices regarding "AGPMode" (using 4 now), and disabled "AGPFastWrite".
Couldn't find a way to fix the following:
[dri] Found DRI library version 1.3.0 and kernel module version 1.28.0

I also removed evdev and radeonhd drivers, since I'm not using it.
Behavior is still the same, and logs show no information about the hang reason.
The strange thing is, that display starts to paint the windows (I can see the borders), and
mouse is working, but then display freezes and keyboard is stuck (I need to cold start
the machine every time- not good...)

I'd appreciate any help !
Doron.

On Thursday 07 August 2008 02:38:23 Sergio Monteiro Basto wrote:
> 1st try resume from console, btw resume resume from suspend or resume
> from hibernation.
>
> How you do the suspend?  some power manager tools can be outofdate.
>
> On Wed, 2008-08-06 at 11:26 +0300, Doron Fediuk wrote:
> > Hi,
> > I'm using T43p (M24GL [Mobility FireGL V3200] (rev 80)) with Gentoo.
> >
> > Yesterday I emerged the following:
> >      Tue Aug  5 13:35:50 2008 >>> x11-libs/xtrans-1.2.1
> >      Tue Aug  5 13:35:59 2008 >>> x11-proto/renderproto-0.9.3
> >      Tue Aug  5 13:36:09 2008 >>> x11-proto/xf86driproto-2.0.4
> >      Tue Aug  5 13:36:36 2008 >>> x11-libs/libXrender-0.9.4
> >      Tue Aug  5 13:40:53 2008 >>> media-libs/mesa-7.0.3
> >      Tue Aug  5 13:41:13 2008 >>> x11-drivers/xf86-input-keyboard-1.3.1
> >      Tue Aug  5 13:47:43 2008 >>> x11-drivers/xf86-video-ati-6.9.0
> >      Tue Aug  5 14:12:04 2008 >>> x11-base/xorg-server-1.4.2
> >      Tue Aug  5 14:13:04 2008 >>> x11-drivers/xf86-input-evdev-2.0.2
> >      Tue Aug  5 14:13:22 2008 >>> x11-drivers/xf86-input-keyboard-1.3.1
> >      Tue Aug  5 14:13:40 2008 >>> x11-drivers/xf86-input-mouse-1.3.0
> >      Tue Aug  5 14:14:47 2008 >>> x11-drivers/xf86-video-ati-6.9.0
> >      Tue Aug  5 14:15:26 2008 >>> x11-drivers/xf86-video-radeonhd-1.2.1
> >      Tue Aug  5 14:28:45 2008 >>> x11-base/x11-drm-20071019
> >
> > Finally, after more than 2.5 years, DRI started working !
> > This morning, I tried to resume and saw that X hangs right after resume.
> > At this stage I can only use the power-off button (nothing else works).
> > I double checked, and saw the same behavior.
> >
> > I need your help with debugging this issue.
> > Thanks !
> > Doron.
> >
> > unmae -a:
> > Linux doronf 2.6.25-gentoo-r7 #5 PREEMPT Thu Jul 31 17:27:26 IDT 2008
> > i686 Intel(R) Pentium(R) M processor 2.13GHz GenuineIntel GNU/Linux
> >
> > Logs:
> > 1. hibernate log tail-
> > =========================
> > ...
> > hibernate-ram: [99] Executing DoUSuspend ...
> > hibernate-ram: Running /usr/sbin/s2ram ...
> > Switching from vt15 to vt1
> > fbcon fb0 state 1
> > fbcon fb0 state 0
> > switching back to vt15
> > hibernate-ram: [91] Executing GentooModulesAutoload ...
> > hibernate-ram: [90] Executing ModulesLoad ...
> > hibernate-ram: [89] Executing RestoreKernelModprobe ...
> > hibernate-ram: [85] Executing XHacksResumeHook2 ...
> > xhacks: changing console back to 7
> > hibernate-ram: [70] Executing ClockRestore ...
> > hibernate-ram: [59] Executing RemountXFSBootRW ...
> > hibernate-ram: [12] Executing IbmAcpiEndResume ...
> > hibernate-ram: [11] Executing XHacksResumeHook1 ...
> > hibernate-ram: [01] Executing NoteLastResume ...
> > hibernate-ram: [01] Executing LockFilePut ...
> > hibernate-ram: [00] Executing MiscLaunchAuxFunc3 ...
> > Executing /usr/bin/boot-digest-check...
> > Resumed at Wed Aug 6 10:34:40 IDT 2008
> > =========================
> >
> > 2. Full X log:
> > =========================
> > X.Org X Server 1.4.2
> > Release Date: 11 June 2008
> > X Protocol Version 11, Revision 0
> > Build Operating System: Linux 2.6.25-gentoo-r7 i686
> > Current Operating System: Linux doronf 2.6.25-gentoo-r7 #5 PREEMPT Thu
> > Jul 31 17:27:26 IDT 2008 i686
> > Build Date: 05 August 2008  01:56:41PM
> >
> >         Before reporting problems, check http://wiki.x.org
> >         to make sure that you have the latest version.
> > Module Loader present
> > Markers: (--) probed, (**) from config file, (==) default setting,
> >         (++) from command line, (!!) notice, (II) informational,
> >         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> > (==) Log file: "/var/log/Xorg.0.log", Time: Wed Aug  6 09:05:33 2008
> > (==) Using config file: "/etc/X11/xorg.conf"
> > (**) Option "defaultserverlayout" "Single"
> > (**) ServerLayout "Single"
> > (**) |-->Screen "LCD-Alone" (0)
> > (**) |   |-->Monitor "LCD"
> > (**) |   |-->Device "Alone"
> > (**) |-->Input Device "Mouse1"
> > (**) |-->Input Device "Keyboard1"
> > (**) Option "StandbyTime" "20"
> > (**) Option "SuspendTime" "30"
> > (**) Option "OffTime" "60"
> > (**) Option "AutoAddDevices" "false"
> > (**) Not automatically adding devices
> >
> >
> > (II) "extmod" will be loaded. This was enabled by default and also
> > specified in the config file.
> > (II) "dbe" will be loaded. This was enabled by default and also specified
> > in the config file.
> > (II) "glx" will be loaded. This was enabled by default and also specified
> > in the config file.
> > (II) "freetype" will be loaded. This was enabled by default and also
> > specified in the config file.
> > (II) "type1" will be loaded. This was enabled by default and also
> > specified in the config file.
> > (II) "record" will be loaded. This was enabled by default and also
> > specified in the config file.
> > (II) "dri" will be loaded. This was enabled by default and also specified
> > in the config file.
> >
> > (**) RADEON(0): Option "AGPMode" "1"
>
> hum  agpMode 1  are you sure ?
>
> > (**) RADEON(0): Option "AGPFastWrite" "on"
>
> hum don't mess with it don't improve performance and can make problems
>
> > (**) RADEON(0): Option "GARTSize" "64"
> > (**) RADEON(0): Option "EnablePageFlip" "on"
> >
> >
> > (**) RADEON(0): Option "AccelDFS" "1"
> > (**) RADEON(0): Option "DynamicClocks" "on"
> > (**) RADEON(0): Option "AccelMethod" "EXA"
> >
> > (II) RADEON(0): [dri] Found DRI library version 1.3.0 and kernel module
> > version 1.28.0
>
> this might be not good
>
>
> Sérgio M.B.




More information about the xorg mailing list