LINUX.ORG.RU

Переодически зависает система

 , , ,


0

1

Столкнулся с такой проблемой. Периодически подвисает(зависает) система при самых разных действиях. ОС - CentOS. DE - Cinnamon. В логах dmesg обнаружил (как понял) падение ссылки на диск Sata (SATA link down) Листинг dmesg:

[    0.803107] efifb: mode is 800x600x32, linelength=3200, pages=1
[    0.803108] efifb: scrolling: redraw
[    0.803111] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    0.804305] Console: switching to colour frame buffer device 100x37
[    0.805284] fb0: EFI VGA frame buffer device
[    0.805292] intel_idle: MWAIT substates: 0x1120
[    0.805293] intel_idle: v0.4.1 model 0x2A
[    0.805306] intel_idle: lapic_timer_reliable_states 0xffffffff
[    0.805384] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0
[    0.805387] ACPI: Power Button [PWRB]
[    0.805427] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[    0.805429] ACPI: Power Button [PWRF]
[    0.805477] ACPI: Requesting acpi_cpufreq
[    0.807075] GHES: HEST is not enabled!
[    0.807151] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.807619] Non-volatile memory driver v1.3
[    0.807656] Linux agpgart interface v0.103
[    0.807755] crash memory driver: version 1.1
[    0.807811] rdac: device handler registered
[    0.807845] hp_sw: device handler registered
[    0.807848] emc: device handler registered
[    0.807884] alua: device handler registered
[    0.807929] libphy: Fixed MDIO Bus: probed
[    0.807977] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.807981] ehci-pci: EHCI PCI platform driver
[    0.808078] ehci-pci 0000:00:1a.0: EHCI Host Controller
[    0.808117] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1
[    0.808131] ehci-pci 0000:00:1a.0: debug port 2
[    0.812053] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported
[    0.812070] ehci-pci 0000:00:1a.0: irq 23, io mem 0xfe406000
[    0.817575] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
[    0.817626] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.817628] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.817631] usb usb1: Product: EHCI Host Controller
[    0.817633] usb usb1: Manufacturer: Linux 3.10.0-957.10.1.el7.x86_64 ehci_hcd
[    0.817635] usb usb1: SerialNumber: 0000:00:1a.0
[    0.817754] hub 1-0:1.0: USB hub found
[    0.817762] hub 1-0:1.0: 2 ports detected
[    0.817922] ehci-pci 0000:00:1d.0: EHCI Host Controller
[    0.817967] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 2
[    0.817979] ehci-pci 0000:00:1d.0: debug port 2
[    0.821880] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
[    0.821887] ehci-pci 0000:00:1d.0: irq 23, io mem 0xfe405000
[    0.827572] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
[    0.827610] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    0.827613] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.827615] usb usb2: Product: EHCI Host Controller
[    0.827617] usb usb2: Manufacturer: Linux 3.10.0-957.10.1.el7.x86_64 ehci_hcd
[    0.827619] usb usb2: SerialNumber: 0000:00:1d.0
[    0.827720] hub 2-0:1.0: USB hub found
[    0.827726] hub 2-0:1.0: 2 ports detected
[    0.827821] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.827826] ohci-pci: OHCI PCI platform driver
[    0.827839] uhci_hcd: USB Universal Host Controller Interface driver
[    0.827892] usbcore: registered new interface driver usbserial_generic
[    0.827900] usbserial: USB Serial support registered for generic
[    0.827937] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    0.831011] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.831018] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.831108] mousedev: PS/2 mouse device common for all mice
[    0.831259] rtc_cmos 00:02: RTC can wake from S4
[    0.831391] rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
[    0.831420] rtc_cmos 00:02: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
[    0.831483] intel_pstate: Intel P-state driver initializing
[    0.831638] cpuidle: using governor menu
[    0.832260] EFI Variables Facility v0.08 2004-May-17
[    0.862965] hidraw: raw HID events driver (C) Jiri Kosina
[    0.863163] usbcore: registered new interface driver usbhid
[    0.863165] usbhid: USB HID core driver
[    0.863257] drop_monitor: Initializing network drop monitor service
[    0.863359] TCP: cubic registered
[    0.863368] Initializing XFRM netlink socket
[    0.863549] NET: Registered protocol family 10
[    0.863903] NET: Registered protocol family 17
[    0.863917] mpls_gso: MPLS GSO support
[    0.864217] microcode: sig=0x206a7, pf=0x2, revision=0x2e
[    0.864275] microcode: Microcode Update Driver: v2.01 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[    0.864524] PM: Hibernation image not present or could not be loaded.
[    0.864538] Loading compiled-in X.509 certificates
[    0.864585] Loaded X.509 cert 'CentOS Linux kpatch signing key: ea0413152cde1d98ebdca3fe6f0230904c9ef717'
[    0.864607] Loaded X.509 cert 'CentOS Linux Driver update signing key: 7f421ee0ab69461574bb358861dbe77762a4201b'
[    0.865408] Loaded X.509 cert 'CentOS Linux kernel signing key: 17ea5fb9164bc226555c0043fad4e586cce8a205'
[    0.865435] registered taskstats version 1
[    0.869101] Key type trusted registered
[    0.872158] Key type encrypted registered
[    0.872192] IMA: No TPM chip found, activating TPM-bypass! (rc=-19)
[    0.872503]   Magic number: 3:576:875
[    0.872620] rtc_cmos 00:02: setting system clock to 2019-05-20 07:51:36 UTC (1558338696)
[    0.873781] Freeing unused kernel memory: 1876k freed
[    0.874099] Write protecting the kernel read-only data: 12288k
[    0.875990] Freeing unused kernel memory: 512k freed
[    0.878021] Freeing unused kernel memory: 600k freed
[    1.001113] random: systemd: uninitialized urandom read (16 bytes read)
[    1.001449] random: systemd: uninitialized urandom read (16 bytes read)
[    1.001464] random: systemd: uninitialized urandom read (16 bytes read)
[    1.002307] systemd[1]: systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    1.002489] systemd[1]: Detected architecture x86-64.
[    1.002493] systemd[1]: Running in initial RAM disk.
[    1.002523] systemd[1]: Set hostname to <glh-lopstino2>.
[    1.039215] random: systemd: uninitialized urandom read (16 bytes read)
[    1.039243] random: systemd: uninitialized urandom read (16 bytes read)
[    1.039284] random: systemd: uninitialized urandom read (16 bytes read)
[    1.039359] random: systemd: uninitialized urandom read (16 bytes read)
[    1.040184] random: systemd: uninitialized urandom read (16 bytes read)
[    1.040367] random: systemd: uninitialized urandom read (16 bytes read)
[    1.040793] random: systemd: uninitialized urandom read (16 bytes read)
[    1.045819] systemd[1]: Reached target Local File Systems.
[    1.045883] systemd[1]: Reached target Timers.
[    1.046116] systemd[1]: Created slice Root Slice.
[    1.046210] systemd[1]: Created slice System Slice.
[    1.046299] systemd[1]: Listening on Journal Socket.
[    1.047170] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    1.047239] systemd[1]: Listening on udev Control Socket.
[    1.047905] systemd[1]: Starting dracut cmdline hook...
[    1.048467] systemd[1]: Starting Apply Kernel Variables...
[    1.048496] systemd[1]: Reached target Slices.
[    1.048556] systemd[1]: Listening on udev Kernel Socket.
[    1.048601] systemd[1]: Reached target Sockets.
[    1.049154] systemd[1]: Starting Journal Service...
[    1.049178] systemd[1]: Reached target Swap.
[    1.049747] systemd[1]: Starting Setup Virtual Console...
[    1.050273] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    1.051611] systemd[1]: Started Apply Kernel Variables.
[    1.052354] systemd[1]: Starting Create Static Device Nodes in /dev...
[    1.059763] systemd[1]: Started Create Static Device Nodes in /dev.
[    1.087413] systemd[1]: Started Journal Service.
[    1.129815] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    1.158599] usb 2-1: new high-speed USB device number 2 using ehci-pci
[    1.254006] usb 1-1: New USB device found, idVendor=8087, idProduct=0024
[    1.254012] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.254291] hub 1-1:1.0: USB hub found
[    1.254375] hub 1-1:1.0: 4 ports detected
[    1.283006] usb 2-1: New USB device found, idVendor=8087, idProduct=0024
[    1.283011] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.283292] hub 2-1:1.0: USB hub found
[    1.283374] hub 2-1:1.0: 6 ports detected
[    1.557612] usb 2-1.3: new low-speed USB device number 3 using ehci-pci
[    1.646896] usb 2-1.3: New USB device found, idVendor=046d, idProduct=c05b
[    1.646901] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.646904] usb 2-1.3: Product: USB Optical Mouse
[    1.646906] usb 2-1.3: Manufacturer: Logitech
[    1.649860] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.0/input/input2
[    1.649961] hid-generic 0003:046D:C05B.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:1d.0-1.3/input0
[    1.721323] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    1.721545] r8169 0000:04:00.0: irq 28 for MSI/MSI-X
[    1.722615] usb 2-1.4: new low-speed USB device number 4 using ehci-pci
[    1.723067] r8169 0000:04:00.0 eth0: RTL8168evl/8111evl at 0xffffb38b40642000, c8:60:00:6b:dc:fe, XID 0c900800 IRQ 28
[    1.723071] r8169 0000:04:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    1.773784] tsc: Refined TSC clocksource calibration: 2394.560 MHz
[    1.773821] Switched to clocksource tsc
[    1.793625] libata version 3.00 loaded.
[    1.801926] ata_piix 0000:00:1f.2: version 2.13
[    1.802020] ata_piix 0000:00:1f.2: MAP [
[    1.802022]  P0 P2 P1 P3 ]
[    1.806402] usb 2-1.4: New USB device found, idVendor=0518, idProduct=0001
[    1.806407] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.806410] usb 2-1.4: Product: USB-compliant keyboard
[    1.806412] usb 2-1.4: Manufacturer: Plus More Enterprise LTD.
[    1.809804] input: Plus More Enterprise LTD. USB-compliant keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/input/input3
[    1.861142] hid-generic 0003:0518:0001.0002: input,hidraw1: USB HID v1.10 Keyboard [Plus More Enterprise LTD. USB-compliant keyboard] on usb-0000:00:1d.0-1.4/input0
[    1.866970] input: Plus More Enterprise LTD. USB-compliant keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.1/input/input4
[    1.917764] hid-generic 0003:0518:0001.0003: input,hidraw2: USB HID v1.10 Mouse [Plus More Enterprise LTD. USB-compliant keyboard] on usb-0000:00:1d.0-1.4/input1
[    1.961197] scsi host0: ata_piix
[    1.970047] scsi host1: ata_piix
[    1.970123] ata1: SATA max UDMA/133 cmd 0xf110 ctl 0xf100 bmdma 0xf0d0 irq 20
[    1.970129] ata2: SATA max UDMA/133 cmd 0xf0f0 ctl 0xf0e0 bmdma 0xf0d8 irq 20
[    1.970231] ata_piix 0000:00:1f.5: MAP [
[    1.970233]  P0 -- P1 -- ]
[    2.138642] ata_piix 0000:00:1f.5: SCR access via SIDPR is available but doesn't work
[    2.144720] scsi host2: ata_piix
[    2.152073] scsi host3: ata_piix
[    2.152146] ata3: SATA max UDMA/133 cmd 0xf0b0 ctl 0xf0a0 bmdma 0xf070 irq 20
[    2.152148] ata4: SATA max UDMA/133 cmd 0xf090 ctl 0xf080 bmdma 0xf078 irq 20
[    2.303638] checking generic (c0000000 1d5000) vs hw (c0000000 10000000)
[    2.303642] fb: conflicting fb hw usage inteldrmfb vs EFI VGA - removing generic driver
[    2.303662] Console: switching to colour dummy device 80x25
[    2.303917] [drm] Replacing VGA console driver
[    2.305068] i915 0000:00:02.0: irq 29 for MSI/MSI-X
[    2.305083] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.305085] [drm] Driver supports precise vblank timestamp query.
[    2.309873] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    2.319259] [drm] Initialized i915 1.6.0 20180308 for 0000:00:02.0 on minor 0
[    2.319767] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    2.320053] acpi device:32: registered as cooling_device2
[    2.320123] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input5
[    2.346781] fbcon: inteldrmfb (fb0) is primary device
[    2.403867] Console: switching to colour frame buffer device 160x64
[    2.423923] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    3.036694] ata2.00: failed to resume link (SControl 0)
[    3.282700] ata1.01: failed to resume link (SControl 0)
[    3.433760] ata1.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    3.433777] ata1.01: SATA link down (SStatus 0 SControl 0)
[    3.437819] ata1.00: ATA-8: WDC WD5000AAKX-753CA1, 17.01H17, max UDMA/133
[    3.437825] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[    3.441814] ata1.00: configured for UDMA/133
[    3.442051] scsi 0:0:0:0: Direct-Access     ATA      WDC WD5000AAKX-7 1H17 PQ: 0 ANSI: 5
[    4.043725] ata2.01: failed to resume link (SControl 0)
[    4.055137] ata2.00: SATA link down (SStatus 4 SControl 0)
[    4.055155] ata2.01: SATA link down (SStatus 0 SControl 0)
[    4.064199] random: fast init done
[    4.139148] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[    4.139191] sd 0:0:0:0: [sda] Write Protect is off
[    4.139194] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    4.139212] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.185645]  sda: sda1 sda2 sda3 sda4 sda5
[    4.186299] sd 0:0:0:0: [sda] Attached SCSI disk
[    5.187574] random: crng init done
[    5.302571] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
[    5.643470] systemd-journald[96]: Received SIGTERM from PID 1 (systemd).
[    6.203278] type=1404 audit(1558338701.829:2): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
[    6.577940] SELinux: 2048 avtab hash slots, 111854 rules.
[    6.662416] SELinux: 2048 avtab hash slots, 111854 rules.
[    6.700707] SELinux:  8 users, 14 roles, 5031 types, 316 bools, 1 sens, 1024 cats
[    6.700712] SELinux:  129 classes, 111854 rules
[    6.706285] SELinux:  Class bpf not defined in policy.
[    6.706289] SELinux: the above unknown classes and permissions will be allowed
[    6.706297] SELinux:  Completing initialization.
[    6.706298] SELinux:  Setting up existing superblocks.
[    6.714211] type=1403 audit(1558338702.340:3): policy loaded auid=4294967295 ses=4294967295
[    6.754834] systemd[1]: Successfully loaded SELinux policy in 555.766ms.
[    7.230111] ip_tables: (C) 2000-2006 Netfilter Core Team
[    7.230151] systemd[1]: Inserted module 'ip_tables'
[    7.255553] systemd[1]: Relabelled /dev, /run and /sys/fs/cgroup in 21.273ms.
[    9.822331] EXT4-fs (sda4): re-mounted. Opts: (null)
[   10.188343] systemd-journald[1603]: Received request to flush runtime journal from PID 1
[   11.601347] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054f conflicts with OpRegion 0x0000000000000500-0x000000000000057f (\_SB_.PCI0.SBRG.GPBX) (20130517/utaddress-254)
[   11.601354] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   11.601356] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053f conflicts with OpRegion 0x0000000000000500-0x000000000000057f (\_SB_.PCI0.SBRG.GPBX) (20130517/utaddress-254)
[   11.601360] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   11.601362] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052f conflicts with OpRegion 0x0000000000000500-0x000000000000057f (\_SB_.PCI0.SBRG.GPBX) (20130517/utaddress-254)
[   11.601365] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   11.601367] lpc_ich: Resource conflict(s) found affecting gpio_ich
[   11.608029] i801_smbus 0000:00:1f.3: enabling device (0001 -> 0003)
[   11.608158] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt
[   11.620810] mei_me 0000:00:16.0: irq 30 for MSI/MSI-X
[   11.712759] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   11.780621] input: PC Speaker as /devices/platform/pcspkr/input/input6
[   11.810839] snd_hda_intel 0000:00:1b.0: enabling device (0000 -> 0002)
[   11.811014] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   11.908897] cryptd: max_cpu_qlen set to 1000
[   12.155988] kvm: disabled by bios
[   12.171456] intel_rapl: Found RAPL domain package
[   12.171461] intel_rapl: Found RAPL domain core
[   12.171463] intel_rapl: Found RAPL domain uncore
[   12.171468] intel_rapl: RAPL package 0 domain package locked by BIOS
[   12.253422] snd_hda_intel 0000:00:1b.0: irq 31 for MSI/MSI-X
[   12.311510] asus_wmi: ASUS WMI generic driver loaded
[   12.319024] input: Eee PC WMI hotkeys as /devices/platform/eeepc-wmi/input/input7
[   12.321474] snd_hda_codec_via hdaudioC0D0: autoconfig for VT1708S: line_outs=1 (0x1c/0x0/0x0/0x0/0x0) type:line
[   12.321480] snd_hda_codec_via hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   12.321483] snd_hda_codec_via hdaudioC0D0:    hp_outs=1 (0x1d/0x0/0x0/0x0/0x0)
[   12.321485] snd_hda_codec_via hdaudioC0D0:    mono: mono_out=0x0
[   12.321487] snd_hda_codec_via hdaudioC0D0:    dig-out=0x20/0x0
[   12.321489] snd_hda_codec_via hdaudioC0D0:    inputs:
[   12.321492] snd_hda_codec_via hdaudioC0D0:      Rear Mic=0x1a
[   12.321494] snd_hda_codec_via hdaudioC0D0:      Front Mic=0x1e
[   12.321497] snd_hda_codec_via hdaudioC0D0:      Line=0x1b
[   12.335563] iTCO_vendor_support: vendor-support=0
[   12.337361] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[   12.337404] iTCO_wdt: Found a Cougar Point TCO device (Version=2, TCOBASE=0x0460)
[   12.337894] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[   12.338249] eeepc-wmi: probe of eeepc-wmi failed with error -5
[   12.345862] input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
[   12.346382] input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[   12.346467] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[   12.346535] input: HDA Intel PCH Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[   12.346602] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[   15.695358] Adding 3933180k swap on /dev/sda5.  Priority:-2 extents:1 across:3933180k FS
[   15.707889] device-mapper: uevent: version 1.0.3
[   15.708649] device-mapper: ioctl: 4.37.1-ioctl (2018-04-03) initialised: dm-devel@redhat.com
[   18.313948] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[   18.897443] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
[   19.148910] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   19.733365] RPC: Registered named UNIX socket transport module.
[   19.733370] RPC: Registered udp transport module.
[   19.733371] RPC: Registered tcp transport module.
[   19.733373] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   19.847029] type=1305 audit(1558338715.473:4): audit_pid=3234 old=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:auditd_t:s0 res=1

Ответ на: комментарий от Deleted

У него реально винт дохнет, смотреть не на что. Ты вывод smartctl читал внимательно? У меня почти такой же был, когда винт в ноуте умер.

Vsevolod-linuxoid ★★★★★
()
Ответ на: комментарий от Vsevolod-linuxoid

Ты вывод smartctl читал внимательно?

Не. Я на куски «портянки» dmesg вылупился. :)

Deleted
()
Ответ на: комментарий от Vsevolod-linuxoid

А не просветите, что у него со SMART не в порядке? Я ничего не вижу. В ссылке, которую вы приводили, все действительно плохо, а у ТС, на мой взгляд, статистика хорошая.

funky
()
Ответ на: комментарий от Vsevolod-linuxoid

Так что, если диск честно отдает SMART (что не факт!), у ТС проблемы софтовые.

У меня на одном ноуте были проблемы с SSD, если включать агрессивное энергосохранение для SATA контроллера. В обновлении прошивки SSD упоминалось что-то про энергосохранение. Я ее поставил, но и агрессивное энергосохранение SATA контроллера от греха отключил - проблемы исчезли, правда я не знаю, что их устранило, новая прошивка или отключение агрессивное энергосохранения. И проверять не хочу.

funky
()
Ответ на: комментарий от funky

все несколько интереснее отваливается клавиатура и мышь... через ssh все работает как часы. что странно через TeamViewer так же все работает в тот момент пока система «висит». Клава точно исправная, смотреть в сторону usb-портов? что с ними может быть не так?

mifi
() автор топика
Ответ на: комментарий от mifi

Переключение на фронтальные usb порты эффекта не дали. Клава моргнула но не работает.. только сон помогает пока.. это не дело

mifi
() автор топика
Ответ на: комментарий от mifi

Это подтверждает мои подозрения на энегросохранение. Очень похоже на авто приостановление USB контроллера. Можно посмотреть на закладке «Tunables» утилиты powertop.

funky
()
Ответ на: комментарий от funky

произвел замену мышки с usb на ps/2 проблема решилась..но так и не понял почему usb отваливался(тоже склоняюсь к проблеме с питанием)

mifi
() автор топика
25 июля 2019 г.
Ответ на: комментарий от funky

вот что сегодня обнаружил в журнале

Jul 25 14:16:04 admin kernel: usb 2-1.6: USB disconnect, device number 8
Jul 25 14:16:04 admin journal: g_array_unref: assertion 'array' failed
Jul 25 14:16:04 admin kernel: usb 2-1.6: new low-speed USB device number 9 using ehci-pci
Jul 25 14:16:04 admin kernel: usb 2-1.6: New USB device found, idVendor=046d, idProduct=c05b
Jul 25 14:16:04 admin kernel: usb 2-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jul 25 14:16:04 admin kernel: usb 2-1.6: Product: USB Optical Mouse
Jul 25 14:16:04 admin kernel: usb 2-1.6: Manufacturer: Logitech
Jul 25 14:16:04 admin kernel: input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.0/input/input17
Jul 25 14:16:04 admin kernel: hid-generic 0003:046D:C05B.0008: input,hidraw2: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:1d.0-1.6/input0
Jul 25 14:16:04 admin mtp-probe: checking bus 2, device 9: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6"
Jul 25 14:16:04 admin mtp-probe: bus: 2, device: 9 was not an MTP device
Jul 25 14:16:47 admin systemd-logind: Power key pressed.
теперь точно понятно что дисконектит usb и подключает по новой. Только работоспособность мышки возвращается только после нажания на кнопку питания(переход в сон) и выход из него.

есть идеи как это можно вылечить?

mifi
() автор топика
27 августа 2019 г.
Ответ на: комментарий от funky

В powertop выставил bad на строке

   Bad           Autosuspend for USB device USB Optical Mouse [Logitech]
   Bad           Autosuspend for unknown USB device 1-1 (8087:0024)
   Bad           Autosuspend for unknown USB device 2-1 (8087:0024)
   Bad           Autosuspend for USB device EHCI Host Controller [usb1]
   Bad           Autosuspend for USB device EHCI Host Controller [usb2]
  Bad           Autosuspend for USB device USB-compliant keyboard [Plus More Enterprise LTD.]

на строках

   Bad           Autosuspend for unknown USB device 1-1 (8087:0024)
   Bad           Autosuspend for unknown USB device 2-1 (8087:0024)
стояло good

или наоборот везде надо выставить good?

mifi
() автор топика
Ответ на: комментарий от mifi

Good/Bad — это с точки зрения минимизации питания.
Good — отключать питание (и делать устройство недоступным)
Bad — НЕ отключать питание.

bormant ★★★★★
()
Ответ на: комментарий от bormant

даже с выставленным «bad» usb мышь и клава отваливаются... вот что можно увидеть в /var/log/messages

Aug 27 09:30:17 admin kernel: usb 1-1.2: USB disconnect, device number 56
Aug 27 09:30:17 admin journal: g_array_unref: assertion 'array' failed
Aug 27 09:30:18 admin kernel: usb 1-1.2: new low-speed USB device number 57 using ehci-pci
Aug 27 09:30:18 admin kernel: usb 1-1.2: New USB device found, idVendor=046d, idProduct=c05b
Aug 27 09:30:18 admin kernel: usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Aug 27 09:30:18 admin kernel: usb 1-1.2: Product: USB Optical Mouse
Aug 27 09:30:18 admin kernel: usb 1-1.2: Manufacturer: Logitech
Aug 27 09:30:18 admin kernel: input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/input/input185
Aug 27 09:30:18 admin kernel: hid-generic 0003:046D:C05B.00B0: input,hidraw2: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:1a.0-1.2/input0
Aug 27 09:30:18 admin mtp-probe: checking bus 1, device 57: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2"
Aug 27 09:30:18 admin mtp-probe: bus: 1, device: 57 was not an MTP device
Aug 27 09:31:32 admin dbus[729]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service'
Aug 27 09:31:32 admin systemd: Starting Fingerprint Authentication Daemon...
Aug 27 09:31:32 admin dbus[729]: [system] Successfully activated service 'net.reactivated.Fprint'
Aug 27 09:31:32 admin systemd: Started Fingerprint Authentication Daemon.
mifi
() автор топика
Ответ на: комментарий от mifi

Там на самом деле цепочка устройств, запретите засыпать как самим устройствам, так и контроллеру USB, к которому они подключены.
Причем, обычно, если засыпает только устройство, то его еще можно разбудить, но будет какой-то лаг; а контроллер, засыпая, делает недоступным все, что к нему подключено.

bormant ★★★★★
()
Ответ на: комментарий от bormant

сейчас в powertop выставленно так

   Bad           VM writeback timeout
   Bad           Enable SATA link power management for host0
   Bad           Enable SATA link power management for host1
>> Bad           Enable Audio codec power management                                                                    
   Bad           NMI watchdog should be turned off
   Bad           Autosuspend for USB device USB Optical Mouse [Logitech]
   Bad           Autosuspend for unknown USB device 1-1 (8087:0024)
   Bad           Autosuspend for unknown USB device 2-1 (8087:0024)
   Bad           Autosuspend for USB device EHCI Host Controller [usb1]
   Bad           Autosuspend for USB device EHCI Host Controller [usb2]
   Bad           Runtime PM for I2C Adapter i2c-4 (i915 gmbus dpb)
   Bad           Runtime PM for I2C Adapter i2c-5 (i915 gmbus dpd)
   Bad           Runtime PM for I2C Adapter i2c-2 (i915 gmbus panel)
   Bad           Runtime PM for I2C Adapter i2c-3 (i915 gmbus dpc)
   Bad           Runtime PM for I2C Adapter i2c-0 (i915 gmbus ssc)
   Bad           Runtime PM for I2C Adapter i2c-1 (i915 gmbus vga)
   Bad           Autosuspend for USB device USB-compliant keyboard [Plus More Enterprise LTD.]
   Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3
   Bad           Runtime PM for PCI Device Intel Corporation 2nd Generation Core Processor Family DRAM Controller
   Bad           Runtime PM for PCI Device Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller
   Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1
   Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2
   Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller
   Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1
   Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5
   Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1
   Bad           Runtime PM for PCI Device Intel Corporation H61 Express Chipset LPC Controller
   Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family Desktop SATA Controller (IDE mode, ports 0-
   Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family Desktop SATA Controller (IDE mode, ports 4-
   Bad           Runtime PM for PCI Device Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
   Bad           Wake-on-lan status for device p4p1
   Good          Runtime PM for I2C Adapter i2c-7 (SMBus I801 adapter at 4040)
   Good          Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller
   Good          Wake-on-lan status for device virbr0
   Good          Wake-on-lan status for device virbr0-nic

mifi
() автор топика
Ответ на: комментарий от bormant

но тем не мение отваливаются мышь с клавой

mifi
() автор топика
Ответ на: комментарий от bormant

как ни странно вроде проблема решилась, вердикт провод мыши внутри имеет обрыв. Но почему отключались и мышь, и клава так и не понял. заменил мышь - день без отпадания мыши и клавы. Раньше были по несколько раз в час

mifi
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.