WRITE_DMA errors on SATA drive under 5.3-RELEASE

Ask a Question related to FreeBSD, Design and Development.

  1. #1

    Default WRITE_DMA errors on SATA drive under 5.3-RELEASE

    I've gotten two messages like the ones below today on my production server
    (5.3-RELEASE):

    messages:Feb 27 14:48:17 freebie kernel: ad10: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=4848803
    messages:Feb 27 14:48:17 freebie kernel: ad10: FAILURE - WRITE_DMA timed out

    What do these messages mean? The referenced drive is one of two identical SATA
    drives on the server; it holds /tmp and /var. I don't recall seeing
    these messages before.

    Is there a way to work backwards from the LBA to the filesystem so that
    I can see which file was being referenced when this occurred?

    --
    Anthony


    Anthony Atkielski Guest

  2. Similar Questions and Discussions

    1. SATA Drive
      On Mon, 06 Mar 2006 01:09:16 -0800, John & Mary Cook wrote: No reason it shouldn't. That was one of the choices I was given when I bought my...
    2. Problem - Red Hata 9 - na SATA 150 jak zainstalować
      wczoraj stawiałem Red Hata 9 niestety bez powodzenia Sam serwer t.j P IV 3GHz, 1GB DDR/400Hz, HDD 120GB Barakuda VII /7200/8MB/SATA płyt ASUS...
    3. SATA drives
      Hello Can SATA drives be used in REDHAT, am running mandrake 9.1 for the moment and this system is unable to mount and run SATA drives is redhat...
    4. Slackware 9.0 and SATA Drive
      I am trying to install Slackware 9.0 on a new PC (Dell Optiplex GX270). It has a Seagate 120GB SATA drive. I used the bare.i bootdisk, and it...
    5. OT: WD Raptor SATA Harddrive
      Hi, I was wondering if any of you haevy graphics users out there have recently bought a new harddrive and if you are familiar with the Western...
  3. #2

    Default Re: WRITE_DMA errors on SATA drive under 5.3-RELEASE

    On Sun, Feb 27, 2005 at 03:53:30PM +0100, Anthony Atkielski wrote:
    > messages:Feb 27 14:48:17 freebie kernel: ad10: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=4848803
    > messages:Feb 27 14:48:17 freebie kernel: ad10: FAILURE - WRITE_DMA timed out
    [...]
    > Is there a way to work backwards from the LBA to the filesystem so that
    > I can see which file was being referenced when this occurred?
    Theoretically, one could use 'fsdb -r' in a scripted manner, to
    generate a mapping of file names to blocks (relative to the partition
    of the file system you are mapping). Once you have the blocks, you'll
    need to do so artithmetics to map those blocks to LBA address ranges
    (perhaps via GEOM or using data in disklabels). Finally, you'll have
    to locate the range for a particular LBA address and work backwards
    up to the inode #, and then to the filename(s) that link to that inode.

    Perhaps there's already a system utility or port for this? It would be
    really useful!
    > Anthony
    Cheers,
    -cpghost.

    --
    Cordula's Web. [url]http://www.cordula.ws/[/url]
    cpghost@cordula.ws Guest

  4. #3

    Default Re: WRITE_DMA errors on SATA drive under 5.3-RELEASE

    [email]cpghost@cordula.ws[/email] writes:
    > Theoretically, one could use 'fsdb -r' in a scripted manner, to
    > generate a mapping of file names to blocks (relative to the partition
    > of the file system you are mapping). Once you have the blocks, you'll
    > need to do so artithmetics to map those blocks to LBA address ranges
    > (perhaps via GEOM or using data in disklabels). Finally, you'll have
    > to locate the range for a particular LBA address and work backwards
    > up to the inode #, and then to the filename(s) that link to that inode.
    Sounds complicated. Surely I'm not the first person to wish for such a
    utility ... in UNIXland, there seems to be a command for just about
    every conceivable purpose (?).
    > Perhaps there's already a system utility or port for this? It would be
    > really useful!
    I'm mainly worried about exactly what the system was trying to write at
    the time. It's not clear from the message whether the write succeeded
    or not.

    --
    Anthony


    Anthony Atkielski Guest

  5. #4

    Default Re: WRITE_DMA errors on SATA drive under 5.3-RELEASE

    On Sun, Feb 27, 2005 at 05:19:32PM +0100, Anthony Atkielski wrote:
    > [email]cpghost@cordula.ws[/email] writes:
    >
    > > Theoretically, one could use 'fsdb -r' in a scripted manner, to
    > > generate a mapping of file names to blocks (relative to the partition
    > > of the file system you are mapping). Once you have the blocks, you'll
    > > need to do so artithmetics to map those blocks to LBA address ranges
    > > (perhaps via GEOM or using data in disklabels). Finally, you'll have
    > > to locate the range for a particular LBA address and work backwards
    > > up to the inode #, and then to the filename(s) that link to that inode.
    >
    > Sounds complicated. Surely I'm not the first person to wish for such a
    > utility ... in UNIXland, there seems to be a command for just about
    > every conceivable purpose (?).
    Or you could write the missing ones :-).

    Actually, it's not that hard. You need three mappings:

    1. (lba address, (filesystem, block #))
    2. ((filesystem, block #), (filesystem, inode #))
    3. ((filesystem, inode #), (list of filenames linking to inode #))

    Each of those mappings could be done and displayed by a single
    utility. Combining all three into a lba2filenames program would
    then be trivial.
    > > Perhaps there's already a system utility or port for this? It would be
    > > really useful!
    >
    > I'm mainly worried about exactly what the system was trying to write at
    > the time. It's not clear from the message whether the write succeeded
    > or not.
    Yes, that's exactly my concern too.
    > --
    > Anthony
    -cpghost.

    --
    Cordula's Web. [url]http://www.cordula.ws/[/url]
    cpghost@cordula.ws Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139