9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] cpurc
@ 2003-11-17 20:00 Christian Neeb
  2003-11-17 20:13 ` mirtchov
  0 siblings, 1 reply; 7+ messages in thread
From: Christian Neeb @ 2003-11-17 20:00 UTC (permalink / raw)
  To: 9fans

Hello,

I want to set up a small Plan 9 network for the first time. I got two
old pentium computers and i wanted to use one as a fileserver and the
other one as cpu/auth server. After finishing the tutorial
"Configuring a Standalone CPU Server" from the wiki my computer still
boots up using "termrc" instead of "cpurc". I configured the kernel
with

port
	int cpuserver = 1;

and installed a boot menu in plan9.ini to choose from the installed
kernels.

Could you please give me a hint why I doesn't start "cpurc"?

Thanks in advance,
Christian

--
Christian Neeb <chneeb@gmx.net>   PGP: 0x7CEAB672



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

* Re: [9fans] cpurc
  2003-11-17 20:00 [9fans] cpurc Christian Neeb
@ 2003-11-17 20:13 ` mirtchov
  2003-11-17 20:33   ` Christian Neeb
  0 siblings, 1 reply; 7+ messages in thread
From: mirtchov @ 2003-11-17 20:13 UTC (permalink / raw)
  To: 9fans

> Could you please give me a hint why I doesn't start "cpurc"?

You probably used a non-cpu config file as a template.  You will find
upon closer inspection that the difference between a cpu and non-cpu
kernel is not only in "cpuserver=" values -- cpu kernels have the boot
section configured as 'boot cpu args' instead of just 'boot':

so change the boot section in your config from:

	boot
		il
		tcp

to:

	boot cpu
		il
		tcp

Cpu kernel config templates in the current distribution are are
'pccpu' and 'pccpuf'.

andrey



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

* Re: [9fans] cpurc
  2003-11-17 20:13 ` mirtchov
@ 2003-11-17 20:33   ` Christian Neeb
  2003-11-17 20:56     ` mirtchov
  0 siblings, 1 reply; 7+ messages in thread
From: Christian Neeb @ 2003-11-17 20:33 UTC (permalink / raw)
  To: 9fans

Hi,

On 2003-11-17 21:13:47 +0100 mirtchov@cpsc.ucalgary.ca wrote:

> You probably used a non-cpu config file as a template.  You will find
> upon closer inspection that the difference between a cpu and non-cpu
> kernel is not only in "cpuserver=" values -- cpu kernels have the boot
> section configured as 'boot cpu args' instead of just 'boot':
> ...
> Cpu kernel config templates in the current distribution are are
> 'pccpu' and 'pccpuf'.

Thanks for the hint. I used the pcauth config file as a template. It
has "boot cpu boot #S/sdC0/" in it. My distribution is the "Sources
Snapshot" from the downloads page.

Thanks,
Christian

--
Christian Neeb <chneeb@gmx.net>   PGP: 0x7CEAB672



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

* Re: [9fans] cpurc
  2003-11-17 20:33   ` Christian Neeb
@ 2003-11-17 20:56     ` mirtchov
  2003-11-18  3:47       ` [9fans] Diskette Image Creation problem vdharani
  0 siblings, 1 reply; 7+ messages in thread
From: mirtchov @ 2003-11-17 20:56 UTC (permalink / raw)
  To: 9fans

you are right, pcauth is also supposed to be a cpu server.  i wonder
what throws it off base...

the code that decides whether to run cpurc or termrc is
/sys/src/cmd/init.c, if started with '-c' it execs 'rc -c
/rc/bin/cpurc'.  you may take a look there for debugging, but the
problem is probably some misunderstanding between the kernel boot code
(/sys/src/9/boot/*) which calls /bin/init, and what you have
configured in pcauth...

andrey



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

* Re: [9fans] Diskette Image Creation problem
  2003-11-18  3:47       ` [9fans] Diskette Image Creation problem vdharani
@ 2003-11-18  3:29         ` David Presotto
  0 siblings, 0 replies; 7+ messages in thread
From: David Presotto @ 2003-11-18  3:29 UTC (permalink / raw)
  To: 9fans

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

fixed

[-- Attachment #2: Type: message/rfc822, Size: 2626 bytes --]

From: <vdharani@infernopark.com>
To: <9fans@cse.psu.edu>
Subject: [9fans] Diskette Image Creation problem
Date: Mon, 17 Nov 2003 22:47:25 -0500 (EST)
Message-ID: <55072.135.214.42.68.1069127245.squirrel@www.infernopark.com>

Hi,

I tried to create and download diskette image but it gives the following
error:

"We ran out of resources while creating your diskette image. Please try
again later."

Any problem?

Thanks
dharani



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

* [9fans] Diskette Image Creation problem
  2003-11-17 20:56     ` mirtchov
@ 2003-11-18  3:47       ` vdharani
  2003-11-18  3:29         ` David Presotto
  0 siblings, 1 reply; 7+ messages in thread
From: vdharani @ 2003-11-18  3:47 UTC (permalink / raw)
  To: 9fans

Hi,

I tried to create and download diskette image but it gives the following
error:

"We ran out of resources while creating your diskette image. Please try
again later."

Any problem?

Thanks
dharani





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

* Re: [9fans] Diskette Image Creation problem
@ 2003-11-18  2:37 David Presotto
  0 siblings, 0 replies; 7+ messages in thread
From: David Presotto @ 2003-11-18  2:37 UTC (permalink / raw)
  To: vdharani, 9fans

I'll fix it, probably something I forgot to move over when we switched
file systems this weekend.


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

end of thread, other threads:[~2003-11-18  3:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-17 20:00 [9fans] cpurc Christian Neeb
2003-11-17 20:13 ` mirtchov
2003-11-17 20:33   ` Christian Neeb
2003-11-17 20:56     ` mirtchov
2003-11-18  3:47       ` [9fans] Diskette Image Creation problem vdharani
2003-11-18  3:29         ` David Presotto
2003-11-18  2:37 David Presotto

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).