You are not logged in.

#1 2007-01-12 15:01:59

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

[root@myhost ~]# hibernate /bin/echo: write error: Operation

[root@myhost ~]# hibernate
/bin/echo: write error: Operation not permitted

How hibernate?


Goodbye!

Offline

#2 2007-01-12 19:13:50

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: [root@myhost ~]# hibernate /bin/echo: write error: Operation

Since you are root it means either your kernel does not support suspending or your hardware doesn't. You may want to check your bios settings and enable acpi/apm.

Offline

#3 2007-01-12 19:50:16

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: [root@myhost ~]# hibernate /bin/echo: write error: Operation

T-Dawg wrote:

Since you are root it means either your kernel does not support suspending or your hardware doesn't. You may want to check your bios settings and enable acpi/apm.

I think acpi is enabled.
echo, i think, is network divice.


Goodbye!

Offline

#4 2007-01-12 20:48:19

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: [root@myhost ~]# hibernate /bin/echo: write error: Operation

I meant the kernel not supporting it when I said hardware. Look into using the suspend2 patches, it should support a great deal more than the vanilla kernel. kernel26beyond may have them included.

Offline

#5 2007-01-12 20:51:06

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: [root@myhost ~]# hibernate /bin/echo: write error: Operation

Echo is a command that prints text.  It's often used to dump strings into stuff in /proc for purposes like suspend.  More than likely, echo isn't the issue, but that whatever echo is trying to write to will not let it/you.  Can you give us more info as to what your setup is?


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#6 2007-01-12 20:57:29

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: [root@myhost ~]# hibernate /bin/echo: write error: Operation

It should be doing something like this:

echo "standby" >/sys/power/state

From my personal experience the permission denied errors either mean you are not root or the kernel's suspend support doesn't play nice with your hardware. Again look into getting suspend2 patches. kernel26suspend2 is in extra -try that kernel and report back.

Offline

#7 2007-01-13 09:19:39

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: [root@myhost ~]# hibernate /bin/echo: write error: Operation

T-Dawg wrote:

It should be doing something like this:

echo "standby" >/sys/power/state

From my personal experience the permission denied errors either mean you are not root or the kernel's suspend support doesn't play nice with your hardware. Again look into getting suspend2 patches. kernel26suspend2 is in extra -try that kernel and report back.

[root@myhost ~]# echo "standby" >/sys/power/state
bash: echo: write error: Operation not permitted

Did I must creat user?
Then I install pacman -S kernel26suspend2 and edit botloader like this:
# suspend2 with the suspend2 kernel
title ArchLinux Suspend2
kernel /boot/vmlinuz26suspend2 root=/dev/hda2 resume2=swap:/dev/hda3
initrd /boot/kernel26suspend2.img

Then not run archlinux.
My boot partition is in hda1, root partition in hda5.


Goodbye!

Offline

#8 2007-01-20 08:19:58

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: [root@myhost ~]# hibernate /bin/echo: write error: Operation

Then I choose from grub menu kernel with suspend2 or beyoung I get at continously after some text this text:
ntkbd.c: Spurious ACK on isa 0060/serio0 Some might be trying access hardvare directly
ntkbd.c: Spurious ACK on isa 0060/serio0 Some might be trying access hardvare directly
ntkbd.c: Spurious ACK on isa 0060/serio0 Some might be trying access hardvare directly
ntkbd.c: Spurious ACK on isa 0060/serio0 Some might be trying access hardvare directly
ntkbd.c: Spurious ACK on isa 0060/serio0 Some might be trying access hardvare directly
.
.
.

There my boot/grub/menu.lst on hda1:
timeout   80
default   0

title Arch
root   (hd0,4)
kernel /boot/vmlinuz26 root=/dev/hda5
initrd /boot/initrd26.img

title ArchLinuxSuspend2
root   (hd0,4)
kernel /boot/vmlinuz26suspend2 root=/dev/hda5 resume2=file:/dev/hda5:0x1a2b3 #resume2=swap:/dev/hdb2
initrd /boot/kernel26suspend2.img


# suspend2 with the beyond kernel
title ArchLinux Beyond
root   (hd0,4)
kernel /boot/vmlinuz26beyond root=/dev/hda5 resume2=swap:/dev/hda2
initrd /boot/kernel26beyond.img


Goodbye!

Offline

Board footer

Powered by FluxBB