From owner-freebsd-bugs@FreeBSD.ORG Sat Sep 9 17:40:23 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E370416A412 for ; Sat, 9 Sep 2006 17:40:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5414A43D4C for ; Sat, 9 Sep 2006 17:40:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k89HeM7L022361 for ; Sat, 9 Sep 2006 17:40:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k89HeM8P022355; Sat, 9 Sep 2006 17:40:22 GMT (envelope-from gnats) Resent-Date: Sat, 9 Sep 2006 17:40:22 GMT Resent-Message-Id: <200609091740.k89HeM8P022355@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gergely Czuczy Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 671E316A40F for ; Sat, 9 Sep 2006 17:35:04 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2791543D49 for ; Sat, 9 Sep 2006 17:35:04 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k89HZ3kV050820 for ; Sat, 9 Sep 2006 17:35:03 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k89HZ3Mo050793; Sat, 9 Sep 2006 17:35:03 GMT (envelope-from nobody) Message-Id: <200609091735.k89HZ3Mo050793@www.freebsd.org> Date: Sat, 9 Sep 2006 17:35:03 GMT From: Gergely Czuczy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: kern/103075: SATA disk attach/unplug from a MV88SX5041 freezes the system X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2006 17:40:23 -0000 >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 Serial ATA v1.0 Slave: no device present ATA channel 3: Master: ad6 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: