Subject: Re: Coda on NetBSD 1.4.1/KAME/sparc
To: None <tech-pkg@netbsd.org, current-users@netbsd.org,>
From: None <ww@shadowfax.styx.org>
List: tech-pkg
Date: 05/30/2000 00:13:29
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

>>>>> "WW" == ww  <ww@shadowfax.styx.org> writes:

    WW> 1.4.1 seems to have  support for coda on certain architectures
    WW> (i386), but not on  sparc. After adding an entry for character
    WW> major number 62 in sys/arch/sparc/sparc/conf.c I can get venus
    WW> to run, but it dumps core fairly early on. It seems that venus
    WW> disables  core dumps,  so I'll probably  have to modify  it to
    WW> disable this  to get more debugging information.

I've  done this  now, and  it seems  to be  a problem  in  the threads
library: 

(gdb) run
Starting program: /tmp/venus 
Coda Venus, version 5.3.5

Program received signal SIGSEGV, Segmentation fault.
0x101d3c78 in savecontext ()
(gdb) bt
#0  0x101d3c78 in savecontext ()
#1  0x101d2634 in InitializeProcessSupport ()
#2  0x101d2484 in LWP_Init ()
#3  0xcd244 in vproc::start_thread (this=0x1c7000) at vproc.cc:421
#4  0xcd0e0 in vproc::vproc (this=0x1c7000, n=0xcbe40 "Main", 
    f=0xcbe2c <DoNothing(void)>, t=VPT_Main, stksize=16384, priority=3)
    at vproc.cc:396
#5  0xcbe90 in VprocInit () at vproc.cc:94
#6  0x8cd60 in main (argc=1, argv=0xeffff964) at venus.cc:164

Maybe not so  coincidentally, this routine is in the  same file that I
couldn't  get  to  compile in  the  coda  version  4 mlwp  library  --
process.ss, only now it's in a separate package...

hrmmm...

- -w
- --
Will Waites \________
ww@shadowfax.styx.org\____________________________
Idiosyntactix Ministry of Research and Development\

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (OpenBSD)
Comment: Processed by Mailcrypt 3.5.5 and Gnu Privacy Guard <http://www.gnupg.org/>

iQEXAwUBOTM/4A4cK24IcAwYFANHIQQAiCyuMjzzpLmoyc4sLxxf0F+RmwOh5DUU
7WQOik9XcXJVhcrHgTiUeyWdurYk9Z5pIFWdat6SAVsp6huRB2mizH7gF2rCxakl
udb5iXjNyZRanYCImwDiyn8M36HMzf2ZnFouFq0y8MA5mkuz/Zy1SjfS5GJp90xU
xu9ubmc/NYwEAIH/xS2z2uhZUCDCstYFyOeotLLsB2APSv5/tS6KnF4qZrcq/6dk
8aZWQko6uIf4wS/QYG9Tf8N5n2jg6IFLlcnmOSIvMPEeDsSBQ/Y9f169UkV6IRW/
2xVzGpdIMMhoBXlxLtqc7pfG+yti8lrV6AAVUi8WPqehgyCtFUaOkaG5
=75VC
-----END PGP SIGNATURE-----