Re: Regression: 2.6.23-rc9 okay, 2.6.23.1 resume problems

Previous thread: In response to kernel compression e-mail a few months ago. by Justin Piszcz on Sunday, October 14, 2007 - 3:34 pm. (13 messages)

Next thread: Re: [PATCH] : IDE-CS Add additional id string (corsair, 1GB) by Vlad Codrea on Sunday, October 14, 2007 - 4:16 pm. (3 messages)
To: Linux Kernel <linux-kernel@...>, Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>
Date: Sunday, October 14, 2007 - 4:13 pm

Since upgrading to 2.6.23.1 from 2.6.23-rc9, resume-from-RAM has been misbehaving here.

It takes much (+5-7 seconds) longer to resume *sometimes*, but not all/most of the time.
And sometimes I get get flashing keyboard LEDs and have to hold the power button
in for a full hard reset.

With 2.6.23-rc8/rc9, no such troubles.

Difficult to reproduce, other than perhaps once a day.
Anybody want to fess up with a likely candidate?

Dell Inspiron 9400 Core2duo + 2GB RAM, 32-bit x86 kernel+user.

.config below.

-----------------

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.23.1
# Sun Oct 14 09:22:05 2007
#
CONFIG_X86_32=y
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
CONFIG_QUICKLIST=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_DMI=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_USER_NS is not set
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=16
# CONFIG_CPUSETS is not set
CONFIG_SYSFS_DEPRECATED=y
# CONFIG_RELAY is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
CONFIG_EMBEDDED=y
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_F...

To: Mark Lord <lkml@...>
Cc: Linux Kernel <linux-kernel@...>, Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>
Date: Thursday, October 18, 2007 - 4:05 pm

Are there any .config differences between rc8 and .1?

Can you try disabling nohz?

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-

To: Pavel Machek <pavel@...>
Cc: Linux Kernel <linux-kernel@...>, Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>
Date: Saturday, October 20, 2007 - 9:52 am

I suspend those long delays may have something to do with USB,
as it takes longer for my hub + mouse to come back to life
during the sequence.

But I have since then re-applied the powertop patches,
and the long delays vanished. Back with -rc9 I normally also
had those powertop fixes, and so this problem could be much
older and was never noticed until I ran without them.

I'm no longer actively investigating, as the delays are
gone (powertop patches), and the crashes are much less frequent
since patching.

Cheers
-

To: Mark Lord <lkml@...>
Cc: Linux Kernel <linux-kernel@...>, Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>
Date: Sunday, October 14, 2007 - 5:30 pm

Not really, but if you rule out all of the POWERPC and MIPS patches, there's
not much left ...

Greetings,
Rafael
-

To: Rafael J. Wysocki <rjw@...>
Cc: Linux Kernel <linux-kernel@...>, Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>
Date: Sunday, October 14, 2007 - 5:37 pm

Yeah, I didn't see much there either.

I'll keep an eye on things over the next few days,
and post again if it persists.

I was using the powertop patches with -rc9, but not with 2.6.23.1.
Maybe they helped (???).

-ml
-

To: Rafael J. Wysocki <rjw@...>
Cc: Linux Kernel <linux-kernel@...>, Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>
Date: Tuesday, October 16, 2007 - 6:10 pm

It still happens.
-

To: Mark Lord <lkml@...>
Cc: Linux Kernel <linux-kernel@...>, Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>
Date: Tuesday, October 16, 2007 - 8:07 pm

Well, I have no idea, sorry.

I also have not been able to reproduce it here ...
-

To: Rafael J. Wysocki <rjw@...>
Cc: Linux Kernel <linux-kernel@...>
Date: Monday, October 22, 2007 - 10:11 am

Rafael,

What happens to the jiffies variable on resume from RAM, and from DISK?
Do we restore it to the value it had at suspend,
or just leave it be with whatever?

The answer has to be "restore the value it had at suspend time",
but I figured I'd check here anyway.

??
-

To: Mark Lord <lkml@...>
Cc: Linux Kernel <linux-kernel@...>, Thomas Gleixner <tglx@...>
Date: Monday, October 22, 2007 - 7:13 pm

Well, frankly, I've lost track of that recently, but it seems that we just use
the pre-suspend jiffies (at least in the current -git).

Thomas knows better, I guess. :-)

Greetings,
Rafael
-

To: Rafael J. Wysocki <rjw@...>
Cc: Mark Lord <lkml@...>, Linux Kernel <linux-kernel@...>
Date: Tuesday, October 23, 2007 - 2:35 am

We use the pre-suspend value if nothing else fiddled in the variable.

tglx
-

Previous thread: In response to kernel compression e-mail a few months ago. by Justin Piszcz on Sunday, October 14, 2007 - 3:34 pm. (13 messages)

Next thread: Re: [PATCH] : IDE-CS Add additional id string (corsair, 1GB) by Vlad Codrea on Sunday, October 14, 2007 - 4:16 pm. (3 messages)