Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#39 Hang while "Freezing remaining tasks"

closed
None
5
2004-01-27
2003-12-14
No

Hi!

Today I wanted to try swsusp on my desktop, an old
athlon 550 (one of the first AMD Mainboards with a
Biostar Bios from 2000) with 386 MB main memory.

Because my primary swap partition was too small I set
up a second one on the second disk and use this via
resume2=swap:/dev/hdb2

The second swap partition is in use and listed in
/etc/fstab

I use a vanilla 2.4.23 linux kernel,
software-suspend-2.0-core-rc3A.bz2,
software-suspend-2.0-linux-2.4.23.bz2 and the
suspend.sh script version 0.16 (0.17 is listed, but not
downloadable on sourceforge).

When I run the script, I get to the screen where I get
the "Freezing remaining tasks" message and the ascii
progress-bar is stuck in the beginning (about two "-"
signs).

When I try this in single-user mode, the progress far
gets a little further (about halfway through).

All I see in the syslog is:

Dec 14 18:53:53 abrasax kernel: Swsusp 2.0-rc3:
Initiating a software_suspend cycle.
Dec 14 18:53:53 abrasax kernel: LRU check at start of
cycle...
Dec 14 18:53:53 abrasax kernel: Done.

I don't know which additional information might help
you in debugging this, so please notify me about how I
can help.

Kind regards
Friedel

Discussion

  • Logged In: YES
    user_id=672737

    Please follow the instructions in FAQ 5.15 (from swsusp.sf.net). I look
    forward to further details. (Nigel)

     
    • assigned_to: nobody --> ncunningham
     
  • Logged In: YES
    user_id=722618

    Thanks for your quick response!

    I had looked in to the faq but I overlooked that the last
    point applied to my problem.

    I get the following output on my serial console (a serial
    terminal, so I had to type this in) and after pressing ESC
    there was no further output and the system was still hanging.

    Note that after "scsi_" the data flow got too fast for my
    terminal and it cut the rest off.

    After rebooting there were no messages in the system logs.

    Here the output:
    ------------------
    Swsusp 2.0-rc3: Initiating a software_suspend cycle.
    LRU check at start of cycle...
    Done.

    ** Attempting to allocate memory for page flags.

    Thawing tasks

    ** Freezing processes: Attempt 1
    ksoftirqd_CPU0 (4) is a syncthread at entrance to fridge
    kjournald (17) is a syncthread at entrance to fridge
    kjournald (96) is a syncthread at entrance to fridge
    kjournald (97) is a syncthread at entrance to fridge
    kjournald (98) is a syncthread at entrance to fridge
    kjournald (99) is a syncthread at entrance to fridge
    kjournald (100) is a syncthread at entrance to fridge

    ** Freezing processes: Waiting for activity to finish.

    ** Freezing processes: Syncing remaining I/O.

    ** Freezing processes: Freezing remaining tasks.
    ** kjournald **
    thread 17, thread 96, thread 97, thread 98, thread 99,
    thread 100.

    ** bdflush **
    thread 6

    ** kupdated **
    thread 7

    ** kswapd **
    thread 5

    ** [OTHERS] **
    init thread 1,keventd thread 2,ksoftirqd_CPU0 thread
    4,ahc_dv_0 thread 10,scsi_
    ** --- ESCAPE PRESSED : ABORTING PROCESS ---
    ------------------

    Kind regards
    Friedel

     
  • Logged In: YES
    user_id=722618

    Oh, another thing which might help... I just tried again
    with setting /proc/swsusp/pause_between_steps...

    The two remaining threads were scsi_eh_1 and another init
    thread. After I pressed ESC I can still press pause, L, R
    etc. and get the appropriate "<FOO> [disabled|enabled]"
    response, but the system stays in that state and there's no
    further activity or output.

    I guess that's really all I can provide for now. If you have
    a patch I can try to get more meaningful output, I'd be
    interested.

    Kind regards
    Friedel

     
    • summary: Hang while "Freezing remaining tasks" --> Hang while "Freezing remaining tasks"
    • status: open --> closed