[OpenAFS] Shutdown Issues on FreeBSD 11.1

Michael H Lambert lambert@psc.edu
Tue, 24 Apr 2018 22:36:09 -0400


A build of OpenAFS 1.8.0 on FreeBSD 11.1 on amd64 (configure with no 
options) seems to be working properly (at least I can read and write 
files), but the system panics when stopping afsd:

# /usr/local/etc/rc.d/afsd onestop


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0x1d4
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff8265ba09
stack pointer           = 0x28:0xfffffe085df1b5b0
frame pointer           = 0x28:0xfffffe085df1b5e0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 98148 (umount)
trap number             = 12
panic: page fault
cpuid = 3
KDB: stack backtrace:
#0 0xffffffff80aaf107 at kdb_backtrace+0x67
#1 0xffffffff80a6d1e6 at vpanic+0x186
#2 0xffffffff80a6d053 at panic+0x43
#3 0xffffffff80eef092 at trap_fatal+0x322
#4 0xffffffff80eef0eb at trap_pfault+0x4b
#5 0xffffffff80eee90a at trap+0x2ca
#6 0xffffffff80ed0500 at calltrap+0x8
#7 0xffffffff8265b84b at afs_FlushVCache+0x24b
#8 0xffffffff826d8d08 at afs_vop_reclaim+0x138
#9 0xffffffff8105e119 at VOP_RECLAIM_APV+0x89
#10 0xffffffff80b2b87c at vgonel+0x21c
#11 0xffffffff80b2b0e8 at vflush+0x448
#12 0xffffffff826d3e67 at afs_unmount+0x117
#13 0xffffffff80b22edc at dounmount+0x64c
#14 0xffffffff80b227c0 at sys_unmount+0x3c0
#15 0xffffffff80eefc74 at amd64_syscall+0x6c4
#16 0xffffffff80ed0d32 at fast_syscall_common+0x106
Uptime: 7h5m36s
Dumping 2022 out of 32727 MB:..1% (CTRL-C to abort) ..11%..21%..31%..41%..

Any thoughts?

Michael