LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Debian 10 sometimes completely freezes (https://www.linuxquestions.org/questions/debian-26/debian-10-sometimes-completely-freezes-4175673011/)

Alexander_L 04-11-2020 08:23 AM

Debian 10 sometimes completely freezes
 
I have notebook with Debian 10 with 4.19.0-8 kernel. When i work it sometimes comlpletely freezes. I cannot move mouse, use keyboard. Only can i do is hold power button for 4 seconds (notebook hard power off). But it is not good for PC and sometimes i lost my unsaved work. How can i dial with the problem? If some logs needed i can upload they.

teckk 04-11-2020 09:02 AM

That could be a number of things. On a notebook, is it cooling properly? How hot is the processor getting? Look at the output of sensors gkrellm conky.

What graphic hardware do you have?
Code:

lspci -k
Does it freeze with just one type of software, such as webengine or libreoffice?

Can you ssh in to the machine when frozen? To see if it's just graphics or the whole OS.

Have you ran memtest on it?

Anything in the docs?
https://www.debian.org/doc/

Is debian using systemd?
Look a the output of journalctl

You'll have to narrow it down.

pan64 04-11-2020 10:29 AM

is this overheated? How old is it? Was it cleaned already?

Alexander_L 04-14-2020 09:35 AM

I search in search engine, but couldn't find situation as mine.

Sometimes notebook heats at 70-90 C, but sometimes temperature isn't very high when it hangs (above 50-60 C).

Code:

lspci -k
Code:

00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 0e)
        Subsystem: ASUSTeK Computer Inc. Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register
        Kernel driver in use: iosf_mbi_pci
00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e)
        Subsystem: ASUSTeK Computer Inc. Atom Processor Z36xxx/Z37xxx Series Graphics & Display
        Kernel driver in use: i915
        Kernel modules: i915
00:13.0 SATA controller: Intel Corporation Atom Processor E3800 Series SATA AHCI Controller (rev 0e)
        Subsystem: ASUSTeK Computer Inc. Atom Processor E3800 Series SATA AHCI Controller
        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)
        Subsystem: ASUSTeK Computer Inc. Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
        Subsystem: ASUSTeK Computer Inc. Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine
00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller (rev 0e)
        Subsystem: ASUSTeK Computer Inc. Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller
        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)
        Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 2 (rev 0e)
        Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 4 (rev 0e)
        Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 0e)
        Subsystem: ASUSTeK Computer Inc. Atom Processor Z36xxx/Z37xxx Series Power Control Unit
        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: ASUSTeK Computer Inc. Atom Processor E3800 Series SMBus Controller
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
02:00.0 Network controller: Broadcom Limited BCM43142 802.11b/g/n (rev 01)
        Subsystem: Lite-On Communications Inc BCM43142 802.11b/g/n
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5286 PCI Express Card Reader (rev 01)
        Subsystem: ASUSTeK Computer Inc. RTS5286 PCI Express Card Reader
        Kernel driver in use: rtsx_pci
        Kernel modules: rtsx_pci
03:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 06)
        Subsystem: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller
        Kernel driver in use: r8169
        Kernel modules: r8169

It freezes most often when i watch videos, videoconferences, but not always in this cases.

I don't try ssh in when it frozen.

I run memtest, all is good.

What should i find in documentation?

Yes, Debian uses systemd.

pan64 04-14-2020 10:23 AM

it is not related to systemd at all. It can be:
1. overclock
2. overheat
3. hardware problem like ram or hdd)
you might find something related in /var/log (somewhere before the last boot)

Alexander_L 04-14-2020 10:51 AM

I dont overclock my system. It freezes sometimes when temperature not high, as i wrote above, (50-60 C).
Its unlikely that RAM is bad, i already tested memory.
About HDD you mean that there is bad blocks may exist on this?

pan64 04-14-2020 11:38 AM

there is a tool: smartctl that may help you to check your disk.
(Someone posted something similar a few weeks ago and told the same: the system was not overclocked. And finally he stated the RAM frequency was too high.)

Alexander_L 04-14-2020 03:54 PM

How can i find my current RAM frequency and it normal values?

pan64 04-15-2020 12:05 AM

That can be found in the BIOS I think. But again, you need to check /var/log for related messages too.

Alexander_L 04-22-2020 04:16 AM

5 Attachment(s)
I checked disk with smartctl. There are no errors.
I could not understand: what i need to find in /var/log?

But i found something strange: there is strings of nulls in logs.
There are only 5 files i can upload, but in battry-stats file exist exactly same string.

Attachment 33045

Attachment 33046

Attachment 33047

Attachment 33048

Attachment 33049

As you can see 2020/04/21 08:59 and 2020/04/15 11:41 in battery-stats, ufw.log, messages something strange. And i remeber that probably 21.4 my computer freezed. But i don't remember if my computer freezes 15.4, maybe it is true.
What it could be and if it is what i need to find in logs?
I'm apologize for my maybe irregular english.

Alexander_L 04-22-2020 10:35 AM

But sometimes the computer itself may freeze without a null line in logs

Alexander_L 04-22-2020 10:36 AM

1 Attachment(s)
But in addition sometimes the computer itself may freeze without a null line in logs. Or only in one file. This happend some minuts ago.
Attachment 33052

pan64 04-22-2020 10:53 AM

can you access it from another host - or phone (when it looks stopped)?

Alexander_L 04-22-2020 10:56 AM

How can i access my PC from phone or host?

teckk 04-22-2020 11:26 AM

Quote:

How can i access my PC from phone or host?
What do you have installed on that machine?
Do you have sshd running? There are ssh clients for android.

If it's systemd then look at the journal.
Does journalctl give you any info on the freeze?
See man journalctl


All times are GMT -5. The time now is 09:42 AM.