Skip to contentSkip to conversation

Weird suspend/resume problem on HP nx6325 w/ openSUSE 11.2 w/ -rc8

DISCUSSION Rafael J. Wysocki 3 participants 8 messages Nov 21, 2009 – Nov 27, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

I'm not really sure where this should be reported, but here it goes.

After installing openSUSE 11.2 on my testbed nx6325 I noticed that resume (from suspend to RAM) stopped working on it. Apparently, it hanged while switching from the console back to X and the box remained completely unresponsive after that (it didn't even react to the magic sysrq). However, it used to work just fine with -rc7 and openSUSE 11.1, so I figured the problem was related to the new X driver, which is radeon module version 6.12.4 (xorg server 1.6.5).

So, I started to investigate and found that after a suspend from a framebuffer console, the resume had always worked. However, when I switched from X to the framebuffer console, suspended, resumed and switched back to X, the box hanged immediately just like during resume after a suspend from under X. [There also were some problems when switching from X to the framebuffer console and back which seemd to be independent of suspend/resume (in short, the screen stays black after a switch from the framebuffer console to X and you need to kill X to fix this).]

Later, however, I discovered that if the box was booted into runlevel 3, then suspended to RAM and resumed, and then switched to runlevel 5, I could log into X and suspend/resume without any problems for many times. OTOH, after booting directly into X, the first attempt to resume always resulted in a black screen and a hard hang.

I wonder what's up in there.

[Hibernation/resume works 100% of the time AFAICS.]

Thanks,
Rafael

#1 lore raw
Quoted 31 lines · Rafael J. Wysocki

Hi,

I'm not really sure where this should be reported, but here it goes.

After installing openSUSE 11.2 on my testbed nx6325 I noticed that resume (from suspend to RAM) stopped working on it. Apparently, it hanged while switching from the console back to X and the box remained completely unresponsive after that (it didn't even react to the magic sysrq). However, it used to work just fine with -rc7 and openSUSE 11.1, so I figured the problem was related to the new X driver, which is radeon module version 6.12.4 (xorg server 1.6.5).

So, I started to investigate and found that after a suspend from a framebuffer console, the resume had always worked. However, when I switched from X to the framebuffer console, suspended, resumed and switched back to X, the box hanged immediately just like during resume after a suspend from under X. [There also were some problems when switching from X to the framebuffer console and back which seemd to be independent of suspend/resume (in short, the screen stays black after a switch from the framebuffer console to X and you need to kill X to fix this).]

Later, however, I discovered that if the box was booted into runlevel 3, then suspended to RAM and resumed, and then switched to runlevel 5, I could log into X and suspend/resume without any problems for many times. OTOH, after booting directly into X, the first attempt to resume always resulted in a black screen and a hard hang.

I wonder what's up in there.

[Hibernation/resume works 100% of the time AFAICS.]

Quoted 9 lines

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

I just noticed today that on my macbook(radeon) using s2ram works, but I get a long pause(black screen) before the screen shows up.(latest stable release works fine).

Justin P. Mattock

#2 lore raw
In reply to Rafael J. Wysocki
Quoted 12 lines · Rafael J. Wysocki

Hi,

I'm not really sure where this should be reported, but here it goes.

After installing openSUSE 11.2 on my testbed nx6325 I noticed that resume (from suspend to RAM) stopped working on it.  Apparently, it hanged while switching from the console back to X and the box remained completely unresponsive after that (it didn't even react to the magic sysrq).  However, it used to work just fine with -rc7 and openSUSE 11.1, so I figured the problem was related to the new X driver, which is radeon module version 6.12.4 (xorg server 1.6.5).

Quoted 8 lines

So, I started to investigate and found that after a suspend from a framebuffer console, the resume had always worked.  However, when I switched from X to the framebuffer console, suspended, resumed and switched back to X, the box hanged immediately just like during resume after a suspend from under X.  [There also were some problems when switching from X to the framebuffer console and back which seemd to be independent of suspend/resume (in short, the screen stays black after a switch from the framebuffer console to X and you need to kill X to fix this).]

You are using radeonfb on it? or vesafb?

first test is to try without either of those installed.

Quoted 1 line

From memory though that machines an Xpress 200M which is the the worst

graphics card for use with open drivers and has always caused no-end of pain.

Its also mostly undocumented when it comes to errata and workarounds.

Dave.

#3 lore raw
In reply to Rafael J. Wysocki
Quoted 12 lines · Rafael J. Wysocki

Hi,

I'm not really sure where this should be reported, but here it goes.

After installing openSUSE 11.2 on my testbed nx6325 I noticed that resume (from suspend to RAM) stopped working on it.  Apparently, it hanged while switching from the console back to X and the box remained completely unresponsive after that (it didn't even react to the magic sysrq).  However, it used to work just fine with -rc7 and openSUSE 11.1, so I figured the problem was related to the new X driver, which is radeon module version 6.12.4 (xorg server 1.6.5).

Quoted 8 lines

So, I started to investigate and found that after a suspend from a framebuffer console, the resume had always worked.  However, when I switched from X to the framebuffer console, suspended, resumed and switched back to X, the box hanged immediately just like during resume after a suspend from under X.  [There also were some problems when switching from X to the framebuffer console and back which seemd to be independent of suspend/resume (in short, the screen stays black after a switch from the framebuffer console to X and you need to kill X to fix this).]

You are using radeonfb on it? or vesafb?

first test is to try without either of those installed.

Quoted 1 line

From memory though that machines an Xpress 200M which is the the worst

graphics card for use with open drivers and has always caused no-end of pain.

Its also mostly undocumented when it comes to errata and workarounds.

Dave.

#4 lore raw
Quoted 22 lines · Dave Airlie
Quoted 12 lines · Rafael J. Wysocki

Hi,

I'm not really sure where this should be reported, but here it goes.

After installing openSUSE 11.2 on my testbed nx6325 I noticed that resume (from suspend to RAM) stopped working on it. Apparently, it hanged while switching from the console back to X and the box remained completely unresponsive after that (it didn't even react to the magic sysrq). However, it used to work just fine with -rc7 and openSUSE 11.1, so I figured the problem was related to the new X driver, which is radeon module version 6.12.4 (xorg server 1.6.5).

Quoted 8 lines

So, I started to investigate and found that after a suspend from a framebuffer console, the resume had always worked. However, when I switched from X to the framebuffer console, suspended, resumed and switched back to X, the box hanged immediately just like during resume after a suspend from under X. [There also were some problems when switching from X to the framebuffer console and back which seemd to be independent of suspend/resume (in short, the screen stays black after a switch from the framebuffer console to X and you need to kill X to fix this).]

Quoted 1 line

You are using radeonfb on it? or vesafb?

vesafb

Quoted 1 line

first test is to try without either of those installed.

That doesn't change the behavior AFAICS.

Quoted 1 line

From memory though that machines an Xpress 200M

Yes, it has this one.

Quoted 2 lines

which is the the worst graphics card for use with open drivers and has always caused no-end of pain.

Too bad. :-(

Quoted 1 line

Its also mostly undocumented when it comes to errata and workarounds.

Well, so I guess this is a hardware errata.

Still, it worked with the older X, so I wonder if I can make the new X work like the old one?

Best,
Rafael

#5 lore raw
Quoted 56 lines · Rafael J. Wysocki
Quoted 22 lines · Dave Airlie
Quoted 12 lines · Rafael J. Wysocki

Hi,

I'm not really sure where this should be reported, but here it goes.

After installing openSUSE 11.2 on my testbed nx6325 I noticed that resume (from suspend to RAM) stopped working on it.  Apparently, it hanged while switching from the console back to X and the box remained completely unresponsive after that (it didn't even react to the magic sysrq).  However, it used to work just fine with -rc7 and openSUSE 11.1, so I figured the problem was related to the new X driver, which is radeon module version 6.12.4 (xorg server 1.6.5).

Quoted 8 lines

So, I started to investigate and found that after a suspend from a framebuffer console, the resume had always worked.  However, when I switched from X to the framebuffer console, suspended, resumed and switched back to X, the box hanged immediately just like during resume after a suspend from under X.  [There also were some problems when switching from X to the framebuffer console and back which seemd to be independent of suspend/resume (in short, the screen stays black after a switch from the framebuffer console to X and you need to kill X to fix this).]

Quoted 1 line

You are using radeonfb on it? or vesafb?

vesafb

Quoted 1 line

first test is to try without either of those installed.

That doesn't change the behavior AFAICS.

Quoted 1 line

From memory though that machines an Xpress 200M

Yes, it has this one.

Quoted 2 lines

which is the the worst graphics card for use with open drivers and has always caused no-end of pain.

Too bad. :-(

Quoted 1 line

Its also mostly undocumented when it comes to errata and workarounds.

Well, so I guess this is a hardware errata.

Still, it worked with the older X, so I wonder if I can make the new X work like the old one?

Best,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Quoted 1 line

From over here I was running the stable kernel

on a freshly built clfs system, with the latest xorg from git suspend worked as is. Then loading the latest git kernel noticed the lagging of the wake up. When I get a chance I'll do a bisect and see If I come up with anything.

Signature · 1 line
Justin P. Mattock
#6 lore raw
In reply to Rafael J. Wysocki
Quoted 56 lines · Rafael J. Wysocki
Quoted 22 lines · Dave Airlie
Quoted 12 lines · Rafael J. Wysocki

Hi,

I'm not really sure where this should be reported, but here it goes.

After installing openSUSE 11.2 on my testbed nx6325 I noticed that resume (from suspend to RAM) stopped working on it.  Apparently, it hanged while switching from the console back to X and the box remained completely unresponsive after that (it didn't even react to the magic sysrq).  However, it used to work just fine with -rc7 and openSUSE 11.1, so I figured the problem was related to the new X driver, which is radeon module version 6.12.4 (xorg server 1.6.5).

Quoted 8 lines

So, I started to investigate and found that after a suspend from a framebuffer console, the resume had always worked.  However, when I switched from X to the framebuffer console, suspended, resumed and switched back to X, the box hanged immediately just like during resume after a suspend from under X.  [There also were some problems when switching from X to the framebuffer console and back which seemd to be independent of suspend/resume (in short, the screen stays black after a switch from the framebuffer console to X and you need to kill X to fix this).]

Quoted 1 line

You are using radeonfb on it? or vesafb?

vesafb

Quoted 1 line

first test is to try without either of those installed.

That doesn't change the behavior AFAICS.

Quoted 1 line

From memory though that machines an Xpress 200M

Yes, it has this one.

Quoted 2 lines

which is the the worst graphics card for use with open drivers and has always caused no-end of pain.

Too bad. :-(

Quoted 1 line

Its also mostly undocumented when it comes to errata and workarounds.

Well, so I guess this is a hardware errata.

Still, it worked with the older X, so I wonder if I can make the new X work like the old one?

Best,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Quoted 1 line

From over here I was running the stable kernel

on a freshly built clfs system, with the latest xorg from git suspend worked as is. Then loading the latest git kernel noticed the lagging of the wake up. When I get a chance I'll do a bisect and see If I come up with anything.

Signature · 1 line
Justin P. Mattock
#7 lore raw
In reply to Dave Airlie
Quoted 22 lines · Dave Airlie
Quoted 12 lines · Rafael J. Wysocki

Hi,

I'm not really sure where this should be reported, but here it goes.

After installing openSUSE 11.2 on my testbed nx6325 I noticed that resume (from suspend to RAM) stopped working on it. Apparently, it hanged while switching from the console back to X and the box remained completely unresponsive after that (it didn't even react to the magic sysrq). However, it used to work just fine with -rc7 and openSUSE 11.1, so I figured the problem was related to the new X driver, which is radeon module version 6.12.4 (xorg server 1.6.5).

Quoted 8 lines

So, I started to investigate and found that after a suspend from a framebuffer console, the resume had always worked. However, when I switched from X to the framebuffer console, suspended, resumed and switched back to X, the box hanged immediately just like during resume after a suspend from under X. [There also were some problems when switching from X to the framebuffer console and back which seemd to be independent of suspend/resume (in short, the screen stays black after a switch from the framebuffer console to X and you need to kill X to fix this).]

Quoted 1 line

You are using radeonfb on it? or vesafb?

vesafb

Quoted 1 line

first test is to try without either of those installed.

That doesn't change the behavior AFAICS.

Quoted 1 line

From memory though that machines an Xpress 200M

Yes, it has this one.

Quoted 2 lines

which is the the worst graphics card for use with open drivers and has always caused no-end of pain.

Too bad. :-(

Quoted 1 line

Its also mostly undocumented when it comes to errata and workarounds.

Well, so I guess this is a hardware errata.

Still, it worked with the older X, so I wonder if I can make the new X work like the old one?

Best,
Rafael