This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Problem: We have two version of nfsd.ko: one from standard kernel in kernel/fs/nfsd/nfsd.ko, another one is SGI Enhanced NFS in weak-updates/updates/nfsd.ko. depmod is configured in /etc/depmod.conf to search first the weak-updates directory so modprobe always load nfsd.ko from SGI. But iterate_over_modules() use elfutils which use fts_read() to find the module. fts_read() traverse the modules unordered so it may find first the wrong nfsd.ko. Solution: Search for the full path to a module, not only for the module name. In attachment is the patch which solve the problem. Martin Lazar
Attachment:
systemtap-modulesdep_full_path.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |