Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Sep 2006 17:35:03 GMT
From:      Gergely Czuczy <phoemix@harmless.hu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/103075: SATA disk attach/unplug from a MV88SX5041 freezes the system
Message-ID:  <200609091735.k89HZ3Mo050793@www.freebsd.org>
Resent-Message-ID: <200609091740.k89HeM8P022355@freefall.freebsd.org>

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

>Number:         103075
>Category:       kern
>Synopsis:       SATA disk attach/unplug from a MV88SX5041 freezes the system
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 09 17:40:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gergely Czuczy
>Release:        6.1-RELEASE, 6.1-RELEASE-p6
>Organization:
Harmless Digital
>Environment:
FreeBSD marvin.harmless.hu 6.1-RELEASE-p6 FreeBSD 6.1-RELEASE-p6 #0: Fri Sep  8 12:55:34 UTC 2006     root@marvin.harmless.hu:/usr/obj/usr/src/sys/MARVIN  i386

>Description:
the hotswap thingie for the MV88SX5041 controller is not workig.
on the following circumstances it freezes your system, it can be reproduced. when the system is frozen, then not even the numlock is working, everything stays as it were.

i'm using gmirror, but independently the usage of the given disk by gmirror, the system will freeze. so, it doesn't matter if the disk is in a mirror or not.

pciconf -lv:
atapci0@pci2:4:0:       class=0x010000 card=0x504111ab chip=0x504111ab rev=0x03 hdr=0x00
    vendor   = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
    device   = 'MV88SX5041 4-port SATA PCI-X Controller'
    class    = mass storage
    subclass = SCSI

atacontrol list for the online disks:
ATA channel 2:
    Master:  ad4 <HDT722520DLA380/V44OA9BA> Serial ATA v1.0
    Slave:       no device present
ATA channel 3:
    Master:  ad6 <HDT722520DLA380/V44OA96A> Serial ATA v1.0
    Slave:       no device present

the system also had locked up when i tried the following:
# atacontrol cap ad4

>How-To-Repeat:
known ways:
A)
1) atacontrol detach ata3
2) pull of the disk (freezes here)

B)
1) atacontrol detach ata3
2) atacontrol attach ata3 (freezes here)

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



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