Results 1 to 6 of 6

Thread: How do I diagnose a lockup?

  1. #1
    Join Date
    Jun 2008
    Location
    USA
    Posts
    1,120

    Default How do I diagnose a lockup?

    I leave my computer running at all times so that boinc works on cancer related research. Also, I like the computer to be instantly available whenever I want. Lately, when I try to use the pc in the morning, it is usually locked up. The keyboard and mouse do not respond. To get control back, I have to do a hard reset with the power button. Even pressing the power button does not always get a response. I once had to pull the plug.

    I suspect boinc, but would like to find a way to diagnose the issue. If the keyboard and mouse don't respond, what message will survive a reboot?
    Any sufficiently advanced technology is indistinguishable from magic. - Arthur C. Clarke

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,644
    Blog Entries
    14

    Default Re: How do I diagnose a lockup?

    Quote Originally Posted by Prexy View Post
    I leave my computer running at all times so that boinc works on cancer related research. Also, I like the computer to be instantly available whenever I want. Lately, when I try to use the pc in the morning, it is usually locked up. The keyboard and mouse do not respond. To get control back, I have to do a hard reset with the power button. Even pressing the power button does not always get a response. I once had to pull the plug.

    I suspect boinc, but would like to find a way to diagnose the issue. If the keyboard and mouse don't respond, what message will survive a reboot?
    dmesg is what you should look at, and journalctl
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,162

    Default Re: How do I diagnose a lockup?

    Quote Originally Posted by Prexy View Post
    Even pressing the power button does not always get a response. I once had to pull the plug.
    Hardware problem possibly, not personally came across a case of a hard reset failing... (Although I suppose it could be a dodgy reset switch).

    I suspect boinc,
    A long time since I ran boinc, but does it not write a log file: "boinc.log" (or something very similar) in /var/log - maybe take a look there also.

    Also, try disabling Boinc and still leave the machine on overnight a few times to see if it continues happen.
    Regards, Paul

    Tumbleweed (Snapshot: 20190814) KDE Plasma 5 ~~~
    Non-Tumbling Tumblweed (20150508) KDE 4 - Resurrected
    Leap 15.0 KDE Plasma 5 ~~~ Leap 15.1 KDE Plasma 5 (Work in progress...)

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,488
    Blog Entries
    15

    Default Re: How do I diagnose a lockup?

    Hi
    Is the keyboard a USB one? If so could be sleeping... unplug and replug in a different port...

    Else disable the screen saver etc and leave a terminal running with sensors being watched;

    Code:
    watch -n 30 sensors
    Make a note of the temperatures etc, then just turn off the monitor for the evening rather than letting it sleep.... then check in the morning....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,917
    Blog Entries
    2

    Default Re: How do I diagnose a lockup?

    You can run the following command which displays your previous bootlog in reverse order so that the last entry before you restarted your machine is listed first. Of course, you can specify an earlier session by incrementing the number
    Code:
    journalctl -rb -1
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  6. #6
    Join Date
    Jun 2008
    Location
    USA
    Posts
    1,120

    Default Re: How do I diagnose a lockup?

    Switched to Tumbleweed and lockup has not happened since. Will use these tips if it starts acting up again.

    Thanks for your help!
    Any sufficiently advanced technology is indistinguishable from magic. - Arthur C. Clarke

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •