9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] venti woes with brand new install
@ 2007-09-08 12:09 John Soros
  2007-09-08 13:43 ` erik quanstrom
  0 siblings, 1 reply; 16+ messages in thread
From: John Soros @ 2007-09-08 12:09 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hi everyone!
I'm trying to configure a new cpu+auth server using the instructions in the wiki, and I've crossed a problem with venti.
Here is what I did:
1, downloaded the sept. 6th iso from plan9 download site
2, installed a fossil+venti system (default setup)
3, followed the wiki instructions to set up a cpu+auth server (compiled my own 9pccpuf kernel with default config)
then I rebooted my computer (luckily set up a menu with options to start the old terminal kernel),
and got venti suicide, here is a screenshot of the crash: http://jsoros.free.fr/CIMG5212.JPG , after this the computer reboots. We did a little debugging with cinap on irc, here is how we did it:
1, copy /386/bin/venti/venti to 9fat
2, boot into the live-cd
3, run /n/9fat/venti -s -c /dev/sdC0/arenas -a 'tcp!127.1!17034' -h 'tcp!127.1!8000'
it suicides here too
4, run acid on the crashed venti, here is the output of acid: http://jsoros.free.fr/CIMG5213.JPG
Thanks for any insite on what could be wrong and what I could do to fix it.

Regards
John


^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: [9fans] venti woes with brand new install
@ 2007-09-08 15:27 cinap_lenrek
  2007-09-08 16:49 ` erik quanstrom
  0 siblings, 1 reply; 16+ messages in thread
From: cinap_lenrek @ 2007-09-08 15:27 UTC (permalink / raw)
  To: gabidiaz, 9fans


> hello

> here is what you suggested:
>
> cid% venti/venti -r -L -d -s -c /dev/sdC0/arenas -a 'tcp!127.1!59999' -h 'tcp!127.1!8009'
> T+0.0000 venti: conf...
> corrupt zblock: 18042e0 b->_size=8192
>   64 65 66 67 68 69 6a 6b
>   6c 6d 6e 6f 70 71 72 73
>   74 75 76 6b 00 00 00 00
>   20 00 00 cd 22 80 01 b8
> venti 1400: suicide: sys: trap: fault read addr=0x0 pc=0x0002120d
> cid% acid 1400
> /proc/1400/text:386 plan 9 executable

found it!

that is "defghijklmnopqrstuv..." instead of the expected "1234567890abc..."

13 bytes!

b->data is incremented (and b->len decremented)13 bytes to skip the
"venti config" magic in readifile() ifile.c:39.
and freezblock() alculates the position of the zmagic by b->data + b->_size.

maybe add a b->_data in ZBuffer or fix ifile.c?

cinap



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2007-09-10  8:39 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-08 12:09 [9fans] venti woes with brand new install John Soros
2007-09-08 13:43 ` erik quanstrom
2007-09-08 14:27   ` gabidiaz
2007-09-09 12:01   ` John Soros
2007-09-09 12:05     ` erik quanstrom
2007-09-09 12:57       ` John Soros
2007-09-09 13:08         ` Uriel
2007-09-09 13:13         ` erik quanstrom
2007-09-09 13:22           ` Uriel
2007-09-10  8:12     ` SHRIZZA
2007-09-10  8:39       ` Uriel
2007-09-08 15:27 cinap_lenrek
2007-09-08 16:49 ` erik quanstrom
2007-09-08 17:07   ` cinap_lenrek
2007-09-08 19:08   ` cinap_lenrek
2007-09-08 21:45     ` John Soros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).