HI again,
I sat with our linux guy a bit and we plugged around, and found no mixup of
kernel-headers or compile environment. (that we could tell)
modprobe lnet works, and so do the others (listed in the original strace), but we found
that ptlrpc.ko is getting invalid argument.
from dmesg:
[1196856.351524] ptlrpc: disagrees about version of symbol class_export_put
[1196856.351530] ptlrpc: Unknown symbol class_export_put (err -22)
[1196856.351551] ptlrpc: disagrees about version of symbol llog_process
[1196856.351553] ptlrpc: Unknown symbol llog_process (err -22)
[1196856.351573] ptlrpc: disagrees about version of symbol llog_open
[1196856.351574] ptlrpc: Unknown symbol llog_open (err -22)
[1196856.351601] ptlrpc: disagrees about version of symbol class_new_import
[1196856.351602] ptlrpc: Unknown symbol class_new_import (err -22)
[1196856.351637] ptlrpc: disagrees about version of symbol class_import_get
[1196856.351638] ptlrpc: Unknown symbol class_import_get (err -22)
strace insmod /lib/modules/3.0.101-0.46-trace/updates/kernel/fs/lustre/ptlrpc.ko
39678 read(3, "\0time_slice\0qs_btimelimit\0end_io"..., 8388608) = 8388608
39678 mremap(0x7f815671f000, 16781312, 33558528, MREMAP_MAYMOVE) = 0x7f815471e000
39678 read(3,
"\230B\34\0\0\0\0\0\273b7\0\0\0\0\0\n\0\0\0\35\0\0\0\357g\34\0\0\0\0\0"...,
16777216) = 3262521
39678 read(3, "", 13514695) = 0
39678 close(3) = 0
39678 init_module(0x7f815471e010, 20039737, "") = -1 EINVAL (Invalid argument)
39678 write(2, "insmod: error inserting '/lib/mo"..., 116) = 116
39678 exit_group(1) = ?
And on a non trace kernel it works:
open("/lib/modules/3.0.101-0.46-default/updates/kernel/fs/lustre/ptlrpc.ko",
O_RDONLY) = 3
stat("/sys/module", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
stat("/sys/module/ptlrpc", 0x7fffce887520) = -1 ENOENT (No such file or
directory)
read(3, "\177E", 2) = 2
lseek(3, 0, SEEK_SET) = 0
fstat(3, {st_mode=S_IFREG|0744, st_size=2444032, ...}) = 0
mmap(NULL, 2444032, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0x7fe076d6d000
init_module(0x7fe076d6d000, 2444032, "") = 0
munmap(0x7fe076d6d000, 2444032) = 0
close(3) = 0
exit_group(0) = ?
Does this give more clues? Has anyone else run on a sles trace kernel?