Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2003 21:09:42 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Martin Karlsson <mk-freebsd@bredband.net>
Cc:        John Baldwin <jhb@FreeBSD.ORG>
Subject:   [Re: panic: blockable sleep lock (sleep mutex) Giant @ /usr/src/sys/vm/vm_fault.c:206
Message-ID:  <16001.3046.109400.178353@grasshopper.cs.duke.edu>
In-Reply-To: <20030326011010.GB653@c-303a70d5.bredbandsbolaget.se>
References:  <XFMail.20030325182018.jhb@FreeBSD.org> <XFMail.20030325184150.jhb@FreeBSD.org> <20030326011010.GB653@c-303a70d5.bredbandsbolaget.se>

next in thread | previous in thread | raw e-mail | index | archive | help

Martin Karlsson writes:
 > * John Baldwin <jhb@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16001.3046.109400.178353>