[953] in Zephyr_Bugs

home help back first fref pref prev next nref lref last post

asking for help

daemon@ATHENA.MIT.EDU (Matthew Fredette)
Thu Sep 3 19:25:36 1998

To: zephyr-bugs@MIT.EDU
Date: Thu, 3 Sep 1998 19:25:32 -0400 (EDT)
From: "Matthew Fredette" <mfredett@bbnplanet.com>
Cc: fredette@bbnplanet.com


[warning: somewhat long, not important]

Hi.  I'm trying to compile Zephyr on:

tsinghua% uname -a
NetBSD tsinghua 1.3.2 NetBSD 1.3.2 (GENERIC) #0: Sun May 10 22:48:06 MEST 1998     pk@flambard:/usr/src1/sys/arch/sparc/compile/GENERIC sparc

tsinghua% ./config.guess
sparc-unknown-netbsd1.3.2

I'm using the versions of K4 and libdes that come in the NetBSD
"domestic" package.

I grabbed, 'sh configure'd and compiled what I found under:

/afs/dev.mit.edu/source/src-current/athena/lib/hesiod
/afs/dev.mit.edu/source/src-current/athena/lib/ss
/afs/dev.mit.edu/source/src-current/athena/lib/zephyr

I ran the zephyr configure with --with-hesiod, --with-krb4, and with 
CPPFLAGS and LDFLAGS set to find the already-built hesiod and ss, then 
I did 'make'.

And everything compiled and linked.  

zhm finds the MIT zephyr servers, zwgc gets a ticket for
zephyr.zephyr@ATHENA.MIT.EDU, and, on my athena-sun window, I even 
see a notice that I've logged in on tsinghua.  zstat works fine.

But that's about it.  On tsinghua, I can't do a 'zctl ret' to see what 
I'm subscribed to; that times out.  I can't zwrite anyone.  From an 
athena-sun, I can zwrite myself and get it there, but I won't get it on 
tsinghua, even though a 'znol -u fredette' from an athena-sun shows me 
logged in there.

I started doing a little debugging.  I've compiled zhm with all of
its debugging code and sat there and watched it and a tcpdump: a 
'zctl ret' gets a packet to zhm, zhm sends it to whatever server,
the server sends something back to zhm, and zhm gives it to zctl.
Running the 'zctl ret' inside of gdb, it looks like ZCheckAuthentication 
is failing checking that result packet: des_quad_cksum isn't returning 
the expected value that's in notice->z_checksum.

Thinking this was a problem with the NetBSD-provided libdes (it's
the one from Eric Young) I built things with the old, 1991-vintage
MIT libdes library, and got the same results.

Any clues?  Anyone ever try to build this on NetBSD/SPARC before?
Am I right in thinking that there's a problem with my checksums?
This isn't important, I just like having zephyrs on my desktop 
machines.

Thanks for your time,

Matt

-- 
Matt Fredette                         http://mit.edu/fredette/www
fredette@bbnplanet.com, fredette@mit.edu, fredette@theory.lcs.mit.edu

home help back first fref pref prev next nref lref last post