You are not logged in.
I think I need to rebuild my /etc/ld.so.cache from scratch.
Can I do it with a blank /etc/ld.so.conf? Or should I use a minimal
# cat /etc/ld.so.conf
/usr/lib32The output of any one line from
/etc/ld.so.conf.d/*.confinto
ldconfig -nNX produces the same error. There are no trailing blanks in any line.
Alternatively, I could reinstall ldconfig. How do I use pacman to find out what package holds it? (I need this method for later....) I expect it is in the base group???
Last edited by OrigBitmancer (2020-03-09 20:02:57)
Offline
Offline
Or just `pacman -Qo /bin/ldconfig` given that it's already installed.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thank you, Trilby and Slithery. I found ldconfig was a member of the glibc package.
My next step was to reinstall glibc. It had these results:
(1/1) reinstalling glibc
Generating locales...
en_US.UTF-8... done
en_US.ISO-8859-1... done
Generation complete.
/tmp/alpm_9Msspz/.INSTALL: line 1: 37367 Bus error (core dumped) ldconfig -r .
error: command failed to execute correctly
error: command terminated by signal 7: Bus error
:: Running post-transaction hooks...
(1/7) Reloading system manager configuration...
(2/7) Creating temporary files...
error: command failed to execute correctly
(3/7) Arming ConditionNeedsUpdate...
...The alpm error looks interesting, but it may be a side effect.
I have 2 e-cents. May I buy another clue?
Offline
error: command terminated by signal 7: Bus errorWhat is the output of dmesg after you reinstalled glibc?
Particularly relating to the storage device.
Last edited by loqs (2019-12-06 03:20:28)
Offline
Yikes! Thanks, loqs! Looks like something is wrong with my main 2TB disk!
[86857.894556] ata5.00: exception Emask 0x0 SAct 0x3000000c SErr 0x0 action 0x0
[86857.894562] ata5.00: irq_stat 0x40000008
[86857.894566] ata5.00: failed command: READ FPDMA QUEUED
[86857.894573] ata5.00: cmd 60/08:18:90:9c:90/00:00:01:00:00/40 tag 3 ncq dma 4096 in
res 41/40:00:90:9c:90/00:00:01:00:00/40 Emask 0x409 (media error) <F>
[86857.894575] ata5.00: status: { DRDY ERR }
[86857.894577] ata5.00: error: { UNC }
[86857.895126] ata5.00: SB600 AHCI: limiting to 255 sectors per cmd
[86857.895666] ata5.00: SB600 AHCI: limiting to 255 sectors per cmd
[86857.895669] ata5.00: configured for UDMA/133
[86857.895713] sd 4:0:0:0: [sdc] tag#3 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[86857.895717] sd 4:0:0:0: [sdc] tag#3 Sense Key : Medium Error [current]
[86857.895720] sd 4:0:0:0: [sdc] tag#3 Add. Sense: Unrecovered read error - auto reallocate failed
[86857.895724] sd 4:0:0:0: [sdc] tag#3 CDB: Read(10) 28 00 01 90 9c 90 00 00 08 00
[86857.895728] blk_update_request: I/O error, dev sdc, sector 26254480 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[86857.895782] ata5: EH completeIs this the drive or the controller?
Offline
Offline
What am I looking for in the SMART results? I ran them several hours ago....
Offline
The status matrix of "smartctl -a /dev/sdc" - it's gonna report several values reg. crc errors, reallocations, pending sectors…
Offline
Ok. Will drop it in 12 hours or so.
Offline
I can no longer research this topic as I have had to rebuild the system twice since then. Thanks to all for help.
Offline