kern/103075: SATA disk attach/unplug from a MV88SX5041 freezes the system

Gergely Czuczy phoemix at harmless.hu
Sat Sep 9 10:40:23 PDT 2006


>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 at 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 at 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:


More information about the freebsd-bugs mailing list