so it's clearly being backgrounded by something. that shouldn't
happen, but it wouldn't if the backgrounding weren't happening. if
you're tweaking the init script anyway, stop using anything other than
just directly running afsd, and see what happens?

On Sun, Jun 20, 2010 at 5:41 PM, Adam Megacz <[email protected]> wrote:
>
> Andrew Deason <[email protected]> writes:
>> If afsd is being backgrounded, it is not by us. afsd only exits after it
>> tries to mount /afs. From what Russ says and from what I see in the
>> Debian init scripts, the Debian init scripts do not background it
>> either.
>
> Yikes, I tried putting "ls /afs/megacz.com" in the init script right
> after the line that launches afsd, and I got this:
>
> r...@mute:~#/etc/init.d/openafs-client- start
> Starting AFS services: openafs afsd.
> afsd: All AFS daemons started.
> afs started; ls /afs/megacz.com:
> /etc/init.d/openafs-client-: line 156:  2152 Segmentation fault      ls 
> /afs/megacz.com/
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.595464] Oops: 0000 [#1] SMP
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013] Stack: 00000000 00000000 00000000 00000000 00000000 
> 00000000 00000000 00000000
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]        00000000 00000000 00000001 c62b19e0 c62b19fc 
> d1ce4007 581b0001 00000000
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]        00000001 c62b19c0 00000000 00000000 00000001 
> 000001cd c716fe64 c62b19c0
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013] Call Trace:
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<d1ce4007>] afs_GetServer+0x4f4/0x52d [openafs]
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<d1cfafb6>] InstallUVolumeEntry+0x334/0x38f [openafs]
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<d1cfb5f0>] afs_SetupVolume+0x2cf/0x3a7 [openafs]
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<d1cfbb3c>] afs_NewVolumeByName+0x474/0x515 [openafs]
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<d1cf061a>] EvalMountData+0x298/0x43d [openafs]
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<d1cf081f>] EvalMountPoint+0x60/0x129 [openafs]
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<c01b92a8>] request_key+0x28/0x50
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<d1cf09cc>] afs_EvalFakeStat_int+0xe4/0x34b [openafs]
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<d1cf0c43>] afs_EvalFakeStat+0x7/0x9 [openafs]
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<d1cf3774>] afs_open+0x98/0x50c [openafs]
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<d1cf0c3a>] afs_TryEvalFakeStat+0x7/0x9 [openafs]
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<d1d097ec>] afs_linux_open+0x0/0xd6 [openafs]
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<c01731a3>] __dentry_open+0x10d/0x1fc
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<c01732ae>] nameidata_to_filp+0x1c/0x2c
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<d1d0984f>] afs_linux_open+0x63/0xd6 [openafs]
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013] Process ls (pid: 2152, ti=c716e000 task=cc71c900 
> task.ti=c716e000)
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<c017d9fa>] do_filp_open+0x34f/0x684
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<c0172fc0>] do_sys_open+0x40/0xb0
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<c0103857>] sysenter_past_esp+0x78/0xb1
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  =======================
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013] Code: 19 01 00 00 89 e0 c7 44 24 24 00 00 00 00 c7 44 
> 24 20 00 00 00 00 e8 5a 70 fd ff 85 c0 0f 85 fa 00 00 00 8b 46 20 b9 04 00 00 
> 00 <8b> 50 10 8b 04 24 e8 fb 1e 00 00 85 c0 89 c3 0f 84 dd 00 00 00
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<c0173074>] sys_open+0x1e/0x23
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013]  [<c02b0000>] quirk_vt8235_acpi+0x10/0x7a
>
> Message from sysl...@mute at Jun 20 21:40:11 ...
>  kernel:[  157.597013] EIP: [<d1ce317f>] afs_GetCapabilities+0x45/0x13e 
> [openafs] SS:ESP 0068:c716fc28
>
>
>
> _______________________________________________
> OpenAFS-info mailing list
> [email protected]
> https://lists.openafs.org/mailman/listinfo/openafs-info
>



-- 
Derrick
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to