Re: 2.6.10-mm2: swsusp regression [update]

From: Rafael J. Wysocki (rjw_at_sisk.pl)
Date: 01/08/05

  • Next message: Mariusz Mazur: "[ANNOUNCE] linux-libc-headers 2.6.10.0"
    To: Pavel Machek <pavel@ucw.cz>
    Date:	Sat, 8 Jan 2005 16:10:57 +0100
    
    

    On Saturday, 8 of January 2005 14:19, Pavel Machek wrote:
    > Hi!
    >
    > > > Thanks for pointing it out. I have adapted this patch to -mm2, but
    > > > unfortunately it does not fix the issue. Still searching. ;-)
    > >
    > > The regression is caused by the timer driver. Obviously, turning
    > > timer_resume() in arch/x86_64/kernel/time.c into a NOOP makes it go away.
    > >
    > > It looks like a locking problem to me. I'll try to find a fix, although
    > > someone who knows more about these things would probably do it faster. :-)
    >
    > (I do not have time right now, but...)
    >
    > ..you might want to look at i386 time code, they have common
    > ancestor, and i386 one seems to work.

    Well, I need the help of The Wise. :-)

    If I comment out only the modification of jiffies in timer_resume() in
    arch/x86_64/kernel/time.c (ie line 986), everything seems to work, but I get
    "APIC error on CPU0: 00(00)" after device_power_up(), which seems strange to
    me, because I boot with "noapic". On the other hand, if it's not commented
    out (ie jiffies _is_ modified in timer_resume()), the machine hangs solid
    after executing device_power_up() in swsusp_suspend().

    Right now I have no idea of what happens there, and it seems strange because
    in 2.6.10-mm1 the code in time.c is the same.

    Greets,
    RJW

    -- 
    - Would you tell me, please, which way I ought to go from here?
    - That depends a good deal on where you want to get to.
    		-- Lewis Carroll "Alice's Adventures in Wonderland"
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Mariusz Mazur: "[ANNOUNCE] linux-libc-headers 2.6.10.0"

    Relevant Pages

    • Re: /proc or ps tools bug? 2.6.3, time is off
      ... > I wonder whether it's conceptually correct to use jiffies for accurate ... Moving away from jiffies as a time counter and more of an ... I'd like to see the time code for all arches in 2.7 to look ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: process start time set wrongly at boot for kernel 2.6.9
      ... >>I'd bet that some process early in the boot adjusts your system time. ... we will not see the rest of the "jiffies for time" code, ... I hate that I dropped code and then went missing for weeks. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: nasm over gas?
      ... GCC pass .S assembler source files through cpp, ... GAS also has macro capability. ... It's just strange, backwards, etc. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH 0/4] new timeofday-based soft-timer subsystem
      ... > have made some major changes in this revision. ... we don't need to change all the callers of ... There was a bug in my ppc64 emulation (was just using jiffies not ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.9-rc2-mm3: swsusp horribly slow on AMD64
      ... > I've got two logs, one of which is taken from the system with all ... Strange, *very* strange. ... +#ifdef CONFIG_KGDB_SYSRQ ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)