[OpenAFS-devel] Linux 2.6.6 woes

Rainer Schöpf rainer.schoepf@proteosys.com
Fri, 11 Jun 2004 11:28:01 +0200 (CEST)


On Thu, 10 Jun 2004, Asheesh Laroia wrote:

 > libafs: Unknown symbol __might_sleep
 > insmod: error inserting '/usr/local/lib/openafs/libafs-2.6.6-1.ko': -1 Unknown symbol in module

That looks like your kernel .config does not match the configuration of
the running kernel. Did you copy it from /boot/config-... ?

__might_sleep is defined only if CONFIG_DEBUG_SPINLOCK_SLEEP is set.

 Rainer Schöpf
 (who has the current snapshot running on Debian unstable with 2.6.6-1-k7)