9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: mirtchov@cpsc.ucalgary.ca
To: 9fans@cse.psu.edu
Subject: Re: [9fans] trying to repair my fossil + venti system
Date: Mon, 12 Jan 2004 14:52:05 -0700	[thread overview]
Message-ID: <6680b6118244589a317cf323852eb9e7@plan9.ucalgary.ca> (raw)
In-Reply-To: <Pine.LNX.4.44.0401121306080.1348-100000@maxroach.lanl.gov>

> booted the cdrom, started fossil, still getting xxx1 disk is full errors
> of course, and ... there is no fscons in /srv.
>
> What would cause that? Is fossil so unhappy it won't put an fscons out
> there or is the 'boot from cd' limited in some way?
>

fossil is _hardwired_ to srv fscons by init.
/sys/src/9/boot/local.c:247 says:

	run("/boot/fossil", "-f", partition, "-c", "srv -A fboot", "-c", "srv -p fscons", 0);

so you'll need to do a "-c 'srv -p fscons'" when you start it...

I know this because I spent a day trying to fix fossil crashing while
compiled with the 9pccpuf kernels -- poor thing was trying to srv
fscons twice and instead of telling me that it can't, it just crashed
(which seems to mirror the behaviour in your case ;)

> seems it does make some sense to have something drop the score into a safe
> file somewhere ... this was on my list but obviously I waited too long.
> Any suggested locations?

I have no idea how to determine the latest score..  seems to me (from
what I understand) any valid score that you see on the disk is a
possible root of a file system...  I don't think any timestamps are
stored with the score either...

I'd try and clean up fossil as per Nemo's suggestion.  If successful
you can do a 'snap -a' and use this score as your 'last known good
state'.

do you have one of those old dot matrix printers?  clog-ing to
something like that is a very good way of having non-digital copies of
the venti score :)

[Offtopic] It's also good as an instant notification of possible
problems with the system -- once upon a time we had our firewall
software write to a dot matrix printer connected on LPT1, so as soon
as it started printing stuff (making noise!) we knew we're being
portscanned...  'twas fun -- no threat level colorizations or some
such tomfoolery, just the facts ;)

andrey



  reply	other threads:[~2004-01-12 21:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-12 20:10 ron minnich
2004-01-12 21:52 ` mirtchov [this message]
2004-01-12 23:09   ` Charles Forsyth

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=6680b6118244589a317cf323852eb9e7@plan9.ucalgary.ca \
    --to=mirtchov@cpsc.ucalgary.ca \
    --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).