Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2014 19:46:26 +0200
From:      Stefan Esser <se@freebsd.org>
To:        jim@nasby.net
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Fwd: GEOM_MIRROR: Synchronization request failed (error=5).
Message-ID:  <537F8972.40104@freebsd.org>
In-Reply-To: <F1593A08-688F-4258-AB67-4F8BCA0E65A1@nasby.net>
References:  <20A5D934-D95B-4650-9DD3-2879D7FC016B@nasby.net> <F1593A08-688F-4258-AB67-4F8BCA0E65A1@nasby.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 23.05.2014 19:16, schrieb Jim Nasby:
> Didn’t get an answer on -questions… can anyone shed some light on this?
> 
> Begin forwarded message:
> 
>> From: Jim Nasby <jim@nasby.net>
>> Subject: Re: GEOM_MIRROR: Synchronization request failed (error=5).
>> Date: May 18, 2014 at 1:25:37 PM CDT
>> To: freebsd-questions@freebsd.org
>>
>> On May 18, 2014, at 1:17 PM, Jim Nasby <jim@nasby.net> wrote:
>>> Trying to add a disk to an existing gmirror (which, unfortunately is sitting on a GPT partitioned drive):
>>>
>>> GEOM_MIRROR: Synchronization request failed (error=5). ad4[WRITE(offset=141343457280, length=131072)]
>>>
>>> Does this mean the new drive (ad4) is bad? smartmon doesn’t show anything and a quick bonnie++ test was OK.
>>
>> More info:
>>
>> Here’s what was in /var/log/messages right before that error:
>>
>> May 18 17:36:13 noel kernel: GEOM_MIRROR: Device gm1: rebuilding provider ad4.
>> May 18 17:58:39 noel kernel: ad4: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=276061440
>> May 18 17:58:39 noel kernel: ad4: FAILURE - WRITE_DMA48 status=51<READY,DSC,ERROR> error=10<NID_NOT_FOUND> LBA=276061440
>> May 18 17:58:39 noel kernel: GEOM_MIRROR: Synchronization request failed (error=5). ad4[WRITE(offset=141343457280, length=131072)]
>>
>> After this I did gmirror forget, gmirror clear and then re-inserted ad4 into the mirror. As soon as that was done I started seeing this:
>>
>> May 18 13:18:06 noel sudo:  decibel : TTY=pts/3 ; PWD=/home/decibel ; USER=root ; COMMAND=/sbin/gmirror insert gm1 ad4
>> May 18 18:18:06 noel kernel: GEOM_MIRROR: Device gm1: rebuilding provider ad4.
>> May 18 18:18:06 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=18176
>> May 18 18:18:07 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=233216
>> …
>> May 18 18:20:32 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=29618944
>> May 18 18:20:35 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=30076928
>> May 18 18:20:54 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=33539072
>>
>> Look at http://lists.freebsd.org/pipermail/freebsd-questions/2005-August/095214.html, I tried changing the mode:
>>
>> May 18 13:20:58 noel sudo:  decibel : TTY=pts/3 ; PWD=/home/decibel ; USER=root ; COMMAND=/sbin/atacontrol mode ad4
>> May 18 18:21:05 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=35777024
>> May 18 18:21:13 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=37299200
>> May 18 13:21:14 noel sudo:  decibel : TTY=pts/3 ; PWD=/home/decibel ; USER=root ; COMMAND=/sbin/atacontrol mode ad4 UDMA4
>>
>> It didn’t help…
>>
>> May 18 18:21:28 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=40399360
>> May 18 18:22:04 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=47683328
>> …
>> May 18 18:23:30 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=64849664
>> May 18 18:23:30 noel kernel: ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=64880896
>>
>> Errors are still happening.
>>
>> I can easily return the drive if that’s the problem here, but as I mentioned a bonnie++ test didn’t generate any errors.

The ICRC error that is reported indicates a problem with
the data cable between the drive and the controller.

I'd try a different cable ...

Regards, STefan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?537F8972.40104>