Tidur / Tangguhkan saat boot, logout, dan pindah ke terminal setelah ditingkatkan ke 16,04 (Lubuntu)

0

Saya memiliki kombinasi kesalahan yang dilaporkan di tempat lain seperti masalah logout ini dan masalah boot ini . Hanya dalam kasus saya itu terjadi dua kali saat boot. Pertama kali setelah daemon termal dimulai, yang kedua tepat sebelum atau di layar masuk. Ini bukan thermaldlayanan, karena menghentikannya tidak mengubah perilaku logout. Selain itu, komputer tidur setiap kali saya beralih ke terminal, yaitu tekan Ctrl + Alt + F1. Namun, tidak pernah terjadi pada 14.04., Menyaksikan sesuatu yang serupa pada instalasi uji lengkungan. Perangkat keras sudah cukup tua. Ini adalah Cebop Hel500 dari tahun 2005. Yang didasarkan pada Fujitsu Siemens Amilo, jadi pada dasarnya perangkat kerasnya adalah semua Intel. Saya sudah mencoba mengubah tampilan manager (ke slim), dan saya menghapus light-lock... sia-sia.

Sayangnya, perilaku ini membuat penggunaan 16.04. sangat tidak nyaman. Adakah ide yang menyebabkan ini dan - bahkan lebih penting - bagaimana cara menghentikannya?

.... kenapa-o-mengapa saya memutakhirkan ... tidak pernah mengubah sistem yang berjalan!

Informasi lebih lanjut Memeriksa beberapa file log yang terungkap di syslog

Aug 11 07:55:11 xyz kernel: [    0.100063] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20150930/hwxface-580)
Aug 11 07:55:11 xyz kernel: [    0.100077] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20150930/hwxface-580)

Sesuatu dikenal ?

kemudian saya menemukan blok ini:

Aug 11 07:55:12 xyz systemd[1]: Started Raise network interfaces.
Aug 11 07:55:12 xyz systemd[1]: Started LSB: daemon to balance interrupts for SMP systems.
Aug 11 07:55:12 xyz systemd[1]: Stopped LSB: Start NTP daemon.
Aug 11 07:55:12 xyz systemd[1]: Reached target Sleep.
Aug 11 07:55:12 xyz systemd[1]: Starting Suspend...
Aug 11 07:55:12 xyz ntpdate[2148]: no servers can be used, exiting
Aug 11 07:55:12 xyz systemd-sleep[2141]: Failed to connect to non-global ctrl_ifname: (nil)  error: No such file or directory
Aug 11 07:55:12 xyz ModemManager[1996]: <info>  ModemManager (version 1.4.12) starting in system bus...
Aug 11 07:55:12 xyz systemd[1]: Starting LSB: Start NTP daemon...
Aug 11 07:55:12 xyz systemd-sleep[2142]: /lib/systemd/system-sleep/wpasupplicant failed with error code 255.
Aug 11 07:55:12 xyz systemd-sleep[2141]: Suspending system...
Aug 11 07:55:12 xyz systemd[1]: Started IIO Sensor Proxy service.
Aug 11 07:55:12 xyz ntp[2184]:  * Starting NTP server ntpd
Aug 11 07:55:13 xyz dbus[2010]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkitd.service'
Aug 11 07:55:13 xyz systemd[1]: Starting Authenticate and Authorize Users to Run Privileged Tasks...
Aug 11 07:55:13 xyz systemd[1]: Started Thermal Daemon Service.
Aug 11 07:55:13 xyz thermald[1955]: NO RAPL sysfs present
Aug 11 07:55:13 xyz thermald[1955]: 2 CPUID levels; family:model:stepping 0x6:d:8 (6:13:8)
Aug 11 07:55:13 xyz thermald[1955]:  Need Linux PowerCap sysfs
Aug 11 07:55:13 xyz apport[1979]:    ...done.

beberapa barang di antara dan nanti di blok seperti:

Aug 11 07:55:45 xyz dnsmasq[2445]: setting upstream servers from DBus
Aug 11 07:55:45 xyz dnsmasq[2445]: using nameserver fe80::1%eth3#53
Aug 11 07:55:45 xyz NetworkManager[2059]: <info>  [1470894945.6861] dns-mgr: Writing DNS information to /sbin/resolvconf
Aug 11 07:55:45 xyz NetworkManager[2059]: <info>  [1470894945.7868] dns-mgr: Writing DNS information to /sbin/resolvconf
Aug 11 07:55:45 xyz dnsmasq[2445]: setting upstream servers from DBus
Aug 11 07:55:45 xyz NetworkManager[2059]: <info>  [1470894945.8120] manager: NetworkManager state is now ASLEEP
Aug 11 07:55:45 xyz ntpd[2864]: Soliciting pool server 144.76.96.7
Aug 11 07:55:45 xyz ntpd[2864]: Soliciting pool server 46.4.88.180
Aug 11 07:55:45 xyz ntpd[2864]: Soliciting pool server 129.70.132.36
Aug 11 07:55:45 xyz ntpd[2864]: error resolving pool 3.ubuntu.pool.ntp.org: Temporary failure in name resolution (-3)
Aug 11 07:55:46 xyz nm-dispatcher: req:4 'down' [eth3]: new request (1 scripts)
Aug 11 07:55:46 xyz nm-dispatcher: req:4 'down' [eth3]: start running ordered scripts...
Aug 11 07:55:46 xyz systemd[1]: Reached target Sleep.
Aug 11 07:55:46 xyz systemd[1]: Starting Suspend...
Aug 11 07:55:46 xyz systemd-sleep[3039]: Failed to connect to non-global ctrl_ifname: (nil)  error: No such file or directory
Aug 11 07:55:46 xyz systemd-sleep[3042]: /lib/systemd/system-sleep/wpasupplicant failed with error code 255.
Aug 11 07:55:46 xyz systemd-sleep[3039]: Suspending system...
Aug 11 07:55:52 xyz kernel: [   69.728623] PM: Syncing filesystems ... done.
Aug 11 07:55:52 xyz kernel: [   70.380778] PM: Preparing system for sleep (mem)
Aug 11 07:55:52 xyz kernel: [   70.380884] Freezing user space processes ... (elapsed 0.001 seconds) done.
Aug 11 07:55:52 xyz kernel: [   70.383421] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Aug 11 07:55:52 xyz kernel: [   70.384585] PM: Suspending system (mem)
Aug 11 07:55:52 xyz kernel: [   70.384604] Suspending console(s) (use no_console_suspend to debug)
Aug 11 07:55:52 xyz kernel: [   70.430782] sd 0:0:1:0: [sda] Synchronizing SCSI cache
Aug 11 07:55:52 xyz kernel: [   70.431005] eth3: Going into suspend...
Aug 11 07:55:52 xyz kernel: [   70.544302] sd 0:0:1:0: [sda] Stopping disk
Aug 11 07:55:52 xyz kernel: [   71.660023] PM: suspend of devices complete after 1275.120 msecs
Aug 11 07:55:52 xyz kernel: [   71.676023] PM: late suspend of devices complete after 15.992 msecs
Aug 11 07:55:52 xyz kernel: [   71.676341] r8169 0000:01:0c.0: System wakeup enabled by ACPI
Aug 11 07:55:52 xyz kernel: [   71.692041] PM: noirq suspend of devices complete after 16.036 msecs
Aug 11 07:55:52 xyz kernel: [   71.692239] ACPI: Preparing to enter system sleep state S3
Aug 11 07:55:52 xyz kernel: [   71.692414] ACPI : EC: EC stopped
Aug 11 07:55:52 xyz kernel: [   71.692415] PM: Saving platform NVS memory
Aug 11 07:55:52 xyz kernel: [   71.692538] Disabling non-boot CPUs ...
Aug 11 07:55:52 xyz kernel: [   71.692538] ACPI: Low-level resume complete
Aug 11 07:55:52 xyz kernel: [   71.692538] ACPI : EC: EC started
Aug 11 07:55:52 xyz kernel: [   71.692538] PM: Restoring platform NVS memory
Aug 11 07:55:52 xyz kernel: [   71.692538] Force enabled HPET at resume
Aug 11 07:55:52 xyz kernel: [   71.692538] ACPI: Waking up from system sleep state S3

Kernel.log memiliki blok yang sesuai seperti:

Aug 11 07:55:33 xyz NetworkManager[2059]: <info>  [1470894933.8160] dhcp6 (eth3): client pid 2545 exited with status 0
Aug 11 07:55:33 xyz NetworkManager[2059]: <info>  [1470894933.8182] dhcp6 (eth3): state changed bound -> done
Aug 11 07:55:33 xyz kernel: [   56.556134] vboxdrv: Found 1 processor cores
Aug 11 07:55:34 xyz kernel: [   56.816117] vboxdrv: TSC mode is Synchronous, tentative frequency 800059759 Hz
Aug 11 07:55:34 xyz kernel: [   56.816121] vboxdrv: Successfully loaded version 5.0.24_Ubuntu (interface 0x00240000)
Aug 11 07:55:34 xyz kernel: [   56.856075] VBoxNetFlt: Successfully started.
Aug 11 07:55:34 xyz kernel: [   56.888112] VBoxNetAdp: Successfully started.
Aug 11 07:55:34 xyz kernel: [   56.944327] VBoxPciLinuxInit
Aug 11 07:55:34 xyz kernel: [   56.980240] vboxpci: IOMMU not found (not registered)
Aug 11 07:55:45 xyz NetworkManager[2059]: <info>  [1470894945.6526] manager: sleep requested (sleeping: no  enabled: yes)
Aug 11 07:55:45 xyz NetworkManager[2059]: <info>  [1470894945.6535] manager: sleeping...
Aug 11 07:55:45 xyz NetworkManager[2059]: <info>  [1470894945.6543] device (eth3): state change: activated -> unmanaged (reason 'sleeping') [100 10 37]
Aug 11 07:55:45 xyz NetworkManager[2059]: <info>  [1470894945.6562] dhcp4 (eth3): canceled DHCP transaction, DHCP client pid 2421
Aug 11 07:55:45 xyz NetworkManager[2059]: <info>  [1470894945.6570] dhcp4 (eth3): state changed bound -> done
Aug 11 07:55:45 xyz NetworkManager[2059]: <info>  [1470894945.6587] dhcp6 (eth3): canceled DHCP transaction
Aug 11 07:55:45 xyz NetworkManager[2059]: <info>  [1470894945.6861] dns-mgr: Writing DNS information to /sbin/resolvconf
Aug 11 07:55:45 xyz NetworkManager[2059]: <info>  [1470894945.7868] dns-mgr: Writing DNS information to /sbin/resolvconf
Aug 11 07:55:45 xyz NetworkManager[2059]: <info>  [1470894945.8120] manager: NetworkManager state is now ASLEEP
Aug 11 07:55:52 xyz kernel: [   69.728623] PM: Syncing filesystems ... done.
Aug 11 07:55:52 xyz kernel: [   70.380778] PM: Preparing system for sleep (mem)
Aug 11 07:55:52 xyz kernel: [   70.380884] Freezing user space processes ... (elapsed 0.001 seconds) done.
Aug 11 07:55:52 xyz kernel: [   70.383421] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Aug 11 07:55:52 xyz kernel: [   70.384585] PM: Suspending system (mem)
Aug 11 07:55:52 xyz kernel: [   70.384604] Suspending console(s) (use no_console_suspend to debug)
Aug 11 07:55:52 xyz kernel: [   70.430782] sd 0:0:1:0: [sda] Synchronizing SCSI cache
Aug 11 07:55:52 xyz kernel: [   70.431005] eth3: Going into suspend...
Aug 11 07:55:52 xyz kernel: [   70.544302] sd 0:0:1:0: [sda] Stopping disk
Aug 11 07:55:52 xyz kernel: [   71.660023] PM: suspend of devices complete after 1275.120 msecs
Aug 11 07:55:52 xyz kernel: [   71.676023] PM: late suspend of devices complete after 15.992 msecs
Aug 11 07:55:52 xyz kernel: [   71.676341] r8169 0000:01:0c.0: System wakeup enabled by ACPI
Aug 11 07:55:52 xyz kernel: [   71.692041] PM: noirq suspend of devices complete after 16.036 msecs
Aug 11 07:55:52 xyz kernel: [   71.692239] ACPI: Preparing to enter system sleep state S3
Aug 11 07:55:52 xyz kernel: [   71.692414] ACPI : EC: EC stopped
Aug 11 07:55:52 xyz kernel: [   71.692415] PM: Saving platform NVS memory
Aug 11 07:55:52 xyz kernel: [   71.692538] Disabling non-boot CPUs ...
Aug 11 07:55:52 xyz kernel: [   71.692538] ACPI: Low-level resume complete
Aug 11 07:55:52 schwuppdi kernel: [   71.692538] ACPI : EC: EC started
Aug 11 07:55:52 xyz kernel: [   71.692538] PM: Restoring platform NVS memory
Aug 11 07:55:52 xyz kernel: [   71.692538] Force enabled HPET at resume
Aug 11 07:55:52 xyz kernel: [   71.692538] ACPI: Waking up from system sleep state S3
Aug 11 07:55:52 xyz kernel: [   71.716315] PM: noirq resume of devices complete after 16.573 msecs
Aug 11 07:55:52 xyz kernel: [   71.716515] PM: early resume of devices complete after 0.439 msecs

Boot.log tidak menampilkan info apa pun tentang menangguhkan atau tidur.

Poin penting adalah bahwa tidur juga terjadi jika saya memulai komputer dengan tongkat hidup debian jessie. Jadi saya kira itu adalah masalah yang lebih mendasar tidak hanya termasuk Ubuntu.

Bahkan lebih banyak info: Saya pikir itu mungkin masalah kernel, sementara Lubuntu memiliki 4.4, debian live (lxde) memiliki 3.16. Tersebut memiliki Bunsenlabs Hidrogen, tetapi di sana saya tidak menyaksikan penundaan.

Salah: Bunsenlabs memiliki masalah penangguhan, tetapi tidak saat masuk. Instalasi tes menunjukkannya pada saat logout dan saat berubah menjadi tty1,2,3, dll, yaitu Crtl + Alt + F1 dll.

mikuszefski
sumber

Jawaban:

1

Setelah memeriksa sekali lagi pesan kesalahan termasuk dump dmesg > dmesg.txtsetelah boot, saya menemukan diskusi untuk Arch . Setelah mencoba kedua opsi secara terpisah ternyata menambahkan HandleLidSwitch=ignoreuntuk /etc/systemd/logind.confmelakukan trik. Namun disebutkan juga HandleSuspendKey=ignoretidak perlu. Sejujurnya, saya menganggap ini lebih sebagai solusi daripada solusi. Sementara masalah ini diselesaikan, oleh karena itu, tetap tidak jelas bagi saya apa yang sebenarnya berubah dari 14,04 menjadi 16,04 untuk membuatnya muncul di tempat pertama.

Tepuk tangan

mikuszefski
sumber
Terima kasih, tip Anda melakukan trik untuk Amilor Pro yang langka :)
alex
@ alex Senang mendengar bahwa itu membantu seseorang.
mikuszefski