From: "Минц Михаил Михайлович" <arnansky@inbox.ru> To: ALT Linux Community <community@lists.altlinux.org> Subject: [Comm] Hibernation mode does not work Date: Tue, 25 Jul 2006 10:51:19 +0400 Message-ID: <200607251051.19202.arnansky@inbox.ru> (raw) In-Reply-To: <1151406935.395502.259173769.776.14@altlinux.ru> [-- Attachment #1: Type: text/plain, Size: 2777 bytes --] Всем привет! > > Почему-то система отказывается переходить в спящий режим, ни > > вручную, ни автоматически. На экране появляется окно с > > заголовком "Ошибка - KPowersave" и текстом: > > > The kernel version "vmlinuz" in /boot does not match the > > > running kernel version "2.6.12-std26-up-alt7". Resuming > > > with this kernel will not work. If you know what you are > > > doing, you can override this in > > > /etc/sysconfig/powersave/sleep with the variable > > > SUSPEND2DISK_IGNORE_KERNEL_MISMATCH=yes. > > > > Причём это не зависит от того, какой загрузочный образ > > выбран в меню "Lilo": /boot/vmlinuz-up или > > /boot/vmlinuz-2.6.12-std26-up-alt7. Что означает это > > сообщение и можно ли как-то решить проблему? > > > > Спасибо > > Эту проблему можно решить двумя способами: > 1. проверить куда указвает символическая ссылка /boot/vmlinuz. > Она должна указвать на /boot/vmlinuz-up или на > /boot/vmlinuz-2.6.12-std26-up-alt7. Если это не так удалите > /boot/vmlinuz и создайте в директории /boot новую > символическую ссылку vmlinuz на vmlinuz-up > 2. Отклучить проверку в kpowersave. Для этого в файл > /etc/sysconfig/powersave/sleep найдите строку > SUSPEND2DISK_IGNORE_KERNEL_MISMATCH="" и поменяйте на > SUSPEND2DISK_IGNORE_KERNEL_MISMATCH=yes Помог второй способ (ссылки /boot/vmlinuz в моей системе нет), но появилась другая проблема. Теперь при попытке перейти в спящий режим просто блокируется экран, но компьютер продолжает работать. Более того, если попытаться перейти в спящий режим вручную и потом ничего не предпринимать, то в назначенное в настройках "KDE" время произойдёт даже отключение экрана, как будто его просто заблокировали и так оставили. А если при попытке перейти в спящий режим был открыт хоть один файл или каталог на разделе FAT, то не происходит даже этого. На экране появляется окошко с заголовком "Подготовка к засыпанию..." и индикатором выполнения в виде линейки, линейка заполняется на 25%, ниже линейки появляется комментарий: "отключать разделы FAT/NTFS". После этого окошко пропадает, а компьютер продолжает работать вообще без каких-либо изменений. При этом в рутовской консоли (если она запущена) появляется следующий текст: > Broadcast message from root (Sat Jul 8 17:51:31 2006): > Process bash(8227) is accessing an ntfs/fat mountpoint. Please > make sure fat/ntfs mountpoints are unmountable before > proceeding. > \nInvoked from script. Proceed? На всякий случай прилагаю выдержки из журналов /var/log/syslog/messages и /var/log/user/info (18:03:54 - первая попытка перейти в спящий режим, открыт каталог на разделе FAT; 18:04:49 - вторая попытка, раздел FAT не используется), а также две версии журнала suspend2disk.log (suspend2disk.log.1 и suspend2disk.log.2). С уважением Михаил [-- Attachment #2: suspend2disk.log.1 --] [-- Type: text/plain, Size: 3640 bytes --] suspend2disk initiated: 2006-07-08 18:03:54 Loaded modules: Module Size Used by ohci_hcd 20484 0 binfmt_misc 11400 1 ac 4996 0 cpufreq_powersave 1920 0 cpufreq_conservative 7076 0 cpufreq_ondemand 6172 1 cpufreq_userspace 4572 0 lp 12616 0 nvidia 3708168 12 thermal 13192 0 button 6800 0 ide_cd 39684 0 cdrom 37536 1 ide_cd shpchp 90212 0 pci_hotplug 26804 1 shpchp af_packet 21640 4 forcedeth 18176 0 i2c_nforce2 6784 0 i2c_core 21008 1 i2c_nforce2 evdev 9344 0 amd64_agp 12104 1 agpgart 34248 2 nvidia,amd64_agp psmouse 35844 0 parport_pc 38468 1 parport 33864 2 lp,parport_pc 8250_pnp 8704 0 8250 32100 1 8250_pnp serial_core 21120 1 8250 floppy 57300 0 pcspkr 3652 0 ehci_hcd 32904 0 usbcore 114012 3 ohci_hcd,ehci_hcd snd_intel8x0 32192 1 snd_ac97_codec 77436 1 snd_intel8x0 snd_pcm_oss 51744 0 snd_seq_dummy 3972 0 snd_seq_oss 33024 0 snd_seq_midi_event 7040 1 snd_seq_oss snd_seq 49296 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_seq_device 8716 3 snd_seq_dummy,snd_seq_oss,snd_seq snd_mixer_oss 18048 1 snd_pcm_oss snd_pcm 85384 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss snd_timer 23812 2 snd_seq,snd_pcm snd 53636 12 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_mixer_oss,snd_pcm,snd_timer soundcore 9184 1 snd snd_page_alloc 9860 2 snd_intel8x0,snd_pcm powernow_k8 12296 0 freq_table 4612 1 powernow_k8 processor 22324 2 thermal,powernow_k8 ntfs 170768 1 nls_koi8_r 5376 3 nls_cp866 5376 2 vfat 13056 2 fat 50716 1 vfat nls_base 7296 5 ntfs,nls_koi8_r,nls_cp866,vfat,fat dm_mod 55868 0 rtc 12216 0 reiserfs 248176 2 sata_nv 9220 0 libata 46468 1 sata_nv sd_mod 18448 0 scsi_mod 131272 2 libata,sd_mod ide_disk 17024 7 ide_generic 1408 0 [permanent] amd74xx 12828 0 [permanent] ide_core 120856 4 ide_cd,ide_disk,ide_generic,amd74xx Memory info: total used free shared buffers cached Mem: 1036588 433772 602816 0 61980 189264 -/+ buffers/cache: 182528 854060 Swap: 2128572 0 2128572 ------------------------------------------------------------------------------ ========we are going to sleep, preparing.======== == Unmounting FAT/NTFS filesystems: == device /dev/hda8 mounted on '/mnt/documents' is accessed by bash(8227) device /dev/hda2 mounted on '/mnt/win98' device /dev/hda1 mounted on '/mnt/winxp' filesystems in use, asking user... user does not want to continue. aborting suspend == restore_after_sleep: restart and reload everything == Resuming: --------- Reloading modules: Restarting services: Remounting filesystems: not necessary. [-- Attachment #3: var_log_user_info --] [-- Type: text/plain, Size: 603 bytes --] Jul 8 18:03:54 localhost [powersave-prepare_suspend_to_disk][9363]: WARNING: no kernelfile matching the runnin g kernel found Jul 8 18:03:56 localhost wall[9450]: wall: user root broadcasted 3 lines (164 chars) Jul 8 18:04:49 localhost [powersave-prepare_suspend_to_disk][9469]: WARNING: no kernelfile matching the runnin g kernel found Jul 8 18:04:49 localhost [powersave-prepare_suspend_to_disk][9469]: WARNING: could not set shutdown mode. errn o: '1' Jul 8 18:04:49 localhost [powersave-prepare_suspend_to_disk][9469]: WARNING: a software-suspend enabled kernel is needed for suspend to disk [-- Attachment #4: var_log_syslog_messages --] [-- Type: text/plain, Size: 2738 bytes --] Jul 8 18:03:54 localhost [powersave-prepare_suspend_to_disk][9363]: WARNING: no kernelfile matching the runnin g kernel found Jul 8 18:03:56 localhost pam_tcb[9441]: su: Session opened for root by (uid=0) Jul 8 18:03:56 localhost pam_tcb[9441]: su: Session closed for root Jul 8 18:03:56 localhost wall[9450]: wall: user root broadcasted 3 lines (164 chars) Jul 8 18:04:49 localhost [powersave-prepare_suspend_to_disk][9469]: WARNING: no kernelfile matching the runnin g kernel found Jul 8 18:04:49 localhost udevd[2382]: get_netlink_msg: no ACTION in payload found, skip event 'umount' Jul 8 18:04:49 localhost last message repeated 2 times Jul 8 18:04:49 localhost kernel: ohci_hcd 0000:00:02.0: remove, state 1 Jul 8 18:04:49 localhost kernel: usb usb2: USB disconnect, address 1 Jul 8 18:04:49 localhost kernel: ohci_hcd 0000:00:02.0: USB bus 2 deregistered Jul 8 18:04:49 localhost kernel: ohci_hcd 0000:00:02.1: remove, state 1 Jul 8 18:04:49 localhost kernel: usb usb3: USB disconnect, address 1 Jul 8 18:04:49 localhost kernel: ohci_hcd 0000:00:02.1: USB bus 3 deregistered Jul 8 18:04:49 localhost [powersave-prepare_suspend_to_disk][9469]: WARNING: could not set shutdown mode. errn o: '1' Jul 8 18:04:49 localhost [powersave-prepare_suspend_to_disk][9469]: WARNING: a software-suspend enabled kernel is needed for suspend to disk Jul 8 18:04:49 localhost kernel: ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [APCF] -> GSI 22 (level, high) -> IRQ 22 Jul 8 18:04:49 localhost kernel: ohci_hcd 0000:00:02.0: nVidia Corporation CK8S USB Controller Jul 8 18:04:49 localhost kernel: ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2 Jul 8 18:04:49 localhost kernel: ohci_hcd 0000:00:02.0: irq 22, io mem 0xfa004000 Jul 8 18:04:49 localhost kernel: hub 2-0:1.0: USB hub found Jul 8 18:04:49 localhost kernel: hub 2-0:1.0: 4 ports detected Jul 8 18:04:49 localhost kernel: ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [APCG] -> GSI 21 (level, high) -> IRQ 21 Jul 8 18:04:49 localhost kernel: ohci_hcd 0000:00:02.1: nVidia Corporation CK8S USB Controller (#2) Jul 8 18:04:49 localhost kernel: ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 3 Jul 8 18:04:49 localhost kernel: ohci_hcd 0000:00:02.1: irq 21, io mem 0xfa005000 Jul 8 18:04:49 localhost kernel: hub 3-0:1.0: USB hub found Jul 8 18:04:49 localhost kernel: hub 3-0:1.0: 4 ports detected Jul 8 18:04:49 localhost kernel: NTFS volume version 3.0. Jul 8 18:04:49 localhost udevd[2382]: get_netlink_msg: no ACTION in payload found, skip event 'mount' Jul 8 18:04:50 localhost last message repeated 2 times Jul 8 18:04:58 localhost pam_tcb[9742]: kscreensaver: Authentication passed for mmm from (uid=500) [-- Attachment #5: suspend2disk.log.2 --] [-- Type: text/plain, Size: 4856 bytes --] suspend2disk initiated: 2006-07-08 18:04:49 Loaded modules: Module Size Used by ohci_hcd 20484 0 binfmt_misc 11400 1 ac 4996 0 cpufreq_powersave 1920 0 cpufreq_conservative 7076 0 cpufreq_ondemand 6172 1 cpufreq_userspace 4572 0 lp 12616 0 nvidia 3708168 12 thermal 13192 0 button 6800 0 ide_cd 39684 0 cdrom 37536 1 ide_cd shpchp 90212 0 pci_hotplug 26804 1 shpchp af_packet 21640 4 forcedeth 18176 0 i2c_nforce2 6784 0 i2c_core 21008 1 i2c_nforce2 evdev 9344 0 amd64_agp 12104 1 agpgart 34248 2 nvidia,amd64_agp psmouse 35844 0 parport_pc 38468 1 parport 33864 2 lp,parport_pc 8250_pnp 8704 0 8250 32100 1 8250_pnp serial_core 21120 1 8250 floppy 57300 0 pcspkr 3652 0 ehci_hcd 32904 0 usbcore 114012 3 ohci_hcd,ehci_hcd snd_intel8x0 32192 1 snd_ac97_codec 77436 1 snd_intel8x0 snd_pcm_oss 51744 0 snd_seq_dummy 3972 0 snd_seq_oss 33024 0 snd_seq_midi_event 7040 1 snd_seq_oss snd_seq 49296 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_seq_device 8716 3 snd_seq_dummy,snd_seq_oss,snd_seq snd_mixer_oss 18048 1 snd_pcm_oss snd_pcm 85384 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss snd_timer 23812 2 snd_seq,snd_pcm snd 53636 12 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_mixer_oss,snd_pcm,snd_timer soundcore 9184 1 snd snd_page_alloc 9860 2 snd_intel8x0,snd_pcm powernow_k8 12296 0 freq_table 4612 1 powernow_k8 processor 22324 2 thermal,powernow_k8 ntfs 170768 1 nls_koi8_r 5376 3 nls_cp866 5376 2 vfat 13056 2 fat 50716 1 vfat nls_base 7296 5 ntfs,nls_koi8_r,nls_cp866,vfat,fat dm_mod 55868 0 rtc 12216 0 reiserfs 248176 2 sata_nv 9220 0 libata 46468 1 sata_nv sd_mod 18448 0 scsi_mod 131272 2 libata,sd_mod ide_disk 17024 7 ide_generic 1408 0 [permanent] amd74xx 12828 0 [permanent] ide_core 120856 4 ide_cd,ide_disk,ide_generic,amd74xx Memory info: total used free shared buffers cached Mem: 1036588 434144 602444 0 62064 189272 -/+ buffers/cache: 182808 853780 Swap: 2128572 0 2128572 ------------------------------------------------------------------------------ ========we are going to sleep, preparing.======== == Unmounting FAT/NTFS filesystems: == device /dev/hda8 mounted on '/mnt/documents' device /dev/hda2 mounted on '/mnt/win98' device /dev/hda1 mounted on '/mnt/winxp' trying to umount device: '/dev/hda8' '/mnt/documents' -t 'vfat' -o 'rw,umask=0000' success. trying to umount device: '/dev/hda2' '/mnt/win98' -t 'vfat' -o 'rw' success. trying to umount device: '/dev/hda1' '/mnt/winxp' -t 'ntfs' -o 'rw' success. == FAT/NTFS filesystems unmounted == Stopping services: ('slmodemd irda' configured) none running. ------------------------------------------------------------------------------ Unloading modules: ('usb_storage sbp2 ohci_hcd uhci_hcd stir4200 ohci1394 ipw2200 rt2500 prism54 lt_modem Intel536 Intel537' configured) checking usb_storage checking sbp2 checking ohci_hcd # trying to unload: ohci_hcd unloaded: ohci_hcd checking uhci_hcd checking stir4200 checking ohci1394 checking ipw2200 checking rt2500 checking prism54 checking lt_modem checking Intel536 checking Intel537 ------------------------------------------------------------------------------ prepare_sleep finished for suspend2disk ------------------------------------------------------------------------------ ========we are back from suspend, cleaning up.======== == restore_after_sleep: restart and reload everything == Resuming: --------- Reloading modules: ohci_hcd Restarting services: Remounting filesystems: mounted '/dev/hda1' to '/mnt/winxp', options '-o rw' mounted '/dev/hda2' to '/mnt/win98', options '-o rw' mounted '/dev/hda8' to '/mnt/documents', options '-o rw,umask=0000' ======================================= restore_after_suspend_to_disk: finished
parent reply other threads:[~2006-07-25 6:51 UTC|newest] Thread overview: expand[flat|nested] mbox.gz Atom feed [parent not found: <1151406935.395502.259173769.776.14@altlinux.ru>]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200607251051.19202.arnansky@inbox.ru \ --to=arnansky@inbox.ru \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git