[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Suspend to RAM breaks xorg in lenny (cornercase?)



Hello,

I am running lenny and when I suspend to RAM (with kpowersave) I cannot start 
a second X server running in parallel to the first one anymore. Before the 
suspend that works flawless. I am posting to debian-devel to get some 
guidance which package is the right one for a bugreport.

What I did:

Suspend to ram (syslog entry):

Jun 14 18:51:55 blackbox kernel: [  123.484919] PM: Syncing filesystems ... 
done.
Jun 14 18:51:55 blackbox kernel: [  123.488000] Freezing user space 
processes ... (elapsed 0.00 seconds) done.
Jun 14 18:51:55 blackbox kernel: [  123.489034] Freezing remaining freezable 
tasks ... (elapsed 0.00 seconds) done.
Jun 14 18:51:55 blackbox kernel: [  123.489034] Suspending console(s)
Jun 14 18:51:55 blackbox kernel: [  123.489034] ACPI: PCI interrupt for device 
0000:00:02.0 disabled
Jun 14 18:51:55 blackbox kernel: [  123.510097] sd 1:0:0:0: [sda] 
Synchronizing SCSI cache
Jun 14 18:51:55 blackbox kernel: [  123.529044] sd 1:0:0:0: [sda] Stopping 
disk
Jun 14 18:51:55 blackbox kernel: [  124.587814] ACPI handle has no context!
Jun 14 18:51:55 blackbox kernel: [  124.588298] serial 00:09: disabled
Jun 14 18:51:55 blackbox kernel: [  124.593321] ACPI handle has no context!
Jun 14 18:51:55 blackbox kernel: [  124.616568] ACPI handle has no context!
Jun 14 18:51:55 blackbox kernel: [  124.616581] ACPI: PCI interrupt for device 
0000:01:00.0 disabled
Jun 14 18:51:55 blackbox kernel: [  124.616586] ACPI handle has no context!
Jun 14 18:51:55 blackbox kernel: [  124.751164] ACPI: PCI interrupt for device 
0000:00:1d.7 disabled
Jun 14 18:51:55 blackbox kernel: [  124.767102] ACPI: PCI interrupt for device 
0000:00:1d.2 disabled
Jun 14 18:51:55 blackbox kernel: [  124.767134] ACPI: PCI interrupt for device 
0000:00:1d.1 disabled
Jun 14 18:51:55 blackbox kernel: [  124.767165] ACPI: PCI interrupt for device 
0000:00:1d.0 disabled
Jun 14 18:51:55 blackbox kernel: [  124.798981] ACPI: PCI interrupt for device 
0000:00:1b.0 disabled
Jun 14 18:51:55 blackbox kernel: [  124.799015] ACPI handle has no context!
Jun 14 18:51:55 blackbox kernel: [  124.814997] ACPI: PCI interrupt for device 
0000:00:1a.7 disabled
Jun 14 18:51:55 blackbox kernel: [  124.830988] ACPI: PCI interrupt for device 
0000:00:1a.2 disabled
Jun 14 18:51:55 blackbox kernel: [  124.831019] ACPI: PCI interrupt for device 
0000:00:1a.1 disabled
Jun 14 18:51:55 blackbox kernel: [  124.831050] ACPI: PCI interrupt for device 
0000:00:1a.0 disabled
Jun 14 18:51:55 blackbox kernel: [  124.831206] ACPI: Preparing to enter 
system sleep state S3
Jun 14 18:51:55 blackbox kernel: [  124.831692] Disabling non-boot CPUs ...
Jun 14 18:51:55 blackbox kernel: [  124.831700] CPU0 attaching NULL 
sched-domain.
Jun 14 18:51:55 blackbox kernel: [  124.831702] CPU1 attaching NULL 
sched-domain.
Jun 14 18:51:55 blackbox kernel: [  124.949015] CPU 1 is now offline
Jun 14 18:51:55 blackbox kernel: [  124.949017] SMP alternatives: switching to 
UP code
Jun 14 18:51:55 blackbox kernel: [  124.957962] CPU0 attaching sched-domain:
Jun 14 18:51:55 blackbox kernel: [  124.957963]  domain 0: span 0
Jun 14 18:51:55 blackbox kernel: [  124.957964]   groups: 0
Jun 14 18:51:55 blackbox kernel: [  124.958062] CPU1 is down
Jun 14 18:51:55 blackbox kernel: [  124.958117] Extended CMOS year: 2000
Jun 14 18:51:55 blackbox kernel: [  124.958117] Intel machine check 
architecture supported.
Jun 14 18:51:55 blackbox kernel: [  124.958121] Intel machine check reporting 
enabled on CPU#0.
Jun 14 18:51:55 blackbox kernel: [  124.958153] Back to C!
Jun 14 18:51:55 blackbox kernel: [  124.958361] Extended CMOS year: 2000
Jun 14 18:51:55 blackbox kernel: [  124.958421] Enabling non-boot CPUs ...
Jun 14 18:51:55 blackbox kernel: [  124.958498] CPU0 attaching NULL 
sched-domain.
Jun 14 18:51:55 blackbox kernel: [  124.958553] SMP alternatives: switching to 
SMP code
Jun 14 18:51:55 blackbox kernel: [  124.967665] Booting processor 1/1 ip 6000
Jun 14 18:51:55 blackbox kernel: [  124.976915] Initializing CPU#1
Jun 14 18:51:55 blackbox kernel: [  124.976915] Calibrating delay using timer 
specific routine.. 5343.20 BogoMIPS (lpj=10686404)
Jun 14 18:51:55 blackbox kernel: [  124.976915] CPU: L1 I cache: 32K, L1 D 
cache: 32K
Jun 14 18:51:55 blackbox kernel: [  124.976915] CPU: L2 cache: 4096K
Jun 14 18:51:55 blackbox kernel: [  124.976915] CPU: Physical Processor ID: 0
Jun 14 18:51:55 blackbox kernel: [  124.976915] CPU: Processor Core ID: 1
Jun 14 18:51:55 blackbox kernel: [  124.976915] Intel machine check 
architecture supported.
Jun 14 18:51:55 blackbox kernel: [  124.976915] Intel machine check reporting 
enabled on CPU#1.
Jun 14 18:51:55 blackbox kernel: [  125.056726] CPU1: Intel(R) Core(TM)2 Duo 
CPU     E6750  @ 2.66GHz stepping 0b
Jun 14 18:51:55 blackbox kernel: [  125.056735] checking TSC synchronization 
[CPU#0 -> CPU#1]: passed.
Jun 14 18:51:55 blackbox kernel: [  125.076742] CPU0 attaching sched-domain:
Jun 14 18:51:55 blackbox kernel: [  125.076744]  domain 0: span 0-1
Jun 14 18:51:55 blackbox kernel: [  125.076745]   groups: 0 1
Jun 14 18:51:55 blackbox kernel: [  125.076747] CPU1 attaching sched-domain:
Jun 14 18:51:55 blackbox kernel: [  125.076748]  domain 0: span 0-1
Jun 14 18:51:55 blackbox kernel: [  125.076749]   groups: 1 0
Jun 14 18:51:55 blackbox kernel: [  124.976915] CPU1 is up
Jun 14 18:51:55 blackbox kernel: [  124.976915] PM: Writing back config space 
on device 0000:00:02.0 at offset 8 (was 1, writing cc01)
Jun 14 18:51:55 blackbox kernel: [  124.976915] PM: Writing back config space 
on device 0000:00:02.0 at offset 2 (was 3800003, writing 3000003)
Jun 14 18:51:55 blackbox kernel: [  124.976915] PM: Writing back config space 
on device 0000:00:02.0 at offset 1 (was 900007, writing 900003)
Jun 14 18:51:55 blackbox kernel: [  125.100893] Switched to high resolution 
mode on CPU 1
Jun 14 18:51:55 blackbox kernel: [  125.107204] PM: Writing back config space 
on device 0000:00:02.0 at offset 2 (was 3800003, writing 3000003)
Jun 14 18:51:55 blackbox kernel: [  125.107217] PM: Writing back config space 
on device 0000:00:02.1 at offset 4 (was 0, writing fe900000)
Jun 14 18:51:55 blackbox kernel: [  125.107220] PM: Writing back config space 
on device 0000:00:02.1 at offset 1 (was 900000, writing 900007)
Jun 14 18:51:55 blackbox kernel: [  125.107231] ACPI: PCI Interrupt 
0000:00:1a.0[A] -> GSI 16 (level, low) -> IRQ 16
Jun 14 18:51:55 blackbox kernel: [  125.107235] PCI: Setting latency timer of 
device 0000:00:1a.0 to 64
Jun 14 18:51:55 blackbox kernel: [  125.107273] usb usb1: root hub lost power 
or was reset
Jun 14 18:51:55 blackbox kernel: [  125.107292] ACPI: PCI Interrupt 
0000:00:1a.1[B] -> GSI 21 (level, low) -> IRQ 21
Jun 14 18:51:55 blackbox kernel: [  125.107297] PCI: Setting latency timer of 
device 0000:00:1a.1 to 64
Jun 14 18:51:55 blackbox kernel: [  125.107333] usb usb2: root hub lost power 
or was reset
Jun 14 18:51:55 blackbox kernel: [  125.107349] ACPI: PCI Interrupt 
0000:00:1a.2[C] -> GSI 18 (level, low) -> IRQ 18
Jun 14 18:51:55 blackbox kernel: [  125.107353] PCI: Setting latency timer of 
device 0000:00:1a.2 to 64
Jun 14 18:51:55 blackbox kernel: [  125.107389] usb usb3: root hub lost power 
or was reset
Jun 14 18:51:55 blackbox kernel: [  125.120902] ACPI: PCI Interrupt 
0000:00:1a.7[C] -> GSI 18 (level, low) -> IRQ 18
Jun 14 18:51:55 blackbox kernel: [  125.120906] PCI: Setting latency timer of 
device 0000:00:1a.7 to 64
Jun 14 18:51:55 blackbox kernel: [  125.136899] PM: Writing back config space 
on device 0000:00:1b.0 at offset 1 (was 100006, writing 100002)
Jun 14 18:51:55 blackbox kernel: [  125.136913] ACPI: PCI Interrupt 
0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
Jun 14 18:51:55 blackbox kernel: [  125.136918] PCI: Setting latency timer of 
device 0000:00:1b.0 to 64
Jun 14 18:51:55 blackbox kernel: [  125.234223] PM: Writing back config space 
on device 0000:00:1c.0 at offset f (was 20100, writing 2010a)
Jun 14 18:51:55 blackbox kernel: [  125.234237] PM: Writing back config space 
on device 0000:00:1c.0 at offset 1 (was 100106, writing 100506)
Jun 14 18:51:55 blackbox kernel: [  125.234259] PCI: Setting latency timer of 
device 0000:00:1c.0 to 64
Jun 14 18:51:55 blackbox kernel: [  125.234269] PM: Writing back config space 
on device 0000:00:1c.4 at offset f (was 20100, writing 2010a)
Jun 14 18:51:55 blackbox kernel: [  125.234279] PM: Writing back config space 
on device 0000:00:1c.4 at offset 7 (was 2000d0d0, writing d0d0)
Jun 14 18:51:55 blackbox kernel: [  125.234285] PM: Writing back config space 
on device 0000:00:1c.4 at offset 1 (was 100105, writing 100505)
Jun 14 18:51:55 blackbox kernel: [  125.234307] PCI: Setting latency timer of 
device 0000:00:1c.4 to 64
Jun 14 18:51:55 blackbox kernel: [  125.234317] PM: Writing back config space 
on device 0000:00:1c.5 at offset f (was 20200, writing 2020b)
Jun 14 18:51:55 blackbox kernel: [  125.234326] PM: Writing back config space 
on device 0000:00:1c.5 at offset 7 (was f0, writing 200000f0)
Jun 14 18:51:55 blackbox kernel: [  125.234332] PM: Writing back config space 
on device 0000:00:1c.5 at offset 1 (was 100106, writing 100506)
Jun 14 18:51:55 blackbox kernel: [  125.234354] PCI: Setting latency timer of 
device 0000:00:1c.5 to 64
Jun 14 18:51:55 blackbox kernel: [  125.234363] ACPI: PCI Interrupt 
0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 23
Jun 14 18:51:55 blackbox kernel: [  125.234367] PCI: Setting latency timer of 
device 0000:00:1d.0 to 64
Jun 14 18:51:55 blackbox kernel: [  125.234406] usb usb5: root hub lost power 
or was reset
Jun 14 18:51:55 blackbox kernel: [  125.234421] ACPI: PCI Interrupt 
0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
Jun 14 18:51:55 blackbox kernel: [  125.234425] PCI: Setting latency timer of 
device 0000:00:1d.1 to 64
Jun 14 18:51:55 blackbox kernel: [  125.234462] usb usb6: root hub lost power 
or was reset
Jun 14 18:51:55 blackbox kernel: [  125.234479] ACPI: PCI Interrupt 
0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
Jun 14 18:51:55 blackbox kernel: [  125.234482] PCI: Setting latency timer of 
device 0000:00:1d.2 to 64
Jun 14 18:51:55 blackbox kernel: [  125.234520] usb usb7: root hub lost power 
or was reset
Jun 14 18:51:55 blackbox kernel: [  125.248897] ACPI: PCI Interrupt 
0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 23
Jun 14 18:51:55 blackbox kernel: [  125.248897] PCI: Setting latency timer of 
device 0000:00:1d.7 to 64
Jun 14 18:51:55 blackbox kernel: [  125.248897] PM: Writing back config space 
on device 0000:00:1e.0 at offset f (was 20000, writing 200ff)
Jun 14 18:51:55 blackbox kernel: [  125.248897] PCI: Setting latency timer of 
device 0000:00:1e.0 to 64
Jun 14 18:51:55 blackbox kernel: [  125.264437] PM: Writing back config space 
on device 0000:00:1f.2 at offset 1 (was 2b00007, writing 2b00407)
Jun 14 18:51:55 blackbox kernel: [  125.264465] PCI: Setting latency timer of 
device 0000:00:1f.2 to 64
Jun 14 18:51:55 blackbox kernel: [  126.572538] ACPI: PCI Interrupt 
0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
Jun 14 18:51:55 blackbox kernel: [  126.588431] PM: Writing back config space 
on device 0000:01:00.0 at offset f (was 100, writing 10a)
Jun 14 18:51:55 blackbox kernel: [  126.588439] PM: Writing back config space 
on device 0000:01:00.0 at offset c (was 0, writing feaa0000)
Jun 14 18:51:55 blackbox kernel: [  126.588455] PM: Writing back config space 
on device 0000:01:00.0 at offset 3 (was 0, writing 8)
Jun 14 18:51:55 blackbox kernel: [  126.588462] PM: Writing back config space 
on device 0000:01:00.0 at offset 1 (was 100000, writing 100006)
Jun 14 18:51:55 blackbox kernel: [  126.588483] ACPI: PCI Interrupt 
0000:01:00.0[A] -> GSI 17 (level, low) -> IRQ 17
Jun 14 18:51:55 blackbox kernel: [  126.588489] PCI: Setting latency timer of 
device 0000:01:00.0 to 64
Jun 14 18:51:55 blackbox kernel: [  126.596749] atl1 0000:01:00.0: eth0 link 
is up 100 Mbps full duplex
Jun 14 18:51:55 blackbox kernel: [  126.596758] PM: Writing back config space 
on device 0000:04:00.0 at offset f (was 1ff, writing 10b)
Jun 14 18:51:55 blackbox kernel: [  126.596766] PM: Writing back config space 
on device 0000:04:00.0 at offset 9 (was 1, writing e081)
Jun 14 18:51:55 blackbox kernel: [  126.596770] PM: Writing back config space 
on device 0000:04:00.0 at offset 8 (was 1, writing e401)
Jun 14 18:51:55 blackbox kernel: [  126.596773] PM: Writing back config space 
on device 0000:04:00.0 at offset 7 (was 1, writing e481)
Jun 14 18:51:55 blackbox kernel: [  126.596777] PM: Writing back config space 
on device 0000:04:00.0 at offset 6 (was 1, writing e801)
Jun 14 18:51:55 blackbox kernel: [  126.596781] PM: Writing back config space 
on device 0000:04:00.0 at offset 5 (was 1, writing e881)
Jun 14 18:51:55 blackbox kernel: [  126.596784] PM: Writing back config space 
on device 0000:04:00.0 at offset 4 (was 1, writing ec01)
Jun 14 18:51:55 blackbox kernel: [  126.596788] PM: Writing back config space 
on device 0000:04:00.0 at offset 3 (was 8, writing 4008)
Jun 14 18:51:55 blackbox kernel: [  126.596792] PM: Writing back config space 
on device 0000:04:00.0 at offset 1 (was 2800000, writing 2800003)
Jun 14 18:51:55 blackbox kernel: [  126.665469] ohci1394: fw-host0: OHCI-1394 
1.1 (PCI): IRQ=[16]  MMIO=[febff800-febfffff]  Max Packet=[2048]  IR/IT 
contexts=[4/8]
Jun 14 18:51:55 blackbox kernel: [  126.673492] serial 00:09: activated
Jun 14 18:51:55 blackbox kernel: [  126.892923] ata4: SATA link down (SStatus 
0 SControl 300)
Jun 14 18:51:55 blackbox kernel: [  126.892934] ata3: SATA link down (SStatus 
0 SControl 300)
Jun 14 18:51:55 blackbox kernel: [  126.892945] ata6: SATA link down (SStatus 
0 SControl 300)
Jun 14 18:51:55 blackbox kernel: [  126.892956] ata5: SATA link down (SStatus 
0 SControl 300)
Jun 14 18:51:55 blackbox kernel: [  127.056917] ata1: SATA link up 1.5 Gbps 
(SStatus 113 SControl 300)
Jun 14 18:51:55 blackbox kernel: [  127.063509] ata1.00: configured for 
UDMA/100
Jun 14 18:51:55 blackbox kernel: [  127.952517] usb 1-2: reset low speed USB 
device using uhci_hcd and address 3
Jun 14 18:51:55 blackbox kernel: [  128.366657] sd 1:0:0:0: [sda] Starting 
disk
Jun 14 18:51:55 blackbox kernel: [  132.988632] ata2: SATA link up 3.0 Gbps 
(SStatus 123 SControl 300)
Jun 14 18:51:55 blackbox kernel: [  133.011103] ata2.00: configured for 
UDMA/133
Jun 14 18:51:55 blackbox kernel: [  133.024662] sd 1:0:0:0: [sda] 976773168 
512-byte hardware sectors (500108 MB)
Jun 14 18:51:55 blackbox kernel: [  133.024675] sd 1:0:0:0: [sda] Write 
Protect is off
Jun 14 18:51:55 blackbox kernel: [  133.024677] sd 1:0:0:0: [sda] Mode Sense: 
00 3a 00 00
Jun 14 18:51:55 blackbox kernel: [  133.024699] sd 1:0:0:0: [sda] Write cache: 
enabled, read cache: enabled, doesn't support DPO or FUA
Jun 14 18:51:55 blackbox kernel: [  133.029026] hda: host max PIO5 wanted 
PIO255(auto-tune) selected PIO4
Jun 14 18:51:55 blackbox kernel: [  133.029026] hda: UDMA/100 mode selected
Jun 14 18:51:55 blackbox kernel: [  133.044628] PM: Writing back config space 
on device 0000:00:02.0 at offset 2 (was 3800003, writing 3000003)
Jun 14 18:51:55 blackbox kernel: [  133.044638] ACPI: PCI Interrupt 
0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
Jun 14 18:51:55 blackbox kernel: [  133.044642] PCI: Setting latency timer of 
device 0000:00:02.0 to 64
Jun 14 18:51:55 blackbox kernel: [  133.046490] Restarting tasks ... done.
Jun 14 18:51:55 blackbox acpid: client 3362[0:0] has disconnected
Jun 14 18:51:55 blackbox acpid: client connected from 3362[0:0]
Jun 14 18:51:55 blackbox kernel: [  133.112451] lp0 out of paper
Jun 14 18:52:04 blackbox acpid: client 3362[0:0] has disconnected
Jun 14 18:52:04 blackbox acpid: client connected from 4102[0:0]
Jun 14 18:52:05 blackbox kernel: [  143.591744] lp0 off-line
Jun 14 18:52:05 blackbox acpid: client 4102[0:0] has disconnected
Jun 14 18:52:05 blackbox acpid: client connected from 3362[0:0]
Jun 14 18:52:05 blackbox kdm[3357]: X server for display :1 terminated 
unexpectedly
Jun 14 18:52:05 blackbox kdm[3357]: Unable to fire up local display :1; 
disabling.
Jun 14 18:52:14 blackbox acpid: client connected from 4142[0:0]
Jun 14 18:52:15 blackbox acpid: client 3362[0:0] has disconnected
Jun 14 18:52:15 blackbox acpid: client 4142[0:0] has disconnected
Jun 14 18:52:15 blackbox acpid: client connected from 3362[0:0]
Jun 14 18:52:15 blackbox kdm[3357]: X server for display :2 terminated 
unexpectedly
Jun 14 18:52:15 blackbox kdm[3357]: Unable to fire up local display :2; 
disabling.

After that I try to start a second X server (by starting a KDE session for a 
second user) and get

X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.2-10.lenny1)
Current Operating System: Linux blackbox 2.6.26-2-686 #1 SMP Thu May 28 
15:39:35 UTC 2009 i686
Build Date: 15 March 2009  03:18:10PM

        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.1.log", Time: Sun Jun 14 18:52:03 2009
(EE) Unable to locate/open config file
Primary device is not PCI
Could not get primary PCI info
(==) Using default built-in configuration (44 lines)
(EE) open /dev/fb0: No such file or directory
(EE) No devices detected.

Fatal server error:
no screens found


If I try to start a second X server the same way before I did a suspend to 
RAM, that works flawless:

X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.2-10.lenny1)
Current Operating System: Linux blackbox 2.6.26-2-686 #1 SMP Thu May 28 
15:39:35 UTC 2009 i686
Build Date: 15 March 2009  03:18:10PM

        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.1.log", Time: Sun Jun 14 20:00:09 2009
(EE) Unable to locate/open config file
New driver is "intel"
(==) Using default built-in configuration (54 lines)
(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found
(EE) open /dev/fb0: No such file or directory
(II) Module "ddc" already built-in
(II) Module "i2c" already built-in
(EE) intel(0): Unable to write to SDVOCTRL_E for SDVOB Slave 0x70.
(II) Module "ramdac" already built-in
(EE) [drm] Could not set DRM device bus ID.
(EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; 
fixing.
SetGrabKeysState - enabled


Any comments are very welcome, I am also happy to provide further information.

Thanks,
Rainer

-- 
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07157-734133
email: rdorsch@web.de
jabber: rdorsch@jabber.org
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/


Reply to: