Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 May 1995 11:01:59 -0700
From:      John Dyson <dyson@Root.COM>
To:        freebsd-bugs@FreeBSD.org, sung!imdave@iwcs.att.com
Subject:   Re: Process hangs sleeping in ufslk2
Message-ID:  <199505081801.LAA00848@Root.COM>

next in thread | raw e-mail | index | archive | help
When installing pdksh on the April snapshot, you are likely to run
into this problem.  It comes about because of a bug in the
merged VM/Buffer cache code.  (Specifically, that version of the
code could not deal with I/O to/from an mmaped region to the file
that the mmaped region represents.)

Something like this:

fd = open("evilfile", O_RDWR);

addr = mmap(...,fd,...)

write(fd, addr, size);  -- you hang here.

This problem has been fixed in the -current and in the 2.0.5 release
coming up.  It is very likely that many of the "mysterious" ufslk2
hangs had been due to this.

Personal note: Dave, I am at Lisle (810-6136...)

John
dyson@root.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505081801.LAA00848>