ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] А как работает suspend?
@ 2007-01-07 16:11 Alexei V. Mezin
  2007-01-07 16:14 ` Andrey Rahmatullin
  0 siblings, 1 reply; 11+ messages in thread
From: Alexei V. Mezin @ 2007-01-07 16:11 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list


Имеется ядро 2.6.18-wks-smp-alt1 и достаточно swap-раздела. Можно ли 
заставить комп засыпать/просыпаться, а не просто выключаться/загружаться 
по полной программе? Я так понял, что suspend2 у нас вкомпилен в ядро, 
но скрипт hibernate говорит, что поддержки нету. Куда смотреть, что крутить?



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [sisyphus] А как работает suspend?
  2007-01-07 16:11 [sisyphus] А как работает suspend? Alexei V. Mezin
@ 2007-01-07 16:14 ` Andrey Rahmatullin
  2007-01-07 17:21   ` Alexei V. Mezin
  0 siblings, 1 reply; 11+ messages in thread
From: Andrey Rahmatullin @ 2007-01-07 16:14 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 732 bytes --]

On Sun, Jan 07, 2007 at 07:11:14PM +0300, Alexei V. Mezin wrote:
> Имеется ядро 2.6.18-wks-smp-alt1 и достаточно swap-раздела. Можно ли 
> заставить комп засыпать/просыпаться, а не просто выключаться/загружаться 
> по полной программе? Я так понял, что suspend2 у нас вкомпилен в ядро, 
> но скрипт hibernate говорит, что поддержки нету. Куда смотреть, что крутить?
Что именно говорит скрипт?

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

> Кстати, как именно выглядит процедура выкладывания secfixes?
выкладываете в /incoming/updates/дистрибутив/ (если необходимо),
пишете на security@, мы собираем, тестируем (если можем) и выкладываем,
пишете тест анонса, мы публикуем.
		-- ldv in devel@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [sisyphus] А как работает suspend?
  2007-01-07 16:14 ` Andrey Rahmatullin
@ 2007-01-07 17:21   ` Alexei V. Mezin
  2007-01-07 17:30     ` Andrey Rahmatullin
  0 siblings, 1 reply; 11+ messages in thread
From: Alexei V. Mezin @ 2007-01-07 17:21 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Andrey Rahmatullin wrote:

>> Имеется ядро 2.6.18-wks-smp-alt1 и достаточно swap-раздела. 

>> но скрипт hibernate говорит, что поддержки нету. Куда смотреть, что крутить?
> Что именно говорит скрипт?

Уже ничего. У меня была почему-то очень старая версия. Обновил, теперь 
ничего не говорит.
Запускаю hibernate -r1 из консоли (без иксов), экран чернеет и ничего не 
происходит. После Alt-SysRq-B перегружается, система грузится в 
соответствии с настройками lilo, без всяких suspend. При этом в dmesg 
видно вот такое:

[root@threebears ~]# dmesg | grep susp
Kernel command line: BOOT_IMAGE=2618-wks-smp-1-susp ro root=803 
resume2=swap:/dev/sda2 3
Suspend2: Initrd lacks echo > /sys/power/suspend2/do_resume.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [sisyphus] А как работает suspend?
  2007-01-07 17:21   ` Alexei V. Mezin
@ 2007-01-07 17:30     ` Andrey Rahmatullin
  2007-01-07 17:44       ` Alexei V. Mezin
  0 siblings, 1 reply; 11+ messages in thread
From: Andrey Rahmatullin @ 2007-01-07 17:30 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 647 bytes --]

On Sun, Jan 07, 2007 at 08:21:16PM +0300, Alexei V. Mezin wrote:
> Запускаю hibernate -r1 из консоли (без иксов), экран чернеет и ничего не 
> происходит.
ProcSetting userui_program /usr/sbin/suspend2ui_text

> [root@threebears ~]# dmesg | grep susp
> Kernel command line: BOOT_IMAGE=2618-wks-smp-1-susp ro root=803 
> resume2=swap:/dev/sda2 3
> Suspend2: Initrd lacks echo > /sys/power/suspend2/do_resume.
mkinitrd обновить и запустить.

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

> Не так давно в Сизифе появился этот модуль: python-module-twisted
Он там появился по ошибке.
		-- morozov in sisyphus@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [sisyphus] А как работает suspend?
  2007-01-07 17:30     ` Andrey Rahmatullin
@ 2007-01-07 17:44       ` Alexei V. Mezin
  2007-01-07 17:59         ` Andrey Rahmatullin
  2007-01-07 18:13         ` Sergey Vlasov
  0 siblings, 2 replies; 11+ messages in thread
From: Alexei V. Mezin @ 2007-01-07 17:44 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Andrey Rahmatullin wrote:
> On Sun, Jan 07, 2007 at 08:21:16PM +0300, Alexei V. Mezin wrote:
>> Запускаю hibernate -r1 из консоли (без иксов), экран чернеет и ничего не 
>> происходит.
> ProcSetting userui_program /usr/sbin/suspend2ui_text
Есть такая строка в конфигах, не закоментирована. Или нужно руками 
запускать suspend2ui_text?



>> Suspend2: Initrd lacks echo > /sys/power/suspend2/do_resume.
> mkinitrd обновить и запустить.

Обновить initrd-образ? Обновлял (путем перестановки пакета с ядром). 
Эффекта нет.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [sisyphus] А как работает suspend?
  2007-01-07 17:44       ` Alexei V. Mezin
@ 2007-01-07 17:59         ` Andrey Rahmatullin
  2007-01-07 19:30           ` Alexei V. Mezin
  2007-01-07 18:13         ` Sergey Vlasov
  1 sibling, 1 reply; 11+ messages in thread
From: Andrey Rahmatullin @ 2007-01-07 17:59 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 438 bytes --]

On Sun, Jan 07, 2007 at 08:44:43PM +0300, Alexei V. Mezin wrote:
> Есть такая строка в конфигах, не закоментирована. Или нужно руками 
> запускать suspend2ui_text?
Значит проблема в другом.

> Обновить initrd-образ?
Обновить пакет mkinitrd, затем обновить initrd.

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

 * raorn написал багорепорт на rpm в devel@...
<tren> raorn: с просьбой заменить на dpkg?

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [sisyphus] А как работает suspend?
  2007-01-07 17:44       ` Alexei V. Mezin
  2007-01-07 17:59         ` Andrey Rahmatullin
@ 2007-01-07 18:13         ` Sergey Vlasov
  1 sibling, 0 replies; 11+ messages in thread
From: Sergey Vlasov @ 2007-01-07 18:13 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 501 bytes --]

On Sun, Jan 07, 2007 at 08:44:43PM +0300, Alexei V. Mezin wrote:
> >> Suspend2: Initrd lacks echo > /sys/power/suspend2/do_resume.
> > mkinitrd обновить и запустить.
> 
> Обновить initrd-образ? Обновлял (путем перестановки пакета с ядром). 
> Эффекта нет.

Перед этим нужно обновить mkinitrd до 2.9.10-alt1 (в этой версии была
добавлена поддержка suspend2).  Можно ещё повесить баг на
kernel-image-wks-smp, чтобы в следующей сборке была добавлена
зависимость именно на эту версию mkinitrd.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [sisyphus] А как работает suspend?
  2007-01-07 17:59         ` Andrey Rahmatullin
@ 2007-01-07 19:30           ` Alexei V. Mezin
  2007-01-07 19:50             ` Andrey Rahmatullin
  0 siblings, 1 reply; 11+ messages in thread
From: Alexei V. Mezin @ 2007-01-07 19:30 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Andrey Rahmatullin wrote:
> On Sun, Jan 07, 2007 at 08:44:43PM +0300, Alexei V. Mezin wrote:
>> Есть такая строка в конфигах, не закоментирована. Или нужно руками 
>> запускать suspend2ui_text?
> Значит проблема в другом.
Да, оказалось, что hibernate очень и очень долго думает, а потом 
обламывается. Потому что не может остановить (выгрузить?) 
lirc_dev/lirc_gpio. Видимо для этого нужно по крайней мере делать stop 
сервису lircd.

Ну и после просыпания отваливаются кой-какие программки. Например, wmSMPmon.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [sisyphus] А как работает suspend?
  2007-01-07 19:30           ` Alexei V. Mezin
@ 2007-01-07 19:50             ` Andrey Rahmatullin
  2007-01-07 20:10               ` Alexei V. Mezin
  0 siblings, 1 reply; 11+ messages in thread
From: Andrey Rahmatullin @ 2007-01-07 19:50 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

On Sun, Jan 07, 2007 at 10:30:10PM +0300, Alexei V. Mezin wrote:
> обламывается. Потому что не может остановить (выгрузить?) 
> lirc_dev/lirc_gpio. Видимо для этого нужно по крайней мере делать stop 
> сервису lircd.
Так настрой, чтоб останавливало.

> Ну и после просыпания отваливаются кой-какие программки. Например, wmSMPmon.
Что говорят?

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

> Кстати, то, что имеется образование, явлений природы не
> исключает ;)
Ну я сразу знал, что кто-то мимо образования не пройдёт, а
пройдётся по нему :)
		-- lav in community@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [sisyphus] А как работает suspend?
  2007-01-07 19:50             ` Andrey Rahmatullin
@ 2007-01-07 20:10               ` Alexei V. Mezin
  2007-01-07 23:08                 ` Alexei V. Mezin
  0 siblings, 1 reply; 11+ messages in thread
From: Alexei V. Mezin @ 2007-01-07 20:10 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Andrey Rahmatullin wrote:

> 
>> Ну и после просыпания отваливаются кой-какие программки. Например, wmSMPmon.
> Что говорят?
[alexei@threebears ~]$ wmSMPmon -g 2
         wmSMPmon: failed /proc/stat read






^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [sisyphus] А как работает suspend?
  2007-01-07 20:10               ` Alexei V. Mezin
@ 2007-01-07 23:08                 ` Alexei V. Mezin
  0 siblings, 0 replies; 11+ messages in thread
From: Alexei V. Mezin @ 2007-01-07 23:08 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Alexei V. Mezin wrote:
> Andrey Rahmatullin wrote:
> 
>>> Ну и после просыпания отваливаются кой-какие программки. Например, wmSMPmon.
>> Что говорят?
> [alexei@threebears ~]$ wmSMPmon -g 2
>          wmSMPmon: failed /proc/stat read
> 
Хотя вроде эту проблему победил путем killall -19 wmSMPmon / killall -18 
wmSMPmon.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-01-07 23:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-07 16:11 [sisyphus] А как работает suspend? Alexei V. Mezin
2007-01-07 16:14 ` Andrey Rahmatullin
2007-01-07 17:21   ` Alexei V. Mezin
2007-01-07 17:30     ` Andrey Rahmatullin
2007-01-07 17:44       ` Alexei V. Mezin
2007-01-07 17:59         ` Andrey Rahmatullin
2007-01-07 19:30           ` Alexei V. Mezin
2007-01-07 19:50             ` Andrey Rahmatullin
2007-01-07 20:10               ` Alexei V. Mezin
2007-01-07 23:08                 ` Alexei V. Mezin
2007-01-07 18:13         ` Sergey Vlasov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git