9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Kazumi Iwane iwane@lit.rd.nttdata.co.jp
Subject: [9fans] Re: Authentication-server installation problems
Date: Mon,  6 Oct 1997 14:14:15 +0900	[thread overview]
Message-ID: <19971006051415.JF4xPclwJhkVNKolQhoDfHOWa_r9HIlzS2iuPIaR6uk@z> (raw)

A reply to an old message, to which I didn't see an answer.

In message <199702171945.LAA13888@batman.cs.unr.edu>,
	Eric Blood writes:
> Following the current instructions off the Plan9 web page I've done
> the initial file-system setup on the new authentication-server and
> created the authid on the file-server.  Then, after selecting the
> fourth option from the menu (CPU/Authentication) and rebooting the
> authentication-server, it will prompt where to boot from (il), my IP,
> my mask, my gateway, the file server IP, and the authentication IP (my
> IP address).  It will pause for a few seconds and then print the
> following:
>
> boot: #c/hostowner: bad arg in system call
> panic: boot process died: unknown
> ... <- several rows and columns of numbers
> exiting

I had exactly the same problem trying to boot 9sscpu on a
SparcStation 2.

> I believe that when it goes to write hostowner, it's failing either on
> the open() or write().  I guess there isn't a problem with writing the
> key file, but I not sure how to verify this.

read()/write() to #c/key etc. requires the global variable cpuserver
set to 1. mk 'CONF=sscpu' generates /sys/src/9//ss/sscpu.c, which
has the line
	int cpuserver = 1;
near the end. This is shadowed (somehow) by /sys/src/9/ss/main.c:15
	int	cpuserver;
here, cpuserver is implicitly initialized to 0.

My fix:
term% diff /n/cd/sys/src/9/ss/main.c /sys/src/9/ss/main.c
15d14
< int cpuserver;

I guess the same fix has to be applied to /sys/src/9/ss10/main.c,
but I don't have a machine to verify it.

> Eric V. Blood
> eblood@cs.unr.edu, http://www.cs.unr.edu/~eblood
--
                                        iwane@lit.rd.nttdata.co.jp
"This is where the future lies beneath the burning sulphur skies."
                                    -- C.Hynde, 'Downtown (Akron)'




                 reply	other threads:[~1997-10-06  5:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=19971006051415.JF4xPclwJhkVNKolQhoDfHOWa_r9HIlzS2iuPIaR6uk@z \
    --to=9fans@9fans.net \
    /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).