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