[OpenAFS] OpenAFS 1.4.2fc2 and Vanilla Linux kernel 2.6.18

Miroslav Ruda ruda@ics.muni.cz
Wed, 04 Oct 2006 15:30:16 +0200

Russ Allbery wrote:
> "chas williams <- CONTRACTOR" <chas@cmf.nrl.navy.mil>> writes:
>> In message <20060928055030.GA24819@defiant.alpha>,FB writes:
>>>   * OpenAFS 1.4.2rc2 (it's the latest debian package available)
>> while its the latest debian package, 1.4.2rc2 has several known bugs that
>> have been fixed in later releases.  you will have trouble with 1.4.2rc2.
> 1.4.2rc4 just entered unstable, although I'm still tracking down some
> problems with AMD64 builds on 2.6.18.  It looks like
> STABLE14-tasklist-lock-redux-20060922 just missed rc4 and will solve the
> remaining problem.  I'll hopefully have a new package with that patch
> uploaded later today.

I have tried 1.4.2fc4 with vanila 2.6.18 (with reexported tasklist_lock)
on AMD64 and afsd initialisation failed - oops is attached. On the same machine,
openafs 1.4.1 with kernel 2.6.16 works fine, so I'm pretty sure
that machine in not misconfigured.

Any hint?

                 Mirek Ruda

Found system call table at 0xffffffff803e2d20 (pattern scan)
Found 32-bit system call table at 0xffffffff803e3bb0 (pattern scan)
Starting AFS cache scan...<1>Unable to handle kernel NULL pointer dereference at
0000000000000c7f RIP:
 [<ffffffff882a8ff2>] :libafs:afs_cellname_init+0xc2/0x290
PGD 6ba70067 PUD 70163067 PMD 0
Oops: 0002 [1] SMP
Modules linked in: libafs edd acpi_cpufreq freq_table ipv6 button battery ac
loop dm_mod i2c_amd756 shpchp pci_hotplug tg3 ide_cd cdrom i2c_amd8111 i2c_core
ohci_hcd usbcore floppy xfs sg fan thermal processor sata_mv libata amd74xx
sd_mod scsi_mod ide_disk ide_core
Pid: 3199, comm: afsd Tainted: GF     2.6.18-smp #2
RIP: 0010:[<ffffffff882a8ff2>]  [<ffffffff882a8ff2>]
RSP: 0018:ffff81007667bc18  EFLAGS: 00010297
RAX: 0000000000000c7f RBX: 000000000000000e RCX: 0000000000000001
RDX: ffff81006d2be260 RSI: 0000000000000000 RDI: 000000000000000e
RBP: 0000000000000000 R08: ffff81007667bc48 R09: 0000000000000010
R10: 0000000000000000 R11: ffff81007667bc78 R12: 0000000000000000
R13: 000000000052f820 R14: 0000000000000001 R15: 00007fff7b3ca9d0
FS:  00002ac82fb3bae0(0000) GS:ffffffff80550000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000c7f CR3: 000000007bc6c000 CR4: 00000000000006e0
Process afsd (pid: 3199, threadinfo ffff81007667a000, task ffff810037ddd040)
Stack:  ffff81007667bc78 0000000000000000 ffff81007667bc78 0000000000000022
 0000000000000000 ffff81007d9baa00 000000000052f820 0000000000000001
 00007fff7b3ca9d0 ffffffff882b3efc 0000000000000022 ffff81007d9baa00
Call Trace:
 [<ffffffff882b3efc>] :libafs:afs_InitCellInfo+0x1c/0x30
 [<ffffffff882fc9ee>] :libafs:afs_syscall_call+0xe1e/0x1920
 [<ffffffff802910ea>] __link_path_walk+0xde8/0xf32
 [<ffffffff8029b84f>] mntput_no_expire+0x19/0x8b
 [<ffffffff80291307>] link_path_walk+0xd3/0xe5
 [<ffffffff882fde83>] :libafs:afs_syscall+0x193/0x1c90
 [<ffffffff802916f3>] do_path_lookup+0x270/0x2ec
 [<ffffffff8028ec72>] permission+0x8d/0xc8
 [<ffffffff80283490>] file_move+0x1d/0x4c
 [<ffffffff882f4722>] :libafs:afs_unlocked_ioctl+0xa2/0xc0
 [<ffffffff802935b5>] do_ioctl+0x21/0x6b
 [<ffffffff80293847>] vfs_ioctl+0x248/0x261
 [<ffffffff802938b9>] sys_ioctl+0x59/0x78
 [<ffffffff802096da>] system_call+0x7e/0x83

Code: 00 00 00 00 00 00 00 00 00 00 00 00 6e a5 04 00 48 85 c0 49
RIP  [<ffffffff882a8ff2>] :libafs:afs_cellname_init+0xc2/0x290
 RSP <ffff81007667bc18>
CR2: 0000000000000c7f

                  Mirek Ruda