Page 1 of 1

Volume not mounting, or Thunar crashing system

Posted: Sat Mar 04, 2023 11:26 am
by Stu

Code: Select all

Snapshot created on: 20220715_1108
System:    Kernel: 5.10.0-16-amd64 [5.10.127-1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/antiX/vmlinuz quiet lang=en_US kbd=us tz=US/Central 
           p_static_root from=usb 
           Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.3_x64 Wildflower April 9  2022 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: Hewlett-Packard product: HP Pavilion TS 15 Notebook PC 
           v: 0984110014404100000620182 serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: Hewlett-Packard model: 2163 v: 29.42 serial: <filter> UEFI: Insyde v: F.65 
           date: 06/06/2014 
Battery:   ID-1: BAT0 charge: 12.3 Wh (66.5%) condition: 18.5/18.5 Wh (100.0%) volts: 15.9 
           min: 14.8 model: Hewlett-Packard Primary type: Li-ion serial: N/A status: Unknown 
CPU:       Info: Dual Core model: Intel Core i5-4200U bits: 64 type: MT MCP arch: Haswell 
           family: 6 model-id: 45 (69) stepping: 1 microcode: 16 cache: L2: 3 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 bogomips: 18358 
           Speed: 1026 MHz min/max: 800/2600 MHz Core speeds (MHz): 1: 1026 2: 1049 3: 1059 
           4: 1081 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX unsupported 
           Type: l1tf mitigation: PTE Inversion 
           Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data status: Not affected 
           Type: spec_store_bypass status: Vulnerable 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Retpolines, STIBP: disabled, RSB filling 
           Type: srbds status: Vulnerable: No microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Hewlett-Packard driver: i915 
           v: kernel bus-ID: 00:02.0 chip-ID: 8086:0a16 class-ID: 0300 
           Device-2: Cheng Uei Precision Industry (Foxlink) Webcam type: USB driver: uvcvideo 
           bus-ID: 2-3:4 chip-ID: 05c8:036e class-ID: 0e02 
           Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.18.0 driver: 
           loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 3286x1080 s-dpi: 96 s-size: 869x285mm (34.2x11.2") 
           s-diag: 915mm (36") 
           Monitor-1: eDP-1 res: 1366x768 hz: 60 dpi: 101 size: 344x193mm (13.5x7.6") 
           diag: 394mm (15.5") 
           Monitor-2: HDMI-1 res: 1920x1080 hz: 60 dpi: 96 size: 509x286mm (20.0x11.3") 
           diag: 584mm (23") 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4400 (HSW GT2) v: 4.5 Mesa 20.3.5 
           compat-v: 3.0 direct render: Yes 
Audio:     Device-1: Intel Haswell-ULT HD Audio vendor: Hewlett-Packard driver: snd_hda_intel 
           v: kernel bus-ID: 00:03.0 chip-ID: 8086:0a0c class-ID: 0403 
           Device-2: Intel 8 Series HD Audio vendor: Hewlett-Packard driver: snd_hda_intel 
           v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9c20 class-ID: 0403 
           Sound Server-1: ALSA v: k5.10.0-16-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Realtek RTL8188EE Wireless Network Adapter vendor: Hewlett-Packard 
           driver: rtl8188ee v: kernel modules: wl port: 4000 bus-ID: 08:00.0 chip-ID: 10ec:8179 
           class-ID: 0280 
           IF: wlan0 state: down mac: <filter> 
           Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Hewlett-Packard 
           driver: r8169 v: kernel port: 3000 bus-ID: 09:00.0 chip-ID: 10ec:8136 class-ID: 0200 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 1.02 TiB used: 27.56 GiB (2.6%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: HGST (Hitachi) model: HTS541010A9E680 
           size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: HDD 
           rpm: 5400 serial: <filter> rev: A590 scheme: GPT 
           ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: SanDisk model: USB 3.2Gen1 
           size: 114.61 GiB block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> 
           rev: 1.00 scheme: MBR 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: file size: 6 GiB used: 0 KiB (0.0%) priority: -2 
           file: /live/boot-dev/swap-file 
Sensors:   System Temperatures: cpu: 50.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     Packages: note: see --pkg apt: 2043 lib: 1013 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
           1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ bullseye main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bullseye main non-free
Info:      Processes: 218 Uptime: 1m wakeups: 2 Memory: 11.63 GiB used: 1.7 GiB (14.6%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: UEFI
SecureBoot enabled
Not sure what I screwed up or how.

First symptom - tried to mount a 1 T external USB drive that I've used on this system before without problems. Said it failed to mount, unknown error. Selected 'safely remove' and was able to.

Should have stopped there but didn't. Mounted a smaller (32 gig) drive, looked at contents, ok, unmounted and 'safely removed' in two steps, and re-tried the 1 T drive with same failure to mount.

At some point I tried to re-open Thunar and it would not open. Tried to open feather menu to get quick system info to post here, would not open, got error message (failed to write it down). Conky showed CPU at 89%, nothing would respond even after I let alone about 10 minutes. Tried to unmount, no response. Tried to shut down, got broadcast 'system shutdown now!' message and all locked up.

Went through that cycle again and was able to get to feather menu, quick system info, Firefox to get here and ask, and that is where the situation stands.

If anyone can tell me what I did wrong and more importantly how I can undo the damage, I will be grateful!

Re: Volume not mounting, or Thunar crashing system

Posted: Sat Mar 04, 2023 11:41 am
by dolphin_oracle
sounds like a hung process.

maybe checking the output of the "top" command and looking for the high cpu usage will indicate what is hung.

Re: Volume not mounting, or Thunar crashing system

Posted: Sat Mar 04, 2023 11:49 am
by Stu
Thanks!!

Will read up on "top" and see where it leads me.

Started Htop and will try leaving it open and running when I next try Thunar.

Thanks again.

Re: Volume not mounting, or Thunar crashing system

Posted: Sat Mar 04, 2023 11:57 am
by timkb4cq
It's likely the filesystem on the USB drive needs repairing. If it's formatted NTFS that will need to be done from a Windows system since MS hasn't provided enough information for Linux devs to produce a reliable fsck for it.
If it's exfat or a native Linux fs type you can use gparted to repair before trying to mount it.

Re: Volume not mounting, or Thunar crashing system

Posted: Sat Mar 04, 2023 12:13 pm
by Stu
Htop did not show much, and no high CPU usage at all.
Thunar opens but does not display contnets of "Live USB Storage"
Tried to open MX-Tools and got:
"Failed to execute command "mx-tools". failed to execute child process "mx-tools" (input/output error)
Closed that window.
Tried opening various mx-tools from feather menu, got similar error messages for each. Able to open 'Task Manager' from feather menu, and other things like Galculator.
Htop still not showing excessive cpu usage.
I do have a snapshot but it is a couple of weeks old and hesitant to try starting over, would like to know what is wrong before giving up.

timkb4cq - Yes, that 1T USB drive was created using Windows but I've opened it, read from it, and written to it using this MX Linux system a number of times in the past. But I will keep your suggestion in mind... and may try booting Windows again (haven't for months) and see it Windows will read that USB drive. Not sure what that will tell me though. Ah! I see what you said now - see if Windows will read it and if not, run fdsk in Windows to repair it. Thanks!

Re: Volume not mounting, or Thunar crashing system

Posted: Sat Mar 04, 2023 12:40 pm
by dolphin_oracle
two things worth checking:

1. is your persistence file full?

2. do you have an incomplete update somewhere (sudo dpkg --configure -a)

Re: Volume not mounting, or Thunar crashing system

Posted: Sat Mar 04, 2023 1:08 pm
by Stevo
Just a note: I believe you mean "Whisker Menu" instead of feathermenu.

Re: Volume not mounting, or Thunar crashing system

Posted: Sat Mar 04, 2023 1:33 pm
by Stu
Stevo you are right! I'm not rattled or anything.

I am wrong about what is going on. Went to move browser window, browser crashed and would not re-open.

Clicked on Shut Down and rather than orderly shutdown, it came back with the 'system going down Now!' message and went black.

Took the opportunity to boot Windows and look into the problem 1T USB drive, which read fine. Ejected it, shut down Windows, re-booted MX Linux, and came back here.

I think dolphin_oracle hit the nail on the head.

Conky says: /: 3.48 GiB of 13.7 Gib media: 0B of 10 MiB but maybe /: is not the persistence file? - have to explore.

Opened a terminal window and typed sudo dpkg --configure -a and it asked for my password. Typed password, it came back with ~ prompt. Re-typed the command sudo dpkg --configure -a and it came back with the same prompt so either 1) it worked, or 2) I typed it wrong, or 3) something else.

But right now Thunar opens and shows content of Live USB Storage properly, MX-Tools opens, and so forth.

I have not tried to open the problem 1T drive again in MX, but enough excitement for the nonce. I'll try it again soon.

And I need to read how to mark this thread "Fixed" - at least partly because I mis-stated the problem, having seized on the most obvious anomaly and reported it, rather than digging deeper.

Edit - Thunar just opened that problem USB 1T drive, can read and write. That part is fixed.

I have more wrong than I understand, just had another case of 89% CPU / Htop would not start, dis-orderly shutdown.

The original symptom is fixed and I'm getting a pad of actual paper, and a pencil, and will write down whatever goes wrong before continuing to bother y'all with bits and pieces.

Thanks!

Re: Volume not mounting, or Thunar crashing system

Posted: Sat Mar 04, 2023 1:54 pm
by Huckleberry Finn
Stu wrote: Sat Mar 04, 2023 1:33 pm... came back with ~ prompt. Re-typed the command sudo dpkg --configure -a and it came back with the same prompt so either ...
When it returns quickly with no output : nothing to (re)configure (all are fine in that regard).

Re: Volume not mounting, or Thunar crashing system  [Solved]

Posted: Sat Mar 04, 2023 1:56 pm
by Huckleberry Finn
Stu wrote: Sat Mar 04, 2023 1:33 pm...I need to read how to mark this thread "Fixed" ...
Just click the check-mark icon on the post that was the solution, like this:

Re: Volume not mounting, or Thunar crashing system

Posted: Sat Mar 04, 2023 1:58 pm
by Huckleberry Finn
Stu wrote: Sat Mar 04, 2023 12:13 pm... run fdsk in Windows to repair it...
chkdsk

Re: Volume not mounting, or Thunar crashing system

Posted: Sun Mar 05, 2023 10:38 am
by Stu
Thanks for the corrections!

An aside... it is possible that my entire problem episode stemmed from using a USB hub.

Much more water over the dam in the meantime, but plugging the MX USB stick in the 'fast' USB port, and plugging the problematic 1T USB drive into one of the other USB ports (in place of mechanical keyboard) makes everything work properly.

When I manage to formulate a coherent way to phrase the question, I intend to ask in the Installation forum whether continuing with the USB / Persistence stick is a better idea than swapping the original hard drive out for an internal SSD and installing to that. Means losing all access to Windows - unless Windows will boot from the original drive in a SATA-USB enclosure.