LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-11-2020, 08:23 AM   #1
Alexander_L
LQ Newbie
 
Registered: Apr 2020
Location: Belarus
Distribution: Debian 10
Posts: 12

Rep: Reputation: Disabled
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.
 
Old 04-11-2020, 09:02 AM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,878

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
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.
 
1 members found this post helpful.
Old 04-11-2020, 10:29 AM   #3
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 14,619

Rep: Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756
is this overheated? How old is it? Was it cleaned already?
 
1 members found this post helpful.
Old 04-14-2020, 09:35 AM   #4
Alexander_L
LQ Newbie
 
Registered: Apr 2020
Location: Belarus
Distribution: Debian 10
Posts: 12

Original Poster
Rep: Reputation: Disabled
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.
 
Old 04-14-2020, 10:23 AM   #5
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 14,619

Rep: Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756
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)
 
1 members found this post helpful.
Old 04-14-2020, 10:51 AM   #6
Alexander_L
LQ Newbie
 
Registered: Apr 2020
Location: Belarus
Distribution: Debian 10
Posts: 12

Original Poster
Rep: Reputation: Disabled
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?
 
Old 04-14-2020, 11:38 AM   #7
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 14,619

Rep: Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756
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.)
 
1 members found this post helpful.
Old 04-14-2020, 03:54 PM   #8
Alexander_L
LQ Newbie
 
Registered: Apr 2020
Location: Belarus
Distribution: Debian 10
Posts: 12

Original Poster
Rep: Reputation: Disabled
How can i find my current RAM frequency and it normal values?
 
Old 04-15-2020, 12:05 AM   #9
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 14,619

Rep: Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756
That can be found in the BIOS I think. But again, you need to check /var/log for related messages too.
 
1 members found this post helpful.
Old 04-22-2020, 04:16 AM   #10
Alexander_L
LQ Newbie
 
Registered: Apr 2020
Location: Belarus
Distribution: Debian 10
Posts: 12

Original Poster
Rep: Reputation: Disabled
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.

Click image for larger version

Name:	Screenshot from 2020-04-22 12-01-41.png
Views:	6
Size:	248.8 KB
ID:	33045

Click image for larger version

Name:	Screenshot from 2020-04-22 12-01-43.png
Views:	5
Size:	244.5 KB
ID:	33046

Click image for larger version

Name:	Screenshot from 2020-04-22 12-02-02.png
Views:	4
Size:	143.7 KB
ID:	33047

Click image for larger version

Name:	Screenshot from 2020-04-22 12-02-39.jpg
Views:	4
Size:	261.0 KB
ID:	33048

Click image for larger version

Name:	Screenshot from 2020-04-22 12-02-57.png
Views:	4
Size:	240.9 KB
ID:	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.
 
Old 04-22-2020, 10:35 AM   #11
Alexander_L
LQ Newbie
 
Registered: Apr 2020
Location: Belarus
Distribution: Debian 10
Posts: 12

Original Poster
Rep: Reputation: Disabled
But sometimes the computer itself may freeze without a null line in logs
 
Old 04-22-2020, 10:36 AM   #12
Alexander_L
LQ Newbie
 
Registered: Apr 2020
Location: Belarus
Distribution: Debian 10
Posts: 12

Original Poster
Rep: Reputation: Disabled
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.
Click image for larger version

Name:	Screenshot from 2020-04-22 18-39-22.png
Views:	4
Size:	140.9 KB
ID:	33052

Last edited by Alexander_L; 04-22-2020 at 10:41 AM. Reason: Add some info
 
Old 04-22-2020, 10:53 AM   #13
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 14,619

Rep: Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756
can you access it from another host - or phone (when it looks stopped)?
 
1 members found this post helpful.
Old 04-22-2020, 10:56 AM   #14
Alexander_L
LQ Newbie
 
Registered: Apr 2020
Location: Belarus
Distribution: Debian 10
Posts: 12

Original Poster
Rep: Reputation: Disabled
How can i access my PC from phone or host?
 
Old 04-22-2020, 11:26 AM   #15
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,878

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sometimes works, sometimes doesn't? WG511U on debian with Ndiswrapper Plastech Linux - Wireless Networking 3 05-23-2007 01:50 PM
ls sometimes year sometimes the time of day suguru Linux - Software 1 02-18-2004 10:27 PM
automatic shutdown of Mandrake 9.2 (sometimes works sometimes not) lu543285 Linux - Hardware 1 02-06-2004 12:18 PM
Quake3: Sometimes works, sometimes doesn't migo Linux - Software 2 02-03-2003 02:16 PM
Mouse - Sometimes work and sometimes does'nt danishmr Linux - Hardware 0 05-09-2002 04:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration