Re: laptop freezes randomly - please help!! dell xps 15 with debian testing

2023-01-31 Thread Timothy M Butterworth
On Tue, Jan 31, 2023 at 9:42 AM Shalom Ben-Zvii Kazaz 
wrote:

>
> On Mon, Jan 30, 2023 at 6:00 PM Alexandre Rossi  wrote:
>
>> Hi,
>>
>> > In the past week my laptop freezes randomly, I can say it happens every
>> 2-3
>> > hours. but there are actions that consistently always cause a freeze,
>> like
>> > opening Zoom or executing lspci in Terminator.
>>
>> I would suggest:
>> - try to get more debugging info using SysRQ keys [1]
>> - try to get more debugging info using netconsole[2] (needs wired
>> connection)
>> - try another OS (Ubuntu live CD, Windows) to rule out hardware problem
>>
>
> following the suggestion to try another OS i booted the computer with
> ubuntu 22.4 live usb, i'm working with since yesterday with no issues. i
> have enough memory so i installed some of the applications i use like
> slack,zoom,terminator and more, i even installed intellij idea and worked
> on my project for hours. zoom works with video ,slack works, there is no
> freeze , the computer is up with ubuntu 22.4 for almost 24 hours and
> everything looks ok.
> So i guess there is no hardware problem.
> So i don't know what to do, I'm thinking to reinstall debian but I'm not
> sure the problem will disappear because it may be something with the kernel
> of some package.
>

Try booting with Debian 11 Bullseye live images.
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.6.0-live+nonfree/amd64/iso-hybrid/
If
all your hardware works with Bullseye then go with it. Debian testing is
nice but it can from time to time get hosed. Since you have been running
testing since Bullseye was in testing it should be good to go for you.

I have debian testing running on AMD Ryzen 7 4700U with Radeon Graphics
with 16 Gig's of RAM and I have had some shell crashes recently. The
background turns grey and everything freezes except the mouse. I am able to
switch to a command line terminal without issue. TOP and free -h both show
that I have lots of available resources and there isn't any one run away
process using all my resources.

I am also having a problem with KDE's instant messenger complaining that I
do not have kaccounts-integration installed. I tried reinstalling it and it
still reports that it is not installed. Trying to launch "Instant Messaging
Settings" caused the system shell to crash and appear to be locked up. The
mouse still moves just fine.

I would move to Bullseye but I need Firmware in Bookworm to run my Sound
and WiFi. I am not a fan of backports, I have never had a good experience
with it. Installing software with backports is no trouble but keeping them
up to date is an issue because it does not automatically want to install
newer versions even when the package was installed form backports.



>
>> [1] https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html
>> [2] https://debamax.com/blog/2019/01/03/debugging-with-netconsole/
>>
>> Alex
>>
>>

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀


Re: laptop freezes randomly - please help!! dell xps 15 with debian testing

2023-01-31 Thread David Wright
On Tue 31 Jan 2023 at 14:41:24 (+), Shalom Ben-Zvii Kazaz wrote:
> On Mon, Jan 30, 2023 at 6:00 PM Alexandre Rossi  wrote:
> > > In the past week my laptop freezes randomly, I can say it happens every
> > 2-3
> > > hours. but there are actions that consistently always cause a freeze,
> > like
> > > opening Zoom or executing lspci in Terminator.
> >
> > I would suggest:
> > - try to get more debugging info using SysRQ keys [1]
> > - try to get more debugging info using netconsole[2] (needs wired
> > connection)
> > - try another OS (Ubuntu live CD, Windows) to rule out hardware problem
> >
> 
> following the suggestion to try another OS i booted the computer with
> ubuntu 22.4 live usb, i'm working with since yesterday with no issues. i
> have enough memory so i installed some of the applications i use like
> slack,zoom,terminator and more, i even installed intellij idea and worked
> on my project for hours. zoom works with video ,slack works, there is no
> freeze , the computer is up with ubuntu 22.4 for almost 24 hours and
> everything looks ok.
> So i guess there is no hardware problem.
> So i don't know what to do, I'm thinking to reinstall debian but I'm not
> sure the problem will disappear because it may be something with the kernel
> of some package.

Earlier you wrote "I've been using this laptop for the past 3 years
with the same setup with debian testing since its new", which means
that you should be able to run this machine with bullseye.

If you run testing, do full-upgrades, and expect full-upgrades are
going to fix things, then you might be better off sticking with
the stable distribution, assuming you were to go back to Debian.

Cheers,
David.



Re: laptop freezes randomly - please help!! dell xps 15 with debian testing

2023-01-31 Thread Shalom Ben-Zvii Kazaz
On Mon, Jan 30, 2023 at 6:00 PM Alexandre Rossi  wrote:

> Hi,
>
> > In the past week my laptop freezes randomly, I can say it happens every
> 2-3
> > hours. but there are actions that consistently always cause a freeze,
> like
> > opening Zoom or executing lspci in Terminator.
>
> I would suggest:
> - try to get more debugging info using SysRQ keys [1]
> - try to get more debugging info using netconsole[2] (needs wired
> connection)
> - try another OS (Ubuntu live CD, Windows) to rule out hardware problem
>

following the suggestion to try another OS i booted the computer with
ubuntu 22.4 live usb, i'm working with since yesterday with no issues. i
have enough memory so i installed some of the applications i use like
slack,zoom,terminator and more, i even installed intellij idea and worked
on my project for hours. zoom works with video ,slack works, there is no
freeze , the computer is up with ubuntu 22.4 for almost 24 hours and
everything looks ok.
So i guess there is no hardware problem.
So i don't know what to do, I'm thinking to reinstall debian but I'm not
sure the problem will disappear because it may be something with the kernel
of some package.


>
> [1] https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html
> [2] https://debamax.com/blog/2019/01/03/debugging-with-netconsole/
>
> Alex
>
>


Re: laptop freezes randomly - please help!! dell xps 15 with debian testing

2023-01-30 Thread Shalom Ben-Zvii Kazaz
I can get lspci listing with Gnome terminal with no problem , but when i
try with Terminator, the second i press the enter key the computer freezes,
well most of the time at least once it succeeded with Terminator too.

On Mon, Jan 30, 2023 at 8:43 PM Charles Curley <
charlescur...@charlescurley.com> wrote:

> On Mon, 30 Jan 2023 18:59:19 +0200
> Shalom Ben-Zvii Kazaz  wrote:
>
> > In the past week my laptop freezes randomly, I can say it happens
> > every 2-3 hours. but there are actions that consistently always cause
> > a freeze, like opening Zoom or executing lspci in Terminator.
>
> lspci leads me to wonder if lspci is triggering a hardware flaw
> somewhere on the PCI bus. And Zoom might do the same thing: I
> conjecture that it looks for cameras on the PCI and USB busses.
>
> Does it always freeze at the same point in the lspci listing? What
> happens if you do a verbose listing? 'lspci -v'
>
> Can you get a complete lspci listing using an older version of Linux,
> or a live CD version (e.g. finnix)?
>
>
>
> --
> Does anybody read signatures any more?
>
> https://charlescurley.com
> https://charlescurley.com/blog/
>
>


Re: laptop freezes randomly - please help!! dell xps 15 with debian testing

2023-01-30 Thread Shalom Ben-Zvii Kazaz
I tried SysRQ and there is no response when the computer freezes. i tried
before freeze to make sure i know how to use it and it worked, i tried b
and k and it worked. but when the computer freezes there is nothing, no
response.

On Mon, Jan 30, 2023 at 8:00 PM Alexandre Rossi  wrote:

> Hi,
>
> > In the past week my laptop freezes randomly, I can say it happens every
> 2-3
> > hours. but there are actions that consistently always cause a freeze,
> like
> > opening Zoom or executing lspci in Terminator.
>
> I would suggest:
> - try to get more debugging info using SysRQ keys [1]
> - try to get more debugging info using netconsole[2] (needs wired
> connection)
> - try another OS (Ubuntu live CD, Windows) to rule out hardware problem
>
> [1] https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html
> [2] https://debamax.com/blog/2019/01/03/debugging-with-netconsole/
>
> Alex
>
>


Re: laptop freezes randomly - please help!! dell xps 15 with debian testing

2023-01-30 Thread Charles Curley
On Mon, 30 Jan 2023 18:59:19 +0200
Shalom Ben-Zvii Kazaz  wrote:

> In the past week my laptop freezes randomly, I can say it happens
> every 2-3 hours. but there are actions that consistently always cause
> a freeze, like opening Zoom or executing lspci in Terminator.

lspci leads me to wonder if lspci is triggering a hardware flaw
somewhere on the PCI bus. And Zoom might do the same thing: I
conjecture that it looks for cameras on the PCI and USB busses.

Does it always freeze at the same point in the lspci listing? What
happens if you do a verbose listing? 'lspci -v'

Can you get a complete lspci listing using an older version of Linux,
or a live CD version (e.g. finnix)?



-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: laptop freezes randomly - please help!! dell xps 15 with debian testing

2023-01-30 Thread Alexandre Rossi
Hi,

> In the past week my laptop freezes randomly, I can say it happens every 2-3
> hours. but there are actions that consistently always cause a freeze, like
> opening Zoom or executing lspci in Terminator.

I would suggest:
- try to get more debugging info using SysRQ keys [1]
- try to get more debugging info using netconsole[2] (needs wired connection)
- try another OS (Ubuntu live CD, Windows) to rule out hardware problem

[1] https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html
[2] https://debamax.com/blog/2019/01/03/debugging-with-netconsole/

Alex



laptop freezes randomly - please help!! dell xps 15 with debian testing

2023-01-30 Thread Shalom Ben-Zvii Kazaz
Hello,
Sorry for starting a new conversation, the previous one didn't help me and
I hope that now I have more details.
I don't have any idea how to approach that, its my workstation and the past
few days I just couldn't really work.
I'm also not experienced with this mailing list and a bit confused how to
reply here. I hope this time I will do it right.

In the past week my laptop freezes randomly, I can say it happens every 2-3
hours. but there are actions that consistently always cause a freeze, like
opening Zoom or executing lspci in Terminator.

Its a dell xps 15 7590, Intel® Core™ i9-9980HK × 16, 64.0 GiB memory, Mesa
Intel® UHD Graphics 630 (CFL GT2),
The laptop is attached to a dell docking station wd19 with an external
monitor and keyboard and external mouse.
It's running Debian GNU/Linux bookworm (debian testing) with Gnome.
I've been using this laptop for the past 3 years with the same setup with
debian testing since its new.
two month ago an official Dell technician replaced the keyboard and fans
and cooling board while still under Dell warranty.

The freeze started a few days ago after I did full-upgrade. Since then I
did full-upgrade again a few times hoping that it's a bug that was fixed
but it's still freezing.

I always have a few projects open in Jetbrains Intellij idea and rider. I
configure Intellij with 20GB memory, always a few browser windows open with
many tabs, usually brave and chromium. I always have a few windows and tabs
open in Terminator. and more.
The freeze always happens as a result of some UI action. examples are when
i tried to open settings, or some action in Intellij idea. It's completely
random and happens with other applications too.
there are actions that always cause a freeze, i tried that again and again
restarting the computer every time and it's always the same result, and
something suspicious with terminator:
trying to open the Zoom app always causes a freeze, I use zoom regularly
and there was never a problem until a few days ago.
trying to execute the command lspci in Terminator always causes a freeze,
everything else in terminator works. executing lspci in Gnome terminal
works, that looks to me very suspicious. I tried that at least 10 times to
make sure that it's not a coincidence and it's always the same, typing
lspci in Terminator and then Enter freezes the computer, but not in Gnome
terminal.

What I did:
As suggested to me here, I connected an ssh session with top and
journalctrl -f  from another computer and waited for a freeze. I have the
latest messages from both at the bottom of this message.

I started the computer with a gnome classic session, same thing, computer
freeze. started with xfce session, same thing.

I ran the Dell pre-boot performance test including a full memory test and
it passed OK.
I removed all the devices connected like external mouse and keyboard and
same thing.
I detached the laptop from the docking station and the computer freezes
when trying to open zoom or execute lspci in Terminator.

I hope someone can help in finding the cause of that freeze.

this is info i collected
This is journalctrl from another computer in ssh session just before the
computer freeze, the freeze was exactly at 16:39

Jan 30 16:38:57 xps-debian jetbrains-idea-ce.desktop[82252]:
java.lang.RuntimeException: Cannot invoke (class=,
method=projectClosing, topic=ProjectManagerListener)
Jan 30 16:38:57 xps-debian jetbrains-idea-ce.desktop[82252]:
at 
com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:639)
Jan 30 16:38:57 xps-debian jetbrains-idea-ce.desktop[82252]:
at 
com.intellij.util.messages.impl.MessageBusImplKt.executeOrAddToQueue(MessageBusImpl.kt:466)
Jan 30 16:38:57 xps-debian jetbrains-idea-ce.desktop[82252]:
at 
com.intellij.util.messages.impl.ToDirectChildrenMessagePublisher.publish$intellij_platform_core(CompositeMessageBus.kt:295)
Jan 30 16:38:57 xps-debian jetbrains-idea-ce.desktop[82252]:
at 
com.intellij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:421)
Jan 30 16:38:57 xps-debian jetbrains-idea-ce.desktop[82252]:
at jdk.proxy2/jdk.proxy2.$Proxy97.projectClosing(Unknown Source)
Jan 30 16:38:57 xps-debian jetbrains-idea-ce.desktop[82252]:
at 
com.intellij.openapi.project.impl.ProjectManagerImplKt.fireProjectClosing(ProjectManagerImpl.kt:1040)
Jan 30 16:38:57 xps-debian jetbrains-idea-ce.desktop[82252]:
at 
com.intellij.openapi.project.impl.ProjectManagerImplKt.access$fireProjectClosing(ProjectManagerImpl.kt:1)
Jan 30 16:38:57 xps-debian jetbrains-idea-ce.desktop[82252]:
at 
com.intellij.openapi.project.impl.ProjectManagerImpl.closeProject(ProjectManagerImpl.kt:426)
Jan 30 16:38:57 xps-debian jetbrains-idea-ce.desktop[82252]:
at 
com.intellij.openapi.project.impl.ProjectManagerImpl.closeProject$default(ProjectManagerImpl.kt:369)
Jan 30 16:38:57 xps-debian jetbrains-idea-ce.desktop[82252]:
at 
com.intellij.openapi.project.impl.ProjectManagerImpl.closeAndDisposeAllProjects(ProjectManagerImpl.kt:362)
J