You are not logged in.

#26 2024-11-20 21:12:53

levalithan
Member
From: London
Registered: 2022-06-27
Posts: 43

Re: External HDD Power Issues / Disconnects

ah, how would i go about that using dd? i'm not super confident with the command

Offline

#27 2024-11-20 21:27:40

seth
Member
Registered: 2012-09-03
Posts: 58,722

Re: External HDD Power Issues / Disconnects

cd /path/to/disk/art/lotsofpictures
for name in *; do dd if="$name" iflag=sync,nocache of=/dev/null &; done

This reads all files there and "copies" them into /dev/null
The ampersand will fire off all dd jobs in parallel, that should take the wind out of the bus.

Offline

#28 2024-11-20 22:00:57

levalithan
Member
From: London
Registered: 2022-06-27
Posts: 43

Re: External HDD Power Issues / Disconnects

was about to try this and the disk just disconnected on it's own. nothing even really triggered it this time.

Nov 20 21:56:42 tower kernel: sd 5:0:0:0: [sdb] Synchronizing SCSI cache
Nov 20 21:56:42 tower kernel: sd 5:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Nov 20 21:56:42 tower ntfs-3g[27738]: Unmounting /dev/sdb2 (SLAB)
Nov 20 21:56:42 tower ntfs-3g[27738]: Failed to sync device /dev/sdb2: Input/output error
Nov 20 21:56:42 tower ntfs-3g[27738]: Failed to fsync device /dev/sdb2: Input/output error
Nov 20 21:56:42 tower ntfs-3g[27738]: Failed to close volume /dev/sdb2: Device or resource busy

at this point i have given up, i think it's just busted. a replacement from amazon is on the way, i will likely just format it to ext4 and use it as storage for my games, and other important stuff will go on a usb with NTFS. unless we can figure something out by tomorrow but i doubt it.

Offline

#29 2024-11-20 22:09:09

seth
Member
Registered: 2012-09-03
Posts: 58,722

Re: External HDD Power Issues / Disconnects

the disk just disconnected on it's own. nothing even really triggered it this time.

The journal also shows a (failing) umount? Do you use x-systemd.idle-timeout ?

Does the drive (and cable) act stable on a different host or w/ a live system like https://grml.org/?

unless we can figure something out by tomorrow but i doubt it

We can stil figure what's wrong - I still don't think the filesystem will help you here.

Offline

#30 2024-11-20 22:10:17

levalithan
Member
From: London
Registered: 2022-06-27
Posts: 43

Re: External HDD Power Issues / Disconnects

I believe it works fine on windows, but haven't tested it much. I'm not sure if i use idle-timeout but i could try disabling it.

Offline

#31 2024-11-20 22:50:09

seth
Member
Registered: 2012-09-03
Posts: 58,722

Re: External HDD Power Issues / Disconnects

Any idea what else might have unmounted the drive at that point?

Offline

#32 2024-11-20 23:47:57

levalithan
Member
From: London
Registered: 2022-06-27
Posts: 43

Re: External HDD Power Issues / Disconnects

My only guess is maybe it tries to unmount the drive when it fails the sync, but beyond that I have no idea. I'm starting to suspect the hardware is at fault

Offline

#33 2024-11-21 08:27:42

seth
Member
Registered: 2012-09-03
Posts: 58,722

Re: External HDD Power Issues / Disconnects

What happened before the cache sync failure?

I'm starting to suspect the hardware is at fault

Easy check:

seth wrote:

Does the drive (and cable) act stable on a different host or w/ a live system like https://grml.org/?

Offline

#34 2024-11-21 10:17:05

levalithan
Member
From: London
Registered: 2022-06-27
Posts: 43

Re: External HDD Power Issues / Disconnects

Nothing was in dmesg or journalctl last boot before it, at least not that i could find with grep. It will probably happen again this boot, i'll try look a bit more.

again, it's perfectly fine on windows. can't test it on another linux host as i don't have access to one at the minute.

Last edited by levalithan (2024-11-21 10:17:40)

Offline

#35 2024-11-21 14:49:55

seth
Member
Registered: 2012-09-03
Posts: 58,722

Re: External HDD Power Issues / Disconnects

Windows is a parallel installation on the same system?

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Offline

#36 2024-11-21 17:50:19

levalithan
Member
From: London
Registered: 2022-06-27
Posts: 43

Re: External HDD Power Issues / Disconnects

Windows is not installed on the drive. It's on a laptop i have handy in case things go wrong.

update though! The new disk came in today. Exact same hardware. Tried formatting it to ext4 and it didn't work. Input/Output error. It might be the specific usb slots i'm trying to use??? who knows

Offline

#37 2024-11-21 17:54:36

levalithan
Member
From: London
Registered: 2022-06-27
Posts: 43

Re: External HDD Power Issues / Disconnects

Yep. it seems some of the USB ports on my pc are buggy. Tried the topmost ones and I was able to successfully format my new drive

Offline

#38 2024-11-21 18:37:37

levalithan
Member
From: London
Registered: 2022-06-27
Posts: 43

Re: External HDD Power Issues / Disconnects

edit: nevermind. both drives are broken. opening steam caused them both to spit out the same error and restart a bunch. i'm starting to think the model of drive itself just might not be compatible somehow

Offline

#39 2024-11-21 18:55:00

levalithan
Member
From: London
Registered: 2022-06-27
Posts: 43

Re: External HDD Power Issues / Disconnects

the new ext4 drive is now being even more infuriating than the ntfs one. unmounting for no apparent reason.

Offline

#40 2024-11-21 19:02:52

levalithan
Member
From: London
Registered: 2022-06-27
Posts: 43

Re: External HDD Power Issues / Disconnects

Currently moving all the important stuff onto a hard drive. I'm almost certain this is either an issue with my pc's hardware or an issue with how i've set up / configured Arch Linux

edit: the issues with the new ext4 drive seem to have just been from having both of them mounted at the same time. after messing with the fstab a little it seems to work fine, steam is currently installing quake to it. i've moved all the mission-critical files and folders to a different usb stick. i'm open to trying to troubleshoot this more in case somebody has the same issue (i do have to give this back in a few days though) but I guess my advice is: "Don't bother with NTFS!!!"

Last edited by levalithan (2024-11-21 19:27:54)

Offline

#41 2024-11-21 20:10:17

levalithan
Member
From: London
Registered: 2022-06-27
Posts: 43

Re: External HDD Power Issues / Disconnects

nevermind. It's randomly disconnecting again

here's everything from the time of that

[ 5907.456704] device offline error, dev sda, sector 3905215472 op 0x1:(WRITE) flags 0x9800 phys_seg 2 prio class 2
[ 5907.456712] Aborting journal on device sda1-8.
[ 5907.456715] device offline error, dev sda, sector 3905161216 op 0x1:(WRITE) flags 0x9800 phys_seg 1 prio class 2
[ 5907.456717] device offline error, dev sda, sector 3905161216 op 0x1:(WRITE) flags 0x9800 phys_seg 1 prio class 2
[ 5907.456719] Buffer I/O error on dev sda1, logical block 488144896, lost sync page write
[ 5907.456721] JBD2: I/O error when updating journal superblock for sda1-8.
[ 5907.637299] device offline error, dev sda, sector 428083200 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[ 5907.637316] device offline error, dev sda, sector 428083200 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 5907.637374] EXT4-fs error (device sda1): ext4_journal_check_start:84: comm CJobMgr::m_Work: Detected aborted journal
[ 5907.637388] device offline error, dev sda, sector 2048 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[ 5907.637392] device offline error, dev sda, sector 2048 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[ 5907.637394] Buffer I/O error on dev sda1, logical block 0, lost sync page write
[ 5907.637397] EXT4-fs (sda1): I/O error while writing superblock
[ 5907.637399] EXT4-fs (sda1): Remounting filesystem read-only
[ 5907.699867] EXT4-fs (sda1): unmounting filesystem e374e102-e78b-46d2-b7f5-caca8a6be02d.
[ 5907.706506] sd 4:0:0:0: [sda] Synchronizing SCSI cache
[ 5907.706541] sd 4:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 5907.721763] Buffer I/O error on dev sda1, logical block 0, lost sync page write
[ 5907.721769] EXT4-fs (sda1): I/O error while writing superblock
[ 5910.885838] sd 4:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).
[ 5911.568983] sd 4:0:0:0: [sda] 7814037164 512-byte logical blocks: (4.00 TB/3.64 TiB)
[ 5911.568997] sd 4:0:0:0: [sda] 4096-byte physical blocks
[ 5911.569448] sd 4:0:0:0: [sda] Write Protect is off
[ 5911.569456] sd 4:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 5911.569889] sd 4:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 5911.694650]  sda: sda1
[ 5911.694990] sd 4:0:0:0: [sda] Attached SCSI disk

this is starting to drive me insane

edit: journalctl is showing me this

Nov 21 20:09:50 tower udisksd[771]: Error probing device: Error sending ATA command IDENTIFY DEVICE to '/dev/sda': Unexpected sense data returned:
                                    0000: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00    ................
                                    0010: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00    ................
                                     (g-io-error-quark, 0)
Nov 21 20:10:02 tower rtkit-daemon[599]: Supervising 13 threads of 8 processes of 1 users.
Nov 21 20:10:02 tower rtkit-daemon[599]: Supervising 13 threads of 8 processes of 1 users.
Nov 21 20:10:25 tower sudo[17100]:      val : TTY=pts/0 ; PWD=/home/val ; USER=root ; COMMAND=/sbin/dmesg
Nov 21 20:10:25 tower sudo[17100]: pam_unix(sudo:session): session opened for user root(uid=0) by val(uid=1000)
Nov 21 20:10:25 tower sudo[17100]: pam_unix(sudo:session): session closed for user root
Nov 21 20:10:32 tower rtkit-daemon[599]: Supervising 13 threads of 8 processes of 1 users.
Nov 21 20:10:32 tower rtkit-daemon[599]: Supervising 13 threads of 8 processes of 1 users.
Nov 21 20:10:48 tower sudo[17143]:      val : TTY=pts/0 ; PWD=/home/val ; USER=root ; COMMAND=/sbin/fsck /dev/sda1
Nov 21 20:10:48 tower sudo[17143]: pam_unix(sudo:session): session opened for user root(uid=0) by val(uid=1000)
Nov 21 20:11:16 tower sudo[17143]: pam_unix(sudo:session): session closed for user root
Nov 21 20:12:15 tower sudo[17201]:      val : TTY=pts/0 ; PWD=/home/val ; USER=root ; COMMAND=/sbin/journalctl -b
Nov 21 20:12:15 tower sudo[17201]: pam_unix(sudo:session): session opened for user root(uid=0) by val(uid=1000)
Nov 21 20:12:34 tower rtkit-daemon[599]: Supervising 13 threads of 8 processes of 1 users.
Nov 21 20:12:34 tower rtkit-daemon[599]: Supervising 13 threads of 8 processes of 1 users.
Nov 21 20:13:06 tower rtkit-daemon[599]: Supervising 13 threads of 8 processes of 1 users.
Nov 21 20:13:06 tower rtkit-daemon[599]: Supervising 13 threads of 8 processes of 1 users.

this is new? it's now just appearing and disappearing, even when it's unmounted. i don't think it's getting enough power

Last edited by levalithan (2024-11-21 20:20:12)

Offline

#42 2024-11-21 21:11:12

seth
Member
Registered: 2012-09-03
Posts: 58,722

Re: External HDD Power Issues / Disconnects

Please don't bump, edit your previous post to mend it if nobody has yet replied.

Windows is not installed on the drive. It's on a laptop i have handy in case things go wrong.

So "windows works" implies "different computer works" - that's suggesting that it's not the drive nor the cable, but either the kernel or the current hardware (usb nic)
=> Try the behavior w/ some different software stack (ie. grml)

it seems some of the USB ports on my pc are buggy

1. Is the webcam still attached?
2. not all usb ports are equal - notably usb2 would by specification be prone to provide an insufficient amount of power and it increasingly seems that it's not enough for at least this drive

lsusb -tvnn

Since you mentioned "a laptop i have" I guess this is some tower and I guess you're lazy and using some usb port on the front of it and not those directly wired on the board?
=> Try usb ports on the rear.
If this is a USB-A connection and according to https://download.gigabyte.com/FileList/ … b6f642193a the one between the HDMI and USB-C should™ be USB3, so use that. If it's USB-C, insufficient power isn't all that likely (unless it's a mis-attched panel on the front, then all things can happen)

Offline

#43 2024-11-21 21:20:12

levalithan
Member
From: London
Registered: 2022-06-27
Posts: 43

Re: External HDD Power Issues / Disconnects

Sorry, will keep that in mind

will try grml next i have time.

webcam is not still attached, I was using the rear ports on my tower the whole time. Tried all of the free ones, including a 3.1 connection, all had the same error. It is a USB-A connection. Will try that specific port later. thanks again

edit: using usb3.0 doesn't work, same error. New cable also produced same result. I can't even fsck without it disconnecting. will try other ideas soon. i am starting to suspect this may be a mobo issue

update: unplugged and re-plugged the USB header on my mobo and the drive is starting to behave a little nicer. I was able to run fsck without issue, and it's been mounted for a while without disconnecting / power cycling. will update if anything happens

update 2: it's vesktop??? the discord client??? drive behaves perfectly up until i load vesktop, then it ruins it??? i'm at a complete loss. it must be a plugin or something that's messing with it. i will try taking a look

edit: nevermind. steam is doing it as well. i feel like i'm going mad

Last edited by levalithan (Yesterday 13:12:28)

Offline

#44 Yesterday 14:06:39

levalithan
Member
From: London
Registered: 2022-06-27
Posts: 43

Re: External HDD Power Issues / Disconnects

Tried it with GRML. seems to work fine, i was able to run fsck without it crashing or disconnecting like it usually does when i try that. So at least I know it's an issue with my install / config. Just have to narrow it down now.

Offline

#45 Yesterday 16:13:31

xerxes_
Member
Registered: 2018-04-29
Posts: 787

Re: External HDD Power Issues / Disconnects

Maybe some system files are damaged; post output of command:

LC_ALL=C pacman -Qkk | grep -v ', 0 altered files'

and check your system drive with smartctl if it's not failing.

Offline

#46 Yesterday 16:56:23

levalithan
Member
From: London
Registered: 2022-06-27
Posts: 43

Re: External HDD Power Issues / Disconnects

here's the output:

warning: audit: /etc/libaudit.conf (failed to calculate SHA256 checksum)
warning: audit: /etc/audit/audisp-filter.conf (failed to calculate SHA256 checksum)
warning: audit: /etc/audit/audisp-remote.conf (failed to calculate SHA256 checksum)
warning: audit: /etc/audit/zos-remote.conf (failed to calculate SHA256 checksum)
warning: audit: /etc/audit/plugins.d/af_unix.conf (Permission denied)
warning: audit: /etc/audit/plugins.d/au-remote.conf (Permission denied)
warning: audit: /etc/audit/plugins.d/audispd-zos-remote.conf (Permission denied)
warning: audit: /etc/audit/plugins.d/filter.conf (Permission denied)
warning: audit: /etc/audit/plugins.d/syslog.conf (Permission denied)
warning: audit: /usr/share/factory/etc/libaudit.conf (failed to calculate SHA256 checksum)
warning: audit: /usr/share/factory/etc/audit/audisp-filter.conf (failed to calculate SHA256 checksum)
warning: audit: /usr/share/factory/etc/audit/audisp-remote.conf (failed to calculate SHA256 checksum)
warning: audit: /usr/share/factory/etc/audit/zos-remote.conf (failed to calculate SHA256 checksum)
warning: audit: /usr/share/factory/etc/audit/plugins.d/af_unix.conf (Permission denied)
warning: audit: /usr/share/factory/etc/audit/plugins.d/au-remote.conf (Permission denied)
warning: audit: /usr/share/factory/etc/audit/plugins.d/audispd-zos-remote.conf (Permission denied)
warning: audit: /usr/share/factory/etc/audit/plugins.d/filter.conf (Permission denied)
warning: audit: /usr/share/factory/etc/audit/plugins.d/syslog.conf (Permission denied)
warning: cups: /etc/cups/classes.conf (Permissions mismatch)
warning: cups: /etc/cups/classes.conf (failed to calculate SHA256 checksum)
warning: cups: /etc/cups/cups-files.conf (failed to calculate SHA256 checksum)
warning: cups: /etc/cups/cups-files.conf.default (failed to calculate SHA256 checksum)
warning: cups: /etc/cups/cupsd.conf (failed to calculate SHA256 checksum)
warning: cups: /etc/cups/cupsd.conf.default (failed to calculate SHA256 checksum)
warning: cups: /etc/cups/printers.conf (Permissions mismatch)
warning: cups: /etc/cups/printers.conf (failed to calculate SHA256 checksum)
warning: cups: /etc/cups/snmp.conf (failed to calculate SHA256 checksum)
warning: cups: /etc/cups/snmp.conf.default (failed to calculate SHA256 checksum)
audit: 233 total files, 18 altered files
backup file: cups: /etc/cups/printers.conf (Modification time mismatch)
warning: cups: /usr/bin/cupsd (failed to calculate SHA256 checksum)
warning: cups: /var/cache/cups/rss (Permission denied)
warning: cups: /var/spool/cups/tmp (Permission denied)
warning: cups-pdf: /usr/lib/cups/backend/cups-pdf (failed to calculate SHA256 checksum)
warning: dbus: /usr/lib/dbus-1.0/dbus-daemon-launch-helper (failed to calculate SHA256 checksum)
warning: filesystem: /etc/crypttab (failed to calculate SHA256 checksum)
warning: filesystem: /etc/gshadow (failed to calculate SHA256 checksum)
warning: filesystem: /etc/shadow (failed to calculate SHA256 checksum)
warning: filesystem: /root (Permissions mismatch)
warning: filesystem: /usr/share/factory/etc/crypttab (failed to calculate SHA256 checksum)
warning: filesystem: /usr/share/factory/etc/gshadow (failed to calculate SHA256 checksum)
warning: filesystem: /usr/share/factory/etc/shadow (failed to calculate SHA256 checksum)
backup file: cups: /etc/cups/printers.conf (Size mismatch)
cups: 947 total files, 11 altered files
cups-pdf: 17 total files, 1 altered file
dbus: 91 total files, 1 altered file
backup file: filesystem: /etc/fstab (Modification time mismatch)
backup file: filesystem: /etc/fstab (Size mismatch)
backup file: filesystem: /etc/fstab (SHA256 checksum mismatch)
backup file: filesystem: /etc/group (Modification time mismatch)
backup file: filesystem: /etc/group (Size mismatch)
backup file: filesystem: /etc/group (SHA256 checksum mismatch)
backup file: filesystem: /etc/gshadow (Modification time mismatch)
backup file: filesystem: /etc/gshadow (Size mismatch)
backup file: filesystem: /etc/nsswitch.conf (Modification time mismatch)
backup file: filesystem: /etc/nsswitch.conf (SHA256 checksum mismatch)
backup file: filesystem: /etc/passwd (Modification time mismatch)
backup file: filesystem: /etc/passwd (Size mismatch)
backup file: filesystem: /etc/passwd (SHA256 checksum mismatch)
backup file: filesystem: /etc/resolv.conf (Modification time mismatch)
backup file: filesystem: /etc/resolv.conf (Size mismatch)
backup file: filesystem: /etc/resolv.conf (SHA256 checksum mismatch)
backup file: filesystem: /etc/shadow (Modification time mismatch)
backup file: filesystem: /etc/shadow (Size mismatch)
backup file: filesystem: /etc/shells (Modification time mismatch)
backup file: filesystem: /etc/shells (Size mismatch)
backup file: filesystem: /etc/shells (SHA256 checksum mismatch)
backup file: filesystem: /etc/subgid (Modification time mismatch)
backup file: filesystem: /etc/subgid (Size mismatch)
backup file: filesystem: /etc/subgid (SHA256 checksum mismatch)
backup file: filesystem: /etc/subuid (Modification time mismatch)
backup file: filesystem: /etc/subuid (Size mismatch)
backup file: filesystem: /etc/subuid (SHA256 checksum mismatch)
filesystem: 124 total files, 7 altered files
warning: fwupd: /etc/fwupd/fwupd.conf (failed to calculate SHA256 checksum)
fwupd: 340 total files, 1 altered file
backup file: glibc: /etc/locale.gen (Modification time mismatch)
backup file: glibc: /etc/locale.gen (Size mismatch)
backup file: glibc: /etc/locale.gen (SHA256 checksum mismatch)
backup file: grub: /etc/default/grub (Modification time mismatch)
backup file: grub: /etc/default/grub (Size mismatch)
backup file: grub: /etc/default/grub (SHA256 checksum mismatch)
warning: gutenprint: /usr/lib/cups/backend/gutenprint53+usb (failed to calculate SHA256 checksum)
warning: hplip: /usr/lib/cups/backend/hp (failed to calculate SHA256 checksum)
warning: hplip: /usr/lib/cups/backend/hpfax (failed to calculate SHA256 checksum)
warning: intel-ucode: /boot/intel-ucode.img (Permissions mismatch)
warning: java-runtime-common: /usr/lib/jvm/default (Symlink path mismatch)
warning: java-runtime-common: /usr/lib/jvm/default (Modification time mismatch)
warning: java-runtime-common: /usr/lib/jvm/default-runtime (Symlink path mismatch)
warning: java-runtime-common: /usr/lib/jvm/default-runtime (Modification time mismatch)
gutenprint: 542 total files, 1 altered file
hplip: 2420 total files, 2 altered files
intel-ucode: 159 total files, 1 altered file
java-runtime-common: 21 total files, 2 altered files
warning: libutempter: /usr/lib/utempter/utempter (GID mismatch)
warning: libutempter: /usr/lib/utempter/utempter (Permissions mismatch)
libutempter: 20 total files, 1 altered file
warning: modemmanager: /usr/share/ModemManager/connection.available.d/99-log-event (failed to calculate SHA256 checksum)
warning: modemmanager: /usr/share/ModemManager/fcc-unlock.available.d/105b (failed to calculate SHA256 checksum)
warning: modemmanager: /usr/share/ModemManager/fcc-unlock.available.d/1199 (failed to calculate SHA256 checksum)
warning: modemmanager: /usr/share/ModemManager/fcc-unlock.available.d/1eac (failed to calculate SHA256 checksum)
warning: modemmanager: /usr/share/ModemManager/fcc-unlock.available.d/2c7c (failed to calculate SHA256 checksum)
warning: nethack: /usr/lib/nethack/nethack (GID mismatch)
warning: nethack: /var/games (GID mismatch)
warning: nethack: /var/games/nethack (GID mismatch)
warning: nethack: /var/games/nethack/license (GID mismatch)
warning: nethack: /var/games/nethack/license (Permissions mismatch)
warning: nethack: /var/games/nethack/logfile (GID mismatch)
warning: nethack: /var/games/nethack/logfile (Permissions mismatch)
warning: nethack: /var/games/nethack/nhdat (GID mismatch)
warning: nethack: /var/games/nethack/nhdat (Permissions mismatch)
warning: nethack: /var/games/nethack/perm (GID mismatch)
warning: nethack: /var/games/nethack/perm (Permissions mismatch)
warning: nethack: /var/games/nethack/record (GID mismatch)
warning: nethack: /var/games/nethack/record (Permissions mismatch)
warning: nethack: /var/games/nethack/symbols (GID mismatch)
warning: nethack: /var/games/nethack/symbols (Permissions mismatch)
warning: nethack: /var/games/nethack/sysconf (GID mismatch)
warning: nethack: /var/games/nethack/sysconf (Permissions mismatch)
warning: nethack: /var/games/nethack/xlogfile (GID mismatch)
warning: nethack: /var/games/nethack/xlogfile (Permissions mismatch)
warning: nethack: /var/games/nethack/save (GID mismatch)
warning: nethack: /var/games/nethack/save (Permissions mismatch)
warning: nodejs-nopt: /usr/bin/nopt (Permissions mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (Modification time mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (Size mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (SHA256 checksum mismatch)
modemmanager: 309 total files, 5 altered files
nethack: 36 total files, 12 altered files
nodejs-nopt: 30 total files, 1 altered file
warning: openssh: /usr/lib/ssh/ssh-keysign (failed to calculate SHA256 checksum)
warning: passim: /var/lib/passim (UID mismatch)
warning: passim: /var/lib/passim (GID mismatch)
warning: passim: /var/lib/passim/data (UID mismatch)
warning: passim: /var/lib/passim/data (GID mismatch)
warning: peazip-gtk2-bin: /usr/lib/peazip/pea (failed to calculate SHA256 checksum)
openssh: 81 total files, 1 altered file
backup file: pacman: /etc/pacman.conf (Modification time mismatch)
backup file: pacman: /etc/pacman.conf (Size mismatch)
backup file: pacman: /etc/pacman.conf (SHA256 checksum mismatch)
backup file: pacman: /etc/makepkg.conf.d/rust.conf (Modification time mismatch)
backup file: pacman: /etc/makepkg.conf.d/rust.conf (Size mismatch)
backup file: pacman: /etc/makepkg.conf.d/rust.conf (SHA256 checksum mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Modification time mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Size mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (SHA256 checksum mismatch)
backup file: pam: /etc/environment (Modification time mismatch)
backup file: pam: /etc/environment (Size mismatch)
backup file: pam: /etc/environment (SHA256 checksum mismatch)
passim: 72 total files, 2 altered files
peazip-gtk2-bin: 267 total files, 1 altered file
warning: ppp: /etc/ppp/chap-secrets.example (failed to calculate SHA256 checksum)
warning: ppp: /etc/ppp/eaptls-client.example (failed to calculate SHA256 checksum)
warning: ppp: /etc/ppp/eaptls-server.example (failed to calculate SHA256 checksum)
warning: ppp: /etc/ppp/pap-secrets.example (failed to calculate SHA256 checksum)
ppp: 88 total files, 4 altered files
warning: shadow: /etc/default/useradd (failed to calculate SHA256 checksum)
warning: shadow: /usr/bin/groupmems (GID mismatch)
warning: shadow: /usr/bin/groupmems (Permissions mismatch)
warning: shadow: /usr/bin/groupmems (failed to calculate SHA256 checksum)
shadow: 588 total files, 2 altered files
warning: sudo: /etc/sudoers (failed to calculate SHA256 checksum)
warning: systemd: /var/log/journal (GID mismatch)
backup file: sudo: /etc/sudoers (Modification time mismatch)
backup file: sudo: /etc/sudoers (Size mismatch)
sudo: 241 total files, 1 altered file
systemd: 1547 total files, 1 altered file
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Modification time mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Size mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (SHA256 checksum mismatch)
vlc: 977 total files, 1 altered file
warning: xppenlinux-v3: /usr/lib/pentablet/resource.rcc (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/conf/xppen (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/conf/xppen/config.xml (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/conf/xppen/config.xml (Modification time mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/conf/xppen/config.xml (Size mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/conf/xppen/config.xml (SHA256 checksum mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/conf/xppen/language.ini (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/conf/xppen/name_config.ini (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libQt5Core.so.5 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libQt5DBus.so.5 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libQt5Gui.so.5 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libQt5Network.so.5 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libQt5Widgets.so.5 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libQt5X11Extras.so.5 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libQt5XcbQpa.so.5 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libQt5Xml.so.5 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libicudata.so.56 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libicui18n.so.56 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libicuuc.so.56 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/platforms/libqxcb.so (Permissions mismatch)
warning: xppenlinux-v3: /usr/share/applications/xppentablet.desktop (Permissions mismatch)
xppenlinux-v3: 46 total files, 18 altered files 

no errors in smartctl, main drive and the external drive with issues are both being reported as fine.

Offline

#47 Yesterday 17:50:30

xerxes_
Member
Registered: 2018-04-29
Posts: 787

Re: External HDD Power Issues / Disconnects

Sorry, I forgot to tell you it should run with root rights, but I thought you would know, so once again:

LC_ALL=C sudo pacman -Qkk | grep -v ', 0 altered files'

Offline

#48 Yesterday 17:52:40

xerxes_
Member
Registered: 2018-04-29
Posts: 787

Re: External HDD Power Issues / Disconnects

Sorry, I forgot to tell you it should run with root rights, but I thought you would know, so once again:

LC_ALL=C sudo pacman -Qkk | grep -v ', 0 altered files'

Offline

#49 Yesterday 17:55:08

levalithan
Member
From: London
Registered: 2022-06-27
Posts: 43

Re: External HDD Power Issues / Disconnects

woops, my fault. here it is with sudo:

warning: cups: /etc/cups/classes.conf (Permissions mismatch)
warning: cups: /etc/cups/printers.conf (Permissions mismatch)
backup file: cups: /etc/cups/printers.conf (Modification time mismatch)
backup file: cups: /etc/cups/printers.conf (Size mismatch)
backup file: cups: /etc/cups/printers.conf (SHA256 checksum mismatch)
cups: 947 total files, 2 altered files
backup file: filesystem: /etc/fstab (Modification time mismatch)
backup file: filesystem: /etc/fstab (Size mismatch)
backup file: filesystem: /etc/fstab (SHA256 checksum mismatch)
backup file: filesystem: /etc/group (Modification time mismatch)
backup file: filesystem: /etc/group (Size mismatch)
backup file: filesystem: /etc/group (SHA256 checksum mismatch)
backup file: filesystem: /etc/gshadow (Modification time mismatch)
backup file: filesystem: /etc/gshadow (Size mismatch)
backup file: filesystem: /etc/gshadow (SHA256 checksum mismatch)
backup file: filesystem: /etc/nsswitch.conf (Modification time mismatch)
backup file: filesystem: /etc/nsswitch.conf (SHA256 checksum mismatch)
backup file: filesystem: /etc/passwd (Modification time mismatch)
backup file: filesystem: /etc/passwd (Size mismatch)
backup file: filesystem: /etc/passwd (SHA256 checksum mismatch)
backup file: filesystem: /etc/resolv.conf (Modification time mismatch)
backup file: filesystem: /etc/resolv.conf (Size mismatch)
backup file: filesystem: /etc/resolv.conf (SHA256 checksum mismatch)
backup file: filesystem: /etc/shadow (Modification time mismatch)
backup file: filesystem: /etc/shadow (Size mismatch)
backup file: filesystem: /etc/shadow (SHA256 checksum mismatch)
backup file: filesystem: /etc/shells (Modification time mismatch)
backup file: filesystem: /etc/shells (Size mismatch)
backup file: filesystem: /etc/shells (SHA256 checksum mismatch)
backup file: filesystem: /etc/subgid (Modification time mismatch)
backup file: filesystem: /etc/subgid (Size mismatch)
backup file: filesystem: /etc/subgid (SHA256 checksum mismatch)
backup file: filesystem: /etc/subuid (Modification time mismatch)
warning: filesystem: /root (Permissions mismatch)
backup file: filesystem: /etc/subuid (Size mismatch)
backup file: filesystem: /etc/subuid (SHA256 checksum mismatch)
filesystem: 124 total files, 1 altered file
backup file: glibc: /etc/locale.gen (Modification time mismatch)
backup file: glibc: /etc/locale.gen (Size mismatch)
backup file: glibc: /etc/locale.gen (SHA256 checksum mismatch)
backup file: grub: /etc/default/grub (Modification time mismatch)
backup file: grub: /etc/default/grub (Size mismatch)
backup file: grub: /etc/default/grub (SHA256 checksum mismatch)
warning: intel-ucode: /boot/intel-ucode.img (Permissions mismatch)
warning: java-runtime-common: /usr/lib/jvm/default (Symlink path mismatch)
warning: java-runtime-common: /usr/lib/jvm/default (Modification time mismatch)
warning: java-runtime-common: /usr/lib/jvm/default-runtime (Symlink path mismatch)
warning: java-runtime-common: /usr/lib/jvm/default-runtime (Modification time mismatch)
intel-ucode: 159 total files, 1 altered file
java-runtime-common: 21 total files, 2 altered files
warning: libutempter: /usr/lib/utempter/utempter (GID mismatch)
warning: libutempter: /usr/lib/utempter/utempter (Permissions mismatch)
libutempter: 20 total files, 1 altered file
warning: nethack: /usr/lib/nethack/nethack (GID mismatch)
warning: nethack: /var/games (GID mismatch)
warning: nethack: /var/games/nethack (GID mismatch)
warning: nethack: /var/games/nethack/license (GID mismatch)
warning: nethack: /var/games/nethack/license (Permissions mismatch)
warning: nethack: /var/games/nethack/logfile (GID mismatch)
warning: nethack: /var/games/nethack/logfile (Permissions mismatch)
warning: nethack: /var/games/nethack/nhdat (GID mismatch)
warning: nethack: /var/games/nethack/nhdat (Permissions mismatch)
warning: nethack: /var/games/nethack/perm (GID mismatch)
warning: nethack: /var/games/nethack/perm (Permissions mismatch)
warning: nethack: /var/games/nethack/record (GID mismatch)
warning: nethack: /var/games/nethack/record (Permissions mismatch)
warning: nethack: /var/games/nethack/symbols (GID mismatch)
warning: nethack: /var/games/nethack/symbols (Permissions mismatch)
warning: nethack: /var/games/nethack/sysconf (GID mismatch)
warning: nethack: /var/games/nethack/sysconf (Permissions mismatch)
warning: nethack: /var/games/nethack/xlogfile (GID mismatch)
warning: nethack: /var/games/nethack/xlogfile (Permissions mismatch)
warning: nethack: /var/games/nethack/save (GID mismatch)
warning: nethack: /var/games/nethack/save (Permissions mismatch)
warning: nodejs-nopt: /usr/bin/nopt (Permissions mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (Modification time mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (Size mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (SHA256 checksum mismatch)
nethack: 36 total files, 12 altered files
nodejs-nopt: 30 total files, 1 altered file
warning: passim: /var/lib/passim (UID mismatch)
warning: passim: /var/lib/passim (GID mismatch)
warning: passim: /var/lib/passim/data (UID mismatch)
warning: passim: /var/lib/passim/data (GID mismatch)
backup file: pacman: /etc/pacman.conf (Modification time mismatch)
backup file: pacman: /etc/pacman.conf (Size mismatch)
backup file: pacman: /etc/pacman.conf (SHA256 checksum mismatch)
backup file: pacman: /etc/makepkg.conf.d/rust.conf (Modification time mismatch)
backup file: pacman: /etc/makepkg.conf.d/rust.conf (Size mismatch)
backup file: pacman: /etc/makepkg.conf.d/rust.conf (SHA256 checksum mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Modification time mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Size mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (SHA256 checksum mismatch)
backup file: pam: /etc/environment (Modification time mismatch)
backup file: pam: /etc/environment (Size mismatch)
backup file: pam: /etc/environment (SHA256 checksum mismatch)
passim: 72 total files, 2 altered files
warning: shadow: /usr/bin/groupmems (GID mismatch)
warning: shadow: /usr/bin/groupmems (Permissions mismatch)
shadow: 588 total files, 1 altered file
warning: systemd: /var/log/journal (GID mismatch)
backup file: sudo: /etc/sudoers (Modification time mismatch)
backup file: sudo: /etc/sudoers (Size mismatch)
backup file: sudo: /etc/sudoers (SHA256 checksum mismatch)
systemd: 1547 total files, 1 altered file
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Modification time mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Size mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (SHA256 checksum mismatch)
vlc: 977 total files, 1 altered file
warning: xppenlinux-v3: /usr/lib/pentablet/resource.rcc (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/conf/xppen (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/conf/xppen/config.xml (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/conf/xppen/config.xml (Modification time mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/conf/xppen/config.xml (Size mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/conf/xppen/config.xml (SHA256 checksum mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/conf/xppen/language.ini (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/conf/xppen/name_config.ini (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libQt5Core.so.5 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libQt5DBus.so.5 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libQt5Gui.so.5 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libQt5Network.so.5 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libQt5Widgets.so.5 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libQt5X11Extras.so.5 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libQt5XcbQpa.so.5 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libQt5Xml.so.5 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libicudata.so.56 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libicui18n.so.56 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/lib/libicuuc.so.56 (Permissions mismatch)
warning: xppenlinux-v3: /usr/lib/pentablet/platforms/libqxcb.so (Permissions mismatch)
warning: xppenlinux-v3: /usr/share/applications/xppentablet.desktop (Permissions mismatch)
xppenlinux-v3: 46 total files, 18 altered files

Offline

#50 Yesterday 19:01:57

seth
Member
Registered: 2012-09-03
Posts: 58,722

Re: External HDD Power Issues / Disconnects

None of those look overly suspicious.
Have you tried the behavior w/ the LTS kernel?

Can you try to trigger the problem by running fsck from the multi-user.target (2nd link below)?

Offline

Board footer

Powered by FluxBB