umount of md hangs

Doug White dwhite at gumbysoft.com
Sat May 22 16:06:16 PDT 2004


On Sat, 22 May 2004, Thomas Quinot wrote:

> When I try to make a CompactFlash image with the Nanobsd scripts
> (from src/tools/tools/nanobsd), everyghint goes well up to the moment
> where, having filled the (vnode-backed) md, the script tries to umount
> it, at which point the umount process hangs in wdrain, and the system
> slowly crawls to a halt as more processes get blocked too.
>
> This is a 5.2.1-REL-p5 box. Does this problem ring any bell? Any further
> info I can provide.

Can you run iostat and see if writes are actually going to the flash
device? I've seen this if the device is painfully slow at writing, perhaps
because interrupts aren't working properly.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-current mailing list