View previous topic :: View next topic |
Author |
Message |
zmedico Developer
Joined: 02 Jan 2004 Posts: 352 Location: California USA
|
Posted: Sat Jun 05, 2004 6:43 pm Post subject: |
|
|
sburnett wrote: | With swsusp2, it makes it through the first few stages of saving, but freezes about 3/4 of the way through "Saving disk cache." |
My kernel with patch set from software-suspend-2.0.0.81-for-2.6.6.tar.bz2 works pretty well but I've had similar problems with other kernels/patches. Which one are you using?
sburnett wrote: | Uh, do I really need that much space to suspend? |
The official recommendation:
tuxlover wrote: | the only thing the ebuild could do would be to patch the kernel, which is quite easy |
I agree. After one gets in the habit it's easy to patch as long as there're not too many rejects (2.0.0.81 has no rejects against vanilla 2.6.6).
System specific configuration was also fairly easy in my case. It was mostly a matter of forcing problematic modules to unload before suspend and reload afterward. For this I use SWSUSP_RESTART_SERVICES="hotplug net.eth0" in /etc/suspend.conf and put ethernet and psmouse modules in /etc/modules.autoload.d/kernel-2.6. _________________ Zac |
|
Back to top |
|
|
Jerrac Tux's lil' helper
Joined: 22 Jun 2003 Posts: 111
|
Posted: Sat Jun 05, 2004 7:01 pm Post subject: |
|
|
When I try to:
Code: | bash-2.05b# /software-suspend-core-2.0.0.66-incremental.bz2 | patch -p1
bash: /software-suspend-core-2.0.0.66-incremental.bz2: cannot execute binary file
bash-2.05b# |
I get that error. The first two patches applied just fine. Is this the one that patches the keyboard.c file mentioned in the howto? I am using gentoo-dev-sources the 2.6.5-r1 one.
Tuxlover, you might mention which patch it that doesn't install cleanly. That would help.
Quote: | One of the patches will not apply cleanly. You can either patch manually (it's just a few lines in drivers/char/keyboard.c) or replace that file with mine (only 2.6.5). |
_________________ Soar with God!
David |
|
Back to top |
|
|
sburnett Tux's lil' helper
Joined: 10 Jun 2002 Posts: 79 Location: USA
|
Posted: Sat Jun 05, 2004 9:48 pm Post subject: |
|
|
zmedico wrote: | sburnett wrote: | With swsusp2, it makes it through the first few stages of saving, but freezes about 3/4 of the way through "Saving disk cache." |
My kernel with patch set from software-suspend-2.0.0.81-for-2.6.6.tar.bz2 works pretty well but I've had similar problems with other kernels/patches. Which one are you using? |
Ok, I figured it out. I simply recomplied my kernel with nearly everything as a module, then unloaded them all before suspending. This works fine in text mode, but freezes on resume when X in open. I have an nvidia card, though (a GeForce 4) and its seems I'll just have to wait for nvidia to fix power management with their drivers.
For future reference, I'm using 2.6.5 vanilla.
Jerrac wrote: |
When I try to:
Code:
bash-2.05b# /software-suspend-core-2.0.0.66-incremental.bz2 | patch -p1
bash: /software-suspend-core-2.0.0.66-incremental.bz2: cannot execute binary file
bash-2.05b# |
Try adding "bunzip2" to the front of the command (sans quotes of course).[/quote] |
|
Back to top |
|
|
Jerrac Tux's lil' helper
Joined: 22 Jun 2003 Posts: 111
|
Posted: Sat Jun 05, 2004 9:58 pm Post subject: |
|
|
sburnett wrote: |
Jerrac wrote: |
When I try to:
Code:
bash-2.05b# /software-suspend-core-2.0.0.66-incremental.bz2 | patch -p1
bash: /software-suspend-core-2.0.0.66-incremental.bz2: cannot execute binary file
bash-2.05b# |
Try adding "bunzip2" to the front of the command (sans quotes of course). | [/quote]
Oh, that was really smart of me... lol. I forgot the bzcat mentioned in the howto. THanks for the tip! _________________ Soar with God!
David |
|
Back to top |
|
|
Jerrac Tux's lil' helper
Joined: 22 Jun 2003 Posts: 111
|
Posted: Sat Jun 05, 2004 10:28 pm Post subject: |
|
|
Well... new error when I try to compile the kernel after configuring it....
Quote: | bash-2.05b# make
SPLIT include/linux/autoconf.h -> include/config/*
CC arch/i386/kernel/asm-offsets.s
CHK include/asm-i386/asm_offsets.h
CC init/main.o
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
CC init/do_mounts.o
CC init/do_mounts_rd.o
CC init/do_mounts_initrd.o
LD init/mounts.o
CC init/initramfs.o
LD init/built-in.o
HOSTCC usr/gen_init_cpio
CPIO usr/initramfs_data.cpio
GZIP usr/initramfs_data.cpio.gz
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/i386/kernel/process.o
CC arch/i386/kernel/semaphore.o
CC arch/i386/kernel/signal.o
CC arch/i386/kernel/traps.o
CC arch/i386/kernel/irq.o
CC arch/i386/kernel/vm86.o
CC arch/i386/kernel/ptrace.o
CC arch/i386/kernel/i8259.o
CC arch/i386/kernel/ioport.o
CC arch/i386/kernel/ldt.o
CC arch/i386/kernel/setup.o
CC arch/i386/kernel/time.o
CC arch/i386/kernel/sys_i386.o
CC arch/i386/kernel/pci-dma.o
CC arch/i386/kernel/i386_ksyms.o
CC arch/i386/kernel/i387.o
CC arch/i386/kernel/dmi_scan.o
CC arch/i386/kernel/bootflag.o
CC arch/i386/kernel/doublefault.o
CC arch/i386/kernel/acpi/boot.o
CC arch/i386/kernel/acpi/sleep.o
LD arch/i386/kernel/acpi/built-in.o
CC arch/i386/kernel/cpu/common.o
CC arch/i386/kernel/cpu/proc.o
CC arch/i386/kernel/cpu/amd.o
CC arch/i386/kernel/cpu/cyrix.o
CC arch/i386/kernel/cpu/centaur.o
CC arch/i386/kernel/cpu/transmeta.o
CC arch/i386/kernel/cpu/intel.o
CC arch/i386/kernel/cpu/rise.o
CC arch/i386/kernel/cpu/nexgen.o
CC arch/i386/kernel/cpu/umc.o
LD arch/i386/kernel/cpu/cpufreq/built-in.o
CC arch/i386/kernel/cpu/mcheck/mce.o
CC arch/i386/kernel/cpu/mcheck/k7.o
CC arch/i386/kernel/cpu/mcheck/p4.o
CC arch/i386/kernel/cpu/mcheck/p5.o
CC arch/i386/kernel/cpu/mcheck/p6.o
CC arch/i386/kernel/cpu/mcheck/winchip.o
CC arch/i386/kernel/cpu/mcheck/non-fatal.o
LD arch/i386/kernel/cpu/mcheck/built-in.o
CC arch/i386/kernel/cpu/mtrr/main.o
CC arch/i386/kernel/cpu/mtrr/if.o
CC arch/i386/kernel/cpu/mtrr/generic.o
CC arch/i386/kernel/cpu/mtrr/state.o
CC arch/i386/kernel/cpu/mtrr/amd.o
CC arch/i386/kernel/cpu/mtrr/cyrix.o
CC arch/i386/kernel/cpu/mtrr/centaur.o
LD arch/i386/kernel/cpu/mtrr/built-in.o
LD arch/i386/kernel/cpu/built-in.o
CC arch/i386/kernel/timers/timer_tsc.o
CC arch/i386/kernel/timers/timer_pit.o
CC arch/i386/kernel/timers/common.o
LD arch/i386/kernel/timers/built-in.o
CC arch/i386/kernel/reboot.o
CC arch/i386/kernel/smp.o
CC arch/i386/kernel/smpboot.o
CC arch/i386/kernel/mpparse.o
CC arch/i386/kernel/apic.o
CC arch/i386/kernel/nmi.o
CC arch/i386/kernel/io_apic.o
CC arch/i386/kernel/module.o
CC arch/i386/kernel/sysenter.o
CC arch/i386/kernel/early_printk.o
LD arch/i386/kernel/built-in.o
CC arch/i386/kernel/init_task.o
CC arch/i386/mm/init.o
CC arch/i386/mm/pgtable.o
CC arch/i386/mm/fault.o
CC arch/i386/mm/ioremap.o
CC arch/i386/mm/extable.o
CC arch/i386/mm/pageattr.o
LD arch/i386/mm/built-in.o
CC arch/i386/mach-default/setup.o
CC arch/i386/mach-default/topology.o
LD arch/i386/mach-default/built-in.o
CC kernel/sched.o
CC kernel/fork.o
CC kernel/exec_domain.o
CC kernel/panic.o
CC kernel/printk.o
CC kernel/profile.o
CC kernel/exit.o
CC kernel/itimer.o
CC kernel/time.o
CC kernel/softirq.o
CC kernel/resource.o
CC kernel/sysctl.o
CC kernel/capability.o
CC kernel/ptrace.o
CC kernel/timer.o
CC kernel/user.o
CC kernel/signal.o
CC kernel/sys.o
CC kernel/kmod.o
CC kernel/workqueue.o
CC kernel/pid.o
CC kernel/rcupdate.o
CC kernel/intermodule.o
CC kernel/extable.o
CC kernel/params.o
CC kernel/posix-timers.o
CC kernel/kthread.o
CC kernel/futex.o
CC kernel/dma.o
CC kernel/cpu.o
CC kernel/uid16.o
CC kernel/module.o
CC kernel/kallsyms.o
CC kernel/power/main.o
CC kernel/power/process.o
CC kernel/power/ui.o
CC kernel/power/pm.o
make[2]: *** No rule to make target `kernel/power/utility.o', needed by `kernel/power/built-in.o'. Stop.
make[1]: *** [kernel/power] Error 2
make: *** [kernel] Error 2
bash-2.05b# |
Help. _________________ Soar with God!
David |
|
Back to top |
|
|
zmedico Developer
Joined: 02 Jan 2004 Posts: 352 Location: California USA
|
Posted: Sun Jun 06, 2004 4:40 am Post subject: |
|
|
Jerrac wrote: | make[2]: *** No rule to make target `kernel/power/utility.o', needed by `kernel/power/built-in.o'. Stop. |
A google search shows that this seems to be a common type of error. Someone over here started over with a fresh source tree and that apparently solved it for them. Maybe you just need to do a "make distclean". Where did you get the kernel config? Did you do a "make oldconfig" first? Which kernel and patch set are you using, gentoo-dev-sources-2.6.5-r1? Why not go for the latest and greatest? My vanilla 2.6.6 patched with software-suspend-2.0.0.81-for-2.6.6.tar.bz2 and more seems to work pretty well. _________________ Zac |
|
Back to top |
|
|
b0fh Guru
Joined: 16 Jun 2003 Posts: 426
|
Posted: Sun Jun 06, 2004 5:09 pm Post subject: |
|
|
Okay, I'm back with bigger swap and suspending works nice when my pcmcia wlan card isn't inserted; if inserted and pcmcia-drivers are loaded suspending hangs at last third of "writing caches..."
The problem is: I can't unload yenta-socket and pcmcia-core module if the card is inserted... Any ideas? |
|
Back to top |
|
|
MagnusBerg Guru
Joined: 07 Oct 2003 Posts: 370 Location: Burgsvik, Gotland, Sweden
|
Posted: Sun Jun 06, 2004 7:36 pm Post subject: |
|
|
Don't laugh now but this can be a real stupid question. I must know if I got it right.
Then I resume it begins like a normal start. First comes the hardwarecheck and then comes Grub.
I that as it should be, or is something wrong???
I have problem to get my Nvidacard up and running after resume, but that's another question that I will take care of if it's right so far. |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Sun Jun 06, 2004 7:47 pm Post subject: |
|
|
Yes, that's how it works. |
|
Back to top |
|
|
MagnusBerg Guru
Joined: 07 Oct 2003 Posts: 370 Location: Burgsvik, Gotland, Sweden
|
Posted: Sun Jun 06, 2004 8:25 pm Post subject: |
|
|
Earthwings wrote: | Yes, that's how it works. |
Wow! I have been trying to succed with acpi or/and sleepmode for over one and a half year now. Thank you very very much tuxlover for a great manual. |
|
Back to top |
|
|
Jerrac Tux's lil' helper
Joined: 22 Jun 2003 Posts: 111
|
Posted: Sun Jun 06, 2004 9:37 pm Post subject: |
|
|
zmedico wrote: | Jerrac wrote: | make[2]: *** No rule to make target `kernel/power/utility.o', needed by `kernel/power/built-in.o'. Stop. |
A google search shows that this seems to be a common type of error. Someone over here started over with a fresh source tree and that apparently solved it for them. Maybe you just need to do a "make distclean". Where did you get the kernel config? Did you do a "make oldconfig" first? Which kernel and patch set are you using, gentoo-dev-sources-2.6.5-r1? Why not go for the latest and greatest? My vanilla 2.6.6 patched with software-suspend-2.0.0.81-for-2.6.6.tar.bz2 and more seems to work pretty well. |
Um... I just patched it, then I did make menuconfig, configured it, saved the config, and then typed make. I have made a kernel with it before though. Are you saying I should somehow clean it up? I am rather new to linux so I really don't understand what you are saying.
As for the vanilla sources, aren't there some gentoo specific patches? Or are there just certain options I need to make sure I select? I think I did that before.... THe options, no the patches.
Thanks! _________________ Soar with God!
David |
|
Back to top |
|
|
Jerrac Tux's lil' helper
Joined: 22 Jun 2003 Posts: 111
|
Posted: Sun Jun 06, 2004 11:42 pm Post subject: |
|
|
Heh, I can't win. I went ahead and emerged the 2.6.6 sources. When I tried to applie the patch "software-suspend-2.0.0.81-for-2.6.6.tar.bz2" it says at the end
Quote: | patching file drivers/video/bootsplash/bootsplash.c
patch unexpectedly ends in middle of line
patch unexpectedly ends in middle of line |
Sheesh...
*hopes someone can help him with at least one of the kernels* _________________ Soar with God!
David |
|
Back to top |
|
|
zmedico Developer
Joined: 02 Jan 2004 Posts: 352 Location: California USA
|
Posted: Mon Jun 07, 2004 12:55 am Post subject: |
|
|
b0fh wrote: | The problem is: I can't unload yenta-socket and pcmcia-core module if the card is inserted... Any ideas? |
Is rmmod giving you "device is busy" or something? Hopefully there's some way to stop the thread that's causing it. I haven't used pcmcia yet so I can't tell you.
Jerrac wrote: | I have made a kernel with it before though. Are you saying I should somehow clean it up? |
Yes, if a kernel has previously been built then it is necessary to clean it up. If you do "make distclean" it will clean everything up (even .config will be deleted).
Jerrac wrote: | aren't there some gentoo specific patches? Or are there just certain options I need to make sure I select? |
There are no required patches. The standard kernel has all the features necessary for a basic gentoo system. Maybe some config options are required but the default ones are probably fine. The devfs pseudo file system was previously required but now we can use udev (works for me). I started with a "genkernel --menuconfig all" and then did further customization from there. I got that idea from the "Configuring the Kernel" section of the handbook.
Here's an example:
Code: | cd /usr/src
tar xfj linux-2.6.6.tar.bz2
ln -s linux-2.6.6 linux
tar xfj software-suspend-2.0.0.81-for-2.6.6.tar.bz2
cd linux-2.6.6
for NAME in ../software-suspend-2.0.0.81-for-2.6.6/*
do
patch -p1 -b < $NAME >> ../software-suspend-2.0.0.81-for-2.6.6_patch_log.txt 2>&1
done
genkernel --menuconfig all
|
It's good practice to type in something for "EXTRAVERSION =" at the top of the kernel Makefile. This will distinguish the current kernel build from others. Do that before the menuconfig step.
Jerrac wrote: | patching file drivers/video/bootsplash/bootsplash.c
patch unexpectedly ends in middle of line
patch unexpectedly ends in middle of line |
The patches work fine for me. Here's the md5sum:
a6e730810be8f08d73ca41516f3d410b software-suspend-2.0.0.81-for-2.6.6.tar.bz2 _________________ Zac |
|
Back to top |
|
|
noneckturtle n00b
Joined: 29 Jun 2003 Posts: 12
|
Posted: Tue Jun 08, 2004 12:30 pm Post subject: |
|
|
I have installed following the indtruction in this HOWTO and used the supplied keyboard.c file.
I compiled the kernel with the swsusp2 partition being my swap partition. (/dev/hda8)
When I run the /usr/local/sbin/hibernate script as root I get the following error:
bash# /usr/local/sbin/hibernate
/bin/echo: write error: Operation not permitted
Anyone got any ideas what's wrong?
EDIT: I was able to fix this problem, I had the acpi option set within /etc/suspend.conf. System was able to suspend but when I restarted it hang at something about ".........???? cache" on startup.
I rebooted and was prompted to rebuild the hibernate image. Kernel continued to start loading then:
RAMDISK: Couldn't find valid RAM disk image starting at 0.
Kernel panic: VFS: Unable to mount root fs on hda9
Please help!! |
|
Back to top |
|
|
zmedico Developer
Joined: 02 Jan 2004 Posts: 352 Location: California USA
|
Posted: Wed Jun 09, 2004 6:25 am Post subject: |
|
|
noneckturtle wrote: | I rebooted and was prompted to rebuild the hibernate image. Kernel continued to start loading |
This could be a problem. The boot should look normal until after the kernel is loaded and swsusp gets a chance to resume the hibernated state. Maybe you have 2 hibernation mechanisms going at the same time (swsusp and something else)? _________________ Zac |
|
Back to top |
|
|
tuxlover Apprentice
Joined: 21 Oct 2003 Posts: 297 Location: weltweit
|
Posted: Wed Jun 09, 2004 3:38 pm Post subject: |
|
|
noneckturtle wrote: | I rebooted and was prompted to rebuild the hibernate image. Kernel continued to start loading then:
RAMDISK: Couldn't find valid RAM disk image starting at 0.
Kernel panic: VFS: Unable to mount root fs on hda9 |
To me, this sounds like you've been using an initrd (initial ramdisk), which usually contains important modules (like the filesystem module for your root filesystem; e.g. if you compile ext3 as a module and use ext3 for root, you need to have that module in your initial ramdisk).
As I don't use it, I don't know how to fix this though; there's "mkinitrd" which makes an initial ramdisk... Maybe somebody else knows more.
Jerrac wrote: | Heh, I can't win. I went ahead and emerged the 2.6.6 sources. When I tried to applie the patch "software-suspend-2.0.0.81-for-2.6.6.tar.bz2" it says at the end |
...something about bootsplash... I boldly ignored it since I don't use a bootsplash and it works for me.
Jerrac wrote: | Tuxlover, you might mention which patch it that doesn't install cleanly. |
It was the software-suspend-linux-2.6.5-test16-whole, the one containing the stuff for keyboard.c. |
|
Back to top |
|
|
Jazz Guru
Joined: 16 Nov 2003 Posts: 543 Location: Melbourne, Australia
|
Posted: Thu Jun 10, 2004 4:07 pm Post subject: |
|
|
umm, how do u get suspend to ram working ? it immediately resumes for me..
Code: | PM: Preparing system for suspend
Stopping tasks: ==============================================|
psmouse.c: bad data from KBC - timeout bad parity
PCI: Setting latency timer of device 0000:00:1d.7 to 64
psmouse.c: bad data from KBC - timeout bad parity
psmouse.c: bad data from KBC - timeout bad parity
Could not suspend device 0000:00:1d.7: error -5
ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 9 (level, low) -> IRQ 9
ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 3 (level, low) -> IRQ 3
PCI: Setting latency timer of device 0000:00:1f.5 to 64
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
psmouse.c: bad data from KBC - timeout bad parity
psmouse.c: bad data from KBC - timeout bad parity
psmouse.c: bad data from KBC - timeout bad parity
Restarting tasks... done |
and Code: | root@Matrix{/home/jazz}> grep suspend /var/log/messages
Jun 11 01:33:41 Matrix PM: Preparing system for suspend
Jun 11 01:33:42 Matrix Could not suspend device 0000:00:1d.7: error -5
Jun 11 01:33:55 Matrix PM: Preparing system for suspend
Jun 11 01:40:12 Matrix PM: Preparing system for suspend
Jun 11 01:40:13 Matrix Could not suspend device 0000:00:1d.7: error -5
Jun 11 02:05:00 Matrix PM: Preparing system for suspend
Jun 11 02:05:26 Matrix PM: Preparing system for suspend
Jun 11 02:06:50 Matrix PM: Preparing system for suspend
Jun 11 02:06:51 Matrix Could not suspend device 0000:00:1d.7: error -5
|
bye
jazz _________________ In 2010, M$ Windows will be a quantum processing emulation layer for a 128-bit mod of a 64-bit hack of a 32-bit patch to a 16-bit GUI for an 8-bit operating system written for a 4-bit processor from a 2-bit company that can't stand 1 bit of competition. |
|
Back to top |
|
|
zmedico Developer
Joined: 02 Jan 2004 Posts: 352 Location: California USA
|
Posted: Thu Jun 10, 2004 5:40 pm Post subject: |
|
|
jassi wrote: | umm, how do u get suspend to ram working ? |
I don't know, but this thread is mostly about "software suspend" which is a different suspension mechanism that "suspend to ram". You might want to try another thread for that because software suspend is a big enough topic as it is.
tuxlover wrote: | noneckturtle wrote: | I rebooted and was prompted to rebuild the hibernate image. Kernel continued to start loading then:
RAMDISK: Couldn't find valid RAM disk image starting at 0.
Kernel panic: VFS: Unable to mount root fs on hda9 |
To me, this sounds like you've been using an initrd (initial ramdisk), which usually contains important modules (like the filesystem module for your root filesystem; e.g. if you compile ext3 as a module and use ext3 for root, you need to have that module in your initial ramdisk).
|
A resume from software suspend should not use the initrd like a normal boot would (it can use it for the bootsplash image). After the kernel is loaded by the boot loader, software suspend needs to read the suspended state from the swap partition. Any drivers needed for this step must be statically compiled in the kernel. Maybe the driver for the root files ystem, if compiled as a module, can be read from the swap partition. It should be able to assuming that it did not get unloaded somehow before the suspend.
Of course, that module would have originated from an initrd in a normal boot (not a resume boot though). Genkernel will automatically generate an initrd to go with every kernel it builds. It will not, however, automatically include an ext3 module since that driver is statically compiled into the kernel in practically all cases. _________________ Zac
Last edited by zmedico on Fri Jun 11, 2004 2:54 pm; edited 3 times in total |
|
Back to top |
|
|
Jazz Guru
Joined: 16 Nov 2003 Posts: 543 Location: Melbourne, Australia
|
Posted: Thu Jun 10, 2004 5:59 pm Post subject: |
|
|
Doh, ok i'll do that ! but i still dont feel 3 pages is big enough for a post in gentoo forums
Bye,
jazz _________________ In 2010, M$ Windows will be a quantum processing emulation layer for a 128-bit mod of a 64-bit hack of a 32-bit patch to a 16-bit GUI for an 8-bit operating system written for a 4-bit processor from a 2-bit company that can't stand 1 bit of competition. |
|
Back to top |
|
|
zmedico Developer
Joined: 02 Jan 2004 Posts: 352 Location: California USA
|
Posted: Fri Jun 11, 2004 10:06 pm Post subject: pam_console_apply |
|
|
I found that the program "/sbin/pam_console_apply" is handy for reapplication of permissions to devices for the user named in /var/run/console.lock. I run it at the end of the start() function in /etc/init.d/alsasound so that my permissions come back for /dev/snd/* (it didn't work when I put it in the SWSUSP_START_PROGS_AFTER_RESUME variable of /etc/suspend.conf). Now I'd like to create a script to automatically respawn the sound server (artsd gets killed automatically when the alsasound service is stopped).
This is ugly though. It would be nice if the driver could stay loaded through the suspend/resume cycle (snd_intel8x0 in my case). Someone should start a list of hardware/driver combinations that are able to do that with swsusp. _________________ Zac |
|
Back to top |
|
|
pakman Tux's lil' helper
Joined: 06 Jan 2004 Posts: 100
|
Posted: Fri Jun 11, 2004 10:45 pm Post subject: Re: pam_console_apply |
|
|
zmedico wrote: | Someone should start a list of hardware/driver combinations that are able to do that with swsusp. |
For a rough guide as to what modules should support suspend/resume, see which have resume functions (or suspend):
grep -rli resume /usr/src/linux/drivers/*
grep -rli resume /usr/src/linux/sound/* |
|
Back to top |
|
|
zmedico Developer
Joined: 02 Jan 2004 Posts: 352 Location: California USA
|
|
Back to top |
|
|
Jerrac Tux's lil' helper
Joined: 22 Jun 2003 Posts: 111
|
Posted: Tue Jun 15, 2004 6:31 pm Post subject: |
|
|
zmedico wrote: |
The patches work fine for me. Here's the md5sum:
a6e730810be8f08d73ca41516f3d410b software-suspend-2.0.0.81-for-2.6.6.tar.bz2 |
Um, how do I check md5 sums in Gentoo? I have md5summer on windows... but that doesn't help here.
Thanks! _________________ Soar with God!
David |
|
Back to top |
|
|
b0fh Guru
Joined: 16 Jun 2003 Posts: 426
|
Posted: Tue Jun 15, 2004 7:22 pm Post subject: |
|
|
md5sum <filename> |
|
Back to top |
|
|
Jerrac Tux's lil' helper
Joined: 22 Jun 2003 Posts: 111
|
Posted: Wed Jun 16, 2004 7:59 pm Post subject: |
|
|
b0fh wrote: | md5sum <filename> |
thanks!
Ok, when I try applying the patch on a freshly installed 2.6.6 source, I get this message:
Quote: | Reversed (or previously applied) patch detected! Assume -R? [n] |
I have had that message before and just hit enter....
What does it mean? I am just leaving it until I get an answer, hopefully soon.
*thinks for a sec*
*goes off to do a google search* _________________ Soar with God!
David |
|
Back to top |
|
|
|