pc non si spegne

Forum di supporto per utenti di lingua italiana
Forum rules
Topics in this forum are automatically closed 6 months after creation.
lucapture
Level 1
Level 1
Posts: 18
Joined: Sat Dec 12, 2020 5:44 am

pc non si spegne

Post by lucapture »

ciao a tutti
ho anchio il problema del pc che non si spegne e non fa neanche il riavvio
qualche volta si disconnette da internet
ho guardato gli altri post ma non ho tirato fuori molto

Code: Select all

luca@LucaLuna:~$ inxi -Fxxxrluca@LucaLuna:~$ inxi -Fxxxr
System:
  Host: LucaLuna Kernel: 5.4.0-88-generic x86_64 bits: 64 compiler: gcc 
  v: 9.3.0 Desktop: MATE 1.24.0 info: mate-panel wm: marco 1.24.0 
  dm: LightDM 1.30.0 Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: Hewlett-Packard product: HP 250 G3 Notebook PC 
  v: 096C100000405F00050660181 serial: <superuser/root required> Chassis: 
  type: 10 serial: <superuser/root required> 
  Mobo: Hewlett-Packard model: 2213 v: 57.35 
  serial: <superuser/root required> UEFI: Insyde v: F.23 date: 09/19/2014 
Battery:
  ID-1: BAT1 charge: 19.8 Wh condition: 19.8/31.1 Wh (64%) volts: 12.7/11.1 
  model: COMPAL PABAS0241231 type: Li-ion serial: 0000 status: Full 
CPU:
  Topology: Dual Core model: Intel Celeron N2840 bits: 64 type: MCP 
  arch: Silvermont rev: 8 L2 cache: 1024 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 8666 
  Speed: 608 MHz min/max: 500/2582 MHz Core speeds (MHz): 1: 571 2: 501 
Graphics:
  Device-1: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display 
  vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0 
  chip ID: 8086:0f31 
  Display: x11 server: X.Org 1.20.11 driver: modesetting 
  unloaded: fbdev,vesa compositor: marco v: 1.24.0 resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics (BYT) v: 4.2 Mesa 21.0.3 
  compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel Atom Processor Z36xxx/Z37xxx Series High Definition Audio 
  vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  chip ID: 8086:0f04 
  Sound Server: ALSA v: k5.4.0-88-generic 
Network:
  Device-1: Ralink RT3290 Wireless 802.11n 1T/1R PCIe 
  vendor: Hewlett-Packard driver: rt2800pci v: 2.3.0 port: 2000 
  bus ID: 02:00.0 chip ID: 1814:3290 
  IF: wlp2s0f0 state: up mac: b0:10:41:29:da:fb 
  Device-2: Realtek RTL810xE PCI Express Fast Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 1000 bus ID: 04:00.0 
  chip ID: 10ec:8136 
  IF: enp4s0 state: down mac: 34:64:a9:ca:43:5e 
Drives:
  Local Storage: total: 465.76 GiB used: 20.59 GiB (4.4%) 
  ID-1: /dev/sda vendor: HGST (Hitachi) model: HTS545050A7E680 
  size: 465.76 GiB speed: 3.0 Gb/s rotation: 5400 rpm serial: TM8514GL2K5UHR 
  rev: AH10 scheme: GPT 
Partition:
  ID-1: / size: 456.96 GiB used: 20.58 GiB (4.5%) fs: ext4 dev: /dev/sda2 
Sensors:
  System Temperatures: cpu: 49.0 C mobo: 44.0 C 
  Fan Speeds (RPM): N/A 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com uma main upstream import backport #id:linuxmint_main
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
  Active apt repos in: /etc/apt/sources.list.d/yannubuntu-boot-repair-focal.list 
  1: deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal main
Info:
  Processes: 185 Uptime: 1h 16m Memory: 1.83 GiB used: 1003.9 MiB (53.5%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: mate-terminal inxi: 3.0.38 

System:
  Host: LucaLuna Kernel: 5.4.0-88-generic x86_64 bits: 64 compiler: gcc 
  v: 9.3.0 Desktop: MATE 1.24.0 info: mate-panel wm: marco 1.24.0 
  dm: LightDM 1.30.0 Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: Hewlett-Packard product: HP 250 G3 Notebook PC 
  v: 096C100000405F00050660181 serial: <superuser/root required> Chassis: 
  type: 10 serial: <superuser/root required> 
  Mobo: Hewlett-Packard model: 2213 v: 57.35 
  serial: <superuser/root required> UEFI: Insyde v: F.23 date: 09/19/2014 
Battery:
  ID-1: BAT1 charge: 19.8 Wh condition: 19.8/31.1 Wh (64%) volts: 12.7/11.1 
  model: COMPAL PABAS0241231 type: Li-ion serial: 0000 status: Full 
CPU:
  Topology: Dual Core model: Intel Celeron N2840 bits: 64 type: MCP 
  arch: Silvermont rev: 8 L2 cache: 1024 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 8666 
  Speed: 608 MHz min/max: 500/2582 MHz Core speeds (MHz): 1: 571 2: 501 
Graphics:
  Device-1: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display 
  vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0 
  chip ID: 8086:0f31 
  Display: x11 server: X.Org 1.20.11 driver: modesetting 
  unloaded: fbdev,vesa compositor: marco v: 1.24.0 resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics (BYT) v: 4.2 Mesa 21.0.3 
  compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel Atom Processor Z36xxx/Z37xxx Series High Definition Audio 
  vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  chip ID: 8086:0f04 
  Sound Server: ALSA v: k5.4.0-88-generic 
Network:
  Device-1: Ralink RT3290 Wireless 802.11n 1T/1R PCIe 
  vendor: Hewlett-Packard driver: rt2800pci v: 2.3.0 port: 2000 
  bus ID: 02:00.0 chip ID: 1814:3290 
  IF: wlp2s0f0 state: up mac: b0:10:41:29:da:fb 
  Device-2: Realtek RTL810xE PCI Express Fast Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 1000 bus ID: 04:00.0 
  chip ID: 10ec:8136 
  IF: enp4s0 state: down mac: 34:64:a9:ca:43:5e 
Drives:
  Local Storage: total: 465.76 GiB used: 20.59 GiB (4.4%) 
  ID-1: /dev/sda vendor: HGST (Hitachi) model: HTS545050A7E680 
  size: 465.76 GiB speed: 3.0 Gb/s rotation: 5400 rpm serial: TM8514GL2K5UHR 
  rev: AH10 scheme: GPT 
Partition:
  ID-1: / size: 456.96 GiB used: 20.58 GiB (4.5%) fs: ext4 dev: /dev/sda2 
Sensors:
  System Temperatures: cpu: 49.0 C mobo: 44.0 C 
  Fan Speeds (RPM): N/A 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com uma main upstream import backport #id:linuxmint_main
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
  Active apt repos in: /etc/apt/sources.list.d/yannubuntu-boot-repair-focal.list 
  1: deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal main
Info:
  Processes: 185 Uptime: 1h 16m Memory: 1.83 GiB used: 1003.9 MiB (53.5%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: mate-terminal inxi: 3.0.38 
posto intanto qualcosa
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
andrea111
Level 4
Level 4
Posts: 263
Joined: Sat Jul 10, 2021 6:13 am

Re: pc non si spegne

Post by andrea111 »

Hai provato a chiudere da terminale con

Code: Select all

shutdown
o

Code: Select all

sudo reboot now
Posta le risposte del terminale ai comandi.
A volte una rete malconfigurata blocca lo spegnimento del PC.
lucapture
Level 1
Level 1
Posts: 18
Joined: Sat Dec 12, 2020 5:44 am

Re: pc non si spegne

Post by lucapture »

con shutdown si spegne però rimane con il logo sullo schermo e il pc acceso , devo forzare l'arresto
Uguale con reboot
andrea111
Level 4
Level 4
Posts: 263
Joined: Sat Jul 10, 2021 6:13 am

Re: pc non si spegne

Post by andrea111 »

Fammi capire se l'arresto si blocca ma sistema è ancora attivo:
una volta che spegni dai Ctrl+Alt+F2: passi alla consolle oppure resta lo schermo nero. (cioè tastiera bloccata)

Fai una prova se il comando

Code: Select all

 halt -f
lucapture
Level 1
Level 1
Posts: 18
Joined: Sat Dec 12, 2020 5:44 am

Re: pc non si spegne

Post by lucapture »

Se dò Halt -f dice halting poi rimane cosi bloccato e non fà piu nulla neanche con ctrl+Alt+f2 ..
si blocca pure il touch
andrea111
Level 4
Level 4
Posts: 263
Joined: Sat Jul 10, 2021 6:13 am

Re: pc non si spegne

Post by andrea111 »

Quindi è un congelamento del sistema, è più complicato fare analisi.
Vediamo se

Code: Select all

cat /var/log/syslog | grep -i panic
dice qualcosa.

PS
Per spegnere un sistema congelato è meglio evitare la pratica di forzare col pulsante di accensione.
Fai così: al blocco premi e mantieni premuti i tasti Ctrl+Alt+Stamp e poi in successione premi i tasti r e i s u b (uno dopo l'altro), al "b" il sistema riavvierà.
lucapture
Level 1
Level 1
Posts: 18
Joined: Sat Dec 12, 2020 5:44 am

Re: pc non si spegne

Post by lucapture »

[codeQuindi è un congelamento del sistema, è più complicato fare analisi.
Vediamo se
CODE: SELECT ALL

cat /var/log/syslog | grep -i panic
dice qualcosa.][/code]


no .. non fa nulla
andrea111
Level 4
Level 4
Posts: 263
Joined: Sat Jul 10, 2021 6:13 am

Re: pc non si spegne

Post by andrea111 »

Mint ha un sistema di log molto ridotto, mi sa che bisognerà installarlo.

Intanto posta

Code: Select all

journalctl -b | grep -i acpi
lucapture
Level 1
Level 1
Posts: 18
Joined: Sat Dec 12, 2020 5:44 am

Re: pc non si spegne

Post by lucapture »

Code: Select all

luca@LucaLuna:~$ journalctl -b | grep -i acpi
nov 29 17:52:55 LucaLuna kernel: BIOS-e820: [mem 0x000000000006f000-0x000000000006ffff] ACPI NVS
nov 29 17:52:55 LucaLuna kernel: BIOS-e820: [mem 0x0000000079265000-0x0000000079364fff] ACPI NVS
nov 29 17:52:55 LucaLuna kernel: BIOS-e820: [mem 0x0000000079365000-0x00000000793a4fff] ACPI data
nov 29 17:52:55 LucaLuna kernel: reserve setup_data: [mem 0x000000000006f000-0x000000000006ffff] ACPI NVS
nov 29 17:52:55 LucaLuna kernel: reserve setup_data: [mem 0x0000000079265000-0x0000000079364fff] ACPI NVS
nov 29 17:52:55 LucaLuna kernel: reserve setup_data: [mem 0x0000000079365000-0x00000000793a4fff] ACPI data
nov 29 17:52:55 LucaLuna kernel: efi:  ACPI 2.0=0x793a4014  ESRT=0x78877d18  SMBIOS=0x79264000 
nov 29 17:52:55 LucaLuna kernel: ACPI: Early table checksum verification disabled
nov 29 17:52:55 LucaLuna kernel: ACPI: RSDP 0x00000000793A4014 000024 (v02 HPQOEM)
nov 29 17:52:55 LucaLuna kernel: ACPI: XSDT 0x00000000793A4120 00009C (v01 HPQOEM SLIC-MPC 00000003      01000013)
nov 29 17:52:55 LucaLuna kernel: ACPI: FACP 0x00000000793A1000 00010C (v05 HPQOEM SLIC-MPC 00000003 HP   00040000)
nov 29 17:52:55 LucaLuna kernel: ACPI: DSDT 0x000000007938F000 00D551 (v02 HPQOEM SLIC-MPC 00000003 HP   00040000)
nov 29 17:52:55 LucaLuna kernel: ACPI: FACS 0x000000007932C000 000040
nov 29 17:52:55 LucaLuna kernel: ACPI: UEFI 0x00000000793A3000 000236 (v01 HPQOEM INSYDE   00000001 HP   00040000)
nov 29 17:52:55 LucaLuna kernel: ACPI: MSDM 0x00000000793A2000 000055 (v03 HPQOEM SLIC-MPC 00000001 HP   00040000)
nov 29 17:52:55 LucaLuna kernel: ACPI: HPET 0x00000000793A0000 000038 (v01 HPQOEM INSYDE   00000003 HP   00040000)
nov 29 17:52:55 LucaLuna kernel: ACPI: LPIT 0x000000007939F000 000104 (v01 HPQOEM INSYDE   00000003 HP   00040000)
nov 29 17:52:55 LucaLuna kernel: ACPI: APIC 0x000000007939E000 000084 (v03 HPQOEM SLIC-MPC 00000003 HP   00040000)
nov 29 17:52:55 LucaLuna kernel: ACPI: MCFG 0x000000007939D000 00003C (v01 HPQOEM INSYDE   00000003 HP   00040000)
nov 29 17:52:55 LucaLuna kernel: ACPI: SSDT 0x000000007938D000 000763 (v01 HPQOEM INSYDE   00003000 HP   00040000)
nov 29 17:52:55 LucaLuna kernel: ACPI: SSDT 0x000000007938C000 000290 (v01 HPQOEM INSYDE   00003000 HP   00040000)
nov 29 17:52:55 LucaLuna kernel: ACPI: SSDT 0x000000007938B000 00017A (v01 HPQOEM INSYDE   00003000 HP   00040000)
nov 29 17:52:55 LucaLuna kernel: ACPI: UEFI 0x000000007938A000 000042 (v01 HPQOEM INSYDE   00000000 HP   00040000)
nov 29 17:52:55 LucaLuna kernel: ACPI: SSDT 0x0000000079383000 0064BE (v01 HPQOEM INSYDE   00001000 HP   00040000)
nov 29 17:52:55 LucaLuna kernel: ACPI: SSDT 0x0000000079382000 00059A (v01 HPQOEM INSYDE   00001000 HP   00040000)
nov 29 17:52:55 LucaLuna kernel: ACPI: FPDT 0x0000000079381000 000044 (v01 HPQOEM SLIC-MPC 00000001 HP   00040000)
nov 29 17:52:55 LucaLuna kernel: ACPI: BGRT 0x000000007938E000 000038 (v01 HPQOEM INSYDE   00000001 HP   00040000)
nov 29 17:52:55 LucaLuna kernel: ACPI: Reserving FACP table memory at [mem 0x793a1000-0x793a110b]
nov 29 17:52:55 LucaLuna kernel: ACPI: Reserving DSDT table memory at [mem 0x7938f000-0x7939c550]
nov 29 17:52:55 LucaLuna kernel: ACPI: Reserving FACS table memory at [mem 0x7932c000-0x7932c03f]
nov 29 17:52:55 LucaLuna kernel: ACPI: Reserving UEFI table memory at [mem 0x793a3000-0x793a3235]
nov 29 17:52:55 LucaLuna kernel: ACPI: Reserving MSDM table memory at [mem 0x793a2000-0x793a2054]
nov 29 17:52:55 LucaLuna kernel: ACPI: Reserving HPET table memory at [mem 0x793a0000-0x793a0037]
nov 29 17:52:55 LucaLuna kernel: ACPI: Reserving LPIT table memory at [mem 0x7939f000-0x7939f103]
nov 29 17:52:55 LucaLuna kernel: ACPI: Reserving APIC table memory at [mem 0x7939e000-0x7939e083]
nov 29 17:52:55 LucaLuna kernel: ACPI: Reserving MCFG table memory at [mem 0x7939d000-0x7939d03b]
nov 29 17:52:55 LucaLuna kernel: ACPI: Reserving SSDT table memory at [mem 0x7938d000-0x7938d762]
nov 29 17:52:55 LucaLuna kernel: ACPI: Reserving SSDT table memory at [mem 0x7938c000-0x7938c28f]
nov 29 17:52:55 LucaLuna kernel: ACPI: Reserving SSDT table memory at [mem 0x7938b000-0x7938b179]
nov 29 17:52:55 LucaLuna kernel: ACPI: Reserving UEFI table memory at [mem 0x7938a000-0x7938a041]
nov 29 17:52:55 LucaLuna kernel: ACPI: Reserving SSDT table memory at [mem 0x79383000-0x793894bd]
nov 29 17:52:55 LucaLuna kernel: ACPI: Reserving SSDT table memory at [mem 0x79382000-0x79382599]
nov 29 17:52:55 LucaLuna kernel: ACPI: Reserving FPDT table memory at [mem 0x79381000-0x79381043]
nov 29 17:52:55 LucaLuna kernel: ACPI: Reserving BGRT table memory at [mem 0x7938e000-0x7938e037]
nov 29 17:52:55 LucaLuna kernel: ACPI: Local APIC address 0xfee00000
nov 29 17:52:55 LucaLuna kernel: ACPI: PM-Timer IO Port: 0x408
nov 29 17:52:55 LucaLuna kernel: ACPI: Local APIC address 0xfee00000
nov 29 17:52:55 LucaLuna kernel: ACPI: LAPIC_NMI (acpi_id[0x01] high level lint[0x1])
nov 29 17:52:55 LucaLuna kernel: ACPI: LAPIC_NMI (acpi_id[0x02] high level lint[0x1])
nov 29 17:52:55 LucaLuna kernel: ACPI: LAPIC_NMI (acpi_id[0x03] high level lint[0x1])
nov 29 17:52:55 LucaLuna kernel: ACPI: LAPIC_NMI (acpi_id[0x04] high level lint[0x1])
nov 29 17:52:55 LucaLuna kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
nov 29 17:52:55 LucaLuna kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
nov 29 17:52:55 LucaLuna kernel: ACPI: IRQ0 used by override.
nov 29 17:52:55 LucaLuna kernel: ACPI: IRQ9 used by override.
nov 29 17:52:55 LucaLuna kernel: Using ACPI (MADT) for SMP configuration information
nov 29 17:52:55 LucaLuna kernel: ACPI: HPET id: 0x8086a201 base: 0xfed00000
nov 29 17:52:55 LucaLuna kernel: ACPI: Core revision 20190816
nov 29 17:52:55 LucaLuna kernel: PM: Registering ACPI NVS region [mem 0x0006f000-0x0006ffff] (4096 bytes)
nov 29 17:52:55 LucaLuna kernel: PM: Registering ACPI NVS region [mem 0x79265000-0x79364fff] (1048576 bytes)
nov 29 17:52:55 LucaLuna kernel: ACPI: bus type PCI registered
nov 29 17:52:55 LucaLuna kernel: acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
nov 29 17:52:55 LucaLuna kernel: ACPI: Added _OSI(Module Device)
nov 29 17:52:55 LucaLuna kernel: ACPI: Added _OSI(Processor Device)
nov 29 17:52:55 LucaLuna kernel: ACPI: Added _OSI(3.0 _SCP Extensions)
nov 29 17:52:55 LucaLuna kernel: ACPI: Added _OSI(Processor Aggregator Device)
nov 29 17:52:55 LucaLuna kernel: ACPI: Added _OSI(Linux-Dell-Video)
nov 29 17:52:55 LucaLuna kernel: ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
nov 29 17:52:55 LucaLuna kernel: ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
nov 29 17:52:55 LucaLuna kernel: ACPI: 6 ACPI AML tables successfully acquired and loaded
nov 29 17:52:55 LucaLuna kernel: ACPI: Dynamic OEM Table Load:
nov 29 17:52:55 LucaLuna kernel: ACPI: SSDT 0xFFFF9A5CF5BBE800 00045B (v01 PmRef  Cpu0Ist  00003000 INTL 20130117)
nov 29 17:52:55 LucaLuna kernel: ACPI: Dynamic OEM Table Load:
nov 29 17:52:55 LucaLuna kernel: ACPI: SSDT 0xFFFF9A5CF5BB8800 000433 (v01 PmRef  Cpu0Cst  00003001 INTL 20130117)
nov 29 17:52:55 LucaLuna kernel: ACPI: Dynamic OEM Table Load:
nov 29 17:52:55 LucaLuna kernel: ACPI: SSDT 0xFFFF9A5CF6403C00 00015F (v01 PmRef  ApIst    00003000 INTL 20130117)
nov 29 17:52:55 LucaLuna kernel: ACPI: Dynamic OEM Table Load:
nov 29 17:52:55 LucaLuna kernel: ACPI: SSDT 0xFFFF9A5CF65C2C00 00008D (v01 PmRef  ApCst    00003000 INTL 20130117)
nov 29 17:52:55 LucaLuna kernel: ACPI: EC: EC started
nov 29 17:52:55 LucaLuna kernel: ACPI: EC: interrupt blocked
nov 29 17:52:55 LucaLuna kernel: ACPI: \_SB_.PCI0.LPCB.EC0_: Used as first EC
nov 29 17:52:55 LucaLuna kernel: ACPI: \_SB_.PCI0.LPCB.EC0_: GPE=0x18, IRQ=-1, EC_CMD/EC_SC=0x66, EC_DATA=0x62
nov 29 17:52:55 LucaLuna kernel: ACPI: \_SB_.PCI0.LPCB.EC0_: Boot DSDT EC used to handle transactions
nov 29 17:52:55 LucaLuna kernel: ACPI: Interpreter enabled
nov 29 17:52:55 LucaLuna kernel: ACPI: (supports S0 S3 S4 S5)
nov 29 17:52:55 LucaLuna kernel: ACPI: Using IOAPIC for interrupt routing
nov 29 17:52:55 LucaLuna kernel: PCI: MMCONFIG at [mem 0xe0000000-0xe3ffffff] reserved in ACPI motherboard resources
nov 29 17:52:55 LucaLuna kernel: PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
nov 29 17:52:55 LucaLuna kernel: ACPI: Enabled 10 GPEs in block 00 to 3F
nov 29 17:52:55 LucaLuna kernel: ACPI: Power Resource [USBC] (on)
nov 29 17:52:55 LucaLuna kernel: ACPI: Power Resource [PLPE] (on)
nov 29 17:52:55 LucaLuna kernel: ACPI: Power Resource [PLPE] (on)
nov 29 17:52:55 LucaLuna kernel: ACPI: Power Resource [CLK0] (on)
nov 29 17:52:55 LucaLuna kernel: ACPI: Power Resource [CLK1] (on)
nov 29 17:52:55 LucaLuna kernel: ACPI: Power Resource [FN00] (off)
nov 29 17:52:55 LucaLuna kernel: ACPI: Power Resource [FN01] (off)
nov 29 17:52:55 LucaLuna kernel: ACPI: Power Resource [FN02] (off)
nov 29 17:52:55 LucaLuna kernel: ACPI: Power Resource [FN03] (off)
nov 29 17:52:55 LucaLuna kernel: ACPI: Power Resource [FN04] (off)
nov 29 17:52:55 LucaLuna kernel: ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
nov 29 17:52:55 LucaLuna kernel: acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]
nov 29 17:52:55 LucaLuna kernel: acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
nov 29 17:52:55 LucaLuna kernel: acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
nov 29 17:52:55 LucaLuna kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 10 11 12 14 15) *7
nov 29 17:52:55 LucaLuna kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 10 *11 12 14 15)
nov 29 17:52:55 LucaLuna kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 10 11 12 14 15) *7
nov 29 17:52:55 LucaLuna kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 *10 11 12 14 15)
nov 29 17:52:55 LucaLuna kernel: ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 10 *11 12 14 15)
nov 29 17:52:55 LucaLuna kernel: ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 *10 11 12 14 15)
nov 29 17:52:55 LucaLuna kernel: ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 10 *11 12 14 15)
nov 29 17:52:55 LucaLuna kernel: ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 10 11 12 14 15) *7
nov 29 17:52:55 LucaLuna kernel: ACPI Warning: GPE type mismatch (level/edge) (20190816/evxface-791)
nov 29 17:52:55 LucaLuna kernel: ACPI: EC: interrupt unblocked
nov 29 17:52:55 LucaLuna kernel: ACPI: EC: event unblocked
nov 29 17:52:55 LucaLuna kernel: ACPI: \_SB_.PCI0.LPCB.EC0_: GPE=0x18, IRQ=-1, EC_CMD/EC_SC=0x66, EC_DATA=0x62
nov 29 17:52:55 LucaLuna kernel: ACPI: \_SB_.PCI0.LPCB.EC0_: Boot DSDT EC used to handle transactions and events
nov 29 17:52:55 LucaLuna kernel: ACPI: bus type USB registered
nov 29 17:52:55 LucaLuna kernel: PCI: Using ACPI for IRQ routing
nov 29 17:52:55 LucaLuna kernel: pnp: PnP ACPI init
nov 29 17:52:55 LucaLuna kernel: pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
nov 29 17:52:55 LucaLuna kernel: system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
nov 29 17:52:55 LucaLuna kernel: pnp 00:02: Plug and Play ACPI device, IDs PNP0501 (active)
nov 29 17:52:55 LucaLuna kernel: pnp 00:03: Plug and Play ACPI device, IDs PNP0303 (active)
nov 29 17:52:55 LucaLuna kernel: pnp 00:04: Plug and Play ACPI device, IDs SYN1eae PNP0f13 (active)
nov 29 17:52:55 LucaLuna kernel: system 00:05: Plug and Play ACPI device, IDs PNP0c02 (active)
nov 29 17:52:55 LucaLuna kernel: pnp: PnP ACPI: found 6 devices
nov 29 17:52:55 LucaLuna kernel: clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
nov 29 17:52:55 LucaLuna kernel: ACPI: AC Adapter [ACAD] (on-line)
nov 29 17:52:55 LucaLuna kernel: ACPI: Power Button [PWRB]
nov 29 17:52:55 LucaLuna kernel: ACPI: Lid Switch [LID0]
nov 29 17:52:55 LucaLuna kernel: ACPI: Power Button [PWRF]
nov 29 17:52:55 LucaLuna kernel: ACPI: Thermal Zone [TZ00] (20 C)
nov 29 17:52:55 LucaLuna kernel: ACPI: Thermal Zone [TZ01] (29 C)
nov 29 17:52:55 LucaLuna kernel: ACPI: Thermal Zone [TZ02] (28 C)
nov 29 17:52:55 LucaLuna kernel: battery: ACPI: Battery Slot [BAT1] (battery present)
nov 29 17:52:55 LucaLuna kernel: ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
nov 29 17:53:14 LucaLuna systemd[1]: Started ACPI Events Check.
nov 29 17:53:14 LucaLuna systemd[1]: Listening on ACPID Listen Socket.
nov 29 17:53:14 LucaLuna systemd[1]: Started ACPI event daemon.
nov 29 17:53:14 LucaLuna acpid[667]: starting up with netlink and the input layer
nov 29 17:53:14 LucaLuna acpid[667]: 8 rules loaded
nov 29 17:53:14 LucaLuna acpid[667]: waiting for events: event logging is off
nov 29 17:53:16 LucaLuna sensors[728]: BAT1-acpi-0
nov 29 17:53:16 LucaLuna sensors[728]: Adapter: ACPI interface
nov 29 17:53:16 LucaLuna sensors[728]: acpitz-acpi-0
nov 29 17:53:16 LucaLuna sensors[728]: Adapter: ACPI interface
andrea111
Level 4
Level 4
Posts: 263
Joined: Sat Jul 10, 2021 6:13 am

Re: pc non si spegne

Post by andrea111 »

L'ACPI è a posto, nessun errore segnalato.

Proviamo con

Code: Select all

journalctl -b | grep -i "error\|fail"
Si tratta di un'installazione fresca o di un avanzamento?
Perché in caso di installazione fresca, un nuovo tentativo di reinstallazione e verificare se l'inconveniente si ripresenta è una prassi da provare. (installazione corrotta)
lucapture
Level 1
Level 1
Posts: 18
Joined: Sat Dec 12, 2020 5:44 am

Re: pc non si spegne

Post by lucapture »

É gia installato da almeno 2 anni ,, in realtà non è la prima volta che chiedo e guardo per risolvere questo problema..

ah .. anche con REISUO rimane bloccato e non si spegne .. invece con REISUB fa il reboot

Ah .. anche il touch qualche volta va per i fatti suoi.. non sò se tutto per lo stesso problema
andrea111
Level 4
Level 4
Posts: 263
Joined: Sat Jul 10, 2021 6:13 am

Re: pc non si spegne

Post by andrea111 »

Posta quel che ti ho chiesto prima.

Installa anche un sistema di log più esteso

Code: Select all

sudo apt install gnome-system-log
lucapture
Level 1
Level 1
Posts: 18
Joined: Sat Dec 12, 2020 5:44 am

Re: pc non si spegne

Post by lucapture »

ah urca .. scusa

Code: Select all

luca@LucaLuna:~$ journalctl -b | grep -i "error\|fail"
dic 01 19:51:05 LucaLuna kernel: acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
dic 01 19:51:05 LucaLuna kernel: pci 0000:00:1c.0: BAR 14: failed to assign [mem size 0x00200000]
dic 01 19:51:05 LucaLuna kernel: pci 0000:00:1c.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
dic 01 19:51:05 LucaLuna kernel: pci 0000:00:1c.1: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
dic 01 19:51:05 LucaLuna kernel: pci 0000:00:1c.2: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
dic 01 19:51:05 LucaLuna kernel: pci 0000:00:1c.2: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
dic 01 19:51:05 LucaLuna kernel: pci 0000:00:1c.1: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
dic 01 19:51:05 LucaLuna kernel: pci 0000:00:1c.0: BAR 14: failed to assign [mem size 0x00200000]
dic 01 19:51:05 LucaLuna kernel: pci 0000:00:1c.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
dic 01 19:51:05 LucaLuna kernel: pci 0000:00:1d.0: EHCI: BIOS handoff failed (BIOS bug?) 01010001
dic 01 19:51:05 LucaLuna kernel: RAS: Correctable Errors collector initialized.
dic 01 19:51:05 LucaLuna kernel: EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro
dic 01 19:51:15 LucaLuna kernel: bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0b05-17cb.hcd failed with error -2
dic 01 19:51:26 LucaLuna systemd[1]: Starting GRUB failed boot detection...
dic 01 19:51:26 LucaLuna systemd[1]: Finished GRUB failed boot detection.
dic 01 19:51:34 LucaLuna thermald[699]: I/O warning : failed to load external entity "/etc/thermald/thermal-conf.xml"
dic 01 19:51:34 LucaLuna thermald[699]: error: could not parse file /etc/thermald/thermal-conf.xml
dic 01 19:51:34 LucaLuna thermald[699]: I/O warning : failed to load external entity "/etc/thermald/thermal-conf.xml"
dic 01 19:51:34 LucaLuna thermald[699]: error: could not parse file /etc/thermald/thermal-conf.xml
dic 01 19:51:34 LucaLuna thermald[699]: I/O warning : failed to load external entity "/etc/thermald/thermal-conf.xml"
dic 01 19:51:34 LucaLuna thermald[699]: error: could not parse file /etc/thermald/thermal-conf.xml
dic 01 19:51:35 LucaLuna ntpd[813]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
dic 01 19:51:35 LucaLuna ntpd[813]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
dic 01 19:51:35 LucaLuna udisksd[701]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory
dic 01 19:51:36 LucaLuna ntpd[813]: error resolving pool 0.ubuntu.pool.ntp.org: Name or service not known (-2)
dic 01 19:51:36 LucaLuna ntpd[813]: error resolving pool 1.ubuntu.pool.ntp.org: Name or service not known (-2)
dic 01 19:51:36 LucaLuna udisksd[701]: Failed to load the 'mdraid' libblockdev plugin
dic 01 19:51:37 LucaLuna ntpd[813]: error resolving pool 2.ubuntu.pool.ntp.org: Name or service not known (-2)
dic 01 19:51:38 LucaLuna ntpd[813]: error resolving pool 3.ubuntu.pool.ntp.org: Name or service not known (-2)
dic 01 19:51:39 LucaLuna ntpd[813]: error resolving pool ntp.ubuntu.com: Name or service not known (-2)
dic 01 19:51:40 LucaLuna wpa_supplicant[702]: dbus: fill_dict_with_properties dbus_interface=fi.w1.wpa_supplicant1.Interface.P2PDevice dbus_property=P2PDeviceConfig getter failed
dic 01 19:52:50 LucaLuna xdg-desktop-por[1474]: Failed to get application states: GDBus.Error:org.freedesktop.portal.Error.Failed: Could not get window list
lucapture
Level 1
Level 1
Posts: 18
Joined: Sat Dec 12, 2020 5:44 am

Re: pc non si spegne

Post by lucapture »

Ok installato gnome-system-log direi
andrea111
Level 4
Level 4
Posts: 263
Joined: Sat Jul 10, 2021 6:13 am

Re: pc non si spegne

Post by andrea111 »

Vediamo se riporta dei kernel panic.
Posta

Code: Select all

cat /var/log/syslog | grep -i panic
lspci -v
lucapture
Level 1
Level 1
Posts: 18
Joined: Sat Dec 12, 2020 5:44 am

Re: pc non si spegne

Post by lucapture »

Code: Select all

luca@LucaLuna:~$ cat /var/log/syslog | grep -i panic
luca@LucaLuna:~$ lspci -v
00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 0e)
	Subsystem: Hewlett-Packard Company Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register
	Flags: bus master, fast devsel, latency 0
	Kernel driver in use: iosf_mbi_pci

00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e) (prog-if 00 [VGA controller])
	Subsystem: Hewlett-Packard Company Atom Processor Z36xxx/Z37xxx Series Graphics & Display
	Flags: bus master, fast devsel, latency 0, IRQ 95
	Memory at 90000000 (32-bit, non-prefetchable) [size=4M]
	Memory at 80000000 (32-bit, prefetchable) [size=256M]
	I/O ports at 2050 [size=8]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:13.0 SATA controller: Intel Corporation Atom Processor E3800 Series SATA AHCI Controller (rev 0e) (prog-if 01 [AHCI 1.0])
	Subsystem: Hewlett-Packard Company Atom Processor E3800 Series SATA AHCI Controller
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 93
	I/O ports at 2048 [size=8]
	I/O ports at 205c [size=4]
	I/O ports at 2040 [size=8]
	I/O ports at 2058 [size=4]
	I/O ports at 2020 [size=32]
	Memory at 90a1f000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci
	Kernel modules: ahci

00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI (rev 0e) (prog-if 30 [XHCI])
	Subsystem: Hewlett-Packard Company Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI
	Flags: bus master, medium devsel, latency 0, IRQ 91
	Memory at 90a00000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd

00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
	Subsystem: Hewlett-Packard Company Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine
	Flags: bus master, fast devsel, latency 0, IRQ 96
	Memory at 90900000 (32-bit, non-prefetchable) [size=1M]
	Memory at 90800000 (32-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: mei_txe
	Kernel modules: mei_txe

00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller (rev 0e)
	Subsystem: Hewlett-Packard Company Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller
	Flags: bus master, fast devsel, latency 0, IRQ 97
	Memory at 90a10000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 1 (rev 0e) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 87
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 00003000-00003fff [size=4K]
	Memory behind bridge: [disabled]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 2 (rev 0e) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 88
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 00004000-00004fff [size=4K]
	Memory behind bridge: 90700000-907fffff [size=1M]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.2 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 3 (rev 0e) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 89
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: 00005000-00005fff [size=4K]
	Memory behind bridge: 90600000-906fffff [size=1M]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.3 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 4 (rev 0e) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 90
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: 00001000-00001fff [size=4K]
	Memory behind bridge: 90500000-905fffff [size=1M]
	Prefetchable memory behind bridge: 0000000090400000-00000000904fffff [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series USB EHCI (rev 0e) (prog-if 20 [EHCI])
	Subsystem: Hewlett-Packard Company Atom Processor Z36xxx/Z37xxx Series USB EHCI
	Flags: bus master, medium devsel, latency 0, IRQ 23
	Memory at 90a18000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci-pci

00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 0e)
	Subsystem: Hewlett-Packard Company Atom Processor Z36xxx/Z37xxx Series Power Control Unit
	Flags: bus master, medium devsel, latency 0
	Capabilities: <access denied>
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich

00:1f.3 SMBus: Intel Corporation Atom Processor E3800 Series SMBus Controller (rev 0e)
	Subsystem: Hewlett-Packard Company Atom Processor E3800 Series SMBus Controller
	Flags: medium devsel, IRQ 18
	Memory at 90a19000 (32-bit, non-prefetchable) [size=32]
	I/O ports at 2000 [size=32]
	Capabilities: <access denied>
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

02:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
	Subsystem: Hewlett-Packard Company Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at 90710000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: rt2800pci
	Kernel modules: rt2800pci

02:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth
	Subsystem: Hewlett-Packard Company Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter
	Flags: fast devsel, IRQ 11
	Memory at 90700000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>

03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
	Subsystem: Hewlett-Packard Company RTS5229 PCI Express Card Reader
	Flags: bus master, fast devsel, latency 0, IRQ 92
	Memory at 90600000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci

04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 07)
	Subsystem: Hewlett-Packard Company RTL810xE PCI Express Fast Ethernet controller
	Flags: bus master, fast devsel, latency 0, IRQ 19
	I/O ports at 1000 [size=256]
	Memory at 90500000 (64-bit, non-prefetchable) [size=4K]
	Memory at 90400000 (64-bit, prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169
andrea111
Level 4
Level 4
Posts: 263
Joined: Sat Jul 10, 2021 6:13 am

Re: pc non si spegne

Post by andrea111 »

Qindi il blocco non sembrerebbe addebitabile ad un kernel panic.
Si vedono possibili problemi con l'assegnazione di memoria all'Atom (ma non è detto).

Vediamo cosa succede all'atto del riavvio (sia prima che dopo).
Posta

Code: Select all

cat syslog | grep -i -A10 reboot
cat syslog | grep -i -B10 reboot
Per riavviare usa Ctrl+Alt+Stamp reisub.

E posta anche

Code: Select all

 ls /etc/systemd/system.conf.d
lucapture
Level 1
Level 1
Posts: 18
Joined: Sat Dec 12, 2020 5:44 am

Re: pc non si spegne

Post by lucapture »

ok reisub per riavviare
per spegnere invece reisuo si congela cosi comè .. compresa la schermata

Code: Select all

luca@LucaLuna:~$ cat syslog | grep -i -A10 reboot
cat: syslog: File o directory non esistente
luca@LucaLuna:~$ cat syslog | grep -i -B10 reboot
cat: syslog: File o directory non esistente
luca@LucaLuna:~$  ls /etc/systemd/system.conf.d
50_linuxmint.conf
luca@LucaLuna:~$ 
andrea111
Level 4
Level 4
Posts: 263
Joined: Sat Jul 10, 2021 6:13 am

Re: pc non si spegne

Post by andrea111 »

Andiamo bene, pure i comandi incompleti. Colpa mia.
ridai

Code: Select all

cat /var/log/syslog | grep -i -A10 reboot
cat /var/log/syslog | grep -i -B10 reboot
e aggiungi

Code: Select all

cat /etc/systemd/system.conf.d/50_linuxmint.conf
lucapture
Level 1
Level 1
Posts: 18
Joined: Sat Dec 12, 2020 5:44 am

Re: pc non si spegne

Post by lucapture »

Code: Select all

luca@LucaLuna:~$ cat /var/log/syslog | grep -i -A10 reboot
luca@LucaLuna:~$ cat /var/log/syslog | grep -i -B10 reboot
luca@LucaLuna:~$ cat /etc/systemd/system.conf.d/50_linuxmint.conf
# To override these values, create your own file in /etc/systemd/systemd.conf.d/60_custom.conf.
# Reload configuration with "sudo systemctl daemon-reload"
# Test with "systemctl show"

[Manager]

# Reduce shutdown timeout from 90s to 10s.
# If you rely on important tasks to successfully finish during the shutdown sequence, set the timeout to something greater than 90s.
DefaultTimeoutStopSec=10s

# Rationale:
# This is done for the following reasons:
# - 90s is too long for users to wait (they think it's hanging indefinitely, and they eventually just use their power button)
# - Cups, minidlna have made this a buggy mess for years now and there's no sign of improvement for the near future
# - This is a workaround many people have used in Mint, Ubuntu, Arch, Fedora and many other distributions, although reducing the start
# timeout is known to possibly affect the journal, no adverse effects were reported after reducing the stop timeout.
# - For our audience (desktop users), this makes a lot of sense. It would be different for a server, or a machine which relies on shutdown
# scripts to perform important tasks, but for most people this fixes a very important issue and is unlikely to create new ones.
Locked

Return to “Italiano - Italian”