From nobody@FreeBSD.org  Thu Aug 30 20:27:53 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id AA22B37B401
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 30 Aug 2001 20:27:37 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f7V3N0w19906;
	Thu, 30 Aug 2001 20:23:00 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200108310323.f7V3N0w19906@freefall.freebsd.org>
Date: Thu, 30 Aug 2001 20:23:00 -0700 (PDT)
From: Cheng-hui Pu <b89902071@ms89.ntu.edu.tw>
To: freebsd-gnats-submit@FreeBSD.org
Subject: md cannot 
X-Send-Pr-Version: www-1.0

>Number:         30230
>Category:       kern
>Synopsis:       md cannot
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 30 20:30:00 PDT 2001
>Closed-Date:    Wed Mar 10 17:55:40 PST 2004
>Last-Modified:  Wed Mar 10 17:55:40 PST 2004
>Originator:     Cheng-hui Pu
>Release:        FreeBSD 4.4-RC #0: Fri Aug 31 07:45:10 CST 2001
>Organization:
>Environment:
FreeBSD dinocookie.dyndns.org 4.4-RC FreeBSD 4.4-RC #0: Fri Aug 31 07:45:10 CST 2001     sharity@dinocookie.dyndns.org:/usr/src/sys/compile/eyes  i386
>Description:

"md" always hangs when its capacity up to some limit.

Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Duron(tm) Processor (750.03-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x631  Stepping = 1
  
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,MMX,FXSR>
  AMD Features=0xc0440000<<b18>,AMIE,DSP,3DNow!>
real memory  = 1073676288 (1048512K bytes)
avail memory = 1041395712 (1016988K bytes)



>How-To-Repeat:


kernel:
  options  MD_NSECT=786432
  options  NO_SWAPPING


dd if=/dev/zero of=/usr/tmp/diskimage bs=512 count=786432
vnconfig -s labels -c vn0 /usr/tmp/diskimage
disklabel -r -w vn0 auto
newfs vn0cunconfig -u vn0
dd if=/usr/tmp/diskimage of=/dev/md0
mount /dev/md0c /mnt
cp -R /usr/src /mnt 
......
(after seconds, the process cp hangs...)
"df" shows that md0c always hangs within 100MB ~ 70MB.
"vmstat" shows that the system still has about 200MB free memory.





>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: cperciva 
State-Changed-When: Wed Mar 10 17:54:51 PST 2004 
State-Changed-Why:  
Fixed by phk about 5 hours ago. 

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