Mint linux Hangs on shutdown

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
will
Level 1
Level 1
Posts: 8
Joined: Sat May 29, 2021 9:42 pm

Mint linux Hangs on shutdown

Post by will »

I have Linux Mint 20.1 running on an HP Envy x360 (2020) laptop. with a dual HDMI adapter plugged into USB-C (I use 2 external monitors). I have also updated to the 5.8.0-53 kernel. The issue is that I am getting random hanging on shutdown. I leave it a while, BUT after say 10 minutes it is still hanging.

I don't seem to have this issue when I was running the 5.4.0-73 kernel. BUT that causes another issue where both of my monitors are not detected.

Does anyone else experience this issue?. and are there any Linux commands where I could find this and post the results to the forum?. I'm new to Linux moved from windows a few weeks ago.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
mikeflan
Level 17
Level 17
Posts: 7096
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: Mint linux Hangs on shutdown

Post by mikeflan »

Hi Will. It might not be easy, but lets look for the problem. Lets start by looking at the prior boot cycle:

Code: Select all

journalctl -rb -1 | head -200
The command prints the journal log information of the prior boot cycle in reverse order (which means the newest info is near the top)
If you want print it to a text file:

Code: Select all

journalctl -rb -1 > out.txt
Then post the output in "Code" tags. The button that inserts these tags is marked </>
If it happened 2 boots ago, then do journalctl -rb -2
User avatar
SMG
Level 25
Level 25
Posts: 31760
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint linux Hangs on shutdown

Post by SMG »

Welcome to the forum, will.

Please give us information about your install by entering this command in a terminal: inxi -Fxxxrz
Click </> from the mini toolbar above the textbox where you type your reply and then place your cursor between the code markers and paste the results of the command between the code markers [code]Results[/code]. This will let us know how Mint sees your hardware.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
will
Level 1
Level 1
Posts: 8
Joined: Sat May 29, 2021 9:42 pm

Re: Mint linux Hangs on shutdown

Post by will »

Hi,
Thanks for your help. I just moved from windows as I was constantly having sound issues where the volume randomly goes up and down. and there seems to be no fix. Anyhow after a week of Mint Linux. I prefer this operating system. Just the issue of not shutting down properly. I was thinking if it's just me that's having the issue, this info is useful for people who are developing the kernel to fix bugs.

Here are the results of the terminal commands.

Code: Select all

System:
  Kernel: 5.8.0-53-generic x86_64 bits: 64 compiler: N/A 
  Desktop: Cinnamon 4.8.6 wm: muffin 4.8.1 dm: LightDM 1.30.0 
  Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:
  Type: Convertible System: HP product: HP ENVY x360 Convertible 13-ay0xxx 
  v: Type1ProductConfigId serial: <filter> Chassis: type: 31 
  serial: <filter> 
  Mobo: HP model: 876E v: 12.43 serial: <filter> UEFI: Insyde v: F.16 
  date: 12/10/2020 
Battery:
  ID-1: BAT1 charge: 45.0 Wh condition: 45.0/51.0 Wh (88%) volts: 12.7/11.6 
  model: Hewlett-Packard PABAS0241231 type: Li-ion serial: <filter> 
  status: Full 
  Device-1: hid-0018:04F3:2AF2.0001-battery model: ELAN2514:00 04F3:2AF2 
  serial: N/A charge: N/A status: N/A 
CPU:
  Topology: 6-Core model: AMD Ryzen 5 4500U with Radeon Graphics bits: 64 
  type: MCP arch: Zen rev: 1 L2 cache: 3072 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 28444 
  Speed: 1397 MHz min/max: 1400/2375 MHz boost: enabled Core speeds (MHz): 
  1: 1397 2: 1397 3: 1397 4: 1397 5: 1397 6: 1397 
Graphics:
  Device-1: AMD Renoir vendor: Hewlett-Packard driver: amdgpu v: kernel 
  bus ID: 04:00.0 chip ID: 1002:1636 
  Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati 
  unloaded: fbdev,modesetting,vesa 
  resolution: 1920x1080~60Hz, 1920x1080~60Hz, 2560x1440~60Hz 
  OpenGL: renderer: AMD RENOIR (DRM 3.38.0 5.8.0-53-generic LLVM 11.0.0) 
  v: 4.6 Mesa 20.2.6 direct render: Yes 
Audio:
  Device-1: AMD vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
  bus ID: 04:00.1 chip ID: 1002:1637 
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor 
  vendor: Hewlett-Packard driver: snd_rn_pci_acp3x v: kernel bus ID: 04:00.5 
  chip ID: 1022:15e2 
  Device-3: AMD Family 17h HD Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 04:00.6 chip ID: 1022:15e3 
  Sound Server: ALSA v: k5.8.0-53-generic 
Network:
  Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter 
  vendor: Hewlett-Packard driver: rtw_8822ce v: N/A port: 2000 
  bus ID: 01:00.0 chip ID: 10ec:c822 
  IF: wlo1 state: up mac: <filter> 
Drives:
  Local Storage: total: 1.14 TiB used: 135.26 GiB (11.6%) 
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLQ256HAJD-000H1 
  size: 238.47 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: HPS4NFXV 
  scheme: GPT 
  ID-2: /dev/sda type: USB vendor: Western Digital model: WD Elements 2621 
  size: 931.48 GiB serial: <filter> rev: 1026 scheme: MBR 
Partition:
  ID-1: / size: 104.86 GiB used: 16.82 GiB (16.0%) fs: ext4 
  dev: /dev/nvme0n1p5 
Sensors:
  System Temperatures: cpu: 55.0 C mobo: 20.0 C gpu: amdgpu temp: 45 C 
  Fan Speeds (RPM): N/A 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
  1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://www.mirrorservice.org/sites/packages.linuxmint.com/packages ulyssa main upstream import backport
  2: deb http://www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
  Active apt repos in: /etc/apt/sources.list.d/vscode.list 
  1: deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main
Info:
  Processes: 289 Uptime: 3m Memory: 7.23 GiB used: 1.94 GiB (26.8%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: gnome-terminal inxi: 3.0.3
And here is the second command. I tried a shutdown just before p posted this, and the laptop hung. All i see is a black screen.

Code: Select all

-- Logs begin at Wed 2021-05-19 12:50:50 BST, end at Mon 2021-05-31 03:24:30 BST. --
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopping Make remote CUPS printers available locally...
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopping Regular background program processing daemon...
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopping Manage, Install and Generate Color Profiles...
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopping Bluetooth service...
May 31 03:18:07 HP-Laptop-Linux bluetoothd[794]: Terminating
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopping Availability of block devices...
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopping The Apache HTTP Server...
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopping Save/Restore Sound Card State...
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopping ACPI event daemon...
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopping Accounts Service...
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopping Modem Manager...
May 31 03:18:07 HP-Laptop-Linux cinnamon-session[1222]: WARNING: t+15038.10918s: Application 'cinnamon.desktop' killed by signal 15
May 31 03:18:07 HP-Laptop-Linux cinnamon-session[1222]: WARNING: t+15038.10879s: Application 'cinnamon-settings-daemon-automount.desktop' killed by signal 15
May 31 03:18:07 HP-Laptop-Linux cinnamon-session[1222]: WARNING: t+15038.10830s: Application 'cinnamon-settings-daemon-wacom.desktop' killed by signal 15
May 31 03:18:07 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427487.1364] modem-manager: ModemManager no longer available
May 31 03:18:07 HP-Laptop-Linux ModemManager[821]: <info>  ModemManager is shut down
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: systemd-rfkill.socket: Succeeded.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Closed LVM2 poll daemon socket.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: lvm2-lvmpolld.socket: Succeeded.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopped Ubuntu Advantage update messaging.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: ua-messaging.timer: Succeeded.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopped Daily Cleanup of Temporary Directories.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: systemd-tmpfiles-clean.timer: Succeeded.
May 31 03:18:07 HP-Laptop-Linux ModemManager[821]: <info>  Caught signal, shutting down...
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopped Message of the Day.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: motd-news.timer: Succeeded.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopped Daily man-db regeneration.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: man-db.timer: Succeeded.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopped Daily rotation of log files.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: logrotate.timer: Succeeded.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopped Refresh fwupd metadata regularly.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: fwupd-refresh.timer: Succeeded.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopped Discard unused blocks once a week.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: fstrim.timer: Succeeded.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopped Periodic ext4 Online Metadata Check for All Filesystems.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: e2scrub_all.timer: Succeeded.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopped Daily apt download activities.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: apt-daily.timer: Succeeded.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopped Daily apt upgrade and clean activities.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: apt-daily-upgrade.timer: Succeeded.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopped Trigger anacron every hour.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: anacron.timer: Succeeded.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopped target Timers.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopped target Sound Card.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopped target Login Prompts.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopped target Multi-User System.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopped target Graphical Interface.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopped target Bluetooth.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Removed slice system-modprobe.slice.
May 31 03:18:07 HP-Laptop-Linux systemd[1]: Stopping Session c2 of user will.
May 31 03:18:07 HP-Laptop-Linux systemd-logind[729]: System is powering down.
May 31 03:18:07 HP-Laptop-Linux systemd[1196]: at-spi-dbus-bus.service: Succeeded.
May 31 03:18:07 HP-Laptop-Linux cinnamon-session[1222]: WARNING: t+15038.08282s: Attempting to shutdown using systemd...
May 31 03:18:07 HP-Laptop-Linux cinnamon-session[1222]: WARNING: t+15038.08269s: Requesting system shutdown...
May 31 03:18:06 HP-Laptop-Linux cinnamon-session[1222]: WARNING: t+15037.14042s: Resuming logout sequence...
May 31 03:18:06 HP-Laptop-Linux cinnamon-session[1222]: WARNING: t+15037.14034s: Finished playing logout sound
May 31 03:18:06 HP-Laptop-Linux cinnamon-session[1222]: WARNING: t+15036.98481s: Playing logout sound '/usr/share/mint-artwork/sounds/logout.ogg'
May 31 03:18:05 HP-Laptop-Linux polkitd(authority=local)[709]: Unregistered Authentication Agent for unix-session:c2 (system bus name :1.62, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) (disconnected from bus)
May 31 03:18:05 HP-Laptop-Linux sudo[17141]: pam_unix(sudo:session): session closed for user root
May 31 03:18:04 HP-Laptop-Linux systemd[1]: Started PackageKit Daemon.
May 31 03:18:04 HP-Laptop-Linux dbus-daemon[651]: [system] Successfully activated service 'org.freedesktop.PackageKit'
May 31 03:18:04 HP-Laptop-Linux PackageKit[17755]: daemon start
May 31 03:18:04 HP-Laptop-Linux systemd[1]: Starting PackageKit Daemon...
May 31 03:18:04 HP-Laptop-Linux dbus-daemon[651]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.115' (uid=0 pid=17752 comm="/usr/bin/gdbus call --system --dest org.freedeskto" label="unconfined")
May 31 03:18:03 HP-Laptop-Linux kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
May 31 03:18:03 HP-Laptop-Linux kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
May 31 03:18:00 HP-Laptop-Linux sudo[17141]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 31 03:18:00 HP-Laptop-Linux sudo[17141]:     will : TTY=unknown ; PWD=/home/will ; USER=root ; COMMAND=/usr/bin/mint-refresh-cache
May 31 03:18:00 HP-Laptop-Linux sudo[17138]: pam_unix(sudo:session): session closed for user root
May 31 03:18:00 HP-Laptop-Linux sudo[17138]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 31 03:18:00 HP-Laptop-Linux sudo[17138]:     will : TTY=unknown ; PWD=/home/will ; USER=root ; COMMAND=/usr/lib/linuxmint/mintUpdate/dpkg_lock_check.sh
May 31 03:17:43 HP-Laptop-Linux systemd[1196]: gnome-terminal-server.service: Succeeded.
May 31 03:17:43 HP-Laptop-Linux systemd[1196]: vte-spawn-96ea72a0-3d3f-4927-8985-792eb37233fd.scope: Succeeded.
May 31 03:17:01 HP-Laptop-Linux CRON[17093]: pam_unix(cron:session): session closed for user root
May 31 03:17:01 HP-Laptop-Linux CRON[17094]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May 31 03:17:01 HP-Laptop-Linux CRON[17093]: pam_unix(cron:session): session opened for user root by (uid=0)
May 31 03:16:45 HP-Laptop-Linux systemd[1196]: Started VTE child process 17083 launched by gnome-terminal-server process 17076.
May 31 03:16:45 HP-Laptop-Linux systemd[1196]: Started GNOME Terminal Server.
May 31 03:16:45 HP-Laptop-Linux dbus-daemon[1229]: [session uid=1000 pid=1229] Successfully activated service 'org.gnome.Terminal'
May 31 03:16:45 HP-Laptop-Linux systemd[1196]: Starting GNOME Terminal Server...
May 31 03:16:45 HP-Laptop-Linux systemd[1196]: Created slice apps-org.gnome.Terminal.slice.
May 31 03:16:45 HP-Laptop-Linux systemd[1196]: Created slice apps.slice.
May 31 03:16:45 HP-Laptop-Linux dbus-daemon[1229]: [session uid=1000 pid=1229] Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service' requested by ':1.263' (uid=1000 pid=17073 comm="/usr/bin/gnome-terminal.real " label="unconfined")
May 31 03:15:00 HP-Laptop-Linux systemd[1]: NetworkManager-dispatcher.service: Succeeded.
May 31 03:14:50 HP-Laptop-Linux systemd[1]: Started Network Manager Script Dispatcher Service.
May 31 03:14:50 HP-Laptop-Linux dbus-daemon[651]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
May 31 03:14:50 HP-Laptop-Linux systemd[1]: Starting Network Manager Script Dispatcher Service...
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5762] dhcp4 (wlo1): state changed extended -> extended
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5762] dhcp4 (wlo1): option subnet_mask          => '255.255.255.0'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5762] dhcp4 (wlo1): option routers              => '192.168.43.1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5761] dhcp4 (wlo1): option requested_wpad       => '1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5761] dhcp4 (wlo1): option requested_time_offset => '1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5761] dhcp4 (wlo1): option requested_subnet_mask => '1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5761] dhcp4 (wlo1): option requested_static_routes => '1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5761] dhcp4 (wlo1): option requested_routers    => '1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5761] dhcp4 (wlo1): option requested_root_path  => '1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5761] dhcp4 (wlo1): option requested_rfc3442_classless_static_routes => '1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5760] dhcp4 (wlo1): option requested_ntp_servers => '1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5760] dhcp4 (wlo1): option requested_nis_servers => '1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5760] dhcp4 (wlo1): option requested_nis_domain => '1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5760] dhcp4 (wlo1): option requested_ms_classless_static_routes => '1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5760] dhcp4 (wlo1): option requested_interface_mtu => '1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5760] dhcp4 (wlo1): option requested_host_name  => '1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5759] dhcp4 (wlo1): option requested_domain_search => '1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5759] dhcp4 (wlo1): option requested_domain_name_servers => '1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5759] dhcp4 (wlo1): option requested_domain_name => '1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5759] dhcp4 (wlo1): option requested_broadcast_address => '1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5759] dhcp4 (wlo1): option next_server          => '192.168.43.1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5759] dhcp4 (wlo1): option ip_address           => '192.168.43.163'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5759] dhcp4 (wlo1): option host_name            => 'HP-Laptop-Linux'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5758] dhcp4 (wlo1): option expiry               => '1622430890'
May 31 03:14:50 HP-Laptop-Linux dbus-daemon[651]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.11' (uid=0 pid=656 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5758] dhcp4 (wlo1): option domain_name_servers  => '192.168.43.1'
May 31 03:14:50 HP-Laptop-Linux NetworkManager[656]: <info>  [1622427290.5758] dhcp4 (wlo1): option dhcp_lease_time      => '3600'
May 31 03:10:01 HP-Laptop-Linux CRON[16791]: pam_unix(cron:session): session closed for user root
May 31 03:10:01 HP-Laptop-Linux CRON[16792]: (root) CMD (test -e /run/systemd/system || SERVICE_MODE=1 /sbin/e2scrub_all -A -r)
May 31 03:10:01 HP-Laptop-Linux CRON[16791]: pam_unix(cron:session): session opened for user root by (uid=0)
May 31 03:07:29 HP-Laptop-Linux gnome-keyring-daemon[1215]: asked to register item /org/freedesktop/secrets/collection/login/1, but it's already registered
May 31 03:07:29 HP-Laptop-Linux gnome-keyring-daemon[1215]: asked to register item /org/freedesktop/secrets/collection/login/1, but it's already registered
May 31 03:07:12 HP-Laptop-Linux gnome-keyring-daemon[1215]: asked to register item /org/freedesktop/secrets/collection/login/1, but it's already registered
May 31 03:07:12 HP-Laptop-Linux gnome-keyring-daemon[1215]: asked to register item /org/freedesktop/secrets/collection/login/1, but it's already registered
May 31 03:01:02 HP-Laptop-Linux dbus-daemon[1229]: [session uid=1000 pid=1229] Successfully activated service 'org.x.reader.Daemon'
May 31 03:01:02 HP-Laptop-Linux dbus-daemon[1229]: [session uid=1000 pid=1229] Activating service name='org.x.reader.Daemon' requested by ':1.251' (uid=1000 pid=15903 comm="xreader /media/will/Will's 1TB Drive/Programming P" label="unconfined")
May 31 03:00:20 HP-Laptop-Linux dbus-daemon[1229]: [session uid=1000 pid=1229] Successfully activated service 'org.x.reader.Daemon'
May 31 03:00:20 HP-Laptop-Linux dbus-daemon[1229]: [session uid=1000 pid=1229] Activating service name='org.x.reader.Daemon' requested by ':1.247' (uid=1000 pid=15854 comm="xreader /media/will/Will's 1TB Drive/Programming P" label="unconfined")
May 31 02:59:21 HP-Laptop-Linux dbus-daemon[1229]: [session uid=1000 pid=1229] Successfully activated service 'org.x.reader.Daemon'
May 31 02:59:21 HP-Laptop-Linux dbus-daemon[1229]: [session uid=1000 pid=1229] Activating service name='org.x.reader.Daemon' requested by ':1.243' (uid=1000 pid=15806 comm="xreader /media/will/Will's 1TB Drive/Programming P" label="unconfined")
May 31 02:57:41 HP-Laptop-Linux dbus-daemon[1229]: [session uid=1000 pid=1229] Successfully activated service 'org.x.reader.Daemon'
May 31 02:57:41 HP-Laptop-Linux dbus-daemon[1229]: [session uid=1000 pid=1229] Activating service name='org.x.reader.Daemon' requested by ':1.239' (uid=1000 pid=15758 comm="xreader /media/will/Will's 1TB Drive/Programming P" label="unconfined")
May 31 02:57:09 HP-Laptop-Linux dbus-daemon[1229]: [session uid=1000 pid=1229] Successfully activated service 'org.x.reader.Daemon'
May 31 02:57:09 HP-Laptop-Linux dbus-daemon[1229]: [session uid=1000 pid=1229] Activating service name='org.x.reader.Daemon' requested by ':1.235' (uid=1000 pid=15710 comm="xreader /media/will/Will's 1TB Drive/Programming P" label="unconfined")
May 31 02:55:49 HP-Laptop-Linux dbus-daemon[1229]: [session uid=1000 pid=1229] Successfully activated service 'org.x.reader.Daemon'
May 31 02:55:49 HP-Laptop-Linux dbus-daemon[1229]: [session uid=1000 pid=1229] Activating service name='org.x.reader.Daemon' requested by ':1.228' (uid=1000 pid=15549 comm="xreader /media/will/Will's 1TB Drive/Programming P" label="unconfined")
May 31 02:48:18 HP-Laptop-Linux systemd[1]: NetworkManager-dispatcher.service: Succeeded.
May 31 02:48:08 HP-Laptop-Linux systemd[1]: Started Network Manager Script Dispatcher Service.
May 31 02:48:08 HP-Laptop-Linux dbus-daemon[651]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
May 31 02:48:08 HP-Laptop-Linux systemd[1]: Starting Network Manager Script Dispatcher Service...
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5784] dhcp4 (wlo1): state changed extended -> extended
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5784] dhcp4 (wlo1): option subnet_mask          => '255.255.255.0'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5783] dhcp4 (wlo1): option routers              => '192.168.43.1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5783] dhcp4 (wlo1): option requested_wpad       => '1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5783] dhcp4 (wlo1): option requested_time_offset => '1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5783] dhcp4 (wlo1): option requested_subnet_mask => '1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5783] dhcp4 (wlo1): option requested_static_routes => '1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5783] dhcp4 (wlo1): option requested_routers    => '1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5783] dhcp4 (wlo1): option requested_root_path  => '1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5782] dhcp4 (wlo1): option requested_rfc3442_classless_static_routes => '1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5782] dhcp4 (wlo1): option requested_ntp_servers => '1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5782] dhcp4 (wlo1): option requested_nis_servers => '1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5782] dhcp4 (wlo1): option requested_nis_domain => '1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5782] dhcp4 (wlo1): option requested_ms_classless_static_routes => '1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5782] dhcp4 (wlo1): option requested_interface_mtu => '1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5782] dhcp4 (wlo1): option requested_host_name  => '1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5781] dhcp4 (wlo1): option requested_domain_search => '1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5781] dhcp4 (wlo1): option requested_domain_name_servers => '1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5781] dhcp4 (wlo1): option requested_domain_name => '1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5781] dhcp4 (wlo1): option requested_broadcast_address => '1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5781] dhcp4 (wlo1): option next_server          => '192.168.43.1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5781] dhcp4 (wlo1): option ip_address           => '192.168.43.163'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5780] dhcp4 (wlo1): option host_name            => 'HP-Laptop-Linux'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5780] dhcp4 (wlo1): option expiry               => '1622429288'
May 31 02:48:08 HP-Laptop-Linux dbus-daemon[651]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.11' (uid=0 pid=656 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5780] dhcp4 (wlo1): option domain_name_servers  => '192.168.43.1'
May 31 02:48:08 HP-Laptop-Linux NetworkManager[656]: <info>  [1622425688.5780] dhcp4 (wlo1): option dhcp_lease_time      => '3600'
May 31 02:24:30 HP-Laptop-Linux systemd[1]: fwupd.service: Succeeded.
May 31 02:22:20 HP-Laptop-Linux systemd[1]: packagekit.service: Succeeded.
May 31 02:22:20 HP-Laptop-Linux PackageKit[13883]: daemon quit
May 31 02:20:21 HP-Laptop-Linux systemd[1]: NetworkManager-dispatcher.service: Succeeded.
May 31 02:20:11 HP-Laptop-Linux systemd[1]: Started Network Manager Script Dispatcher Service.
May 31 02:20:11 HP-Laptop-Linux dbus-daemon[651]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
May 31 02:20:11 HP-Laptop-Linux systemd[1]: Starting Network Manager Script Dispatcher Service...
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5772] dhcp4 (wlo1): state changed extended -> extended
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5771] dhcp4 (wlo1): option subnet_mask          => '255.255.255.0'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5771] dhcp4 (wlo1): option routers              => '192.168.43.1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5771] dhcp4 (wlo1): option requested_wpad       => '1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5771] dhcp4 (wlo1): option requested_time_offset => '1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5771] dhcp4 (wlo1): option requested_subnet_mask => '1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5771] dhcp4 (wlo1): option requested_static_routes => '1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5771] dhcp4 (wlo1): option requested_routers    => '1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5771] dhcp4 (wlo1): option requested_root_path  => '1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5770] dhcp4 (wlo1): option requested_rfc3442_classless_static_routes => '1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5770] dhcp4 (wlo1): option requested_ntp_servers => '1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5770] dhcp4 (wlo1): option requested_nis_servers => '1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5770] dhcp4 (wlo1): option requested_nis_domain => '1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5770] dhcp4 (wlo1): option requested_ms_classless_static_routes => '1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5770] dhcp4 (wlo1): option requested_interface_mtu => '1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5770] dhcp4 (wlo1): option requested_host_name  => '1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5769] dhcp4 (wlo1): option requested_domain_search => '1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5769] dhcp4 (wlo1): option requested_domain_name_servers => '1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5769] dhcp4 (wlo1): option requested_domain_name => '1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5769] dhcp4 (wlo1): option requested_broadcast_address => '1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5769] dhcp4 (wlo1): option next_server          => '192.168.43.1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5769] dhcp4 (wlo1): option ip_address           => '192.168.43.163'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5769] dhcp4 (wlo1): option host_name            => 'HP-Laptop-Linux'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5769] dhcp4 (wlo1): option expiry               => '1622427611'
May 31 02:20:11 HP-Laptop-Linux dbus-daemon[651]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.11' (uid=0 pid=656 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5768] dhcp4 (wlo1): option domain_name_servers  => '192.168.43.1'
May 31 02:20:11 HP-Laptop-Linux NetworkManager[656]: <info>  [1622424011.5768] dhcp4 (wlo1): option dhcp_lease_time      => '3600'
sleeper12
Level 21
Level 21
Posts: 14548
Joined: Thu May 25, 2017 3:22 pm

Re: Mint linux Hangs on shutdown

Post by sleeper12 »

Not really a fix, but see if this shuts it down:

Code: Select all

 poweroff 
User avatar
SMG
Level 25
Level 25
Posts: 31760
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint linux Hangs on shutdown

Post by SMG »

will wrote: Sat May 29, 2021 9:52 pmI don't seem to have this issue when I was running the 5.4.0-73 kernel. BUT that causes another issue where both of my monitors are not detected.
Your computer needs to be using the 5.8 or higher kernel in order to have the graphics drivers for AMD Renoir to install. That driver needs to be installed in order for an external monitor to work.

Make sure you are running the latest available BIOS/UEFI version for your computer as UEFI settings can sometimes affect the shutdown process.

The log info does not indicate what the problem might be since we do not know what comes after the line listed.

The following command prints the journal log information of the current boot cycle and sends it to termbin. Let's see if there is any indication during start-up which might indicate the issue during shutdown. Run this command in a terminal:
journalctl -b | nc termbin.com 9999
It will return with a url address that you should post in your next reply.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
will
Level 1
Level 1
Posts: 8
Joined: Sat May 29, 2021 9:42 pm

Re: Mint linux Hangs on shutdown

Post by will »

I have used the following command.

Code: Select all

journalctl -b | nc termbin.com 9999
and here is the link with the results.
https://termbin.com/9wfz
User avatar
SMG
Level 25
Level 25
Posts: 31760
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint linux Hangs on shutdown

Post by SMG »

There were two kernel panics related to the graphics. I noticed you have Secure Boot on. I would suggest disabling it to see if that helps. This post indicated that setting had an effect on the graphic drivers. It's possible graphics driver related issues may be causing the shutdown issue.

Code: Select all

May 31 18:20:35 HP-Laptop-Linux kernel: ------------[ cut here ]------------
May 31 18:20:35 HP-Laptop-Linux kernel: WARNING: CPU: 4 PID: 205 at arch/x86/kernel/fpu/core.c:90 kernel_fpu_begin_mask+0xf9/0x120
May 31 18:20:35 HP-Laptop-Linux kernel: Modules linked in: fjes(+) usbhid(+) hid_generic amdgpu(+) iommu_v2 gpu_sched i2c_algo_bit ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops nvme cec crct10dif_pclmul rc_core crc32_pclmul ghash_clmulni_intel aesni_intel rtsx_pci_sdmmc crypto_simd cryptd glue_helper drm i2c_piix4 nvme_core xhci_pci xhci_pci_renesas rtsx_pci wmi video i2c_hid hid
May 31 18:20:35 HP-Laptop-Linux kernel: CPU: 4 PID: 205 Comm: systemd-udevd Not tainted 5.8.0-53-generic #60~20.04.1-Ubuntu
May 31 18:20:35 HP-Laptop-Linux kernel: Hardware name: HP HP ENVY x360 Convertible 13-ay0xxx/876E, BIOS F.16 12/10/2020
May 31 18:20:35 HP-Laptop-Linux kernel: RIP: 0010:kernel_fpu_begin_mask+0xf9/0x120
May 31 18:20:35 HP-Laptop-Linux kernel: Code: ff ff 89 c2 48 0f c7 2f 31 c0 85 c0 75 38 f6 86 40 16 00 00 e0 74 8a 48 8b 05 73 81 5c 01 48 89 86 08 14 00 00 e9 77 ff ff ff <0f> 0b e9 51 ff ff ff db e3 eb 8d 48 0f ae 86 40 14 00 00 e9 5f ff
May 31 18:20:35 HP-Laptop-Linux kernel: RSP: 0018:ffffafe68036b338 EFLAGS: 00010202
May 31 18:20:35 HP-Laptop-Linux kernel: RAX: 0000000080000001 RBX: ffff97d72ce40000 RCX: 0000000000000003
May 31 18:20:35 HP-Laptop-Linux kernel: RDX: ffff97d73499f000 RSI: ffff97d72ce40000 RDI: 0000000000000003
May 31 18:20:35 HP-Laptop-Linux kernel: RBP: ffffafe68036b348 R08: ffffafe68036b3c0 R09: 0000000000000000
May 31 18:20:35 HP-Laptop-Linux kernel: R10: ffff97d72ed8dc00 R11: ffff97d72ce410b0 R12: ffffffffc0915ca0
May 31 18:20:35 HP-Laptop-Linux kernel: R13: 0000000000000000 R14: ffff97d73499f000 R15: ffff97d72edd0000
May 31 18:20:35 HP-Laptop-Linux kernel: FS:  00007f32aaa92880(0000) GS:ffff97d747500000(0000) knlGS:0000000000000000
May 31 18:20:35 HP-Laptop-Linux kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 31 18:20:35 HP-Laptop-Linux kernel: CR2: 00005629e8277140 CR3: 00000001f38e0000 CR4: 0000000000340ee0
May 31 18:20:35 HP-Laptop-Linux kernel: Call Trace:
May 31 18:20:35 HP-Laptop-Linux kernel:  dcn21_calculate_wm+0x4b/0x440 [amdgpu]
May 31 18:20:35 HP-Laptop-Linux kernel:  dcn21_validate_bandwidth_fp+0x189/0x2a0 [amdgpu]
May 31 18:20:35 HP-Laptop-Linux kernel:  ? resource_build_scaling_params+0x814/0xae0 [amdgpu]
May 31 18:20:35 HP-Laptop-Linux kernel:  dcn21_validate_bandwidth+0x2e/0x40 [amdgpu]
May 31 18:20:35 HP-Laptop-Linux kernel:  dc_validate_global_state+0x27c/0x300 [amdgpu]
May 31 18:20:35 HP-Laptop-Linux kernel:  amdgpu_dm_atomic_check+0x914/0x1040 [amdgpu]
May 31 18:20:35 HP-Laptop-Linux kernel:  ? __ww_mutex_lock_slowpath+0x16/0x20
May 31 18:20:35 HP-Laptop-Linux kernel:  drm_atomic_check_only+0x2c7/0x450 [drm]
May 31 18:20:35 HP-Laptop-Linux kernel:  drm_atomic_commit+0x18/0x50 [drm]
May 31 18:20:35 HP-Laptop-Linux kernel:  drm_client_modeset_commit_atomic+0x1c9/0x200 [drm]
May 31 18:20:35 HP-Laptop-Linux kernel:  drm_client_modeset_commit_locked+0x55/0x160 [drm]
May 31 18:20:35 HP-Laptop-Linux kernel:  drm_client_modeset_commit+0x27/0x50 [drm]
May 31 18:20:35 HP-Laptop-Linux kernel:  __drm_fb_helper_restore_fbdev_mode_unlocked+0xa1/0xd0 [drm_kms_helper]
May 31 18:20:35 HP-Laptop-Linux kernel:  drm_fb_helper_set_par+0x40/0x50 [drm_kms_helper]
May 31 18:20:35 HP-Laptop-Linux kernel:  fbcon_init+0x2a1/0x560
May 31 18:20:35 HP-Laptop-Linux kernel:  visual_init+0xd5/0x130
May 31 18:20:35 HP-Laptop-Linux kernel:  do_bind_con_driver+0x1bc/0x2b0
May 31 18:20:35 HP-Laptop-Linux kernel:  do_take_over_console+0x12f/0x1a0
May 31 18:20:35 HP-Laptop-Linux kernel:  do_fbcon_takeover+0x5c/0xb0
May 31 18:20:35 HP-Laptop-Linux kernel: usb-storage 2-2.4:1.0: USB Mass Storage device detected
May 31 18:20:35 HP-Laptop-Linux kernel:  fbcon_fb_registered+0xf4/0x100
May 31 18:20:35 HP-Laptop-Linux kernel:  register_framebuffer+0x207/0x310
May 31 18:20:35 HP-Laptop-Linux kernel:  __drm_fb_helper_initial_config_and_unlock+0x334/0x470 [drm_kms_helper]
May 31 18:20:35 HP-Laptop-Linux kernel:  drm_fb_helper_initial_config+0x36/0x40 [drm_kms_helper]
May 31 18:20:35 HP-Laptop-Linux kernel:  amdgpu_fbdev_init+0xb8/0xf0 [amdgpu]
May 31 18:20:35 HP-Laptop-Linux kernel:  amdgpu_device_init.cold+0xaec/0xce5 [amdgpu]
May 31 18:20:35 HP-Laptop-Linux kernel: scsi host0: usb-storage 2-2.4:1.0
May 31 18:20:35 HP-Laptop-Linux kernel:  amdgpu_driver_load_kms+0x5c/0x230 [amdgpu]
May 31 18:20:35 HP-Laptop-Linux kernel:  amdgpu_pci_probe+0xfb/0x180 [amdgpu]
May 31 18:20:35 HP-Laptop-Linux kernel: usbcore: registered new interface driver usb-storage
May 31 18:20:35 HP-Laptop-Linux kernel:  local_pci_probe+0x48/0x80
May 31 18:20:35 HP-Laptop-Linux kernel:  pci_device_probe+0x10f/0x1b0
May 31 18:20:35 HP-Laptop-Linux kernel:  really_probe+0x159/0x3d0
May 31 18:20:35 HP-Laptop-Linux kernel:  driver_probe_device+0xe9/0x160
May 31 18:20:35 HP-Laptop-Linux kernel:  device_driver_attach+0x5d/0x70
May 31 18:20:35 HP-Laptop-Linux kernel:  __driver_attach+0x8f/0x150
May 31 18:20:35 HP-Laptop-Linux kernel:  ? device_driver_attach+0x70/0x70
May 31 18:20:35 HP-Laptop-Linux kernel:  bus_for_each_dev+0x7e/0xc0
May 31 18:20:35 HP-Laptop-Linux kernel:  driver_attach+0x1e/0x20
May 31 18:20:35 HP-Laptop-Linux kernel:  bus_add_driver+0x152/0x1f0
May 31 18:20:35 HP-Laptop-Linux kernel:  driver_register+0x74/0xd0
May 31 18:20:35 HP-Laptop-Linux kernel:  __pci_register_driver+0x54/0x60
May 31 18:20:35 HP-Laptop-Linux kernel:  amdgpu_init+0x83/0x1000 [amdgpu]
May 31 18:20:35 HP-Laptop-Linux kernel:  ? 0xffffffffc0a07000
May 31 18:20:35 HP-Laptop-Linux kernel:  do_one_initcall+0x4a/0x200
May 31 18:20:35 HP-Laptop-Linux kernel:  ? kfree+0x231/0x250
May 31 18:20:35 HP-Laptop-Linux kernel:  ? _cond_resched+0x19/0x30
May 31 18:20:35 HP-Laptop-Linux kernel:  ? kmem_cache_alloc_trace+0x1b0/0x240
May 31 18:20:35 HP-Laptop-Linux kernel:  do_init_module+0x62/0x250
May 31 18:20:35 HP-Laptop-Linux kernel:  load_module+0x10f5/0x12a0
May 31 18:20:35 HP-Laptop-Linux kernel:  ? ima_post_read_file+0x108/0x120
May 31 18:20:35 HP-Laptop-Linux kernel:  __do_sys_finit_module+0xc9/0x130
May 31 18:20:35 HP-Laptop-Linux kernel:  ? __do_sys_finit_module+0xc9/0x130
May 31 18:20:35 HP-Laptop-Linux kernel:  __x64_sys_finit_module+0x1a/0x20
May 31 18:20:35 HP-Laptop-Linux kernel:  do_syscall_64+0x49/0xc0
May 31 18:20:35 HP-Laptop-Linux kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
May 31 18:20:35 HP-Laptop-Linux kernel: RIP: 0033:0x7f32ab01489d
May 31 18:20:35 HP-Laptop-Linux kernel: Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c3 f5 0c 00 f7 d8 64 89 01 48
May 31 18:20:35 HP-Laptop-Linux kernel: RSP: 002b:00007ffe3cbe25b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
May 31 18:20:35 HP-Laptop-Linux kernel: RAX: ffffffffffffffda RBX: 00005629e8261e50 RCX: 00007f32ab01489d
May 31 18:20:35 HP-Laptop-Linux kernel: RDX: 0000000000000000 RSI: 00007f32aaef1ded RDI: 0000000000000017
May 31 18:20:35 HP-Laptop-Linux kernel: RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000000
May 31 18:20:35 HP-Laptop-Linux kernel: R10: 0000000000000017 R11: 0000000000000246 R12: 00007f32aaef1ded
May 31 18:20:35 HP-Laptop-Linux kernel: R13: 0000000000000000 R14: 00005629e8266200 R15: 00005629e8261e50
May 31 18:20:35 HP-Laptop-Linux kernel: ---[ end trace f7812cc041afc4e2 ]---
May 31 18:20:35 HP-Laptop-Linux kernel: ------------[ cut here ]------------
May 31 18:20:35 HP-Laptop-Linux kernel: WARNING: CPU: 4 PID: 205 at arch/x86/kernel/fpu/core.c:116 kernel_fpu_end+0x1e/0x30
May 31 18:20:35 HP-Laptop-Linux kernel: Modules linked in: usb_storage fjes(-) usbhid(+) hid_generic amdgpu(+) iommu_v2 gpu_sched i2c_algo_bit ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops nvme cec crct10dif_pclmul rc_core crc32_pclmul ghash_clmulni_intel aesni_intel rtsx_pci_sdmmc crypto_simd cryptd glue_helper drm i2c_piix4 nvme_core xhci_pci xhci_pci_renesas rtsx_pci wmi video i2c_hid hid
May 31 18:20:35 HP-Laptop-Linux kernel: CPU: 4 PID: 205 Comm: systemd-udevd Tainted: G        W         5.8.0-53-generic #60~20.04.1-Ubuntu
May 31 18:20:35 HP-Laptop-Linux kernel: Hardware name: HP HP ENVY x360 Convertible 13-ay0xxx/876E, BIOS F.16 12/10/2020
May 31 18:20:35 HP-Laptop-Linux kernel: RIP: 0010:kernel_fpu_end+0x1e/0x30
May 31 18:20:35 HP-Laptop-Linux kernel: Code: e8 67 bc 18 00 5d c3 0f 1f 44 00 00 0f 1f 44 00 00 55 48 89 e5 65 8a 05 f8 94 dd 79 84 c0 74 0a 65 c6 05 ec 94 dd 79 00 5d c3 <0f> 0b eb f2 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 0f 1f 44 00
May 31 18:20:35 HP-Laptop-Linux kernel: RSP: 0018:ffffafe68036b410 EFLAGS: 00010246
May 31 18:20:35 HP-Laptop-Linux kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000742
May 31 18:20:35 HP-Laptop-Linux kernel: RDX: 0000000000000741 RSI: 793254f4ded9410a RDI: 00000000000311a0
May 31 18:20:35 HP-Laptop-Linux kernel: RBP: ffffafe68036b410 R08: 0000000000000000 R09: 0000000000000040
May 31 18:20:35 HP-Laptop-Linux kernel: R10: ffffafe68036b2a0 R11: ffffafe68036ab68 R12: 0000000000000001
May 31 18:20:35 HP-Laptop-Linux kernel: R13: ffff97d72ce40000 R14: ffff97d72ed8dc00 R15: 0000000000000004
May 31 18:20:35 HP-Laptop-Linux kernel: FS:  00007f32aaa92880(0000) GS:ffff97d747500000(0000) knlGS:0000000000000000
May 31 18:20:35 HP-Laptop-Linux kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 31 18:20:35 HP-Laptop-Linux kernel: CR2: 00005629e8277140 CR3: 00000001f38e0000 CR4: 0000000000340ee0
May 31 18:20:35 HP-Laptop-Linux kernel: Call Trace:
May 31 18:20:35 HP-Laptop-Linux kernel:  dcn21_validate_bandwidth+0x36/0x40 [amdgpu]
May 31 18:20:35 HP-Laptop-Linux kernel:  dc_validate_global_state+0x27c/0x300 [amdgpu]
May 31 18:20:35 HP-Laptop-Linux kernel:  amdgpu_dm_atomic_check+0x914/0x1040 [amdgpu]
May 31 18:20:35 HP-Laptop-Linux kernel:  ? __ww_mutex_lock_slowpath+0x16/0x20
May 31 18:20:35 HP-Laptop-Linux kernel:  drm_atomic_check_only+0x2c7/0x450 [drm]
May 31 18:20:35 HP-Laptop-Linux kernel:  drm_atomic_commit+0x18/0x50 [drm]
May 31 18:20:35 HP-Laptop-Linux kernel:  drm_client_modeset_commit_atomic+0x1c9/0x200 [drm]
May 31 18:20:35 HP-Laptop-Linux kernel:  drm_client_modeset_commit_locked+0x55/0x160 [drm]
May 31 18:20:35 HP-Laptop-Linux kernel:  drm_client_modeset_commit+0x27/0x50 [drm]
May 31 18:20:35 HP-Laptop-Linux kernel:  __drm_fb_helper_restore_fbdev_mode_unlocked+0xa1/0xd0 [drm_kms_helper]
May 31 18:20:35 HP-Laptop-Linux kernel:  drm_fb_helper_set_par+0x40/0x50 [drm_kms_helper]
May 31 18:20:35 HP-Laptop-Linux kernel:  fbcon_init+0x2a1/0x560
May 31 18:20:35 HP-Laptop-Linux kernel:  visual_init+0xd5/0x130
May 31 18:20:35 HP-Laptop-Linux kernel:  do_bind_con_driver+0x1bc/0x2b0
May 31 18:20:35 HP-Laptop-Linux kernel:  do_take_over_console+0x12f/0x1a0
May 31 18:20:35 HP-Laptop-Linux kernel:  do_fbcon_takeover+0x5c/0xb0
May 31 18:20:35 HP-Laptop-Linux kernel:  fbcon_fb_registered+0xf4/0x100
May 31 18:20:35 HP-Laptop-Linux kernel:  register_framebuffer+0x207/0x310
May 31 18:20:35 HP-Laptop-Linux kernel:  __drm_fb_helper_initial_config_and_unlock+0x334/0x470 [drm_kms_helper]
May 31 18:20:35 HP-Laptop-Linux kernel:  drm_fb_helper_initial_config+0x36/0x40 [drm_kms_helper]
May 31 18:20:35 HP-Laptop-Linux kernel:  amdgpu_fbdev_init+0xb8/0xf0 [amdgpu]
May 31 18:20:35 HP-Laptop-Linux kernel:  amdgpu_device_init.cold+0xaec/0xce5 [amdgpu]
May 31 18:20:35 HP-Laptop-Linux kernel:  amdgpu_driver_load_kms+0x5c/0x230 [amdgpu]
May 31 18:20:35 HP-Laptop-Linux kernel:  amdgpu_pci_probe+0xfb/0x180 [amdgpu]
May 31 18:20:35 HP-Laptop-Linux kernel:  local_pci_probe+0x48/0x80
May 31 18:20:35 HP-Laptop-Linux kernel:  pci_device_probe+0x10f/0x1b0
May 31 18:20:35 HP-Laptop-Linux kernel:  really_probe+0x159/0x3d0
May 31 18:20:35 HP-Laptop-Linux kernel:  driver_probe_device+0xe9/0x160
May 31 18:20:35 HP-Laptop-Linux kernel:  device_driver_attach+0x5d/0x70
May 31 18:20:35 HP-Laptop-Linux kernel:  __driver_attach+0x8f/0x150
May 31 18:20:35 HP-Laptop-Linux kernel:  ? device_driver_attach+0x70/0x70
May 31 18:20:35 HP-Laptop-Linux kernel:  bus_for_each_dev+0x7e/0xc0
May 31 18:20:35 HP-Laptop-Linux kernel:  driver_attach+0x1e/0x20
May 31 18:20:35 HP-Laptop-Linux kernel:  bus_add_driver+0x152/0x1f0
May 31 18:20:35 HP-Laptop-Linux kernel:  driver_register+0x74/0xd0
May 31 18:20:35 HP-Laptop-Linux kernel:  __pci_register_driver+0x54/0x60
May 31 18:20:35 HP-Laptop-Linux kernel:  amdgpu_init+0x83/0x1000 [amdgpu]
May 31 18:20:35 HP-Laptop-Linux kernel:  ? 0xffffffffc0a07000
May 31 18:20:35 HP-Laptop-Linux kernel:  do_one_initcall+0x4a/0x200
May 31 18:20:35 HP-Laptop-Linux kernel:  ? kfree+0x231/0x250
May 31 18:20:35 HP-Laptop-Linux kernel:  ? _cond_resched+0x19/0x30
May 31 18:20:35 HP-Laptop-Linux kernel:  ? kmem_cache_alloc_trace+0x1b0/0x240
May 31 18:20:35 HP-Laptop-Linux kernel:  do_init_module+0x62/0x250
May 31 18:20:35 HP-Laptop-Linux kernel:  load_module+0x10f5/0x12a0
May 31 18:20:35 HP-Laptop-Linux kernel:  ? ima_post_read_file+0x108/0x120
May 31 18:20:35 HP-Laptop-Linux kernel:  __do_sys_finit_module+0xc9/0x130
May 31 18:20:35 HP-Laptop-Linux kernel:  ? __do_sys_finit_module+0xc9/0x130
May 31 18:20:35 HP-Laptop-Linux kernel:  __x64_sys_finit_module+0x1a/0x20
May 31 18:20:35 HP-Laptop-Linux kernel:  do_syscall_64+0x49/0xc0
May 31 18:20:35 HP-Laptop-Linux kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
May 31 18:20:35 HP-Laptop-Linux kernel: RIP: 0033:0x7f32ab01489d
May 31 18:20:35 HP-Laptop-Linux kernel: Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c3 f5 0c 00 f7 d8 64 89 01 48
May 31 18:20:35 HP-Laptop-Linux kernel: RSP: 002b:00007ffe3cbe25b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
May 31 18:20:35 HP-Laptop-Linux kernel: RAX: ffffffffffffffda RBX: 00005629e8261e50 RCX: 00007f32ab01489d
May 31 18:20:35 HP-Laptop-Linux kernel: RDX: 0000000000000000 RSI: 00007f32aaef1ded RDI: 0000000000000017
May 31 18:20:35 HP-Laptop-Linux kernel: RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000000
May 31 18:20:35 HP-Laptop-Linux kernel: R10: 0000000000000017 R11: 0000000000000246 R12: 00007f32aaef1ded
May 31 18:20:35 HP-Laptop-Linux kernel: R13: 0000000000000000 R14: 00005629e8266200 R15: 00005629e8261e50
May 31 18:20:35 HP-Laptop-Linux kernel: ---[ end trace f7812cc041afc4e3 ]---
Image
A woman typing on a laptop with LM20.3 Cinnamon.
will
Level 1
Level 1
Posts: 8
Joined: Sat May 29, 2021 9:42 pm

Re: Mint linux Hangs on shutdown

Post by will »

I have disabled secure boot, and I am still getting the laptop hanging on shutdown. but randomly sometimes it does shutdown properly. Is there a way to see that shutdown process scripts on screen? cos all I get is a black screen.
User avatar
SMG
Level 25
Level 25
Posts: 31760
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint linux Hangs on shutdown

Post by SMG »

will wrote: Mon Jun 07, 2021 8:01 am I have disabled secure boot, and I am still getting the laptop hanging on shutdown. but randomly sometimes it does shutdown properly. Is there a way to see that shutdown process scripts on screen? cos all I get is a black screen.
If you press the Escape key you will see messages on the screen.

When it sometimes shuts down properly and sometimes does not, it can relate to either what hardware is connected to the computer or what software had been running that boot cycle. You might want to consider that to see if there is a pattern to be able to determine what the cause might be.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mikeflan
Level 17
Level 17
Posts: 7096
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: Mint linux Hangs on shutdown

Post by mikeflan »

These might be barely worth reading:
viewtopic.php?f=18&t=321582
viewtopic.php?f=49&t=273359
viewtopic.php?f=46&t=213220

All I can think of after reading those is that maybe you should change your graphics driver, if that is even possible. My guess is that you cannot change the driver easily. I'll bet Driver Manager just reports that you are up to date on the drivers (Your computer does not need any additional drivers.)
will
Level 1
Level 1
Posts: 8
Joined: Sat May 29, 2021 9:42 pm

Re: Mint linux Hangs on shutdown

Post by will »

Thanks for the tip about Escape key, I will do that next time I shut down and see what is displays. I did notice in the Monthly News – May 2021 that there are updates about the
It also contains support for computers with AMD/NVIDIA hybrids (i.e. systems with an integrated AMD GPU and a discrete NVIDIA GPU).
which is what my laptop has. I have just installed the kernel updates, and i hope this resolves the issues.
User avatar
SMG
Level 25
Level 25
Posts: 31760
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint linux Hangs on shutdown

Post by SMG »

will wrote: Tue Jun 08, 2021 7:21 pmI did notice in the Monthly News – May 2021 that there are updates about the
It also contains support for computers with AMD/NVIDIA hybrids (i.e. systems with an integrated AMD GPU and a discrete NVIDIA GPU).
which is what my laptop has.
That is not what the data you posted indicates. It indicates there is only one GPU. There is no Nvidia device listed.

Code: Select all

Graphics:
  Device-1: AMD Renoir vendor: Hewlett-Packard driver: amdgpu v: kernel 
  bus ID: 04:00.0 chip ID: 1002:1636 
  Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati 
  unloaded: fbdev,modesetting,vesa 
  resolution: 1920x1080~60Hz, 1920x1080~60Hz, 2560x1440~60Hz 
  OpenGL: renderer: AMD RENOIR (DRM 3.38.0 5.8.0-53-generic LLVM 11.0.0) 
  v: 4.6 Mesa 20.2.6 direct render: Yes 
Image
A woman typing on a laptop with LM20.3 Cinnamon.
will
Level 1
Level 1
Posts: 8
Joined: Sat May 29, 2021 9:42 pm

Re: Mint linux Hangs on shutdown

Post by will »

I have updated the Linux Kernel to 5.11.0-22 and that seems to have fixed the issues I am having with the shutdown. I'll see how it is going.
justakiwi
Level 1
Level 1
Posts: 19
Joined: Thu Jan 05, 2012 1:09 am

Re: Mint linux Hangs on shutdown

Post by justakiwi »

I have just moved back to Linux too, with an older laptop. I have been experiencing the same behaviour. I managed to shut down OK once, but every other time I got the hang and had to force shutdown. I just realised yesterday, that the hangs seem to occur only when the battery is very low. If battery is fully charged shutdown occurs normally. No idea why, but it seems to be the culprit in my case anyway.
Locked

Return to “Other topics”