[OpenAFS-devel] OpenAFS and Linux 2.6.25 (again)

Gautam Iyer gi1242@stanford.edu
Fri, 14 Mar 2008 13:40:23 -0700


On Fri, Mar 14, 2008 at 08:41:13AM +0000, Simon Wilkinson wrote:

>>>>  PS: No issues on 2.6.24, which I'm using now.
>>
>> Looks like I was wrong about this too. It randomly decided to give me
>> segfaults,
>
> Userland segfaults, or kernel BUGs()? Can you provide backtraces for
> these?

Kernel bug, AFAIK. After which

    pkill -9 afsd
    umount -f /afs
    modprobe -rv libafs

etc had no effect. Here's the snippet from /var/log/messages:

    Mar 13 23:32:45 mordor Found system call table at 0xc03320e0 (pattern scan)
    Mar 13 23:32:45 mordor Starting AFS cache scan...found 0 non-empty cache files (0%).
    Mar 13 23:32:45 mordor openafs: dcache hc<0>------------[ cut here ]------------
    Mar 13 23:32:45 mordor Kernel BUG at f90784d8 [verbose debug info unavailable]
    Mar 13 23:32:45 mordor invalid opcode: 0000 [#1] SMP 
    Mar 13 23:32:45 mordor Modules linked in: libafs(P) tun ndiswrapper mmc_block fuse ipv6 autofs4 ipt_recent ipt_iprange ipt_addrtype xt_multiport xt_mac xt_state xt_tcpudp ipt_REJECT ipt_LOG xt_limit iptable_nat nf_nat nf_conntrack_ipv4 iptable_filter ip_tables x_tables nf_conntrack_ftp nf_conntrack snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device sdhci mmc_core loop 8250_pnp 8250 serial_core acpi_cpufreq sg sr_mod cdrom usbhid usb_storage scsi_mod ohci1394 ieee1394 battery ac ehci_hcd video backlight output button e1000 snd_hda_intel evdev snd_pcm snd_timer snd soundcore snd_page_alloc rtc uhci_hcd pcspkr serio_raw usbcore
    Mar 13 23:32:45 mordor 
    Mar 13 23:32:45 mordor Pid: 13052, comm: afs_cachetrim Tainted: P        (2.6.24-gentoo-r3 #5)
    Mar 13 23:32:45 mordor EIP: 0060:[<f90784d8>] EFLAGS: 00010292 CPU: 0
    Mar 13 23:32:45 mordor EIP is at afs_HashOutDCache+0xf8/0x110 [libafs]
    Mar 13 23:32:45 mordor EAX: 00000015 EBX: 00000095 ECX: da412000 EDX: 00000092
    Mar 13 23:32:45 mordor ESI: f90f3d20 EDI: 00000000 EBP: 00000010 ESP: da413e38
    Mar 13 23:32:45 mordor DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
    Mar 13 23:32:45 mordor Process afs_cachetrim (pid: 13052, ti=da412000 task=f03cc000 task.ti=da412000)
    Mar 13 23:32:45 mordor Stack: f90ceaf0 f90f3d20 d53a2000 f9078c13 da413e44 00000001 00000000 00000000 
    Mar 13 23:32:45 mordor 00000000 da413fb8 f8ed8000 f8edc000 00000001 00000000 00000000 00000000 
    Mar 13 23:32:45 mordor 00000010 00000000 00000000 00000000 00000000 00000000 00000005 00000007 
    Mar 13 23:32:45 mordor Call Trace:
    Mar 13 23:32:45 mordor [<f9078c13>] afs_FlushDCache+0x723/0x820 [libafs]
    Mar 13 23:32:45 mordor [<f9079333>] afs_CacheTruncateDaemon+0x133/0x480 [libafs]
    Mar 13 23:32:45 mordor [<f90c5926>] afsd_launcher+0x546/0x6a0 [libafs]
    Mar 13 23:32:45 mordor [<f90c5410>] afsd_launcher+0x30/0x6a0 [libafs]
    Mar 13 23:32:45 mordor [<c0104f0f>] kernel_thread_helper+0x7/0x18
    Mar 13 23:32:45 mordor =======================
    Mar 13 23:32:45 mordor Code: eb 0c f9 e8 bb f7 0a c7 0f 0b eb fe 8d b4 26 00 00 00 00 a1 4c 0f 0e f9 8b 04 88 89 02 eb cc c7 04 24 f0 ea 0c f9 e8 98 f7 0a c7 <0f> 0b eb fe 8d 74 26 00 a1 50 0f 0e f9 8b 04 98 89 02 e9 60 ff 
    Mar 13 23:32:45 mordor EIP: [<f90784d8>] afs_HashOutDCache+0xf8/0x110 [libafs] SS:ESP 0068:da413e38
    Mar 13 23:32:45 mordor ---[ end trace 772ee95686f325ab ]---

Thanks,

GI

-- 
'Foreploy' -- Any misrepresentation of yourself for the express purpose
of obtaining sex.