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

Andrew Gallatin gallatin at cs.duke.edu
Tue Mar 25 18:09:50 PST 2003


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



More information about the freebsd-current mailing list