Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Linux 2.6.8.1 hibernate/suspend

  1. #1
    Low Bitrate
    Join Date
    Mar 2002
    Posts
    80

    Linux 2.6.8.1 hibernate/suspend

    Is anyone able to help me...?

    I have an Epia 5000 which I have installe Mandrake 10.1 on. The kernel version is 2.6.8.1.

    I cannot hibernate the machine by running:
    echo 4 > /proc/acpi/sleep
    as it resumes immediately.

    but I can get it to go into standby by running:
    echo 1 > /proc/acpi/sleep
    and it doesn't wake till I press the keyboard or something (which is correct).


    I've checked many sites on the internet but none have any answers. Can you help please?

  2. #2
    Maximum Bitrate grepzen's Avatar
    Join Date
    Jul 2004
    Location
    VaBch VA
    Posts
    575
    Quote Originally Posted by mkkbb
    I cannot hibernate the machine by running:
    echo 4 > /proc/acpi/sleep
    as it resumes immediately.
    try:

    echo 4/4b> /proc/acpi/sleep
    •Micke

  3. #3
    Low Bitrate khemical's Avatar
    Join Date
    Jun 2004
    Location
    DeKalb
    Posts
    102
    Do you know if that is supported by the motherboard with kernel 2.6? ACPI has pretty much been broken in 2.5/2.6 for a while now....that is why swsup2 exists....

    steve

  4. #4
    Low Bitrate
    Join Date
    Mar 2002
    Posts
    80
    Thanks for your replies. I've tried echo 4/4b> /proc/acpi/sleep but it still auto resumes.

    I'm not sure about the motherboard supporting it, I know it supoprts ACPI.

    I've tried patching the kernel with swsup2, but it complains that it can't patch cleanly so it removes itself. Any ideas on how I can patch the 2.6.8.1 kernel?

  5. #5
    Constant Bitrate cbergeron's Avatar
    Join Date
    Apr 2004
    Posts
    176
    What kernel version is the swsusp2 patch made for? If it's a recent kernel 2.6.x, you might be able to force the patch and then just fix the errors.

    Usually a patch that works cleanly on kernel a.b.c will still get applied to kernel a.b.c+6; but you'll have to look at the error file and see what cause the patch command to fail.

    If you luck out, it could just be a simple line or two of code that need changing or moving.

    What errors do you get when applying the patch? What kernel version is the patch for?

    Help us help you.
    DashPC - The Linux Car (since 1999).

    Dash LCD, Via Epia, GPS, XM, OBDII, DSSC Shutdown Controller.

    As seen in the book Geek My Ride

  6. #6
    Low Bitrate
    Join Date
    Mar 2002
    Posts
    80
    Just to keep you updated I decided to scrap Mandrake 10.1 and try out the distro called Ubuntu. It is fantastic, fast and very well supported, and they have a very good support/website too.

    I've managed to patch the kernel, and build it very very easily, maybe because it is based on Debian, but it is far better than Mandrake.

    (plus they send out free CDs).

    Once it has compiled, left it running overnight, i'll try the software suspend 2 features.

  7. #7
    FLAC TheLlama's Avatar
    Join Date
    Jul 2004
    Location
    All over the world
    Posts
    970
    Sooo... Did it work?

  8. #8
    Low Bitrate
    Join Date
    Mar 2002
    Posts
    80
    Sorry I didn't reply to this thread sooner.

    I managed to patch the kernel with software suspend 2, and the suspend to disk did work fine, but the resume didn't, it would hang after about 30% (this is only in X mode, not just text mode as text mode worked fine). Maybe I need to shutdown some services to resume properly?

    I am now trying the latest kernel, 2.6.11 to see if it is any better (there is a bug fix in the latest software suspend 2 version which only works on the latest kernel).

    I'll let you know how I get on (quicker response too hopefully )

  9. #9
    Newbie
    Join Date
    Jul 2005
    Posts
    36
    Mandrake kernels are heavily patched. this is probably why the patch failed using the stock mdk kernel. just a fyi

  10. #10
    Freeway Creator oeri's Avatar
    Join Date
    Jul 2005
    Location
    Pittsburgh, PA
    Posts
    522
    My Car PC is running 2.6.12-gentoo-r3 patched with swsusp2...works like a charm. Boot in < 15 sec.

Page 1 of 2 12 LastLast

Similar Threads

  1. Possible EPIA distro for Linux, Can we make one?
    By adamis in forum Software & Software Development
    Replies: 15
    Last Post: 02-23-2005, 05:50 PM
  2. Linux Login, UPS and Linux Touch Screen
    By polc1410 in forum Newbie
    Replies: 5
    Last Post: 02-11-2005, 10:43 AM
  3. The LOW Risk Linux Adventure...
    By grepzen in forum Software & Software Development
    Replies: 13
    Last Post: 11-08-2004, 09:12 PM
  4. PS2 Linux ?'s
    By jws95hardbody in forum Newbie
    Replies: 5
    Last Post: 01-11-2004, 10:18 PM
  5. PS2 Linux -- check it out
    By Superfly in forum General Hardware Discussion
    Replies: 7
    Last Post: 03-21-2003, 11:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •