9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: John Stalker <stalker@maths.tcd.ie>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] Re: venti+fossil problems on new install
Date: Fri, 22 Sep 2006 21:50:22 +0100	[thread overview]
Message-ID: <200609222150.ab09361@salmon.maths.tcd.ie> (raw)
In-Reply-To: <dfda9633b4b0232b84f8f20a20ae5ac2@quanstro.net>

> this means that you have not installed the plan 9 mbr; the fact that one
> can't be written; it could mean that there's a bad parameter somewhere.

I think the question of whether the mbr is plan9 or not is a bit of a red
herring.  I have trouble even when booted from the cdrom.  The specific
error message I get about not having an mbr comes from
/sys/lib/dist/pc/inst/partdisk on the cdrom.  A quick look at the rc
script shows that it should appear when /sys/lib/dist/pc/inst/hasmbr
returns false.  That should happen when the magic number in the last
two bytes of the mbr is wrong, i.e. not aa55.  The magic number is not
wrong, however.  The only explanation I can come up with is that the
read of /dev/sdC0/data is failing for some reason.

> now that' you have your machine to this state, what you can do is
> try to check to see if any look at all healthy.  the easiest is 9fat.
> try
> 	9fat:
> does this mount the partition?  if not you'll need to read prep(8)
> and follow the directions for setting up a bootable partition there.

9fat: works.  I used it to examine plan9.ini, which looks fine.

> after that's sorted, you can mount venti by hand.
> 	venti=tcp!$youripaddress!17034	# 17034 = venti
> 	venti -c /dev/sdC0/arenas
> 
> and fossil by hand
> 
> 	fossil -f /dev/sdC0/fossil -c 'srv -A fossil' -c 'srv -p fossilcons'

> the fossilcons(8) man page can get you through some reconfiguration,
> if required.

I haven't tried this yet.

> if that all works use "fshalt" to make sure that everything is cleanly
> shutdown. then reboot.  if things still aren't working, perhaps your
> boot loader needs some help  or there are other problems with, say,
> your plan9.ini.
> 
> - erik
-- 
John Stalker
School of Mathematics
Trinity College Dublin
tel +353 1 896 1983
fax +353 1 896 2282


  reply	other threads:[~2006-09-22 20:50 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-21  6:50 John Stalker
2006-09-21  8:13 ` erik quanstrom
2006-09-21 18:19 ` Lyndon Nerenberg
2006-09-21 18:25   ` erik quanstrom
2006-09-21 18:51     ` jmk
2006-09-21 20:27       ` C H Forsyth
2006-09-21 20:47     ` Charles Forsyth
2006-09-21 20:56       ` jmk
2006-09-21 21:08         ` Charles Forsyth
2006-09-21 21:50           ` erik quanstrom
2006-09-21 22:00             ` Charles Forsyth
2006-09-21 22:16               ` erik quanstrom
2006-09-21 22:31                 ` Charles Forsyth
2006-09-21 22:31                 ` jmk
2006-09-21 23:22                   ` erik quanstrom
2006-09-21 23:28                     ` geoff
2006-09-21 23:47                       ` geoff
2006-09-22  0:05                         ` erik quanstrom
2006-09-22  0:24                           ` Russ Cox
2006-09-22  0:50                             ` erik quanstrom
2006-09-22  1:25                               ` jmk
2006-09-22  7:23                             ` John Stalker
2006-09-22 11:23                               ` erik quanstrom
2006-09-22 17:30                                 ` John Stalker
2006-09-22 17:45                                   ` erik quanstrom
2006-09-22 19:48                                     ` John Stalker
2006-09-22 20:09                                       ` erik quanstrom
2006-09-22 20:50                                         ` John Stalker [this message]
2006-09-22 21:06                                           ` erik quanstrom
2006-09-22  0:29                           ` jmk
2006-09-21 23:52                       ` erik quanstrom
2006-09-21 23:59                       ` erik quanstrom
2006-09-22  0:50                         ` geoff
2006-09-22 16:39                           ` erik quanstrom
2006-09-23  5:24 Zoran Kolic
2006-09-23  6:51 ` John Stalker
2006-09-23 10:34   ` erik quanstrom
2006-09-23 15:04     ` Russ Cox

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=200609222150.ab09361@salmon.maths.tcd.ie \
    --to=stalker@maths.tcd.ie \
    --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).