From nobody@FreeBSD.org  Wed Mar 28 07:35:48 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 7822116A40B
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Mar 2007 07:35:48 +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 68F5613C484
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Mar 2007 07:35:48 +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 l2S7ZmQu035763
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Mar 2007 07:35:48 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l2S7UkZC034069;
	Wed, 28 Mar 2007 07:30:46 GMT
	(envelope-from nobody)
Message-Id: <200703280730.l2S7UkZC034069@www.freebsd.org>
Date: Wed, 28 Mar 2007 07:30:46 GMT
From: Alex Wang<alex@alexwang.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Intel MatrixRAI (ICH8) RAID 5 rebuild progress is always 0%
X-Send-Pr-Version: www-3.0

>Number:         110962
>Category:       kern
>Synopsis:       Intel MatrixRAI (ICH8) RAID 5 rebuild progress is always 0%
>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:40:02 GMT 2007
>Closed-Date:    Wed Mar 28 08:01:33 GMT 2007
>Last-Modified:  Wed Mar 28 08:01:33 GMT 2007
>Originator:     Alex Wang
>Release:        6.2
>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:01:32 UTC 2007 
State-Changed-Why:  
duplicate of kern/110960 

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