Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wapbl panic on new system with too much memory!



paul%whooppee.com@localhost (Paul Goyette) writes:

>Basically, I cloned the hard drive of my other machine using dd, and 
>then put the copy in the new machine, and booted.  It comes up fine in 
>single-user mode.  However, shortly after typing ^D to the single-user 
>shell, it fails a KASSERT at sys/kern/vfs_wapbl.c line 1088.  The 
>following is manually transcribed:

Does this make a difference?


--- vfs_wapbl.c 19 May 2016 18:32:29 -0000      1.78
+++ vfs_wapbl.c 6 Sep 2016 10:27:37 -0000
@@ -1096,9 +1096,9 @@
                    bp->b_bcount));
        }
        LIST_INSERT_HEAD(&wl->wl_bufs, bp, b_wapbllist);
-       mutex_exit(&wl->wl_mtx);
 
        bp->b_flags |= B_LOCKED;
+       mutex_exit(&wl->wl_mtx);
 }
 
 static void

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index