Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Problems with HDD unrelated to SATA cable.

  1. #1
    Join Date
    Aug 2020
    Beans
    11

    Problems with HDD unrelated to SATA cable.

    These are the logs when booting the system. Sometimes after a system reboot, the Ubuntu boot thing disappears from BIOS/UEFI.

    These are the results from a full drive check for corrupted blocks

    And this is my previous thread about this issue of mine

    Code:
    blk_update_request: I/O error, dev sda, sector 614673024 op 0x0:(READ) flags 0x80700 phys_seg 33 prio class 0
    ata2.00: status: { DRDY }
    ata2.00: cmd 60/00:f0:80:2a:a3/08:00:24:00:00/40 tag 30 ncq dma 1048576 in
    res 40/00:f0:80:2a:a3/00:00:24:00:00/40 Emask 0x10 (ATA bus error)
    ata2.00: failed command: READ FPDMA QUEUED
    ata2.00: status: { DRDY }
    ata2.00: cmd 61/10:88:30:5f:1d/04:00:3a:00:00/40 tag 17 ncq dma 532480 out
    res 40/00:f0:80:2a:a3/00:00:24:00:00/40 Emask 0x10 (ATA bus error)
    ata2.00: failed command: WRITE FPDMA QUEUED
    ata2.00: status: { DRDY }
    ata2.00: cmd 61/b8:18:48:45:f0/02:00:29:00:00/40 tag 3 ncq dma 356352 out
    res 40/00:f0:80:2a:a3/00:00:24:00:00/40 Emask 0x10 (ATA bus error)
    ata2.00: failed command: WRITE FPDMA QUEUED
    ata2.00: status: { DRDY }
    ata2.00: cmd 61/48:10:00:40:f0/05:00:29:00:00/40 tag 2 ncq dma 692224 out
    res 40/00:f0:80:2a:a3/00:00:24:00:00/40 Emask 0x10 (ATA bus error)
    ata2.00: failed command: WRITE FPDMA QUEUED
    ata2.00: status: { DRDY }
    ata2.00: cmd 61/08:08:d0:65:95/00:00:4d:00:00/40 tag 1 ncq dma 4096 out
    res 40/00:f0:80:2a:a3/00:00:24:00:00/40 Emask 0x10 (ATA bus error)
    ata2.00: failed command: WRITE FPDMA QUEUED
    ata2.00: status: { DRDY }
    ata2.00: cmd 61/a8:00:58:dd:f0/02:00:29:00:00/40 tag 0 ncq dma 348160 out
    res 40/00:f0:80:2a:a3/00:00:24:00:00/40 Emask 0x10 (ATA bus error)
    ata2.00: failed command: WRITE FPDMA QUEUED
    ata2: SError: { Handshk }
    ata2.00: irq_stat 0x08000000, interface fatal error
    ata2.00: exception Emask 0x10 SAct 0x4002000f SErr 0x400000 action 0x6 frozen
    I would like to know if this is fixable, or if the problem will go away after swapping out the HDD.

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Problems with HDD unrelated to SATA cable.

    Any SMART data?

  3. #3
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Problems with HDD unrelated to SATA cable.

    OP has burned a lot of energy in trying to crack this problem. Even to changing motherboard.

    Following logs for debugging is difficult and I look for patterns or snippets of the log to try searches for related threads.

    Found this .. https://bbs.archlinux.org/viewtopic.php?id=182098

    Read final post in above giving link to a rather complex thread (way, way beyond my ken) ..

    https://askubuntu.com/questions/1459...ameter-modding

    ...

    Now all of the above side research might be a complete red herring.


    [P.S.] And this thread suggests looking into BIOS settibgs.
    Last edited by dragonfly41; August 25th, 2020 at 11:26 AM. Reason: added another link found .. re BIOS

  4. #4
    Join Date
    May 2010
    Beans
    1,465

    Re: Problems with HDD unrelated to SATA cable.

    If you grab the Ultimate Boot CD you can test your drive using the manufacturers tool to make sure the drive is healthy

  5. #5
    Join Date
    Aug 2020
    Beans
    11

    Re: Problems with HDD unrelated to SATA cable.

    SMART is perfectly normal, except the number of turn ons/offs is a bit high because of my problems that cause me to force shutdown.

    Drive was tested with some Windows Software, it is in the posts reddit link.

    As for the threads that you gave me, sadly I went through all of them when this problem appeared. No issues mentioned there relate to mine
    ASrock Bios settings don't have a way to change the speed of the controller and frankly, there doesn't seem to be an issue with speed.
    On previously mentioned drive test, my HDD got 175Mb/s which is quite fast and what is should roughly be.

    I'm really at loss as to what is happening with it.

    I should also mention that the drive was RMAed and tested by the seller. Drive was found to be in a normal state although the testing that they did couldn't probably notice such an issue.

    The drive appears to "die" when there is a semi constant stream of data being recovered from it. Such as grabbing cached textures from HDD into the GPU while gaming.

    While the system is basically on hold in terms of HDD, HDD doesn't seem to "die".

    On windows it was "dying" without me doing anything. I suspect that was because of windows doing a lot of loading and storing action on boot and after boot.


    I also must mention that after experiencing said issues on Windows I switched to Linux (that's why I'm even on Linux in the first place, though I like it here)

    After the switch there were no issues for a few months and then they began, seemingly out of nowhere.

    Hmm, after the drive "dies" it boots into initframs(or something like that) after typing exit it says that the drive requires a manual fsck on /dev/sda2 which is my main partition.

    Should I dump the things that fsck fixes here?

  6. #6
    Join Date
    Jun 2007
    Beans
    14,470

    Re: Problems with HDD unrelated to SATA cable.

    Try booting with "libata.force=noncq"

  7. #7
    Join Date
    Aug 2020
    Beans
    11

    Re: Problems with HDD unrelated to SATA cable.

    I'm sorry but if you can, please tell me how can I do that and briefly what it does?

  8. #8
    Join Date
    Jun 2007
    Beans
    14,470

    Re: Problems with HDD unrelated to SATA cable.

    https://askubuntu.com/questions/1948...boot-parameter

    It should disable NCQ, which the error messages refer to. It may be causing the issue (or it may just be a symptom).

  9. #9
    Join Date
    Aug 2020
    Beans
    11

    Re: Problems with HDD unrelated to SATA cable.

    Will this solution have any downsides?

  10. #10
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Problems with HDD unrelated to SATA cable.

    As for the threads that you gave me, sadly I went through all of them when this problem appeared. No issues mentioned there relate to mine.
    I would just like to point to second link in my post #3 earlier which also refers to "libata.force".
    I have no idea if it will help .. but perhaps some side research into this might be helpful.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •