freebsd 2.2.5 and arla-0.13
Eric Hoffman
hoffman at cs.washington.edu
Wed Oct 7 05:37:11 CEST 1998
Could you look what version of afssysdefs.h you have? It should
probably be at least 1.18. If it's not, make sure you have the
following in it and rebuild libkafs and arald:
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
#define AFS_SYSCALL 210
#endif
I had version 1.16, downloaded it from CMU today, libkrbafs version
0.9.8...adding the syscall number works fine. now, however I'm at a
SEGV:
#0 0x1755 in find_by_name (page0=0x0, name=0x587e8 "cs", fid=0x2c7dc4,
dir=0x2c78dc) at adir.c:110
#1 0x1e8b in adir_lookup (dir={Cell = 0, fid = {Volume = 536871104,
Vnode = 1, Unique = 1}}, name=0x587e8 "cs", file=0x2c7dc4, ce=0xd3c60)
at adir.c:331
#2 0xd028 in cm_lookup (dir_fid={Cell = 0, fid = {Volume = 536871104,
Vnode = 1, Unique = 1}}, name=0x587e8 "cs", res=0x2c7dc4, ce=0x2c7d50)
at inter.c:513
#3 0xf39d in xfs_message_getnode (fd=8, h=0x587c4, size=292) at messages.c:586
#4 0xeab1 in xfs_message_receive (fd=8, h=0x587c4, size=292) at messages.c:339
#5 0xe1c1 in process_message (fd=8) at kernel.c:75
running arlad from zero, and listing the root directory of my cell,
gives a path through adir_lookup() which fails on fcache_open_file()
and returns.
adir_lookup() then gets called again, but the large if clause fails,
and find_by_name() is called on the value of the_fbuf.buf filled in at
stack frame initialization time
I'm enclosing the xfs log should you care to look at it...having the
fileid be zero on the fhlookup seems somewhat off...anyways, again,
suggestions are welcome, but I'm perfectly happy to try to muddle
through myself
Oct 6 20:18:37 tesuji /kernel: xfsopen dev = 128.0, flag = 3, devtype = 8192
Oct 6 20:18:37 tesuji /kernel: xfs_devselect dev = 32768, which = 1
Oct 6 20:18:39 tesuji last message repeated 98 times
Oct 6 20:18:39 tesuji /kernel: xfs_root mp = 0xf1311600
Oct 6 20:18:39 tesuji /kernel: xfs_message_rpc opcode = 2
Oct 6 20:18:39 tesuji /kernel: xfs_devselect dev = 32768, which = 1
Oct 6 20:18:39 tesuji /kernel: xfs_devread dev = 32768
Oct 6 20:18:39 tesuji /kernel: xfs_devread: m = 0xf684b338, m->prev = 0xf1343cf0, m->next = 0xf1343cf0
Oct 6 20:18:39 tesuji /kernel: xfs_devread: first = 0xf1343cf0, first->prev = 0xf684b338, first->next = 0xf684b338
Oct 6 20:18:39 tesuji /kernel: xfs_devread: message->size = 20
Oct 6 20:18:39 tesuji /kernel: xfs_devread done error = 0
Oct 6 20:18:39 tesuji /kernel: xfs_devwrite dev = 32768
Oct 6 20:18:39 tesuji /kernel: xfs_message_receive opcode = 3
Oct 6 20:18:39 tesuji /kernel: xfs_message_installroot
Oct 6 20:18:39 tesuji /kernel: xfs_message_receive opcode = 1
Oct 6 20:18:39 tesuji /kernel: xfs_message_wakeup error: 0
Oct 6 20:18:39 tesuji /kernel: xfs_devwrite error = 0
Oct 6 20:18:39 tesuji /kernel: xfs_message_rpc this_process->error_or_size = 0
Oct 6 20:18:39 tesuji /kernel: xfs_message_rpc opcode ((xfs_message_wakeup*)(this_process->message))->error = 0
Oct 6 20:18:39 tesuji /kernel: xfs_lookup: (cs, 2)
Oct 6 20:18:40 tesuji /kernel: xfs_message_rpc opcode = 4
Oct 6 20:18:40 tesuji /kernel: xfs_devselect dev = 32768, which = 1
Oct 6 20:18:40 tesuji /kernel: xfs_devread dev = 32768
Oct 6 20:18:40 tesuji /kernel: xfs_devread: m = 0xf684b338, m->prev = 0xf1343d00, m->next = 0xf1343d00
Oct 6 20:18:40 tesuji /kernel: xfs_devread: first = 0xf1343d00, first->prev = 0xf684b338, first->next = 0xf684b338
Oct 6 20:18:40 tesuji /kernel: xfs_devread: message->size = 292
Oct 6 20:18:40 tesuji /kernel: xfs_devread done error = 0
Oct 6 20:18:40 tesuji /kernel: xfs_fhopen: fileid = 0, flags = 0
Oct 6 20:18:40 tesuji /kernel: xfs_fhlookup: fileid = 0
Oct 6 20:18:40 tesuji /kernel: xfs_devwrite dev = 32768
Oct 6 20:18:40 tesuji /kernel: xfs_message_receive opcode = 1
Oct 6 20:18:40 tesuji /kernel: xfs_message_wakeup error: 6
Oct 6 20:18:40 tesuji /kernel: xfs_devwrite error = 0
Oct 6 20:18:40 tesuji /kernel: xfs_message_rpc this_process->error_or_size = 0
Oct 6 20:18:40 tesuji /kernel: xfs_message_rpc opcode ((xfs_message_wakeup*)(this_process->message))->error = 6
Oct 6 20:18:40 tesuji /kernel: xfs_lookup error: 6
Oct 6 20:18:40 tesuji /kernel: xfs_lookup() error = 6
Oct 6 20:18:40 tesuji /kernel: xfs_unlock
Oct 6 20:18:40 tesuji /kernel: xfs_root mp = 0xf1311600
Oct 6 20:18:40 tesuji /kernel: xfs_lookup: (cs, 2)
Oct 6 20:18:40 tesuji /kernel: xfs_message_rpc opcode = 4
Oct 6 20:18:40 tesuji /kernel: xfs_devselect dev = 32768, which = 1
Oct 6 20:18:40 tesuji /kernel: xfs_devread dev = 32768
Oct 6 20:18:40 tesuji /kernel: xfs_devread: m = 0xf684b338, m->prev = 0xf1343cf0, m->next = 0xf1343cf0
Oct 6 20:18:40 tesuji /kernel: xfs_devread: first = 0xf1343cf0, first->prev = 0xf684b338, first->next = 0xf684b338
Oct 6 20:18:40 tesuji /kernel: xfs_devread: message->size = 292
Oct 6 20:18:40 tesuji /kernel: xfs_devread done error = 0
Oct 6 20:18:54 tesuji /kernel: xfs_islocked
Oct 6 20:18:54 tesuji /kernel: xfs_sync: mp = 0xf1311600, waitfor = 2, cred = 0xf0dcba00, proc = 0xf1303200
More information about the Arla-drinkers
mailing list