9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: David Swasey <swasey@cs.cmu.edu>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] bleeding edge cd install
Date: Thu,  9 Oct 2003 23:08:44 -0400	[thread overview]
Message-ID: <9bd1a4912836e2a5b0ac6b26c9a56183@cs.cmu.edu> (raw)
In-Reply-To: <20031010022403.24764.97956.Mailman@psuvax1.cse.psu.edu>

[-- Attachment #1: Type: text/plain, Size: 429 bytes --]

I just got venti and fossil (from sources, not a CD) working on a
laptop.  I did not see any invalid address trap while debugging.

It took me an embarassingly long time to realize that network
addresses like

> tcp!$venti!venti

do not work.  Fossil and venti are run without /lib/ndb so they
require numeric ports.

Just in case it helps, I am including my boot, flproto, and
venti.conf.  They are rough.

-dave

[-- Attachment #2: Type: text/plain, Size: 698 bytes --]

#!/boot/rc -m /boot/rcmain
cd /boot
cp '#r/rtc' '#c/time'
bind -a '#I' /net
bind -a '#l0' /net
bind -a '#S' /dev
bind -a '#c' /dev
bind '#p' /proc
bind '#d' /fd
ipconfig
ipconfig loopback /dev/null 127.1
authaddr=`{sed -n 's/	auth=(.*)/\1/p' /net/ndb|sed 1q}
if(~ $authaddr ()){
	echo 'authdom=home auth=12.226.232.158' >> /net/ndb
	authaddr=12.226.232.158
}
factotum -a$authaddr -sfactotum -u
echo -n 'dma on' > /dev/sdC0/ctl
echo -n 'rwm on' > /dev/sdC0/ctl
venti -c venti.conf
fossil -f /dev/sdC0/fossil
echo -n 127.1 > '#e'/venti
mount -c '#s'/boot /root
bind -ac /root /
bind -c /root/mnt /mnt
mount -a '#s/factotum' /mnt
rootdir=/root
rootspec=''
exec /386/init -t

[-- Attachment #3: Type: text/plain, Size: 183 bytes --]

srv -p fscons
srv boot
#listen tcp!*!564
#listen il!*!564
fsys main config /dev/sdC0/fossil
fsys main venti tcp!127.1!17034
fsys main open
fsys main
users -r /active/adm/users

[-- Attachment #4: Type: text/plain, Size: 288 bytes --]

# the name of the index
index main

# the index sections
isect /dev/sdC0/isect0

# the arenas
# We could delete cfs and add a 512MB arenas1
arenas /dev/sdC0/arenas0

# Defaults are 1m, 0, 0
mem 1m
#bcmem 0
icmem 64k

addr tcp!127.1!17034
httpaddr tcp!127.1!80
queuewrites

       reply	other threads:[~2003-10-10  3:08 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20031010022403.24764.97956.Mailman@psuvax1.cse.psu.edu>
2003-10-10  3:08 ` David Swasey [this message]
2003-10-11  9:29   ` Charles Forsyth
2003-10-10  2:44 David Presotto
  -- strict thread matches above, loose matches on Subject: below --
2003-10-10  1:46 ron minnich
2003-10-10  1:49 ` David Presotto
2003-10-10  1:34   ` Russ Cox
2003-10-10  2:22     ` ron minnich
2003-10-10  1:58       ` Russ Cox
2003-10-10  2:41         ` David Presotto
2003-10-10  3:12         ` ron minnich
2003-10-10  2:30       ` David Presotto
2003-10-10  2:33       ` ron minnich
2003-10-10  2:28     ` mirtchov
2003-10-10  2:03   ` ron minnich
2003-10-10  2:13     ` David Presotto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9bd1a4912836e2a5b0ac6b26c9a56183@cs.cmu.edu \
    --to=swasey@cs.cmu.edu \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).