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!



On Tue, 6 Sep 2016, Michael van Elst wrote:

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


I'll give it a check tomorrow morning.



+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


Home | Main Index | Thread Index | Old Index