You are not logged in.

#1 2022-11-22 17:04:15

bchachar
Member
Registered: 2022-11-22
Posts: 1

possible hard disk failure

Dear All,
I am very bad at troubleshooting archlinux.
I am using archlinux on Dell Inspiron 5559 laptop.
The problem in short is that my laptop does not detect hard disk during booting even though i have replaced 2 hard disks. But same hard disks are available in linux live mode and i can even install endeavour os [because its easier to install it frequently for testing purpose] but when it comes to booting either hard disk is not detected or bootloader is missing.
I had some bad sectors and i would run fsck time to time to get going until it didn't help to recover.
I am unable to pin point the issue so i have pasted the output of following command at the end.

sudo dmesg -l err > dmesg-err.txt


I have tried so many things over the week but nothing has helped me.

  • I thought my ssd is not working so i replaced it with a 2 sata hard disk

  • I have downgraded my kernel from linux to linux-lts

  • I have updated my bios to the latest ones

  • I am able to access same ssd and hard disk in live environment and install bootloader but when i reboot the laptop, it does not detect hard disk or if it detects hard disk the boot loader is missing.

any help is appreciated.

[    0.069400] DMAR: [Firmware Bug]: No firmware reserved region can cover this RMRR [0x0000000079800000-0x000000007bffffff], contact BIOS vendor for fixes
[    0.095149] x86/cpu: SGX disabled by BIOS.
[    2.859296] ata1.00: exception Emask 0x52 SAct 0x3c403000 SErr 0x440c01 action 0x6 frozen
[    2.859300] ata1.00: irq_stat 0x08000000, interface fatal error
[    2.859302] ata1: SError: { RecovData Proto HostInt CommWake Handshk }
[    2.859306] ata1.00: failed command: READ FPDMA QUEUED
[    2.859308] ata1.00: cmd 60/08:60:f8:5e:38/00:00:3a:00:00/40 tag 12 ncq dma 4096 in
                        res 40/00:e8:08:a9:0f/00:00:00:00:00/40 Emask 0x52 (ATA bus error)
[    2.859313] ata1.00: status: { DRDY }
[    2.859314] ata1.00: failed command: READ FPDMA QUEUED
[    2.859315] ata1.00: cmd 60/00:68:00:cc:22/02:00:38:00:00/40 tag 13 ncq dma 262144 in
                        res 40/00:e8:08:a9:0f/00:00:00:00:00/40 Emask 0x52 (ATA bus error)
[    2.859320] ata1.00: status: { DRDY }
[    2.859321] ata1.00: failed command: READ FPDMA QUEUED
[    2.859322] ata1.00: cmd 60/08:b0:00:18:00/00:00:00:00:00/40 tag 22 ncq dma 4096 in
                        res 40/00:e8:08:a9:0f/00:00:00:00:00/40 Emask 0x52 (ATA bus error)
[    2.859326] ata1.00: status: { DRDY }
[    2.859327] ata1.00: failed command: READ FPDMA QUEUED
[    2.859328] ata1.00: cmd 60/10:d0:28:a8:0f/00:00:00:00:00/40 tag 26 ncq dma 8192 in
                        res 40/00:e8:08:a9:0f/00:00:00:00:00/40 Emask 0x52 (ATA bus error)
[    2.859332] ata1.00: status: { DRDY }
[    2.859333] ata1.00: failed command: READ FPDMA QUEUED
[    2.859334] ata1.00: cmd 60/30:d8:48:a8:0f/00:00:00:00:00/40 tag 27 ncq dma 24576 in
                        res 40/00:e8:08:a9:0f/00:00:00:00:00/40 Emask 0x52 (ATA bus error)
[    2.859338] ata1.00: status: { DRDY }
[    2.859339] ata1.00: failed command: READ FPDMA QUEUED
[    2.859340] ata1.00: cmd 60/78:e0:88:a8:0f/00:00:00:00:00/40 tag 28 ncq dma 61440 in
                        res 40/00:e8:08:a9:0f/00:00:00:00:00/40 Emask 0x52 (ATA bus error)
[    2.859344] ata1.00: status: { DRDY }
[    2.859345] ata1.00: failed command: READ FPDMA QUEUED
[    2.859345] ata1.00: cmd 60/f8:e8:08:a9:0f/00:00:00:00:00/40 tag 29 ncq dma 126976 in
                        res 40/00:e8:08:a9:0f/00:00:00:00:00/40 Emask 0x52 (ATA bus error)
[    2.859349] ata1.00: status: { DRDY }
[    3.337324] I/O error, dev sda, sector 976772856 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[    3.337349] I/O error, dev sda, sector 941804544 op 0x0:(READ) flags 0x80700 phys_seg 6 prio class 0
[    3.337382] I/O error, dev sda, sector 6144 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[    3.337401] I/O error, dev sda, sector 1026088 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 0
[    3.337417] I/O error, dev sda, sector 1026120 op 0x0:(READ) flags 0x80700 phys_seg 6 prio class 0
[    3.337428] I/O error, dev sda, sector 1026184 op 0x0:(READ) flags 0x80700 phys_seg 15 prio class 0
[    3.337439] I/O error, dev sda, sector 1026312 op 0x0:(READ) flags 0x80700 phys_seg 31 prio class 0
[    5.026074] ata1.00: exception Emask 0x52 SAct 0x100000 SErr 0x440c01 action 0x6 frozen
[    5.026140] ata1.00: irq_stat 0x08000000, interface fatal error
[    5.027419] ata1: SError: { RecovData Proto HostInt CommWake Handshk }
[    5.028710] ata1.00: failed command: READ FPDMA QUEUED
[    5.029994] ata1.00: cmd 60/00:a0:00:24:99/02:00:08:00:00/40 tag 20 ncq dma 262144 in
                        res 40/00:a0:00:24:99/00:00:08:00:00/40 Emask 0x52 (ATA bus error)
[    5.031987] ata1.00: status: { DRDY }
[    5.454222] I/O error, dev sda, sector 144253952 op 0x0:(READ) flags 0x80700 phys_seg 23 prio class 0
[   12.444716] tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xfed40000-0xfed4087f flags 0x200] vs fed40080 f80
[   12.445344] tpm_crb MSFT0101:00: [Firmware Bug]: ACPI region does not cover the entire command/response buffer. [mem 0xfed40000-0xfed4087f flags 0x200] vs fed40080 f80
[   12.499607] ata1.00: exception Emask 0x52 SAct 0xa002002 SErr 0x440c01 action 0x6 frozen
[   12.501801] ata1.00: irq_stat 0x08000000, interface fatal error
[   12.504397] ata1: SError: { RecovData Proto HostInt CommWake Handshk }
[   12.507021] ata1.00: failed command: READ FPDMA QUEUED
[   12.509354] ata1.00: cmd 60/f8:08:08:29:99/00:00:08:00:00/40 tag 1 ncq dma 126976 in
                        res 40/00:68:08:d1:22/00:00:38:00:00/40 Emask 0x52 (ATA bus error)
[   12.513966] ata1.00: status: { DRDY }
[   12.516269] ata1.00: failed command: READ FPDMA QUEUED
[   12.517609] ata1.00: cmd 60/f8:68:08:d1:22/00:00:38:00:00/40 tag 13 ncq dma 126976 in
                        res 40/00:68:08:d1:22/00:00:38:00:00/40 Emask 0x52 (ATA bus error)
[   12.519584] ata1.00: status: { DRDY }
[   12.520646] ata1.00: failed command: READ FPDMA QUEUED
[   12.521631] ata1.00: cmd 60/00:c8:00:a4:0f/02:00:00:00:00/40 tag 25 ncq dma 262144 in
                        res 40/00:68:08:d1:22/00:00:38:00:00/40 Emask 0x52 (ATA bus error)
[   12.523794] ata1.00: status: { DRDY }
[   12.524846] ata1.00: failed command: READ FPDMA QUEUED
[   12.524849] ata1.00: cmd 60/08:d8:00:00:00/00:00:00:00:00/40 tag 27 ncq dma 4096 in
                        res 40/00:68:08:d1:22/00:00:38:00:00/40 Emask 0x52 (ATA bus error)
[   12.524868] ata1.00: status: { DRDY }
[   12.779258] Module pcspkr is blacklisted
[   12.936963] I/O error, dev sda, sector 144255240 op 0x0:(READ) flags 0x80700 phys_seg 19 prio class 0
[   12.943649] I/O error, dev sda, sector 941805832 op 0x0:(READ) flags 0x80700 phys_seg 21 prio class 0
[   12.949370] I/O error, dev sda, sector 1025024 op 0x0:(READ) flags 0x80700 phys_seg 56 prio class 0
[   12.952045] I/O error, dev sda, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[   13.986198] ata1.00: exception Emask 0x52 SAct 0x7de0000 SErr 0x440c01 action 0x6 frozen
[   13.987889] ata1.00: irq_stat 0x0c000000, interface fatal error
[   13.989580] ata1: SError: { RecovData Proto HostInt CommWake Handshk }
[   13.991195] ata1.00: failed command: READ FPDMA QUEUED
[   13.992823] ata1.00: cmd 60/00:88:00:5c:38/02:00:3a:00:00/40 tag 17 ncq dma 262144 in
                        res 40/00:d0:77:a4:0f/00:00:00:00:00/40 Emask 0x52 (ATA bus error)
[   13.996168] ata1.00: status: { DRDY }
[   13.997848] ata1.00: failed command: READ FPDMA QUEUED
[   13.999525] ata1.00: cmd 60/01:90:70:a4:0f/00:00:00:00:00/40 tag 18 ncq dma 512 in
                        res 40/00:d0:77:a4:0f/00:00:00:00:00/40 Emask 0x52 (ATA bus error)
[   14.002885] ata1.00: status: { DRDY }
[   14.004544] ata1.00: failed command: READ FPDMA QUEUED
[   14.006192] ata1.00: cmd 60/01:98:71:a4:0f/00:00:00:00:00/40 tag 19 ncq dma 512 in
                        res 40/00:d0:77:a4:0f/00:00:00:00:00/40 Emask 0x52 (ATA bus error)
[   14.009712] ata1.00: status: { DRDY }
[   14.012294] ata1.00: failed command: READ FPDMA QUEUED
[   14.014964] ata1.00: cmd 60/01:a0:72:a4:0f/00:00:00:00:00/40 tag 20 ncq dma 512 in
                        res 40/00:d0:77:a4:0f/00:00:00:00:00/40 Emask 0x52 (ATA bus error)
[   14.020127] ata1.00: status: { DRDY }
[   14.022698] ata1.00: failed command: READ FPDMA QUEUED
[   14.025249] ata1.00: cmd 60/01:b0:73:a4:0f/00:00:00:00:00/40 tag 22 ncq dma 512 in
                        res 40/00:d0:77:a4:0f/00:00:00:00:00/40 Emask 0x52 (ATA bus error)
[   14.030406] ata1.00: status: { DRDY }
[   14.032963] ata1.00: failed command: READ FPDMA QUEUED
[   14.035469] ata1.00: cmd 60/01:b8:74:a4:0f/00:00:00:00:00/40 tag 23 ncq dma 512 in
                        res 40/00:d0:77:a4:0f/00:00:00:00:00/40 Emask 0x52 (ATA bus error)
[   14.040560] ata1.00: status: { DRDY }
[   14.043101] ata1.00: failed command: READ FPDMA QUEUED
[   14.045277] ata1.00: cmd 60/01:c0:75:a4:0f/00:00:00:00:00/40 tag 24 ncq dma 512 in
                        res 40/00:d0:77:a4:0f/00:00:00:00:00/40 Emask 0x52 (ATA bus error)
[   14.049664] ata1.00: status: { DRDY }
[   14.052281] ata1.00: failed command: READ FPDMA QUEUED
[   14.055068] ata1.00: cmd 60/01:c8:76:a4:0f/00:00:00:00:00/40 tag 25 ncq dma 512 in
                        res 40/00:d0:77:a4:0f/00:00:00:00:00/40 Emask 0x52 (ATA bus error)
[   14.081110] ata1.00: status: { DRDY }
[   14.082116] ata1.00: failed command: READ FPDMA QUEUED
[   14.083213] ata1.00: cmd 60/01:d0:77:a4:0f/00:00:00:00:00/40 tag 26 ncq dma 512 in
                        res 40/00:d0:77:a4:0f/00:00:00:00:00/40 Emask 0x52 (ATA bus error)
[   14.085057] ata1.00: status: { DRDY }
[   14.473464] I/O error, dev sda, sector 976772096 op 0x0:(READ) flags 0x80700 phys_seg 45 prio class 0
[   38.714183] debugfs: File 'radeon_ring_gfx' in directory '0' already present!
[   38.714202] debugfs: File 'radeon_ring_cp1' in directory '0' already present!
[   38.714217] debugfs: File 'radeon_ring_cp2' in directory '0' already present!
[   38.714230] debugfs: File 'radeon_ring_dma1' in directory '0' already present!
[   38.714245] debugfs: File 'radeon_ring_dma2' in directory '0' already present!
[   67.434262] debugfs: File 'radeon_ring_gfx' in directory '0' already present!
[   67.434266] debugfs: File 'radeon_ring_cp1' in directory '0' already present!
[   67.434268] debugfs: File 'radeon_ring_cp2' in directory '0' already present!
[   67.434270] debugfs: File 'radeon_ring_dma1' in directory '0' already present!
[   67.434272] debugfs: File 'radeon_ring_dma2' in directory '0' already present!

Offline

#2 2022-11-22 17:08:55

d.ALT
Member
Registered: 2019-05-10
Posts: 383

Re: possible hard disk failure

https://wiki.archlinux.org/title/S.M.A.R.T.
Start with this:

# smartctl -t short /dev/sda

Then post here output of:

smartctl -H /dev/sda

Last edited by d.ALT (2022-11-22 17:09:10)


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2022-11-22 17:08:58

Scimmia
Fellow
Registered: 2012-09-01
Posts: 9,838

Re: possible hard disk failure

So the problem is that you can't load your bootloader? What are you using and how did you install and configure it?

Offline

#4 2022-11-22 18:31:15

seth
Member
Registered: 2012-09-03
Posts: 33,685

Re: possible hard disk failure

You wrote:

i have replaced 2 hard disks

The kernel wrote:

ATA bus error

It's impossible to say what previously was the problem, but right now, either the drives require too much spin-up power or you botched the replacement (notebook equivalent of badly seated/broken cable)

Offline

Board footer

Powered by FluxBB