Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: System crash, mouse and keyboard freezes

  1. #1
    Join Date
    Oct 2009
    Beans
    55
    Distro
    Ubuntu 18.04 Bionic Beaver

    System crash, mouse and keyboard freezes

    I'm getting a crash multiple times a day with these symptoms:

    Mouse freezes and mouses led goes dark
    No keyboard response
    Can't ssh into system
    System doesn't return pings

    I'm running:
    Ubuntu 18.04.4 LTS
    Linux 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
    Asus B450M motherboard
    Ryzen 2600 CPU

    It has the feel of a thermal lock-up, but the sensors are showing cpu temperature around 45-50 degrees C. It's warm-ish here (about 85 F outside and mid-70s inside). I'm surprised that the cpu temp is that low. Sensors also show a single fan, with fan speed 0 rpm. I've checked that both the cpu fan and the chassis fan are running, and that the chassis fan is plugged into the 'CHA FAN' connection, and that the cpu fan is plugged into the 'CPU FAN' connection. The connectors are keyed, and the plug is on the right way on both. Both fans are running more slowly than I would expect. I'm wondering whether the thermal control loop is broken in some way.

    I can see both k10temp and lm78 kernel modules installed, and /etc/sensors3.conf looks reasonable, on first inspection. There are no files other than .placeholder in /etc/sensors.d. I'm wondering whether I need to customize the sensors in order to get the thermal control working, but I can't find details on how to do that for the b450m/ryzen2600 combination.

    Any suggestions would be gratefully received ...
    Last edited by MgFrobozz; July 31st, 2020 at 11:02 PM.
    Building better Magic Elevators, since 1952

  2. #2
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    7,901
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: System crash, mouse and keyboard freezes

    That doesn't really say thermal to me. Going increasingly slowly as it throttles followed by a shutdown are the symptoms that you'd expect to see if it were overheating.

    Not being able to read the sensor chip on the motherboard is relatively standard. There are probably ways you could do so if you wanted to, but it's not really a big deal for now. You can probably adjust the fan curve in the UEFI if you want more or less cooling; the UEFI can read the sensor chip and will adjust your fans accordingly.

    Iffy memory access (RAM timings, badly behaved driver, that kind of thing) or wobbly voltages (spike/droop in load, weak power supply, overclocking, and so on) would be my first thoughts of where to start looking.

    Intermittent faults, particularly intermittent freezes, are an absolute pain to troubleshoot.

    It's probably worth seeing if there's a UEFI update you can use. There have been a few specifically for memory stability on the Ryzen platform. Plus checking that your UEFI settings are good so that you aren't inadvertently overclocking or otherwise putting your system outside of what it can handle.
    Last edited by CatKiller; July 31st, 2020 at 11:42 PM.

  3. #3
    Join Date
    Oct 2005
    Location
    Al Ain
    Beans
    10,039

    Re: System crash, mouse and keyboard freezes

    "Mouse LED goes dark" - I think I'm about 99.875% sure that you have a bad PSU.

  4. #4
    Join Date
    Jun 2018
    Beans
    68

    Re: System crash, mouse and keyboard freezes

    Have you tried to look in the syslog to see what happens when the system freezes? File: /var/log/syslog

    The Ryzen 2*** series has caused all sorts of trouble with random lockups and what not. Some where fixed with BIOS updates and/or settings in BIOS, others where fixed with firmware updates. If your BIOS is not up to date, you could try to update it - but check the syslog for starters, entries in the log may help solve your problem

  5. #5
    Join Date
    Sep 2009
    Location
    Pennsylvania
    Beans
    3,241
    Distro
    Xubuntu

    Re: System crash, mouse and keyboard freezes

    I missed that part, Herman! Yes: surely sounds like a bad PSU. One other possibility: how may things to you have plugged into USB ports? You could have something there pulling the 5 volt line low.

  6. #6
    Join Date
    Oct 2009
    Beans
    55
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: System crash, mouse and keyboard freezes

    dinkidonk, no information in the log around that time (except for log-and-drop from iptables).
    Building better Magic Elevators, since 1952

  7. #7
    Join Date
    Oct 2009
    Beans
    55
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: System crash, mouse and keyboard freezes

    Autodave, my USB usage is:
    Microsoft basic optical mouse V2.0
    Coolermaster CM Storm keyboard
    Building better Magic Elevators, since 1952

  8. #8
    Join Date
    Oct 2009
    Beans
    55
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: System crash, mouse and keyboard freezes

    [duplicate post]
    Building better Magic Elevators, since 1952

  9. #9
    Join Date
    Oct 2009
    Beans
    55
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: System crash, mouse and keyboard freezes

    Still checking for thermal issues. I ran 'sensors-detect --auto', which reported:
    Trying family `ITE'... Yes
    Found unknown chip with ID 0x8655
    (logical device 4 has address 0x290, could be sensors)

    Web commentary suggested that this family is covered by it87.ko, The current it87.c doesn't include support for IT8655.

    The IT8665 is probably an environmental control chip like the IT8720, which has a thermal input and a fan connection. Missing support would explain:
    * the 0 RPM fan speed
    * the CPU temp that seems oddly low on a hot day
    * the apparently low (but not 0) cpu fan speed

    Other Asus B450M users at https://github.com/lm-sensors/lm-sensors/issues/195 may be encountering the same issue. Someone there said that using https://github.com/a1wong/it87 (a fork) worked for them, but that repo has been pulled with the explanation "I have been unable to meet support demands for this driver".

    I cloned that driver, reverted the removal, and I'm investigating what it will take to fork the master it87 and add only 8665 support, with the goal of getting support into the master branch. It looks like the LT8655 is close to the LT8628 (a supported chip), except that it supports only 3 fans (vs 6 for the LT8628).
    Last edited by MgFrobozz; August 1st, 2020 at 10:56 PM.
    Building better Magic Elevators, since 1952

  10. #10
    Join Date
    Oct 2009
    Beans
    55
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: System crash, mouse and keyboard freezes

    A little more information ... today, about 5 minutes after boot on a much cooler morning, the same freeze except that the mouse cursor could still be used (but mouse click did nothing). GIven the ambient temperature and short time the system was running, it probably was not a thermal lockup. The 0 rpm fanspeed is apparently a red herring.

    There was a message in the log 2 seconds before the lockup about bluetooth service ...

    Aug 2 17:47:03 localhost pulseaudio[2227]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)

    This doesn't seem a likely cause for the lockup, but I disabled bluetooth service anyway (I don't need it). At the time of the lockup, there was a blast of NULLs written to the log, but no fault messages, and I have no idea how to tell where the nulls came from.
    Building better Magic Elevators, since 1952

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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