Token problem???
Jochen Saile
saile at sfs.nphil.uni-tuebingen.de
Thu Aug 10 17:10:46 CEST 2000
Hi,
htonl() seems to be fine. This is the gdb trace.
This GDB was configured as "i386-pc-solaris2.7"...
(gdb) br rxkad_check_packet
Breakpoint 1 at 0x8089a24: file rxk_locl.c, line 217.
(gdb) r
Starting program: /opt/Packages/V1/ARLA-Create/arla-0.34.1/appl/vos/vos
vos - an arla tool for administrating AFS volumes.
Type "help" to get a list of commands.
vos: exa home.sailej
VL_GetEntryByName(home.sailej) failed: rxkad - Seal inconsistency.
vos:
HHmm.. rxkad_check_packet() isn't executed...
(gdb) br rxkad_cksum_header
Breakpoint 2 at 0x80897e2: file rxk_locl.c, line 108.
(gdb) c
Continuing.
vos: exa home.sailej
Breakpoint 2, rxkad_cksum_header (packet=0x80c0a38, sched=0x80ad598,
iv=0x80bcc80) at rxk_locl.c:108
108 h.call_number = htonl(packet->header.callNumber);
(gdb) n
109 t = ((packet->header.cid & RX_CHANNELMASK) << (32 - RX_CIDSHIFT))
(gdb) p h.call_number
$1 = 16777216
(gdb) p packet->header.callNumber
$2 = 1
(gdb) where
#0 rxkad_cksum_header (packet=0x80c0a38, sched=0x80ad598, iv=0x80bcc80)
at rxk_locl.c:109
#1 0x80898a8 in rxkad_prepare_packet (pkt=0x80c0a38, con=0x8109920, level=1,
k=0x80ad598, e=0x80bcc80) at rxk_locl.c:150
#2 0x8087902 in client_PreparePacket (obj_=0x80ad588, call=0x1000000,
pkt=0x80c0a38) at rxk_clnt.c:223
#3 0x807441a in rxi_PrepareSendPacket (call=0x8109998, p=0x80c0a38, last=1)
at rx_pkt.c:1359
#4 0x8074d92 in rx_FlushWrite (call=0x8109998) at rx_rdwr.c:461
#5 0x8074516 in rx_ReadProc (call=0x8109998, vbuf=0x8046f90, nbytes=4)
at rx_rdwr.c:67
#6 0x805fb2f in VL_GetEntryByNameN (connection=0x8109920,
volumename=0x80bc384 "home.sailej", entry=0x80471c0) at vldb.cs.c:1459
#7 0x8057b19 in get_vlentry (cell=0x80ae590 "informatik.uni-tuebingen.de",
host=0x80bd2b0 "pu-afs.informatik.uni-tuebingen.de",
volname=0x80bc384 "home.sailej", auth=AUTHFLAGS_ANY, nvldbentry=0x80471c0)
at vos_common.c:272
#8 0x80581f0 in printvolstat (volname=0x80bc384 "home.sailej",
cell=0x80ae590 "informatik.uni-tuebingen.de",
host=0x80bd2b0 "pu-afs.informatik.uni-tuebingen.de", auth=AUTHFLAGS_ANY,
verbose=0, extended=0) at vos_examine.c:181
#9 0x80586c2 in vos_examine (argc=0, argv=0x80ad160) at vos_examine.c:325
#10 0x807caf4 in sl_command (cmds=0x80a1290, argc=2, argv=0x80ad158)
---Type <return> to continue, or q <return> to quit---qQuit
(gdb)
This seems to be called from rx_Read() when it flushes the write buffer.
(gdb) c
Continuing.
VL_GetEntryByName(home.sailej) failed: Unknown error
htonl() seems to be fine. (At least when sending data.) But why is
rxkad_check_packet() not called???
Ciao
Jochen
More information about the Arla-drinkers
mailing list