* [9front] Rio on cpu|Share files to unix on terminal
@ 2021-06-02 1:56 adr
2021-06-03 3:43 ` [9front] " adr
0 siblings, 1 reply; 7+ messages in thread
From: adr @ 2021-06-02 1:56 UTC (permalink / raw)
To: 9front
Hi,
I have a terminal configured (rpi4) and I want to shared a file
system with another unix machine. I changed the service to cpu and
configured it to start rio, mounting the draw device and mouse first.
All good but after creating some windows, rio will go crazy, windows
will be resized randomly and the display will not represent the
contents of the windows anymore.
The console message when the party starts is
rio: setname failed: unknown id for draw image
If one is able to kill rio you can start it again and all will be
normal until the mess starts again.
It puzzled me because I'm pretty sure I had this very same issue
the last time I used 9front a lot of years ago on a pc.
I would appreciate if someone points me to a reason of this behavior.
Regards,
adr.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [9front] Re: Rio on cpu|Share files to unix on terminal
2021-06-02 1:56 [9front] Rio on cpu|Share files to unix on terminal adr
@ 2021-06-03 3:43 ` adr
2021-06-03 19:02 ` fulton
0 siblings, 1 reply; 7+ messages in thread
From: adr @ 2021-06-03 3:43 UTC (permalink / raw)
To: 9front
On Wed, Jun 02, 2021 at 01:56:06AM +0000, adr@SDF.ORG wrote:
> Hi,
> I have a terminal configured (rpi4) and I want to shared a file
> system with another unix machine. I changed the service to cpu and
> configured it to start rio, mounting the draw device and mouse first.
>
> All good but after creating some windows, rio will go crazy, windows
> will be resized randomly and the display will not represent the
> contents of the windows anymore.
>
> The console message when the party starts is
>
> rio: setname failed: unknown id for draw image
>
> If one is able to kill rio you can start it again and all will be
> normal until the mess starts again.
>
> It puzzled me because I'm pretty sure I had this very same issue
> the last time I used 9front a lot of years ago on a pc.
>
> I would appreciate if someone points me to a reason of this behavior.
>
> Regards,
> adr.
After following the boot process it's clear that the constrains are in the kernel,
I suppose is here /sys/src/9/bcm/main.c#245
if(!cpuserver)
/*
* give terminals lots of image memory, too; the dynamic
* allocation will balance the load properly, hopefully.
* be careful with 32-bit overflow.
*/
imagmem->maxsize = kpages;
Instead of changing the service variable on bootargs and configuring the cpuserver to run rio,
I'll configure the terminal to run the cpu services.
Just in case someone is thinking about this.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9front] Re: Rio on cpu|Share files to unix on terminal
2021-06-03 3:43 ` [9front] " adr
@ 2021-06-03 19:02 ` fulton
2021-06-04 15:51 ` adr
0 siblings, 1 reply; 7+ messages in thread
From: fulton @ 2021-06-03 19:02 UTC (permalink / raw)
To: 9front
Quoth adr@SDF.ORG:
> On Wed, Jun 02, 2021 at 01:56:06AM +0000, adr@SDF.ORG wrote:
> > Hi,
> > I have a terminal configured (rpi4) and I want to shared a file
> > system with another unix machine. I changed the service to cpu and
> > configured it to start rio, mounting the draw device and mouse first.
> >
> > All good but after creating some windows, rio will go crazy, windows
> > will be resized randomly and the display will not represent the
> > contents of the windows anymore.
> >
> > The console message when the party starts is
> >
> > rio: setname failed: unknown id for draw image
> >
> > If one is able to kill rio you can start it again and all will be
> > normal until the mess starts again.
> >
> > It puzzled me because I'm pretty sure I had this very same issue
> > the last time I used 9front a lot of years ago on a pc.
> >
> > I would appreciate if someone points me to a reason of this behavior.
> >
> > Regards,
> > adr.
>
> After following the boot process it's clear that the constrains are in the kernel,
> I suppose is here /sys/src/9/bcm/main.c#245
> if(!cpuserver)
> /*
> * give terminals lots of image memory, too; the dynamic
> * allocation will balance the load properly, hopefully.
> * be careful with 32-bit overflow.
> */
> imagmem->maxsize = kpages;
>
> Instead of changing the service variable on bootargs and configuring the cpuserver to run rio,
> I'll configure the terminal to run the cpu services.
>
> Just in case someone is thinking about this.
>
Have you tried sshfs(1) - thats what I use for transfering files to and from UNIX.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9front] Re: Rio on cpu|Share files to unix on terminal
2021-06-03 19:02 ` fulton
@ 2021-06-04 15:51 ` adr
2021-06-04 16:29 ` Sigrid Solveig Haflínudóttir
0 siblings, 1 reply; 7+ messages in thread
From: adr @ 2021-06-04 15:51 UTC (permalink / raw)
To: 9front
> Have you tried sshfs(1) - thats what I use for transfering files to and from UNIX.
Thas what I'm using now to share files from unix, but I want to serve files from plan9.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9front] Re: Rio on cpu|Share files to unix on terminal
2021-06-04 15:51 ` adr
@ 2021-06-04 16:29 ` Sigrid Solveig Haflínudóttir
2021-06-04 18:42 ` adr
0 siblings, 1 reply; 7+ messages in thread
From: Sigrid Solveig HaflÃnudóttir @ 2021-06-04 16:29 UTC (permalink / raw)
To: 9front
Quoth adr@SDF.ORG:
> > Have you tried sshfs(1) - thats what I use for transfering files to and from UNIX.
>
> Thas what I'm using now to share files from unix, but I want to serve files from plan9.
https://docs.9front.org/9p-on-unix
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9front] Re: Rio on cpu|Share files to unix on terminal
2021-06-04 16:29 ` Sigrid Solveig Haflínudóttir
@ 2021-06-04 18:42 ` adr
2021-06-04 19:02 ` Stanley Lieber
0 siblings, 1 reply; 7+ messages in thread
From: adr @ 2021-06-04 18:42 UTC (permalink / raw)
To: 9front
On Fri, Jun 04, 2021 at 06:29:02PM +0200, Sigrid Solveig Hafl??nud??ttir wrote:
> Quoth adr@SDF.ORG:
> > > Have you tried sshfs(1) - thats what I use for transfering files to and from UNIX.
> >
> > Thas what I'm using now to share files from unix, but I want to serve files from plan9.
>
> https://docs.9front.org/9p-on-unix
>
Sure, but first I have to configure the terminal to serve files,
so I configured it first to cpu and found that problem with rio.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9front] Re: Rio on cpu|Share files to unix on terminal
2021-06-04 18:42 ` adr
@ 2021-06-04 19:02 ` Stanley Lieber
0 siblings, 0 replies; 7+ messages in thread
From: Stanley Lieber @ 2021-06-04 19:02 UTC (permalink / raw)
To: 9front
On June 4, 2021 2:42:24 PM EDT, adr@SDF.ORG wrote:
>On Fri, Jun 04, 2021 at 06:29:02PM +0200, Sigrid Solveig Hafl??nud??ttir wrote:
>> Quoth adr@SDF.ORG:
>> > > Have you tried sshfs(1) - thats what I use for transfering files to and from UNIX.
>> >
>> > Thas what I'm using now to share files from unix, but I want to serve files from plan9.
>>
>> https://docs.9front.org/9p-on-unix
>>
>Sure, but first I have to configure the terminal to serve files,
>so I configured it first to cpu and found that problem with rio.
>
ftp, nfs, smb, etc.
sl
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-06-04 19:09 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-02 1:56 [9front] Rio on cpu|Share files to unix on terminal adr
2021-06-03 3:43 ` [9front] " adr
2021-06-03 19:02 ` fulton
2021-06-04 15:51 ` adr
2021-06-04 16:29 ` Sigrid Solveig Haflínudóttir
2021-06-04 18:42 ` adr
2021-06-04 19:02 ` Stanley Lieber
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).