On Fri, May 05, 2006 at 07:10:32PM -0600, Scott Horowitz wrote: > Hi there, > > I'm trying to run powersave -U (suspend-to-disk) on my Dell Latitude > C400. I'm using Archlinux and get the following message: "no > kernelfile matching the running kernel found" > > I'm running the 2.6.16.14 kernel and uname -a shows: > > Linux machine 2.6.16-ARCH #1 SMP PREEMPT Fri May 5 07:47:25 CEST 2006 > i686 Intel(R) Pentium(R) III Mobile CPU 1200MHz GenuineIntel > GNU/Linux > > I tried looking at the source code but could not make heads or tails > of why this error would occur. If you could provide any suggestions, > I'd appreciate it.
The code is in /usr/lib/powersave/scripts/prepare_suspend_to_disk, after line 64 (0.12.15, but not much has changed here lately IIRC). This code part might be quite SUSE specific - the kernel file in /boot has to be named "/boot/vmlinuz-`uname -r`", so if your kernel is named 2.6.16-ARCH, then it has to be named "/boot/vmlinuz-2.6.16-ARCH". If it has a different filename, the test will fail. You can skip this sanity check by setting BOOT_LOADER="other" in /etc/powersave/common. -- Stefan Seyfried \ "I didn't want to write for pay. I QA / R&D Team Mobile Devices \ wanted to be paid for what I write." SUSE LINUX Products GmbH, Nürnberg \ -- Leonard Cohen _______________________________________________ powersave-devel mailing list [email protected] http://forge.novell.com/mailman/listinfo/powersave-devel
