* [9fans] 9vx, 9legacy
@ 2021-04-18 14:44 ibrahim via 9fans
2021-04-18 15:10 ` David du Colombier
0 siblings, 1 reply; 4+ messages in thread
From: ibrahim via 9fans @ 2021-04-18 14:44 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 1348 bytes --]
While looking for a way to exchange files between a linux system and an hosted virtual machine running plan9 I found vx32 and 9vx. I couldn't master to compile it under a 64 bit Linux cause libX11 was missing as a compatible 32 bit library so I installed a 32 bit linux and everthing compiled without problems.
I started 9legacy with
9vx -r <rootpath> -u glenda "memsize=1536"
everything went fine and this is amazingly fast. I can exchange files between host and guest.
Now my questions :
a) When I typed fshalt I got an error that I don't have permissions to call /bin/echo. It seems like echo from the host system was called instead of echo from 9legacy. Is this a bug or did I forget something ?
b) How does the installation procedure work ? Usually during the installation of a distro lets say 9front I would have to partition a harddisk where the necessary things are installed.
c) I'm a bit confused about the licensing of 9vx and vx32. vx32 is LGPL and 9vx is/was licenced with the Lucent license while 9vx uses vx32 or am I wrong ?
Thanks in advance and 9vx is really an amazing tool.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tf651d537d5dbd117-M67a20cd6deb2da053b42096a
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2: Type: text/html, Size: 2120 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] 9vx, 9legacy
2021-04-18 14:44 [9fans] 9vx, 9legacy ibrahim via 9fans
@ 2021-04-18 15:10 ` David du Colombier
2021-04-18 15:33 ` ibrahim via 9fans
2021-04-18 15:55 ` ibrahim via 9fans
0 siblings, 2 replies; 4+ messages in thread
From: David du Colombier @ 2021-04-18 15:10 UTC (permalink / raw)
To: 9fans
> While looking for a way to exchange files between a linux system and an
> hosted virtual machine running plan9 I found vx32 and 9vx. I couldn't
> master to compile it under a 64 bit Linux cause libX11 was missing as a
> compatible 32 bit library so I installed a 32 bit linux and everthing
> compiled without problems.
There is no need to run a 32-bit Linux specifically, since most 64-bit
Linux distributions have support for both 32-bit and 64-bit user space.
For example, on a 64-bit Fedora you can install the 32-bit
dependencies for 9vx this way:
dnf install glibc-devel.i686 libgcc.i686 libX11-devel.i686 libXext-devel.i686 -y
> a) When I typed fshalt I got an error that I don't have permissions to
> call /bin/echo. It seems like echo from the host system was called
> instead of echo from 9legacy. Is this a bug or did I forget something ?
I'm not sure what is your issue here. Anyway, you don't need to
run fshalt on 9vx, because there is usually no file system running.
> b) How does the installation procedure work ? Usually during the
> installation of a distro lets say 9front I would have to partition a
> harddisk where the necessary things are installed.
In the usual case, you don't have to run a file system in 9vx.
You simply extract the files from the Plan 9 CD in a directory
located on your host operating system, then 9vx can
use this directory as his root.
For example:
wget http://9legacy.org/download/9legacy.iso.bz2
bunzip2 plan9.iso.bz2
9660srv -f plan9.iso
9mount unix\!$(namespace)/9660 /n/9660
sudo cp -a /n/9660 /opt/plan9
9vx -r /opt/plan9
> c) I'm a bit confused about the licensing of 9vx and vx32. vx32 is LGPL
> and 9vx is/was licenced with the Lucent license while 9vx uses vx32 or
> am I wrong ?
9vx was recently re-licensed under MIT license, but vx32 remains under LGPL.
--
David du Colombier
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tf651d537d5dbd117-Meca687190264535224ded984
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] 9vx, 9legacy
2021-04-18 15:10 ` David du Colombier
@ 2021-04-18 15:33 ` ibrahim via 9fans
2021-04-18 15:55 ` ibrahim via 9fans
1 sibling, 0 replies; 4+ messages in thread
From: ibrahim via 9fans @ 2021-04-18 15:33 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 863 bytes --]
Thanks for your fast reply,
I'll try to find the way to install X11 compatibility libraries for debian 64 bit systems.
>
> a) When I typed fshalt I got an error that I don't have permissions to
> call /bin/echo. It seems like echo from the host system was called
> instead of echo from 9legacy. Is this a bug or did I forget something ?
>
>
> I'm not sure what is your issue here. Anyway, you don't need to
> run fshalt on 9vx, because there is usually no file system running.
I wasn't sure why echo from the host was called out of the guest and if I have forgotten something to initialize.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tf651d537d5dbd117-M6896134682f796ce1f89a5c4
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2: Type: text/html, Size: 1654 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] 9vx, 9legacy
2021-04-18 15:10 ` David du Colombier
2021-04-18 15:33 ` ibrahim via 9fans
@ 2021-04-18 15:55 ` ibrahim via 9fans
1 sibling, 0 replies; 4+ messages in thread
From: ibrahim via 9fans @ 2021-04-18 15:55 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 769 bytes --]
For everyone interested :
On 64 bit debian systems you need to install the X11 compatibility libraries with
sudo apt-get install libx11-dev:i386
sudo apt-get install libxext-dev:i386
The same syntax is for the other libraries mentioned by David necessary.
Afterwards it compiles without problems and 9vx runs like a charm. I could compile programs and edit sourcefiles in the host translate under plan9 and its really fast.
Thanks David and everyone involved in 9vx and vx32 thats what I need to write software for plan9.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tf651d537d5dbd117-Mee8b78c21e82acb98a36e6c0
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2: Type: text/html, Size: 1438 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-04-18 15:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-18 14:44 [9fans] 9vx, 9legacy ibrahim via 9fans
2021-04-18 15:10 ` David du Colombier
2021-04-18 15:33 ` ibrahim via 9fans
2021-04-18 15:55 ` ibrahim via 9fans
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).