[OpenAFS] 1.4.2fc4, 2.6.18: Unknown symbol tasklist_lock

Eric RANNAUD rannaud@letitwave.fr
Wed, 18 Oct 2006 17:31:18 +0200


Hi,

On Fedora Core 4, on AMD64, with a vanilla 2.6.18, with
openafs-1.4.2fc4, when openafs.ko is loaded, I get the following
message:
[  330.276071] openafs: Unknown symbol tasklist_lock

I read the thread at:
http://www.mail-archive.com/openafs-info@openafs.org/msg22061.html
and tried the suggested patch. But then the kernel oopses with that
patch applied (oops follows).

The machine is a 16-way (8 dual opterons), with 8GB of RAM. It works
well with openafs-1.4.1 and older kernels, but I couldn't compile 1.4.1
with the 2.6.18.

Best regards,
.er


--beg--
[ 1239.596442] openafs: module license 'http://www.openafs.org/dl/license10.html' taints kernel.
[ 1239.599401] Unable to handle kernel paging request at fffffffffffd0000 RIP:
[ 1239.599452]  [<ffffffff8829f3ea>] :openafs:check_table+0x2a/0x50
[ 1239.599626] PGD 203027 PUD 1080067 PMD 0
[ 1239.599783] Oops: 0000 [1] SMP
[ 1239.599903] CPU 0
[ 1239.599986] Modules linked in: openafs autofs4 rfcomm l2cap bluetooth sunrpc pcmcia yenta_socket rsrc_nonstatic pcmcia_core reiserfs joydev video button battery asus_acpi ac ohci1394 ieee1394 ohci_hcd ehci_hcd i2c_nforce2 i2c_core shpchp floppy dm_snapshot dm_zero dm_mirror ext3 jbd dm_mod sata_nv libata megaraid_mbox megaraid_mm sd_mod scsi_mod
[ 1239.601405] Pid: 3801, comm: modprobe Tainted: P      2.6.18apkm-suggestrannaud-dirty #4
[ 1239.601481] RIP: 0010:[<ffffffff8829f3ea>]  [<ffffffff8829f3ea>] :openafs:check_table+0x2a/0x50
[ 1239.601611] RSP: 0000:ffff81021f0a9d70  EFLAGS: 00010246
[ 1239.601669] RAX: 0000000000000000 RBX: ffffffff882cd708 RCX: 0000000000000000
[ 1239.601736] RDX: 0000000000000008 RSI: fffffffffffd0000 RDI: 0000000000000000
[ 1239.601798] RBP: fffffffffffd0000 R08: ffffffff80200000 R09: ffffffff882ceae0
[ 1239.601859] R10: 0000000000000004 R11: 000000000000000a R12: ffffffff882cd740
[ 1239.601920] R13: fffffffffffd0000 R14: 0000000000000000 R15: 0000000000000000
[ 1239.601981] FS:  00002b36389b21c0(0000) GS:ffffffff809ad000(0000) knlGS:0000000000000000
[ 1239.602056] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 1239.602116] CR2: fffffffffffd0000 CR3: 000000021ce14000 CR4: 00000000000006e0
[ 1239.602177] Process modprobe (pid: 3801, threadinfo ffff81021f0a8000, task ffff810221c78080)
[ 1239.602254] Stack:  ffffffff8829f4a3 ffffffff882cd560 0000000000006000 ffffffff8028d300
[ 1239.602500]  ffffffff802a2f40 ffffffff882cd730 ffffffff882cd560 0000000000000000
[ 1239.602708]  ffff81021872a800 ffffc200006a8638 ffff81021872ae30 ffffffff882ce440
[ 1239.602870] Call Trace:
[ 1239.602986]  [<ffffffff8829f4a3>] :openafs:scan_for_syscall_table+0x93/0x280
[ 1239.603057]  [<ffffffff8028d300>] sys_close+0x0/0xd0
[ 1239.603115]  [<ffffffff802a2f40>] sys_ioctl+0x0/0xa0
[ 1239.603190]  [<ffffffff8829f71e>] :openafs:osi_find_syscall_table+0x8e/0x1d0
[ 1239.603271]  [<ffffffff8829ff3b>] :openafs:osi_syscall_init+0xb/0xe0
[ 1239.603347]  [<ffffffff882e4017>] :openafs:init_module+0x17/0xa6
[ 1239.603409]  [<ffffffff80255b91>] sys_init_module+0x1901/0x1a50
[ 1239.603482]  [<ffffffff80209cda>] tracesys+0xd1/0xdb
[ 1239.603542]
[ 1239.603591]
[ 1239.603592] Code: 4c 39 06 76 12 ff c0 48 83 c6 08 3d de 00 00 00 75 d7 b8 ff
[ 1239.604404] RIP  [<ffffffff8829f3ea>] :openafs:check_table+0x2a/0x50
[ 1239.604515]  RSP <ffff81021f0a9d70>
[ 1239.604569] CR2: fffffffffffd0000
[ 1239.604622]  <3>BUG: sleeping function called from invalid context at kernel/rwsem.c:20
[ 1239.604731] in_atomic():0, irqs_disabled():1
[ 1239.604786]
[ 1239.604787] Call Trace:
[ 1239.604892]  [<ffffffff8022860b>] __might_sleep+0xbb/0xd0
[ 1239.604952]  [<ffffffff80249f1d>] down_read+0x1d/0x50
[ 1239.605011]  [<ffffffff8023fa82>] blocking_notifier_call_chain+0x22/0x50
[ 1239.605074]  [<ffffffff80232025>] profile_task_exit+0x15/0x20
[ 1239.605133]  [<ffffffff80233a55>] do_exit+0x25/0x9a0
[ 1239.605194]  [<ffffffff804ab3a2>] _spin_unlock_irqrestore+0x42/0x60
[ 1239.605257]  [<ffffffff804adbee>] do_page_fault+0x85e/0x960
[ 1239.605320]  [<ffffffff804a8870>] schedule+0x7d0/0x804
[ 1239.605378]  [<ffffffff804ae3fc>] kprobe_flush_task+0x1c/0x70
[ 1239.605445]  [<ffffffff8020a8d1>] error_exit+0x0/0x96
[ 1239.605445]  [<ffffffff8020a8d1>] error_exit+0x0/0x96
[ 1239.605525]  [<ffffffff8829f3ea>] :openafs:check_table+0x2a/0x50
[ 1239.605601]  [<ffffffff8829f4a3>] :openafs:scan_for_syscall_table+0x93/0x280
[ 1239.605664]  [<ffffffff8028d300>] sys_close+0x0/0xd0
[ 1239.605721]  [<ffffffff802a2f40>] sys_ioctl+0x0/0xa0
[ 1239.605797]  [<ffffffff8829f71e>] :openafs:osi_find_syscall_table+0x8e/0x1d0
[ 1239.605876]  [<ffffffff8829ff3b>] :openafs:osi_syscall_init+0xb/0xe0
[ 1239.605948]  [<ffffffff882e4017>] :openafs:init_module+0x17/0xa6
[ 1239.606008]  [<ffffffff80255b91>] sys_init_module+0x1901/0x1a50
[ 1239.606079]  [<ffffffff80209cda>] tracesys+0xd1/0xdb
[ 1239.606139]
--end--