[Re: panic: blockable sleep lock (sleep mutex) Giant _at_ /usr/src/sys/vm/vm_fault.c:206

From: Andrew Gallatin <gallatin_at_cs.duke.edu>
Date: Tue, 25 Mar 2003 21:09:42 -0500 (EST)
Martin Karlsson writes:
 > * John Baldwin <jhb_at_FreeBSD.ORG> [2003-03-25 18.41 -0500]:
 > 
 > [...snip...]
 > 
 > > http://www.FreeBSD.org/~jhb/patches/linux.patch  Similar to Drew's
 > > except that I patched alpha as well.  Similarly untested.  Apply
 > > with patch -p6 while in /sys.  Please let me know if it fixes the
 > > problem.
 > 
 > Sure, I'll try it.  And then?

Rebuild your linux module.

cd /sys/modules/linux
make depend
make


If you've never loaded linux (and won't crash because of the bug),
then load the new module:

kldload ./linux.ko
kldunload linux

Else just install the module and reboot

cp linux.ko /boot/kernel/
shutdown -r now
 > 
 > BTW, I've backed up my /usr/src dir, so I can apply the two
 > patches "one by one". Or should I apply them together? (Actually, I don't
 > mind testing all three options, but I'd like to hear what you have to
 > say about this.

Just apply John's patch.  Its cleaner & suitable for committing if it
works.   Mine was a quick hack while waiting for my dinner to
microwave itself..

Drew
Received on Tue Mar 25 2003 - 17:09:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:01 UTC