LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 06-27-2020, 04:10 PM   #1
metal450
LQ Newbie
 
Registered: Jun 2020
Posts: 6

Rep: Reputation: Disabled
Kubuntu 20.04 - Hangs Before Every Reboot? (Failed to umount /oldroot)


I'm running a fresh install of Kubuntu 20.04. Every time I reboot, it hangs for several minutes with the last line shown as:

[ OK ] Reached target reboot.

Several minutes later, it finally proceeds to:

sd-umoun[29198]: Failed to umount /oldroot: Device or resource busy
sd-umoun[29199]: Failed to umount /oldroot/dev/pts: Device or resource busy
sd-umoun[29200]: Failed to umount /oldroot/dev: Device or resource busy
sd-umoun[29201]: Failed to umount /oldroot/sys: Device or resource busy
shutdown[1]: Could not detach DM /dev/dm-2: Device or resource busy
shutdown[1]: Could not detach DM /dev/dm-0: Device or resource busy
shutdown[1]: Failed to finalize file systems, DM devices, ignoring
reboot: Restarting system


And then at last it finally reboots. I found a similar issue here, but it has no solution (he said he just reformatted & reinstalled - and my Kubuntu was not an upgrade from a previous version, per that post). Another similar question here has no answer, but also doesn't mention any issue with hanging - I'd be happy to disregard the message if it didn't seem (?) to be the cause of my agonizingly slow reboots. Search as I might, I can't figure out why it's doing it or how to get it to reboot "normally." Any help would be greatly appreciated.
 
Old 06-28-2020, 09:01 PM   #2
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,520

Rep: Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829
Are you using LVM or fake RAID (dm-raid)? Dm in a mounting context commonly involves fake RAID. Posting here using code tags around your paste output from cat /etc/fstab might show would-be helpers here, and you, a clue. Output from the following might also be helpful:
Code:
sudo journalctl -b -1 | egrep -i -A4 -B2  'dm|droot|faile'
This command will not work if directory /var/log/journal does not exist, so create it first if necessary and reboot:
Code:
sudo mkdir /var/log/journal
 
Old 06-29-2020, 01:30 AM   #3
metal450
LQ Newbie
 
Registered: Jun 2020
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks for the quick reply!

I'm using LVM, but to be honest I'm not really that familiar with how it's setup - it was handled automatically by the script here.

The contents of fstab:

Code:
/dev/mapper/system-root /               btrfs   defaults,subvol=@ 0       1
/dev/mapper/system-boot /boot           ext4    defaults        0       2
UUID=180E-1EC4  /boot/efi       vfat    umask=0077      0       1
/dev/mapper/system-root /home           btrfs   defaults,subvol=@home 0       2
#UUID=8da3853a-89c0-2f4c-8ff2-90a2e739fff3 /swap           btrfs   defaults,subvol=swap      0       0
/swap/swapfile                                 none            swap    sw              0       0
/dev/mapper/SSD-Data   /media/metal450/SSD-Data   ntfs-3g   auto,nofail,uid=1000,gid=1000,windows_names   0   0
And journalctl (this is just the portion corresponding to when shutting down - the whole thing was SUPER long, pls let me know if the startup portion is actually relevant too I initiated the shutdown at exactly 23:23:00. It was "locked up" until 23:14:50 - that's when it moved past that stage where it always freezes, showed the "Failed to umount" messages, & actually rebooted. Oddly, that's after the last message shown below):

Code:
Jun 28 23:13:02 Latitude-5490-Kubuntu polkitd(authority=local)[1616]: Unregistered Authentication Agent for unix-session:4 (system bus name :1.90, object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jun 28 23:13:02 Latitude-5490-Kubuntu sddm[2749]: kwalletd5: Checking for pam module
Jun 28 23:13:02 Latitude-5490-Kubuntu sddm[2749]: kwalletd5: Got pam-login param
Jun 28 23:13:02 Latitude-5490-Kubuntu sddm[2749]: kwalletd5: Waiting for hash on 7-
Jun 28 23:13:02 Latitude-5490-Kubuntu sddm[2749]: kwalletd5: waitingForEnvironment on: 3
Jun 28 23:13:02 Latitude-5490-Kubuntu sddm[2749]: kwalletd5: client connected
Jun 28 23:13:02 Latitude-5490-Kubuntu sddm[2749]: kwalletd5: client disconnected
Jun 28 23:13:02 Latitude-5490-Kubuntu dbus-daemon[1598]: [system] Activating service name='org.kde.smb4k.mounthelper' requested by ':1.110' (uid=1000 pid=3194 comm="/usr/bin/smb4k ") (using servicehelper)
Jun 28 23:13:02 Latitude-5490-Kubuntu dbus-daemon[2708]: [session uid=1000 pid=2708] Activating service name='org.kde.kdeconnect' requested by ':1.49' (uid=1000 pid=3022 comm="/usr/bin/plasmashell ")
Jun 28 23:13:02 Latitude-5490-Kubuntu org.freedesktop.impl.portal.desktop.kde[2950]: xdp-kde-request: "org.freedesktop.impl.portal.Request"
Jun 28 23:13:02 Latitude-5490-Kubuntu org.freedesktop.impl.portal.desktop.kde[2950]: xdp-kde-request: "Close"
--
Jun 28 23:13:02 Latitude-5490-Kubuntu org.kde.kdeconnect[5983]: kdeconnect.core: Broadcasting identity packet
Jun 28 23:13:02 Latitude-5490-Kubuntu dbus-daemon[2708]: [session uid=1000 pid=2708] Activating service name='org.freedesktop.Notifications' requested by ':1.111' (uid=1000 pid=5983 comm="/usr/lib/x86_64-linux-gnu/libexec/kdeconnectd ")
Jun 28 23:13:02 Latitude-5490-Kubuntu systemd[1]: home-metal450-smb4k-192.168.5.40-justin\x2dmedia.mount: Succeeded.
Jun 28 23:13:02 Latitude-5490-Kubuntu systemd[2634]: home-metal450-smb4k-192.168.5.40-justin\x2dmedia.mount: Succeeded.
Jun 28 23:13:02 Latitude-5490-Kubuntu kernel: syncthingtray[3072]: segfault at 21 ip 0000000000000021 sp 00007ffcecaf34b8 error 14 in syncthingtray[400000+3ec000]
Jun 28 23:13:02 Latitude-5490-Kubuntu kernel: Code: Bad RIP value.
Jun 28 23:13:03 Latitude-5490-Kubuntu systemd[1]: tmp-.mount_syncth1opcVt.mount: Succeeded.
Jun 28 23:13:03 Latitude-5490-Kubuntu systemd[2634]: tmp-.mount_syncth1opcVt.mount: Succeeded.
--
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: Removed slice system-getty.slice.
Jun 28 23:13:17 Latitude-5490-Kubuntu org.freedesktop.impl.portal.desktop.kde[2950]: The X11 connection broke (error 1). Did the X11 server die?
Jun 28 23:13:17 Latitude-5490-Kubuntu sddm[1813]: Authentication error: "Process crashed"
Jun 28 23:13:17 Latitude-5490-Kubuntu org.kde.KScreen[3255]: The X11 connection broke (error 1). Did the X11 server die?
Jun 28 23:13:17 Latitude-5490-Kubuntu sddm[1813]: Auth: sddm-helper crashed (exit code 15)
Jun 28 23:13:17 Latitude-5490-Kubuntu org.kde.ActivityManager[3021]: The X11 connection broke (error 1). Did the X11 server die?
Jun 28 23:13:17 Latitude-5490-Kubuntu sddm[1813]: Authentication error: "Process crashed"
Jun 28 23:13:17 Latitude-5490-Kubuntu at-spi-bus-launcher[2913]: X connection to :0 broken (explicit kill or server shutdown).
Jun 28 23:13:17 Latitude-5490-Kubuntu sddm[1813]: Auth: sddm-helper exited with 15
Jun 28 23:13:17 Latitude-5490-Kubuntu sddm[1813]: Socket server stopping...
Jun 28 23:13:17 Latitude-5490-Kubuntu sddm[1813]: Socket server stopped.
Jun 28 23:13:17 Latitude-5490-Kubuntu sddm[1813]: Display server stopping...
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: Removed slice system-modprobe.slice.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: Stopped target Block Device Preparation for /dev/mapper/system.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: Stopped target Bluetooth.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: Stopped target Graphical Interface.
--
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: Stopped Daemon for power management.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: media-metal450-SSD\x2dData.mount: Mount process exited, code=exited, status=32/n/a
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: Failed unmounting /media/metal450/SSD-Data.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: alsa-restore.service: Succeeded.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: Stopped Save/Restore Sound Card State.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: ubuntu-fan.service: Succeeded.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: Stopped Ubuntu FAN network setup.
--
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: Stopping Authorization Manager...
Jun 28 23:13:17 Latitude-5490-Kubuntu dbus-daemon[1598]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.10' (uid=0 pid=1600 comm="/usr/sbin/NetworkManager --no-daemon ")
Jun 28 23:13:17 Latitude-5490-Kubuntu dbus-daemon[1598]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.nm-dispatcher.service': Refusing activation, D-Bus is shutting down.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: cups-browsed.service: Succeeded.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: Stopped Make remote CUPS printers available locally.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: lvm2-pvscan@253:0.service: Succeeded.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: Stopped LVM event activation on device 253:0.
--
Jun 28 23:13:17 Latitude-5490-Kubuntu kernel: percpu ref (cgroup_bpf_release_fn) <= 0 (0) after switching to atomic
Jun 28 23:13:17 Latitude-5490-Kubuntu kernel: WARNING: CPU: 6 PID: 0 at lib/percpu-refcount.c:160 percpu_ref_switch_to_atomic_rcu+0x12e/0x140
Jun 28 23:13:17 Latitude-5490-Kubuntu kernel: Modules linked in: tcp_diag udp_diag inet_diag ip6table_mangle xt_mark iptable_mangle xt_NFQUEUE nfnetlink_queue md4 nls_utf8 cifs fscache ccm xt_nat veth xt_MASQUERADE nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo iptable_nat nf_nat br_netfilter bridge stp llc rfcomm vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) cmac overlay algif_hash bnep blowfish_generic blowfish_x86_64 blowfish_common des_generic des3_ede_x86_64 libdes cast5_avx_x86_64 cast5_generic cast_common lrw camellia_generic camellia_aesni_avx2 camellia_aesni_avx_x86_64 camellia_x86_64 twofish_generic twofish_avx_x86_64 twofish_x86_64_3way twofish_x86_64 twofish_common serpent_avx2 nls_iso8859_1 serpent_avx_x86_64 serpent_sse2_x86_64 serpent_generic algif_skcipher af_alg dell_rbtn snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_intel_nhlt snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event mei_hdcp snd_rawmidi x86_pkg_temp_thermal intel_rapl_msr
Jun 28 23:13:17 Latitude-5490-Kubuntu kernel:  intel_powerclamp joydev iwlmvm btusb coretemp btrtl snd_seq mac80211 uvcvideo btbcm btintel videobuf2_vmalloc kvm_intel libarc4 dell_laptop videobuf2_memops ledtrig_audio videobuf2_v4l2 snd_seq_device dell_wmi kvm videobuf2_common bluetooth dell_smbios ecdh_generic videodev intel_cstate dcdbas iwlwifi dell_smm_hwmon mc ecc intel_rapl_perf snd_timer input_leds serio_raw wmi_bmof snd intel_wmi_thunderbolt dell_wmi_descriptor cfg80211 rtsx_pci_ms soundcore memstick processor_thermal_device intel_rapl_common mei_me intel_xhci_usb_role_switch ucsi_acpi hid_multitouch typec_ucsi mei roles intel_soc_dts_iosf intel_pch_thermal typec acpi_pad intel_hid int3403_thermal int3400_thermal int340x_thermal_zone sparse_keymap acpi_thermal_rel mac_hid dell_smo8800 nf_log_ipv6 ip6t_REJECT nf_reject_ipv6 xt_hl ip6t_rt nf_log_ipv4 nf_log_common ipt_REJECT nf_reject_ipv4 xt_LOG xt_limit xt_addrtype xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 sch_fq_codel ip6table_filter
Jun 28 23:13:17 Latitude-5490-Kubuntu kernel:  ip6_tables parport_pc iptable_filter ppdev bpfilter lp binfmt_misc parport ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq libcrc32c dm_crypt hid_generic crct10dif_pclmul crc32_pclmul nouveau rtsx_pci_sdmmc i915 ghash_clmulni_intel aesni_intel mxm_wmi ttm i2c_algo_bit crypto_simd cryptd glue_helper drm_kms_helper syscopyarea sysfillrect e1000e sysimgblt fb_sys_fops i2c_i801 drm intel_lpss_pci ahci intel_lpss rtsx_pci idma64 libahci virt_dma i2c_hid hid wmi video
Jun 28 23:13:17 Latitude-5490-Kubuntu kernel: CPU: 6 PID: 0 Comm: swapper/6 Tainted: G           OE     5.4.42-050442-generic #202005200734
Jun 28 23:13:17 Latitude-5490-Kubuntu kernel: Hardware name: Dell Inc. Latitude 5490/0NFW3V, BIOS 1.13.1 03/13/2020
Jun 28 23:13:17 Latitude-5490-Kubuntu kernel: RIP: 0010:percpu_ref_switch_to_atomic_rcu+0x12e/0x140
Jun 28 23:13:17 Latitude-5490-Kubuntu kernel: Code: 80 3d 47 72 2e 01 00 0f 85 57 ff ff ff 49 8b 54 24 d8 49 8b 74 24 e8 48 c7 c7 d0 8a fa 95 c6 05 29 72 2e 01 01 e8 fd b0 b7 ff <0f> 0b e9 33 ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5
--
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[2634]: xdg-document-portal.service: Succeeded.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[2634]: Stopped flatpak document portal service.
Jun 28 23:13:17 Latitude-5490-Kubuntu tracker-miner-f[2705]: Error while sending AddMatch() message: The connection is closed
Jun 28 23:13:17 Latitude-5490-Kubuntu tracker-miner-f[2705]: Error while sending AddMatch() message: The connection is closed
Jun 28 23:13:17 Latitude-5490-Kubuntu tracker-miner-f[2705]: Error while sending AddMatch() message: The connection is closed
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[2634]: xdg-permission-store.service: Succeeded.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[2634]: Stopped sandboxed app permission store.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[2634]: gvfs-metadata.service: Succeeded.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[2634]: Stopped Virtual filesystem metadata service.
--
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: run-timeshift-backup.mount: Succeeded.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: Unmounted /run/timeshift/backup.
Jun 28 23:13:17 Latitude-5490-Kubuntu blkdeactivate[6030]:   [UMOUNT]: unmounting system-root (dm-2) mounted on /run/timeshift/backup... already unmounted
Jun 28 23:13:17 Latitude-5490-Kubuntu ntfs-3g[1780]: Unmounting /dev/mapper/SSD-Data (SSD-Data)
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: media-metal450-SSD\x2dData.mount: Failed with result 'exit-code'.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[2634]: media-metal450-SSD\x2dData.mount: Succeeded.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[2634]: tracker-miner-fs.service: Succeeded.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[2634]: Stopped Tracker file system data miner.
Jun 28 23:13:17 Latitude-5490-Kubuntu blkdeactivate[6030]:   [UMOUNT]: unmounting SSD-Data (dm-3) mounted on /media/metal450/SSD-Data... done
Jun 28 23:13:17 Latitude-5490-Kubuntu blkdeactivate[6030]:   [UMOUNT]: unmounting system-boot (dm-1) mounted on /boot... skipping
Jun 28 23:13:17 Latitude-5490-Kubuntu vboxdrv.sh[6266]: VirtualBox services stopped.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: vboxdrv.service: Succeeded.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: Stopped VirtualBox Linux kernel module.
Jun 28 23:13:17 Latitude-5490-Kubuntu kernel: wlp2s0: deauthenticating from 00:11:32:4d:58:98 by local choice (Reason: 3=DEAUTH_LEAVING)
--
Jun 28 23:13:17 Latitude-5490-Kubuntu containerd[1711]: time="2020-06-28T23:13:17.735012410-07:00" level=info msg="shim reaped" id=a9f278ece3a6fbef0041fd4881c69b3db0a7094c999989a20b608f47927b11e0
Jun 28 23:13:17 Latitude-5490-Kubuntu NetworkManager[1600]: <info>  [1593411197.7090] device (wlp2s0): supplicant interface state: completed -> disconnected
Jun 28 23:13:17 Latitude-5490-Kubuntu dbus-daemon[1598]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.nm-dispatcher.service': Refusing activation, D-Bus is shutting down.
Jun 28 23:13:17 Latitude-5490-Kubuntu dockerd[1998]: time="2020-06-28T23:13:17.854957833-07:00" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Jun 28 23:13:17 Latitude-5490-Kubuntu NetworkManager[1600]: <info>  [1593411197.7090] device (p2p-dev-wlp2s0): supplicant management interface state: completed -> disconnected
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: cups.service: Succeeded.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: Stopped CUPS Scheduler.
Jun 28 23:13:17 Latitude-5490-Kubuntu blkdeactivate[6030]:   [DM]: deactivating crypt device SSD-Data (dm-3)... done
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: blk-availability.service: Succeeded.
Jun 28 23:13:17 Latitude-5490-Kubuntu systemd[1]: Stopped Availability of block devices.
Jun 28 23:13:17 Latitude-5490-Kubuntu kernel: br-f930dd704de8: port 1(vetheb80853) entered disabled state
Jun 28 23:13:17 Latitude-5490-Kubuntu kernel: veth71e7abc: renamed from eth0
--
Jun 28 23:13:18 Latitude-5490-Kubuntu systemd[1]: Stopped User Runtime Directory /run/user/1000.
Jun 28 23:13:18 Latitude-5490-Kubuntu systemd[1]: Removed slice User Slice of UID 1000.
Jun 28 23:13:18 Latitude-5490-Kubuntu sddm[1813]: Display server stopped.
Jun 28 23:13:18 Latitude-5490-Kubuntu sddm[1813]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
Jun 28 23:13:18 Latitude-5490-Kubuntu sddm[1813]: Removing display ":0" ...
Jun 28 23:13:18 Latitude-5490-Kubuntu sddm[1813]: Adding new display on vt 1 ...
Jun 28 23:13:18 Latitude-5490-Kubuntu sddm[1813]: Loading theme configuration from ""
Jun 28 23:13:18 Latitude-5490-Kubuntu sddm[1813]: Display server starting...
Jun 28 23:13:18 Latitude-5490-Kubuntu sddm[1813]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{4d71aaa7-def4-443f-80fb-554a1e7ca03d} -background none -noreset -displayfd 18 -seat seat0 vt1
Jun 28 23:13:18 Latitude-5490-Kubuntu dockerd[1998]: time="2020-06-28T23:13:18.550446667-07:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
Jun 28 23:13:18 Latitude-5490-Kubuntu dockerd[1998]: time="2020-06-28T23:13:18.551920773-07:00" level=info msg="Daemon shutdown complete"
Jun 28 23:13:18 Latitude-5490-Kubuntu dockerd[1998]: time="2020-06-28T23:13:18.552112825-07:00" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
Jun 28 23:13:18 Latitude-5490-Kubuntu systemd[1]: docker.service: Succeeded.
--
Jun 28 23:13:18 Latitude-5490-Kubuntu systemd[1]: Stopped containerd container runtime.
Jun 28 23:13:18 Latitude-5490-Kubuntu kernel: nouveau 0000:03:00.0: bus: MMIO read of 00000000 FAULT at 619444 [ IBUS ]
Jun 28 23:13:19 Latitude-5490-Kubuntu sddm[1813]: Setting default cursor
Jun 28 23:13:19 Latitude-5490-Kubuntu sddm[1813]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
Jun 28 23:13:19 Latitude-5490-Kubuntu sddm[1813]: Display server started.
Jun 28 23:13:19 Latitude-5490-Kubuntu sddm[1813]: Socket server starting...
Jun 28 23:13:19 Latitude-5490-Kubuntu sddm[1813]: Socket server started.
Jun 28 23:13:19 Latitude-5490-Kubuntu sddm[1813]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
Jun 28 23:13:19 Latitude-5490-Kubuntu sddm[1813]: Greeter starting...
Jun 28 23:13:19 Latitude-5490-Kubuntu sddm[1813]: Adding cookie to "/var/run/sddm/{4d71aaa7-def4-443f-80fb-554a1e7ca03d}"
Jun 28 23:13:19 Latitude-5490-Kubuntu sddm[1813]: Signal received: SIGTERM
Jun 28 23:13:19 Latitude-5490-Kubuntu sddm[1813]: Socket server stopping...
Jun 28 23:13:19 Latitude-5490-Kubuntu sddm[1813]: Socket server stopped.
Jun 28 23:13:19 Latitude-5490-Kubuntu sddm[1813]: Display server stopping...
Jun 28 23:13:19 Latitude-5490-Kubuntu sddm-helper[6342]: [PAM] Starting...
Jun 28 23:13:19 Latitude-5490-Kubuntu sddm-helper[6342]: [PAM] Authenticating...
Jun 28 23:13:19 Latitude-5490-Kubuntu sddm-helper[6342]: [PAM] returning.
Jun 28 23:13:20 Latitude-5490-Kubuntu sddm[1813]: Display server stopped.
Jun 28 23:13:20 Latitude-5490-Kubuntu sddm[1813]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
Jun 28 23:13:20 Latitude-5490-Kubuntu sddm[1813]: QProcess: Destroyed while process ("/usr/lib/x86_64-linux-gnu/sddm/sddm-helper") is still running.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: sddm.service: Succeeded.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Stopped Simple Desktop Display Manager.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Starting Show Plymouth Reboot Screen...
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Stopping Login Service...
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Stopping Permit User Sessions...
--
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Stopped Network Name Resolution.
Jun 28 23:13:20 Latitude-5490-Kubuntu dbus-daemon[1598]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.10' (uid=0 pid=1600 comm="/usr/sbin/NetworkManager --no-daemon ")
Jun 28 23:13:20 Latitude-5490-Kubuntu dbus-daemon[1598]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.nm-dispatcher.service': Refusing activation, D-Bus is shutting down.
Jun 28 23:13:20 Latitude-5490-Kubuntu NetworkManager[1600]: <info>  [1593411200.1057] exiting (success)
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: NetworkManager.service: Succeeded.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Stopped Network Manager.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Started Show Plymouth Reboot Screen.
--
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Stopping Load/Save Random Seed...
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd-cryptsetup[6360]: Device system is still in use.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd-cryptsetup[6360]: Failed to deactivate: Device or resource busy
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: systemd-cryptsetup@system.service: Control process exited, code=exited, status=1/FAILURE
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: systemd-cryptsetup@system.service: Failed with result 'exit-code'.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Stopped Cryptography Setup for system.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: systemd-backlight@leds:dell::kbd_backlight.service: Succeeded.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Stopped Load/Save Screen Backlight Brightness of leds:dell::kbd_backlight.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Removed slice system-systemd\x2dbacklight.slice.
--
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: systemd-fsck@dev-disk-by\x2duuid-180E\x2d1EC4.service: Succeeded.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Stopped File System Check on /dev/disk/by-uuid/180E-1EC4.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: systemd-fsck@dev-mapper-system\x2droot.service: Succeeded.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Stopped File System Check on /dev/mapper/system-root.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: boot.mount: Succeeded.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Unmounted /boot.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: systemd-fsck@dev-mapper-system\x2dboot.service: Succeeded.
--
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Stopped target Local File Systems (Pre).
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Reached target Unmount All Filesystems.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Stopping Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: systemd-tmpfiles-setup-dev.service: Succeeded.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Stopped Create Static Device Nodes in /dev.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: systemd-sysusers.service: Succeeded.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Stopped Create System Users.
--
Jun 28 23:13:20 Latitude-5490-Kubuntu lvm[6372]:   2 logical volume(s) in volume group "system" unmonitored
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: lvm2-monitor.service: Succeeded.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Stopped Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Reached target Shutdown.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Starting Shuts down the "live" preinstalled system cleanly...
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: casper.service: Succeeded.
Jun 28 23:13:20 Latitude-5490-Kubuntu systemd[1]: Finished Shuts down the "live" preinstalled system cleanly.
Thanks again for your help!
 
Old 07-03-2020, 07:31 AM   #4
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,520

Rep: Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829
There could be something relevant anywhere in the journal. Please upload the complete output of 'journalctl -b -1' using pastebinit or equivalent, or using a web browser to http://pastebin.com or equivalent, and post the resulting URL here.

Also please paste here using code tags output from the following:
Code:
cat /etc/fstab
sudo parted -l
sudo blkid
 
Old 07-03-2020, 11:00 PM   #5
metal450
LQ Newbie
 
Registered: Jun 2020
Posts: 6

Original Poster
Rep: Reputation: Disabled
blkid:
Code:
/dev/mapper/system: UUID="ASruLw-dZYL-i3Pd-S0uD-C2uZ-3HGN-dzOHep" TYPE="LVM2_member"
/dev/sda1: UUID="180E-1EC4" TYPE="vfat" PARTLABEL="Test" PARTUUID="996f5b36-2710-0000-f08a-806e6f6e6963"
/dev/sda5: UUID="1008b0a9-b292-4d2b-82bd-89a152df6f0c" TYPE="crypto_LUKS" PARTLABEL="system" PARTUUID="a2f1e2de-efd9-4f06-b49d-cbb81085e114"
/dev/mapper/system-boot: LABEL="boot" UUID="ce9c73cb-1efa-45f2-9cca-494b4be803d6" TYPE="ext4"
/dev/mapper/system-root: LABEL="root" UUID="08b00d7c-a267-4f87-a6c3-6e1156150b44" UUID_SUB="5ea6fab6-1d0d-4361-9d28-5e95c9328ea6" TYPE="btrfs"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/mapper/SSD-Data: LABEL="SSD-Data" UUID="FAE6A417E6A3D265" TYPE="ntfs"
/dev/sda2: PARTLABEL="Test" PARTUUID="996f3426-2710-0000-f08a-806e6f6e6963"
/dev/sda3: PARTUUID="bbec0c7d-2385-4f31-af6d-fbeed184a5bf"
/dev/sda4: PTTYPE="atari" PARTUUID="9acbfe14-2710-0000-f08a-806e6f6e6963"
fstab:
Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/system-root /               btrfs   defaults,subvol=@ 0       1
/dev/mapper/system-boot /boot           ext4    defaults        0       2
# /boot/efi was on /dev/sda1 during installation
UUID=180E-1EC4  /boot/efi       vfat    umask=0077      0       1
/dev/mapper/system-root /home           btrfs   defaults,subvol=@home 0       2
#UUID=8da3853a-89c0-2f4c-8ff2-90a2e739fff3 /swap           btrfs   defaults,subvol=swap      0       0
/swap/swapfile                                 none            swap    sw              0       0
/dev/mapper/SSD-Data   /media/metal450/SSD-Data   ntfs-3g   auto,nofail,uid=1000,gid=1000,windows_names   0   0
parted
Code:
Model: ATA Samsung SSD 860 (scsi)
Disk /dev/sda: 4001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name    Flags
 1      1049kB  411MB   410MB   fat32        Test    boot, esp
 2      412MB   85.4GB  85.0GB               Test    msftdata
 3      85.4GB  86.3GB  950MB                        hidden, diag
 4      86.3GB  3933GB  3846GB                       msftdata
 5      3933GB  4001GB  68.0GB               system


Model: Linux device-mapper (crypt) (dm)
Disk /dev/mapper/SSD-Data: 3846GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags: 

Number  Start  End     Size    File system  Flags
 1      0.00B  3846GB  3846GB  ntfs


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/system-root: 67.4GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags: 

Number  Start  End     Size    File system  Flags
 1      0.00B  67.4GB  67.4GB  btrfs


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/system-boot: 537MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags: 

Number  Start  End    Size   File system  Flags
 1      0.00B  537MB  537MB  ext4



Error: /dev/mapper/system: unrecognised disk label                                                                          
Model: Linux device-mapper (crypt) (dm)
Disk /dev/mapper/system: 68.0GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
As for journal, is there any possibility of private info being there that should be scrubbed? i.e. is there merit to my combing through & reviewing all >3000 lines before posting publicly?

Thanks again!
 
Old 07-04-2020, 03:00 AM   #6
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,520

Rep: Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829
Your combination of crypt, LVM, BTRFS and PTTYPE="atari" is beyond my expertise, making it unlikely for me to be able to spot your issue except by luck. IMO this combination makes it unlikely that any private information the journal might contain wouldn't be of any use to very many people. Based on the information already provided, my only guesses would be something to do with either the unrecognised disk label, or PTTYPE="atari". I hope you can find the help you need, or are willing to reinstall in a less complicated fashion.
 
Old 07-04-2020, 03:19 AM   #7
metal450
LQ Newbie
 
Registered: Jun 2020
Posts: 6

Original Poster
Rep: Reputation: Disabled
Bummer, but thanks for having a look. For what it's worth, the complicated setup was done by this script (mentioned below), which I only resorted to because the Kubuntu installer itself is broken. Per the half-decade-old bug report here, it doesn't let you use LUKS unless you let it wipe the whole disk - unlike some other Ubuntu variants ie. Mint, in which you can easily setup your own partition layout, in Kubuntu, the installer just crashes. Since I'm dual-booting Windows, letting the installer wipe the entire disk isn't feasible. The search for workarounds led me to the aforementioned script, which is what set everything up. I guess I chose poorly. Still, that script is referred to & praised in quite a few places, so I don't believe its layout alone is what's causing my reboot hangs - or certainly other users would have reported it.

I'd like to make one correction to my original post: it doesn't hang on *every* reboot. It hangs on maybe 9 out of 10.

Next time I reinstall, I'll definitely take a different approach. But I'd *really* like to avoid having to do that if possible, as this is a fresh install that just took me forever to get fully up & running. Would be a shame to lose another week starting over from scratch just because of this issue :/

If anyone else has any insight, I'd be very very appreciative.
 
Old 07-04-2020, 05:25 AM   #8
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,520

Rep: Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829
You might be better off with KDE Neon than Kubuntu if it comes down to reinstalling. I run my KDE Plasmas on openSUSE Tumbleweed or Fedora. For *buntus I run TDE rather than KDE. I also run TDE on Debian, openSUSE Leap, Mageia and Fedora. My favorite installer by far is openSUSE's. I normally begin installation via NET iso or NET iso's kernel and initrd loaded by Grub. NET installs depend on working network, so fail to start if there is any error configuring network, which I do via the installer's kernel command line. Distros that do not offer a NET installation method I don't even try. The other thing I do is install a minimal installation, then on first or subsequent boot add the desired DE selectively to get what I want without unneeded cruft.
 
Old 07-04-2020, 12:59 PM   #9
metal450
LQ Newbie
 
Registered: Jun 2020
Posts: 6

Original Poster
Rep: Reputation: Disabled
I prefer stability over bleeding-edge, which is why I went with Kubuntu over Neon. Ironic...because it seems like stability is still far from what I ended up getting (this is just one of a dozen problems I've had to struggle with - weeks of work & it still isn't running properly)... :P

Why TDE rather than KDE?
 
Old 07-04-2020, 06:51 PM   #10
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 2,520

Rep: Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829
TDE started life as a fork of KDE3. KDE upstream post-v3 everything got rewritten from scratch for QT4, then QT5, or discontinued, and many apps got random new names, e.g. Spectacle replacing KSnapshot, and Falkon replacing Konqueror. Nothing I know of is more stable than KDE3 (openSUSE-only) or TDE (openSUSE, Fedora, Mageia, Debian, Ubuntu and others). In these two, things change as required due to changes in the underlying OS or X, not because of some programmer's desire to experiment or play.
 
Old 07-04-2020, 10:42 PM   #11
metal450
LQ Newbie
 
Registered: Jun 2020
Posts: 6

Original Poster
Rep: Reputation: Disabled
Gotcha. So basically TDE is like KDE, but more stable. Good to know!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC18: running a command on shutdown (or reboot) before every other shutdown operation P5music Fedora 3 04-23-2013 03:56 PM
[7.3] umount says: "umount: /very/long/path (/dev/loop0) is unmounted" ? McZ Linux From Scratch 4 03-24-2013 01:29 PM
Rhel5.3 Server Hangs and Needs Reboot every 2 weeks Doknik Linux - Newbie 3 09-08-2011 12:17 AM
Kubuntu 8.40 hangs on "io scheduler cfq registered" worked before Nasdram Ubuntu 4 03-21-2009 10:26 AM
Mount. Umount. Mount. Umount. Mount. Umount. Mount.. cwizardone Slackware 10 03-22-2007 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 04:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration