Debian freeze

New to Debian (Or Linux in general)? Ask your questions here!

Debian freeze

Postby DeafFatalBruno » 2021-02-13 17:21

Hi

I have installed Debian today. (B365 - intel i3 - 4ghz, 16gb ddr4).
I have used Linux in the past, but I am not very experienced with Linux.

I do have a severe problem with Debian, as it freezes after a minute or so of use (under Gnome). It varies. If I start Firefox it freezes on starting of that.
I am just very surprised that is gets this stuck. No error, no feedback, just 100% frozen .

The GUI remains up, but nothing works suddenly. Mouse is frozen, keyboard does not work. I can't switch to console with CRTL +ATL + F2 or sim. No key command shows any response.
There is no error or anything else shown. It just freezes.
After a hard reboot, it works fine for a few min until it freezes again.

I have no clue on how to trace this issue down.
The system was running FreeNAS before without any issues.

I don't know why it freezes and what to do about it.

I have updated the bios. ( no change)
If it is a hardware issue, I suspect ram, Mobo or CPU, ..

Is there any way under debian to check what happens and trace this down.
Or am I left with swapping components out?

kind regards
DeafFatalBruno
 
Posts: 11
Joined: 2014-03-19 23:58
Location: Brisbane, Australia

Re: Debian freeze

Postby Bulkley » 2021-02-13 17:36

The GUI remains up, but nothing works suddenly. Mouse is frozen, keyboard does not work. I can't switch to console with CRTL +ATL + F2 or sim. No key command shows any response. There is no error or anything else shown. It just freezes.


That points to a graphical problem. Considering that you just installed I wonder if you also installed the appropriate non-free package that goes with your video card.
Bulkley
 
Posts: 6067
Joined: 2006-02-11 18:35

Re: Debian freeze

Postby Head_on_a_Stick » 2021-02-13 17:36

Install the intel-microcode package. The non-free component of the repositories will have to be enabled.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13280
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian freeze

Postby DeafFatalBruno » 2021-02-13 18:16

thanks, I look into both and see if I can make any progress.

I have not installed any none free driver or so. Just the debian stock install.
It's hard to do as a fairly linux novice, when also the browser is crashing the GUI/xserver environment.
I can only work from the command line.

I noticed the same issue, when trying to install Ubuntu ( as this boots some sort of graphic installer, then installer hangs in the same fashion) . So I couldn't even install it.
Debian has bit of older style installer and that worked fine.

So maybe the GPU is the cause, why would Linux hang like that. I would have expected to be able to switch to a txt base console even if the xserver/GPU has an issue.
Isn't that whole point of modern OS, so something like that can't bring everything down.

I could try to enable ssh and see if I can still remote login when it is frozen.
DeafFatalBruno
 
Posts: 11
Joined: 2014-03-19 23:58
Location: Brisbane, Australia

Re: Debian freeze

Postby arochester » 2021-02-13 18:32

I would have expected to be able to switch to a txt base console even if the xserver/GPU has an issue.


If you press Ctrl+Alt+F1 you will go to text.

If you press Ctrl+Alt+F7 you will go back to graphical.

Go to text and install intel-microcode
arochester
 
Posts: 1871
Joined: 2010-12-07 19:55

Re: Debian freeze

Postby DeafFatalBruno » 2021-02-13 18:36

ok,

so, I tested that I can still ssh into this debian instance, even when the xserver/Gnome is frozen.
That works.

So that means the underlying system is not dead at that point, but all mouse or keyboard input is blocked/hanging, so it will not allow me to swap away from the xserver to any terminal.

I have no idea yet on how install any nvidia driver, but will look into it.
Are AMD cards better suited for Linux?
Are these problems common?

Considering a ubuntu install won't even work, I would hope this is not normal.

kind regards
DeafFatalBruno
 
Posts: 11
Joined: 2014-03-19 23:58
Location: Brisbane, Australia

Re: Debian freeze

Postby DeafFatalBruno » 2021-02-13 18:39

arochester wrote:
I would have expected to be able to switch to a txt base console even if the xserver/GPU has an issue.


If you press Ctrl+Alt+F1 you will go to text.

If you press Ctrl+Alt+F7 you will go back to graphical.

Go to text and install intel-microcode

I will try to get that microcode.. is that a simple apt-get thing to get it installed??


the Ctrl+Alt+F1 (or any other F does NOT work). once the xsever/gui freeze is up, NO key command works.
It also seem to me under Debian now F1 is graphical, F2 onwards is text.
DeafFatalBruno
 
Posts: 11
Joined: 2014-03-19 23:58
Location: Brisbane, Australia

Re: Debian freeze

Postby Bulkley » 2021-02-13 18:51

Add non-free to your /etc/apt/sources.list like this.
Code: Select all
  deb http://deb.debian.org/debian/ buster main contrib non-free
You will need to edit that as root.

Then do:
Code: Select all
# apt update
# apt install intel-microcode
Bulkley
 
Posts: 6067
Joined: 2006-02-11 18:35

Re: Debian freeze

Postby DeafFatalBruno » 2021-02-13 19:05

Bulkley wrote:Add non-free to your /etc/apt/sources.list like this.
Code: Select all
  deb http://deb.debian.org/debian/ buster main contrib non-free
You will need to edit that as root.

Then do:
Code: Select all
# apt update
# apt install intel-microcode

Thank you!!
the intall worked

I installed and rebooted, but the issue remains!
I assume installing this package and a reboot is all it needed, ...

looking at the graphics driver next. (or whatever you would call that under linux, ..
DeafFatalBruno
 
Posts: 11
Joined: 2014-03-19 23:58
Location: Brisbane, Australia

Re: Debian freeze

Postby arochester » 2021-02-13 19:08

t also seem to me under Debian now F1 is graphical, F2 onwards is text.


F1 to F6 is text. F7 to F12 is graphical.
arochester
 
Posts: 1871
Joined: 2010-12-07 19:55

Re: Debian freeze

Postby DeafFatalBruno » 2021-02-13 19:34

arochester wrote:
t also seem to me under Debian now F1 is graphical, F2 onwards is text.


F1 to F6 is text. F7 to F12 is graphical.


That's what I have been told in the past and it did work as such.

I can def assure you that under the lasted Debian install here, that F1 is the xserver, F2 tty2 -> F6 tty6 /// F7 and up is not working by default.
DeafFatalBruno
 
Posts: 11
Joined: 2014-03-19 23:58
Location: Brisbane, Australia

Re: Debian freeze

Postby CwF » 2021-02-13 19:47

DeafFatalBruno wrote:F1 is the xserver, F2 tty2 -> F6 tty6

yep, or maybe...It depends on things not specified like how it's set up! Lightdm and others is what kick graphical to f7+. Without, f1 is where it starts unless told otherwise.
CwF
 
Posts: 929
Joined: 2018-06-20 15:16

Re: Debian freeze

Postby DeafFatalBruno » 2021-02-13 20:26

ok, I manage to install the nvidia-driver via buster-backports apt-install ..

there were some notes on "possible missing firmware ../. rtl_nic/ ... for module r8169.
Not sure what that means or if that matters, but I think it installed.

I have been running now for a bit without the issue reoccurring, but still too early to tell.

-> I have say thanks for all the quick responses here!!! Thank you!


But also this is turning me off linux again. I am trying it every few years. since 1995 ,.. and I think xserver issues during config have been there 90% of the time .
A few years later I think, that must all be smooth and I try again and find xserver issues again, ... repeat many times, ... ... now 2021... xserver is still an issue.

regardless if nvidia is to blame or Linux, the end result is the same, as linux novice Linux it remains is PITA to setup and work with, unless ur soo lucky and just runs out of the box.

I would have hoped that simple nvidia GT710 would just work! I mean, I don't need any 3d features or OpenGL acceleration. Just give me a plain stable desktop. That's all I want.
The ubnuntu install won't even work, as it uses the xserver for the installation. So debian is the winner in the end.

but that is not assuring at all.
DeafFatalBruno
 
Posts: 11
Joined: 2014-03-19 23:58
Location: Brisbane, Australia

Re: Debian freeze

Postby Head_on_a_Stick » 2021-02-13 20:54

DeafFatalBruno wrote:regardless if nvidia is to blame or Linux

NVIDIA is entirely to blame, they hate the open source community and should be avoided by any who support that ethos.

See also https://drewdevault.com/2017/10/26/Fuck-you-nvidia.html & https://www.hooktube.com/watch?v=_36yNWw_07g
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13280
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian freeze

Postby Bulkley » 2021-02-13 20:56

Debian is not the easiest for a newbie. Debian sticks to principles and they can be frustrating. MX Linux is easier. It is based on Debian but the developers have made it more user friendly.
Bulkley
 
Posts: 6067
Joined: 2006-02-11 18:35

Next

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 14 guests

fashionable