Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2008 23:10:03 GMT
From:      Mark Jacobs <jacobsm@gate.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/128035: Detach of External SATA drive
Message-ID:  <200810122310.m9CNA3ab022775@www.freebsd.org>
Resent-Message-ID: <200810122320.m9CNK1aG028410@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         128035
>Category:       misc
>Synopsis:       Detach of External SATA drive
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 12 23:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Mark Jacobs
>Release:        FreeBSD 6.4-PRERELEASE #0: Wed Oct  8 21:57:31 EDT 2008
>Organization:
>Environment:
FreeBSD server.jacobs.org 6.4-PRERELEASE FreeBSD 6.4-PRERELEASE #0: Wed Oct  8 21:57:31 EDT 2008     root@server.jacobs.org:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
I have a Lacie 1tb External Harddrive attached via its ESATA interface. When I attempt to access it in a high i/o mode of operation (rsync read or write via an ssh connection) I receive the following messages in the log. FreeBSD sees the drive as;

ad4: 953869MB <Hitachi HDS721010KLA330 GKAOA70M> at ata2-master SATA150


Oct 12 18:23:56 server kernel: ad4: FAILURE - device detached
Oct 12 18:23:56 server kernel: subdisk4: detached
Oct 12 18:23:56 server kernel: ad4: detached
Oct 12 18:23:56 server kernel: g_vfs_done():ad4s1a[WRITE(offset=144404217856, length=4096)]error = 6
Oct 12 18:23:56 server kernel: g_vfs_done():ad4s1a[WRITE(offset=144326606848, length=16384)]error = 6
Oct 12 18:23:56 server kernel: g_vfs_done():ad4s1a[WRITE(offset=144404217856, length=4096)]error = 6
Oct 12 18:23:56 server kernel: g_vfs_done():ad4s1a[WRITE(offset=144326606848, length=16384)]error = 6

Lots more g_vfs_done messages follow and eventually the server reboots itself.

I am attaching this drive to this SATA controller;

atapci0: <SiI SiI 3512 SATA150 controller> port 0xdda0-0xdda7,0xdd98-0xdd9b,0xdda8-0xddaf,0xdd9c-0xdd9f,0xddb0-0xddbf mem 0xfe9dee00-0xfe9defff irq 22 at device 1.0 on pci2

When I used the drive's USB interface I experienced no problems with RSYNC. I'm also not seeing the problem with more normal I/O rates.
>How-To-Repeat:
Attach LaCie drive to an ESATA interface and flood the device with I/O operations.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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