[OpenAFS] tasklist_lock undefined Linux 2.6.18, OpenAFS 1.4.2
Peter N. Schweitzer
pschweitzer@usgs.gov
Fri, 27 Oct 2006 15:53:23 -0400
Jeffrey Hutzelman wrote:
>> I do also wish to emphasize that this is not an AMD64 system, it's an
>> x86-32.
>
> Hm. That should work. Does the module actually fail to load?
Yes, in /var/adm/syslog I get a message like
Oct 25 17:44:17 astarte kernel: libafs: Unknown symbol tasklist_lock
and libafs.map gets only
insmod: error inserting '/usr/vice/etc/modload/libafs-2.6.18.mp.ko': -1 Unknown symbol in module
> Do you still have the directory where the module was built? I'd be
> interested to know which of the objects it was compiled from have
> references to that symbol.
I'm a bit out of my usual depth here, but I do the following:
# cd /usr/local/src/openafs-1.4.2/src/libafs/MODLOAD-2.6.18-MP
# grep -r tasklist_lock *.o
Binary file afs_osi.o matches
Binary file libafs.o matches
Binary file rx_knet.o matches
# nm afs_osi.o | grep tasklist_lock
U tasklist_lock
# nm libafs.o | grep tasklist_lock
U tasklist_lock
# nm rx_knet.o | grep tasklist_lock
w tasklist_lock
I'm still thinking there's some kernel feature that I should have enabled
but didn't know I needed.
Peter
--
Peter N. Schweitzer (MS 954, U.S. Geological Survey, Reston, VA 20192)
(703) 648-6533 FAX: (703) 648-6252 email: pschweitzer@usgs.gov
<http://geology.usgs.gov/peter/>