From nobody@FreeBSD.org  Wed Mar 28 07:23:53 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 408EB16A405
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Mar 2007 07:23:53 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 109FC13C4AE
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Mar 2007 07:23:53 +0000 (UTC)
	(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 l2S7NqNb032897
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Mar 2007 07:23:52 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l2S7IpI5032106;
	Wed, 28 Mar 2007 07:18:51 GMT
	(envelope-from nobody)
Message-Id: <200703280718.l2S7IpI5032106@www.freebsd.org>
Date: Wed, 28 Mar 2007 07:18:51 GMT
From: Alex Wang<alex@alexwang.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Intel MatrixRAI (ICH8) RAID 5 rebuild does not work
X-Send-Pr-Version: www-3.0

>Number:         110960
>Category:       kern
>Synopsis:       Intel MatrixRAI (ICH8) RAID 5 rebuild does not work
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 28 07:30:04 GMT 2007
>Closed-Date:    Wed Mar 28 08:02:37 GMT 2007
>Last-Modified:  Wed Mar 28 08:02:37 GMT 2007
>Originator:     Alex Wang
>Release:        6.2 Release
>Organization:
Synology
>Environment:
FreeBSD 6.2, i386

CPU: Intel Core2 Duo
RAM: 2GB
Motherboard: ASUS P5B-E
1 x Seagate 80GB disk
4 x WD 160 GB (WD1600AAJS)

>Description:
2 problems here:
1. Rebuild ICH8 RAID 5, the progress is always 0% and the partition can't be use any more.
2. A degrade RAID 5 can't boot. System hangs at boot time.

CPU: Intel Core2 Duo
RAM: 2GB
Motherboard: ASUS P5B-E
1 x Seagate 80GB disk
4 x WD 160 GB (WD1600AAJS)

ASUS P5B-E has intel matrix raid support. I am using 4 WD disks to build RAID 5. It works well on FreeBSD 6.2. The kernel can detect 4 disks and have a ar0 RAID 5 device.

"atacontrol status ar0" works well, I can see RAID is READY or DEGRADE when I unplug a disk.

But when I attache a new disk, add it as spare disk, then use atacontrol to rebuild to RAID, the progress is always 0%. And, the partition can't be access any more. If i try to access the partition, system hangs.

Any other problem is, if I shutdown the PC and unplug 1 disk from the 4 disks RAID 5, turn on power, the system can't boot. It hangs in detect ata raid.



>How-To-Repeat:
1. Use Intel ICH8 chip and create RAID 5
2. Unplug 1 disk
3. attache disk, add to spare disk, and rebuild
4. progress is always 0%

5. unplug the new disk
6, reboot
7, system hangs when detecting ata raid

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Wed Mar 28 08:02:36 UTC 2007 
State-Changed-Why:  
Duplicaate of kern/108924 (more or less) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110960 
>Unformatted:
