9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* pi cpu server
@ 2020-09-04 21:53 Frank D. Engel, Jr.
  2020-09-04 22:38 ` [9fans] " ori
  0 siblings, 1 reply; 5+ messages in thread
From: Frank D. Engel, Jr. @ 2020-09-04 21:53 UTC (permalink / raw)
  To: 9fans

I am trying to set up a standalone (sd card boot) 9front installation on 
a Raspberry Pi 3 (using the pi3/4 image) to boot as a cpu server, but I 
can't figure out where to put the service=cpu and bootargs=... options.

The pi uses /n/pidos instead of /n/9fat, and I tried placing these in 
both config.txt and cmdline.txt within that mount, but they seem to be 
ignored in both places, and I am not finding any documentation on this - 
everything relevant seems to be written assuming the x64/amd64 situation...?



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

* Re: [9fans] pi cpu server
  2020-09-04 21:53 pi cpu server Frank D. Engel, Jr.
@ 2020-09-04 22:38 ` ori
  2020-09-05  2:35   ` Frank D. Engel, Jr.
  0 siblings, 1 reply; 5+ messages in thread
From: ori @ 2020-09-04 22:38 UTC (permalink / raw)
  To: fde101, 9fans

> I am trying to set up a standalone (sd card boot) 9front installation on 
> a Raspberry Pi 3 (using the pi3/4 image) to boot as a cpu server, but I 
> can't figure out where to put the service=cpu and bootargs=... options.
> 
> The pi uses /n/pidos instead of /n/9fat, and I tried placing these in 
> both config.txt and cmdline.txt within that mount, but they seem to be 
> ignored in both places, and I am not finding any documentation on this - 
> everything relevant seems to be written assuming the x64/amd64 situation...?
> 

I don't currently have a pi that I can use, but I seem to remember that
cmdline.txt is the right place to put it, but you need to put all the
arguments on one line, instead of multiple lines.

Something like:

	bootfile=9pi4 'nobootprompt=local!/dev/sdN0/fscache -a tcp!*!564' mouseport=none service=cpu ...


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

* Re: [9fans] pi cpu server
  2020-09-04 22:38 ` [9fans] " ori
@ 2020-09-05  2:35   ` Frank D. Engel, Jr.
  2020-09-05  3:38     ` ori
  0 siblings, 1 reply; 5+ messages in thread
From: Frank D. Engel, Jr. @ 2020-09-05  2:35 UTC (permalink / raw)
  To: 9fans

Thanks, that is what I was missing - I had them on separate lines.

Now I need to puzzle through this "tlsclient: auth_proxy: auth_proxy rpc 
write: interrupted" error whenever I try to use rcpu to connect back to 
the server as a different user (from a drawterm connection).  If I just 
"rcpu" by itself it works, but "rcpu -u glenda" for example gives me 
that error.


On 9/4/20 6:38 PM, ori@eigenstate.org wrote:
>> I am trying to set up a standalone (sd card boot) 9front installation on
>> a Raspberry Pi 3 (using the pi3/4 image) to boot as a cpu server, but I
>> can't figure out where to put the service=cpu and bootargs=... options.
>>
>> The pi uses /n/pidos instead of /n/9fat, and I tried placing these in
>> both config.txt and cmdline.txt within that mount, but they seem to be
>> ignored in both places, and I am not finding any documentation on this -
>> everything relevant seems to be written assuming the x64/amd64 situation...?
>>
> I don't currently have a pi that I can use, but I seem to remember that
> cmdline.txt is the right place to put it, but you need to put all the
> arguments on one line, instead of multiple lines.
>
> Something like:
>
>          bootfile=9pi4 'nobootprompt=local!/dev/sdN0/fscache -a tcp!*!564' mouseport=none service=cpu ...
>
>
> ------------------------------------------
> 9fans: 9fans
> Permalink: https://9fans.topicbox.com/groups/9fans/Tc236964f02eb4e55-M649f73dcc2153563cd787358
> Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
>


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

* Re: [9fans] pi cpu server
  2020-09-05  2:35   ` Frank D. Engel, Jr.
@ 2020-09-05  3:38     ` ori
  2020-09-05 11:45       ` Frank D. Engel, Jr.
  0 siblings, 1 reply; 5+ messages in thread
From: ori @ 2020-09-05  3:38 UTC (permalink / raw)
  To: fde101, 9fans

> Thanks, that is what I was missing - I had them on separate lines.
> 
> Now I need to puzzle through this "tlsclient: auth_proxy: auth_proxy rpc 
> write: interrupted" error whenever I try to use rcpu to connect back to 
> the server as a different user (from a drawterm connection).  If I just 
> "rcpu" by itself it works, but "rcpu -u glenda" for example gives me 
> that error.

First, make sure that your auth server is actually set up and found
correctly -- auth/debug can help here. Note that you'll probably be
able to auth as hostowner even if your auth server is misconfigured.


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

* Re: [9fans] pi cpu server
  2020-09-05  3:38     ` ori
@ 2020-09-05 11:45       ` Frank D. Engel, Jr.
  0 siblings, 0 replies; 5+ messages in thread
From: Frank D. Engel, Jr. @ 2020-09-05 11:45 UTC (permalink / raw)
  To: 9fans

Thanks, auth/debug was indeed useful.

Somehow I missed the authdom= entry in /lib/ndb/local and it was 
complaining that it could not find an auth server for my authdom.

I added that and rebooted, and now all is well.


On 9/4/20 11:38 PM, ori@eigenstate.org wrote:
>> Thanks, that is what I was missing - I had them on separate lines.
>>
>> Now I need to puzzle through this "tlsclient: auth_proxy: auth_proxy rpc
>> write: interrupted" error whenever I try to use rcpu to connect back to
>> the server as a different user (from a drawterm connection).  If I just
>> "rcpu" by itself it works, but "rcpu -u glenda" for example gives me
>> that error.
> First, make sure that your auth server is actually set up and found
> correctly -- auth/debug can help here. Note that you'll probably be
> able to auth as hostowner even if your auth server is misconfigured.
>
>
> ------------------------------------------
> 9fans: 9fans
> Permalink: https://9fans.topicbox.com/groups/9fans/Tc236964f02eb4e55-Md17a69450b891a9e1aa49f9c
> Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
>


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

end of thread, other threads:[~2020-09-05 11:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-04 21:53 pi cpu server Frank D. Engel, Jr.
2020-09-04 22:38 ` [9fans] " ori
2020-09-05  2:35   ` Frank D. Engel, Jr.
2020-09-05  3:38     ` ori
2020-09-05 11:45       ` Frank D. Engel, Jr.

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