Bug 30230

Summary: md cannot
Product: Base System Reporter: Cheng-hui Pu <b89902071>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Cheng-hui Pu 2001-08-31 04:30:00 UTC
"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.
Comment 1 Colin Percival freebsd_committer freebsd_triage 2004-03-11 01:54:51 UTC
State Changed
From-To: open->closed

Fixed by phk about 5 hours ago.