LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Suspend2: Swapwriter: No swap signature found (https://www.linuxquestions.org/questions/linux-newbie-8/suspend2-swapwriter-no-swap-signature-found-485847/)

jan.linux 09-21-2006 08:44 PM

Suspend2: Swapwriter: No swap signature found
 
Hi Everyone

I can't get Suspend2 working :-(
This is a part of my dmesg:

Suspend2 Core.
Suspend2 Compression Driver loading.
Suspend2 Encryption Driver loading.
Suspend2 Swap Writer loading.
Suspend2 FileWriter loading.
ACPI wakeup devices:
RP01 USB1 USB2 USB3 USB4 USB7 MODM
ACPI: (supports S0 S3 S4 S5)
Replacing swsusp.
Suspend2 2.2.7.6: Swapwriter: No swap signature found at specified location.
Suspend2 2.2.7.6: Missing or invalid storage location (resume2= parameter). Please correct and rerun lilo (or equivalent) before suspending.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 152k freed
input: AT Translated Set 2 keyboard as /class/input/input1
input: DualPoint Stick as /class/input/input2
input: AlpsPS/2 ALPS DualPoint TouchPad as /class/input/input3
psmouse.c: DualPoint TouchPad at isa0060/serio4/input0 lost sync at byte 1
input: DualPoint Stick as /class/input/input4
input: AlpsPS/2 ALPS DualPoint TouchPad as /class/input/input5
Unable to find swap-space signature
EXT3 FS on hda3, internal journal
ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:02:00.0 to 64
sky2 v1.6.1 addr 0xb0000000 irq 16 Yukon-EC (0xb6) rev 1
sky2 eth0: addr 00:0f:b0:8f:f0:8e
ACPI: PCI Interrupt 0000:00:1e.2[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1e.2 to 64
intel8x0_measure_ac97_clock: measured 52106 usecs
intel8x0: clocking to 48000
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:01:00.0 to 64
NVRM: loading NVIDIA Linux x86 Kernel Module 1.0-8774 Tue Aug 1 20:54:08 PDT 2006
Unable to find swap-space signature
sky2 eth0: enabling interface
sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
Unable to find swap-space signature
Adding 1052248k swap on /dev/hda4. Priority:-1 extents:1 across:1052248k

My lilo.conf:

image = /boot/vmlinuz-dev
# initrd = /boot/initrd.gz
root = /dev/hda3
label = Linux-2.6-dev
append = "resume2=swap:/dev/hda4"
# append = "resume2=file:/dev/hda3:0xad4bc8"
read-only

I'm sure that /dev/hda4 is my swap space. Why does swapwriter not detect this? Is it because swapwriter is started before the swap partition is activated? And if so, how do I change this?

Jan
Slackware-current, 2.6.17.13 kernel

syg00 09-23-2006 04:54 AM

How (when) did you format the swap ???.
IIRC Pats instructions will format it as v0.
Issue a mkswap (without the -v keyword) from your 2.6 kernel against your swapspace, and then see how you go.

jan.linux 09-23-2006 10:32 AM

No luck with v1 :(

Hibernating works, but resuming not.

Suspend2 2.2.7.6: Missing or invalid storage location (resume2= parameter). Please correct and rerun lilo (or equivalent) before suspending.

Thanks for your reply, any more ideas?

syg00 09-23-2006 04:55 PM

Two things I'd look at;
- did you rerun /sbin/lilo after any changes to the lilo conf ??.
- have a look for an update for suspend2; 2.2.8 is mentioned for 2.6.18 on the homepage.

jan.linux 09-24-2006 04:53 AM

- did you rerun /sbin/lilo after any changes to the lilo conf ??.
Yes I did.

- have a look for an update for suspend2; 2.2.8 is mentioned for 2.6.18 on the homepage.
I know there's a new version available, but do I have to compile a new kernel for that? (It took me 2 nights to build a custom 2.6 kernel for my Toshiba laptop :p)
The version I have is 2.2.7.6-for-2.6.17 from 15-Sep-2006.

jan.linux 09-28-2006 09:46 AM

Same error with the 2.6.18 kernel :(

jan.linux 09-28-2006 12:48 PM

append="devfs=mount acpi=on resume=/dev/hda2 splash=silent nolapic"
# Change the /dev/hda2 to your swap partition"

This did the trick :-)
http://www.linuxquestions.org/questi...d.php?t=422217


All times are GMT -5. The time now is 08:31 PM.