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

Thread: SATA drive with errors

  1. #1
    Join Date
    Oct 2007
    Beans
    8

    SATA drive with errors

    I'm using a seagate ST32000542AS drive connected to the ICH7 controller of my d945gclf2 motherboard.
    When accessing the disk i'm getting errors and the drive speed is way to slow.
    I tried to disable NCQ, but that seems not to solve the problem.
    the drive is formatted as ext 4 and mounted from fstab
    Code:
    /dev/sdb1 /sg ext4 rw,noatime   0       0
    dmesg error:
    Code:
    [ 1915.354201] ata4.00: cmd 25/00:88:b7:a7:34/00:00:92:00:00/e0 tag 0 dma 69632 in
    [ 1915.354204]          res 51/84:58:e7:a7:34/84:00:92:00:00/e0 Emask 0x30 (host bus error)
    [ 1915.354220] ata4.00: status: { DRDY ERR }
    [ 1915.354226] ata4.00: error: { ICRC ABRT }
    [ 1915.354245] ata4: soft resetting link
    [ 1915.532406] ata4.00: configured for UDMA/33
    [ 1915.532437] ata4: EH complete
    [ 1915.728042] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
    [ 1915.728052] ata4.00: BMDMA stat 0x26
    [ 1915.728061] ata4.00: failed command: READ DMA EXT
    [ 1915.728077] ata4.00: cmd 25/00:00:b7:e8:34/00:02:92:00:00/e0 tag 0 dma 262144 in
    lcpci
    Code:
    00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
    00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
    00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 01)
    00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 01)
    00:1d.0 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 01)
    00:1d.1 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
    00:1d.2 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
    00:1d.3 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
    00:1d.7 USB controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01)
    00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
    00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
    00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
    00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA Controller [IDE mode] (rev 01)
    00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
    hdparm -tT /dev/sdb
    Code:
    /dev/sdb:
     Timing cached reads:   1080 MB in  2.00 seconds = 539.48 MB/sec
     Timing buffered disk reads:  34 MB in  3.11 seconds =  10.94 MB/sec
    What can I do to get normal speeds (w/o errors) and the drive in udma 5,6 or7 mode.

  2. #2
    Join Date
    Jul 2005
    Beans
    2,047

    Re: SATA drive with errors

    ~
    Last edited by ahallubuntu; June 24th, 2013 at 01:26 AM.

  3. #3
    Join Date
    Oct 2007
    Beans
    8

    Re: SATA drive with errors

    Quote Originally Posted by ahallubuntu View Post
    Check the drive's S.M.A.R.T. status and make sure it's not actually failing. Install GSmartControl in Ubuntu and check the Attributes tab to see if any Attributes are highlighted in pink or red. If not, the drive itself is probably not failing.
    I already tested it with smartclt but all things seems fine, no errors reported.

  4. #4
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: SATA drive with errors

    Check the SATA cable, as a dodgy one can lead to this sort of problem.
    Cheesemill

  5. #5
    Join Date
    Jun 2007
    Beans
    14,783

    Re: SATA drive with errors

    ^In addition to trying a different cable (and different SATA port), I would look at SATA settings in the BIOS. In my experience, some SATA controllers work better by changing that setting (AHCI, IDE, SATA, etc.), especially with multiple SATA devices.

  6. #6
    Join Date
    Oct 2007
    Beans
    8

    Re: SATA drive with errors

    Quote Originally Posted by Temüjin View Post
    ^In addition to trying a different cable (and different SATA port), I would look at SATA settings in the BIOS. In my experience, some SATA controllers work better by changing that setting (AHCI, IDE, SATA, etc.), especially with multiple SATA devices.
    I tried a different cable w/o succes.
    Bios setting are: ATA/IDE : native,
    tried with setting 'use sata' without any effort.
    now trying to backup and format, mabye it's a corrupt filesystem, or is that not possible?

  7. #7
    Join Date
    Jan 2006
    Beans
    272
    Distro
    Ubuntu

    Re: SATA drive with errors

    Do you have 32-bit transfer enabled for that hard drive? Not sure if they still have the option of doing 16-bit transfers in modern BIOS but if they do and it's set to that, 32-bit should offer a bit of an improvement in performance.

  8. #8
    Join Date
    Oct 2007
    Beans
    8

    Re: SATA drive with errors

    Quote Originally Posted by UbuntuRaptor View Post
    Do you have 32-bit transfer enabled for that hard drive? Not sure if they still have the option of doing 16-bit transfers in modern BIOS but if they do and it's set to that, 32-bit should offer a bit of an improvement in performance.
    I don't have an option for 16 bit, so I guess it will be 32 by default (it's an 32 bits os/cpu)
    currently copying files, but at a very slow transfer rate, it seems that the drive can't be accessed continuously
    Code:
    Jun 18 20:01:16 tweety kernel: [ 2122.952386] ata4.00: configured for UDMA/33
    Jun 18 20:01:16 tweety kernel: [ 2122.952417] ata4: EH complete
    Jun 18 20:01:17 tweety kernel: [ 2122.985546] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
    Jun 18 20:01:17 tweety kernel: [ 2122.985561] ata4.00: BMDMA stat 0x26
    Jun 18 20:01:17 tweety kernel: [ 2122.985574] ata4.00: failed command: READ DMA
    Jun 18 20:01:17 tweety kernel: [ 2122.985597] ata4.00: cmd c8/00:00:bf:93:da/00:00:00:00:00/e0 tag 0 dma 131072 in
    Jun 18 20:01:17 tweety kernel: [ 2122.985602]          res 51/84:80:3f:94:da/84:01:00:00:00/e0 Emask 0x30 (host bus error)
    Jun 18 20:01:17 tweety kernel: [ 2122.985615] ata4.00: status: { DRDY ERR }
    Jun 18 20:01:17 tweety kernel: [ 2122.985624] ata4.00: error: { ICRC ABRT }
    Jun 18 20:01:17 tweety kernel: [ 2122.985648] ata4: soft resetting link
    after the soft reset link it holds up for some seconds

  9. #9
    Join Date
    Jan 2006
    Beans
    272
    Distro
    Ubuntu

    Re: SATA drive with errors

    I don't have an option for 16 bit, so I guess it will be 32 by default (it's an 32 bits os/cpu)
    That's unrelated.

    configured for UDMA/33
    Why UDMA/33?

    Maybe you should set the BIOS back to its default settings and then try again if you haven't already?
    Can you link me to the manual for your mainboard?

  10. #10
    Join Date
    Oct 2007
    Beans
    8

    Re: SATA drive with errors

    Quote Originally Posted by UbuntuRaptor View Post
    That's unrelated.

    Why UDMA/33?
    Maybe you should set the BIOS back to its default settings and then try again if you haven't already?
    Can you link me to the manual for your mainboard?
    I think it's the lowest fallback that the drive/controller supports.
    In the bios there are no options to set, see this link:
    http://downloadmirror.intel.com/1696...ProdSpec02.pdf
    Copied yesterday 16G of pictures to my external hd wich took more then 3 hours.
    I heard the head of the hd spinning and slow down every x seconds which was related to the error log (syslog)

Page 1 of 2 12 LastLast

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
  •