Closed tsutsui closed 2 years ago
Trying a patch in uvm_bio.c rev 1.49 based on the following tech-kern thread: http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/uvm/uvm_bio.c#rev1.49 https://mail-index.netbsd.org/tech-kern/2006/09/27/0002.html https://mail-index.netbsd.org/tech-kern/2006/09/28/0000.html https://mail-index.netbsd.org/tech-kern/2006/09/27/0003.html https://mail-index.netbsd.org/tech-kern/2006/09/28/0002.html https://mail-index.netbsd.org/tech-kern/2006/09/28/0009.html
Trying a patch in uvm_bio.c rev 1.49 based on the following tech-kern thread: http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/uvm/uvm_bio.c#rev1.49
No visible change..
After investigation, this is caused by inverted return value of pmap_unsetbit(9)
via pmap_clear_modify(9)
,
and it was (silently) fixed in OpenBSD:
https://github.com/openbsd/src/commit/ae76cb509b9c0e599ede104cc04d6b2c58b1539d#diff-747c3b9dfd77e1f14471a9f38970188e909a34828f92ef704d159c1eaff0af47R2361
KASSERT() is triggered on unmounting file system: