Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: jak debugovat uspávání  (Přečteno 1885 krát)

libcha

  • Aktivní člen
  • *
  • Příspěvků: 122
jak debugovat uspávání
« kdy: 01 Června 2017, 14:21:47 »
Ahoj,
ubuntu-mate 17.04, nefunguje na mém PC uspávání do paměti.
Počítač se zdá se uspí, ale hned na to se zas probere.
Co mám zkoumat/opravit, aby to fungovalo? Jaký kus HW za to "může"?
Dmesg:
Kód: [Vybrat]
[18612.003982] wlp5s0: deauthenticating from 3c:46:d8:5c:7b:e7 by local choice (Reason: 3=DEAUTH_LEAVING)
[18612.037319] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[18622.214796] PM: Syncing filesystems ... done.
[18622.585213] PM: Preparing system for sleep (mem)
[18622.585519] Freezing user space processes ... (elapsed 0.001 seconds) done.
[18622.587395] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[18622.588755] PM: Suspending system (mem)
[18622.588774] Suspending console(s) (use no_console_suspend to debug)
[18622.589795] sd 4:0:0:0: [sda] Synchronizing SCSI cache
[18622.590544] serial 00:06: disabled
[18622.590553] serial 00:06: System wakeup disabled by ACPI
[18622.590722] ACPI : EC: event blocked
[18622.591917] nouveau 0000:01:00.0: DRM: suspending console...
[18622.591926] nouveau 0000:01:00.0: DRM: suspending display...
[18622.625011] nouveau 0000:01:00.0: DRM: evicting buffers...
[18622.666314] sd 4:0:0:0: [sda] Stopping disk
[18624.238469] nouveau 0000:01:00.0: DRM: waiting for kernel channels to go idle...
[18624.238512] nouveau 0000:01:00.0: DRM: suspending client object trees...
[18624.238928] nouveau 0000:01:00.0: DRM: suspending kernel object tree...
[18625.963783] PM: suspend of devices complete after 3374.387 msecs
[18625.965388] PM: late suspend of devices complete after 1.601 msecs
[18625.966702] ACPI : EC: interrupt blocked
[18625.966969] pcieport 0000:00:07.0: System wakeup enabled by ACPI
[18625.966977] pcieport 0000:00:05.0: System wakeup enabled by ACPI
[18625.967014] pcieport 0000:00:04.0: System wakeup enabled by ACPI
[18625.967194] ehci-pci 0000:00:16.2: System wakeup enabled by ACPI
[18625.967256] ohci-pci 0000:00:16.0: System wakeup enabled by ACPI
[18625.967258] ohci-pci 0000:00:14.5: System wakeup enabled by ACPI
[18625.967548] ohci-pci 0000:00:13.0: System wakeup enabled by ACPI
[18625.967569] ohci-pci 0000:00:12.0: System wakeup enabled by ACPI
[18625.967588] ehci-pci 0000:00:13.2: System wakeup enabled by ACPI
[18625.967607] ehci-pci 0000:00:12.2: System wakeup enabled by ACPI
[18626.003467] PM: noirq suspend of devices complete after 38.073 msecs
[18626.005333] ACPI: Preparing to enter system sleep state S3
[18626.005456] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[18626.006545] ACPI : EC: EC stopped
[18626.006546] PM: Saving platform NVS memory
[18626.006870] Disabling non-boot CPUs ...
[18626.007798] Broke affinity for irq 19
[18626.007836] Broke affinity for irq 36
[18626.010924] smpboot: CPU 1 is now offline
[18626.037414] Broke affinity for irq 19
[18626.037456] Broke affinity for irq 36
[18626.038550] smpboot: CPU 2 is now offline
[18626.061142] Broke affinity for irq 19
[18626.061149] Broke affinity for irq 21
[18626.061182] Broke affinity for irq 36
[18626.062256] smpboot: CPU 3 is now offline
[18626.085090] Broke affinity for irq 19
[18626.085097] Broke affinity for irq 21
[18626.085132] Broke affinity for irq 36
[18626.086221] smpboot: CPU 4 is now offline
[18626.108872] Broke affinity for irq 18
[18626.108876] Broke affinity for irq 19
[18626.108882] Broke affinity for irq 21
[18626.108914] Broke affinity for irq 36
[18626.109985] smpboot: CPU 5 is now offline
[18626.132752] Broke affinity for irq 18
[18626.132757] Broke affinity for irq 19
[18626.132763] Broke affinity for irq 21
[18626.132799] Broke affinity for irq 36
[18626.132825] Broke affinity for irq 49
[18626.133887] smpboot: CPU 6 is now offline
[18626.156544] Broke affinity for irq 18
[18626.156548] Broke affinity for irq 19
[18626.156551] Broke affinity for irq 20
[18626.156554] Broke affinity for irq 21
[18626.156586] Broke affinity for irq 36
[18626.156610] Broke affinity for irq 49
[18626.157655] smpboot: CPU 7 is now offline
[18626.178689] ACPI: Low-level resume complete
[18626.178719] ACPI : EC: EC started
[18626.178720] PM: Restoring platform NVS memory
[18626.178921] PCI-DMA: Resuming GART IOMMU
[18626.178922] PCI-DMA: Restoring GART aperture settings
[18626.178929] LVT offset 0 assigned for vector 0x400
[18626.179148] Suspended for 3.252 seconds
[18626.179178] Enabling non-boot CPUs ...
[18626.190746] x86: Booting SMP configuration:
[18626.190747] smpboot: Booting Node 0 Processor 1 APIC 0x11
[18626.193735]  cache: parent cpu1 should not be sleeping
[18626.193843] microcode: CPU1: patch_level=0x06000822
[18626.193947] CPU1 is up
[18626.206798] smpboot: Booting Node 0 Processor 2 APIC 0x12
[18626.209684]  cache: parent cpu2 should not be sleeping
[18626.209796] microcode: CPU2: patch_level=0x06000822
[18626.209927] CPU2 is up
[18626.222757] smpboot: Booting Node 0 Processor 3 APIC 0x13
[18626.225642]  cache: parent cpu3 should not be sleeping
[18626.225756] microcode: CPU3: patch_level=0x06000822
[18626.225902] CPU3 is up
[18626.246790] smpboot: Booting Node 0 Processor 4 APIC 0x14
[18626.249687]  cache: parent cpu4 should not be sleeping
[18626.249797] microcode: CPU4: patch_level=0x06000822
[18626.249966] CPU4 is up
[18626.262830] smpboot: Booting Node 0 Processor 5 APIC 0x15
[18626.265746]  cache: parent cpu5 should not be sleeping
[18626.265859] microcode: CPU5: patch_level=0x06000822
[18626.266037] CPU5 is up
[18626.278856] smpboot: Booting Node 0 Processor 6 APIC 0x16
[18626.281755]  cache: parent cpu6 should not be sleeping
[18626.281869] microcode: CPU6: patch_level=0x06000822
[18626.282060] CPU6 is up
[18626.294895] smpboot: Booting Node 0 Processor 7 APIC 0x17
[18626.297804]  cache: parent cpu7 should not be sleeping
[18626.297912] microcode: CPU7: patch_level=0x06000822
[18626.298117] CPU7 is up
[18626.309921] ACPI: Waking up from system sleep state S3
[18626.310604] ohci-pci 0000:00:12.0: System wakeup disabled by ACPI
[18626.310617] ACPI : EC: interrupt unblocked
[18626.310619] ohci-pci 0000:00:13.0: System wakeup disabled by ACPI
[18626.310701] ohci-pci 0000:00:14.5: System wakeup disabled by ACPI
[18626.310708] ohci-pci 0000:00:16.0: System wakeup disabled by ACPI
[18626.326751] ehci-pci 0000:00:12.2: System wakeup disabled by ACPI
[18626.326755] ehci-pci 0000:00:13.2: System wakeup disabled by ACPI
[18626.326967] pcieport 0000:00:05.0: System wakeup disabled by ACPI
[18626.326986] pcieport 0000:00:07.0: System wakeup disabled by ACPI
[18626.334885] ehci-pci 0000:00:16.2: System wakeup disabled by ACPI
[18626.347027] PM: noirq resume of devices complete after 36.641 msecs
[18626.347612] PM: early resume of devices complete after 0.546 msecs
[18626.347735] nouveau 0000:01:00.0: DRM: resuming kernel object tree...
[18626.347747] pcieport 0000:00:04.0: System wakeup disabled by ACPI
[18626.347810] usb usb8: root hub lost power or was reset
[18626.347815] usb usb9: root hub lost power or was reset
[18626.347833] usb usb10: root hub lost power or was reset
[18626.347834] usb usb11: root hub lost power or was reset
[18626.348815] ACPI : EC: event unblocked
[18626.349782] rtc_cmos 00:03: System wakeup disabled by ACPI
[18626.361036] serial 00:06: activated
[18626.376060] sd 4:0:0:0: [sda] Starting disk
[18626.477826] r8169 0000:02:00.0 enp2s0: link down
[18626.533454] nouveau 0000:01:00.0: DRM: resuming client object trees...
[18626.533625] nouveau 0000:01:00.0: DRM: resuming display...
[18626.559114] nouveau 0000:01:00.0: DRM: resuming console...
[18626.902894] usb 10-1: reset low-speed USB device number 2 using xhci_hcd
[18626.938702] firewire_core 0000:06:05.2: rediscovered device fw0
[18627.224335] PM: resume of devices complete after 876.687 msecs
[18627.227740] PM: Finishing wakeup.
[18627.227740] Restarting tasks ... done.
[18627.250590] usb 4-2: USB disconnect, device number 2
[18627.374616] usb 7-3: new low-speed USB device number 6 using ohci-pci
[18627.554671] usb 7-3: device descriptor read/64, error -62
[18627.586669] usb 4-2: new low-speed USB device number 3 using ohci-pci
[18627.783812] usb 4-2: New USB device found, idVendor=1a2c, idProduct=0002
[18627.783816] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[18627.783819] usb 4-2: Product: USB Keykoard
[18627.783821] usb 4-2: Manufacturer: USB
[18627.791485] input: USB USB Keykoard as /devices/pci0000:00/0000:00:12.0/usb4/4-2/4-2:1.0/0003:1A2C:0002.0004/input/input16
[18627.814679] usb 7-3: device descriptor read/64, error -62
[18627.851157] hid-generic 0003:1A2C:0002.0004: input,hidraw0: USB HID v1.10 Keyboard [USB USB Keykoard] on usb-0000:00:12.0-2/input0
[18627.855463] input: USB USB Keykoard as /devices/pci0000:00/0000:00:12.0/usb4/4-2/4-2:1.1/0003:1A2C:0002.0005/input/input17
[18627.914969] hid-generic 0003:1A2C:0002.0005: input,hidraw1: USB HID v1.10 Device [USB USB Keykoard] on usb-0000:00:12.0-2/input1
[18627.994639] ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[18628.070611] usb 7-3: new low-speed USB device number 7 using ohci-pci
[18628.088773] ata5.00: configured for UDMA/133
[18628.222629] usb 7-3: device descriptor read/64, error -62
[18628.240942] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[18628.333541] r8169 0000:02:00.0 enp2s0: link down
[18628.333650] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[18628.335181] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[18628.353131] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[18628.377375] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[18628.436177] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[18628.482707] usb 7-3: device descriptor read/64, error -62
[18628.738718] usb 7-3: new low-speed USB device number 8 using ohci-pci
[18629.154673] usb 7-3: device not accepting address 8, error -62
[18629.327685] IPv6: ADDRCONF(NETDEV_UP): wlp5s0: link is not ready
[18629.330680] usb 7-3: new low-speed USB device number 9 using ohci-pci
[18629.416420] wlp5s0: authenticate with 3c:46:d8:5c:7b:e7
[18629.430566] wlp5s0: send auth to 3c:46:d8:5c:7b:e7 (try 1/3)
[18629.674031] wlp5s0: authenticated
[18629.674677] wlp5s0: associate with 3c:46:d8:5c:7b:e7 (try 1/3)
[18629.678872] wlp5s0: RX AssocResp from 3c:46:d8:5c:7b:e7 (capab=0x431 status=0 aid=1)
[18629.678976] wlp5s0: associated
[18629.679081] IPv6: ADDRCONF(NETDEV_CHANGE): wlp5s0: link becomes ready
[18629.746757] usb 7-3: device not accepting address 9, error -62
[18629.746795] usb usb7-port3: unable to enumerate USB device
Dodám další informace, když budu vědět jaké.
Díky za hinty!

rejže

  • Aktivní člen
  • *
  • Příspěvků: 162
Re:jak debugovat uspávání
« Odpověď #1 kdy: 04 Června 2017, 15:17:06 »
Asi bude zajimavejsi syslog nebo kernlog. Nicméně mám starší ionbox který od určitého jádra nejde prozměnu vypnout a znovu se spustí. Uspat ale jde. Nikdy jsem nezjistil co s tím, tak buď uspávám, nebo vypnu příkazem powerof -f.
Poděl se taky jakou hw konfiguraci tam máš. Jo a ten syslog a kernlog nejdrív smaž a pak reboot, ať tam není milion řádek.
« Poslední změna: 04 Června 2017, 15:19:52 od rejže »
Acer Switch alpha12 core i3,128GB ssd

 

Provoz zaštiťuje spolek OpenAlt.