Re: [9fans] print() in kernel space doesn't work like I would think

2023-08-31 Thread ori
Quoth o...@eigenstate.org: > > show your diff. > > (hint: bind -ac /dist/plan9front / && git/diff /sys/src/9 | webpaste) also, the steps you used to install and boot the new kernel. -- 9fans: 9fans Permalink:

Re: [9fans] print() in kernel space doesn't work like I would think

2023-08-31 Thread ori
Quoth dusan3...@gmail.com: > I was editing plan9's realtime scheduler in /sys/src/9/port/edf.c and was > trying to add a print to log something, but print didn't show anywhere(or I > am looking at the wrong place). It has some prints in source code already, > with this define. > #define DPRINT

Re: [9fans] print() in kernel space doesn't work like I would think

2023-08-31 Thread Steve Simon
trycat /dev/kmesgorcat /dev/kprintOn 31 Aug 2023, at 4:44 pm, dusan3...@gmail.com wrote: I was editing plan9's realtime scheduler in /sys/src/9/port/edf.c and was trying to add a print to log something, but print didn't show anywhere(or I am looking at the wrong place). It has some prints in

[9fans] print() in kernel space doesn't work like I would think

2023-08-31 Thread dusan3sic
I was editing plan9's realtime scheduler in /sys/src/9/port/edf.c and was trying to add a print to log something, but print didn't show anywhere(or I am looking at the wrong place). It has some prints in source code already, with this define. #define DPRINT if(Dontprint){}else print And with

Re: [9fans] Remind me how to make the fs writable for `mk install'

2023-08-30 Thread Don Bailey
Thanks, Lucio. That helped perfectly. I kept trying to alter the *current* instance, instead of announcing a new one, as if I were still using KFS. D On Wed, Aug 30, 2023 at 4:00 AM Lucio De Re wrote: > Mount /srv/fossil somewhere (on top of itself, I suppose) after > announcing an instance

Re: [9fans] Remind me how to make the fs writable for `mk install'

2023-08-30 Thread Lucio De Re
Mount /srv/fossil somewhere (on top of itself, I suppose) after announcing an instance with the correct permissions - sorry about being so concise, but I think you'll get the idea... Mail me personally and I'll check more carefully what I do on my system - I generally add the feature to /bin/9fs

[9fans] Re: runebase.c illegal rune in string

2023-08-29 Thread Don Bailey
Oh, I see. I thought I had the latest version of the tools installed, but once I 'mk all' in sys/src, I can now compile ports without errors. Resolved. D On Tue, Aug 29, 2023 at 9:22 PM Don Bailey wrote: > Hi All, > > When attempting to build an ARM binary, I am getting an error in >

[9fans] Remind me how to make the fs writable for `mk install'

2023-08-29 Thread Don Bailey
Hi All, I am trying to `mk install' all cmds/libs. Can someone please remind me how to tell fossil that an active fs can be written? Thank you, D -- 9fans: 9fans Permalink:

[9fans] runebase.c illegal rune in string

2023-08-29 Thread Don Bailey
Hi All, When attempting to build an ARM binary, I am getting an error in libc/port/runebase.c on several lines (such as 1255). The error is "illegal rune in string". Can anyone tell me how to patch this? If I "pull" from this plan9 image, nothing updates, even after changing the sources to 9p.io

Re: [9fans] /dev/realtime doesn't exist?

2023-08-29 Thread Skip Tavakkolian
I wrote an example 20 years ago, but couldn't get it to work. I found a copy in this thread: https://9fans.topicbox.com/groups/9fans/T6fea0dd928cee45d-M9987c73da1c5b3190e83c561/9fans-trace-c On Tue, Aug 29, 2023, 11:29 AM Charles Forsyth wrote: > There's another paper from an iwp9

Re: [9fans] /dev/realtime doesn't exist?

2023-08-29 Thread Charles Forsyth
There's another paper from an iwp9 http://9p.io/iwp9/Real-time.pdf that might provide more detail On Tue, 29 Aug 2023 at 18:19, wrote: > Quoth dusan3...@gmail.com: > > I was reading an article about plan9's realtime scheduler edf ( >

Re: [9fans] /dev/realtime doesn't exist?

2023-08-29 Thread ori
Quoth dusan3...@gmail.com: > I was reading an article about plan9's realtime scheduler edf > (http://doc.cat-v.org/plan_9/real_time/real_time_in_a_real_operating_system/real_time_in_a_real_operating_system.pdf, > page 7), and they mentioned using /dev/realtime to create realtime > processes,

[9fans] /dev/realtime doesn't exist?

2023-08-29 Thread dusan3sic
I was reading an article about plan9's realtime scheduler edf (http://doc.cat-v.org/plan_9/real_time/real_time_in_a_real_operating_system/real_time_in_a_real_operating_system.pdf, page 7), and they mentioned using /dev/realtime to create realtime processes, but /dev/realtime doesn't exist on my

Re: [9fans] Plan9 multi-core support

2023-08-29 Thread Rob Pike
The dual VAX was the first machine we tried to make work, but for various reasons including the machine's peculiarities and our own embryonic knowledge, we abandoned it. The first working Plan 9 kernel was for a 4-CPU (one MIPS chip per board) IRIS machine, with custom locking hardware (on another

Re: [9fans] Plan9 multi-core support

2023-08-29 Thread Steve Simon
there was a vax compiler and i think a vax kenfs implementation, i don’t know if there was a vax cpu/auth kernel. quite possibly not. currently i can only find my own post on tuhs confirming the vax was a dead end. but i am sure jmk told me he found a vax compiler binary in the labs dump. i

Re: [9fans] Plan9 multi-core support

2023-08-28 Thread Kurt H Maier via 9fans
On Mon, Aug 28, 2023 at 12:32:55PM +, G B via 9fans wrote: > Windows and Linux began on single-core single processor machines. > Multiprocessor had been around for some time--IBM's System 360 began using > multi-processors in 1968--but not for x86. Plan 9 first edition came out in > 1992,

Re: [9fans] Plan9 multi-core support

2023-08-28 Thread mkf
There was an VAX kernel? where can i find more information about it? On Mon, 28 Aug 2023 16:25:59 +0100 Steve Simon wrote: > i wonder if the lost vax kernel supported multiple cpu's - mkf -- 9fans: 9fans Permalink:

Re: [9fans] Plan9 multi-core support

2023-08-28 Thread Steve Simon
> Plan 9 first edition came out in 1992, at a time when multicore didn't exist, > and multicore was released with IBM's Power 4 in 2001. possibly true but multi-cpu boxes where becoming quite popular in the late 1980s and these have very similar kernel design challenges to multicore

Re: [9fans] Plan9 multi-core support

2023-08-28 Thread G B via 9fans
Windows and Linux began on single-core single processor machines. Multiprocessor had been around for some time--IBM's System 360 began using multi-processors in 1968--but not for x86. Plan 9 first edition came out in 1992, at a time when multicore didn't exist, and multicore was released with

Re: [9fans] Plan9 multi-core support

2023-08-27 Thread ori
Quoth dusan3...@gmail.com: > I finally read the article about asking questions, sorry if i was being rude > or was waisting your time, wasn't my intention. people wrote documentation for a reason; sometimes the documentation is confusing, insufficient, or you didn't know the right keyword to

Re: [9fans] Plan9 multi-core support

2023-08-27 Thread Dan Cross
On Sat, Aug 26, 2023 at 9:28 PM Don Bailey wrote: > Rob - would you be willing to tell us what the novel work is (and more > about it) that still has relevance today? I'm sure I'm not the only one on > the list that would love to learn more about that history. > I wouldn’t try to speak for Rob,

Re: [9fans] Plan9 multi-core support

2023-08-27 Thread Michael Grunditz
Den sön 27 aug. 2023 12:57 skrev: > I am using it > There are little dots above the email text. Click on the dots and reply beneath. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T912e4838cb1a371f-M2dfbf912ba7c57040cd40271 Delivery

Re: [9fans] Plan9 multi-core support

2023-08-27 Thread dusan3sic
I am using it in a browser -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T912e4838cb1a371f-M91d93331c50c119b546c63b4 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Re: [9fans] Plan9 multi-core support

2023-08-27 Thread mkf
I assume you are using a mail client, click on "reply" button if so. On Sun, 27 Aug 2023 05:50:22 -0400 dusan3...@gmail.com wrote: > Btw, how do I reply to someone like you are doing? Copying and quoting > manually seems weird. - mkf -- 9fans: 9fans

Re: [9fans] Plan9 multi-core support

2023-08-27 Thread dusan3sic
Btw, how do I reply to someone like you are doing? Copying and quoting manually seems weird. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T912e4838cb1a371f-Mc65eb7f7f6f43ff9c92f4dc0 Delivery options:

Re: [9fans] Plan9 multi-core support

2023-08-27 Thread dusan3sic
I finally read the article about asking questions, sorry if i was being rude or was waisting your time, wasn't my intention. And about the multi-core support, well I kinda moved away from it since I don't really need it, I was just wondering if i can disable it in an easy way for the

Re: [9fans] Plan9 multi-core support

2023-08-26 Thread Don Bailey
Rob - would you be willing to tell us what the novel work is (and more about it) that still has relevance today? I'm sure I'm not the only one on the list that would love to learn more about that history. Best, D On Sat, Aug 26, 2023 at 7:54 PM Rob Pike wrote: > A big reason for doing Plan 9,

Re: [9fans] Plan9 multi-core support

2023-08-26 Thread Bakul Shah
In addition to the papers Ori pointed out, you may wish to read Francisco J Ballesteros' Notes on the Plan9 3rd edition kernel: https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.75.5409 I don't know how obsolete this is for the current versions of plan9.

Re: [9fans] Plan9 multi-core support

2023-08-26 Thread Rob Pike
A big reason for doing Plan 9, as the linked article says right up top, was supporting multi{core|processor} machines. And that took some research because there really hadn't been that many around to write OSes for before then. Some novel work resulted, work that still has relevance. -rob On

Re: [9fans] Plan9 multi-core support

2023-08-26 Thread ori
Quoth dusan3...@gmail.com: > Does plan9 have multi-core support? If it does, how does it manage it (what > files/man pages/docs do I read). If it doesn't have, how would I implement > it. read: https://doc.cat-v.org/plan_9/4th_edition/papers/9 and once again, read:

Re: [9fans] RPi in QEMU

2023-08-26 Thread Don A. Bailey
So to get this back on the track of RPI emulated in QEMU … has anyone successfully used the Miller image with Q? D > On Aug 26, 2023, at 7:49 AM, hiro <23h...@gmail.com> wrote: > > ah no i was wrong. first google result "KVM support is available only > for 64-bit ARM architecture (AArch64" >

[9fans] Plan9 multi-core support

2023-08-26 Thread dusan3sic
Does plan9 have multi-core support? If it does, how does it manage it (what files/man pages/docs do I read). If it doesn't have, how would I implement it. -- 9fans: 9fans Permalink:

Re: [9fans] RPi in QEMU

2023-08-26 Thread Philip Silva via 9fans
Hosting options are quite limited though, there's Hetzner and actually also Arm Virtual Hardware but I couldn't get 9front running there. And at least on real hardware running 32 bit on aarch64 seems to work. Also on macOS qemu there's hardware acceleration. I've tried that as well but I think

Re: [9fans] RPi in QEMU

2023-08-26 Thread hiro
ah no i was wrong. first google result "KVM support is available only for 64-bit ARM architecture (AArch64" oh well On Sat, Aug 26, 2023 at 1:45 PM mkf wrote: > > I believe KVM on aarch64 would help aarch64 guests. > i could be wrong. > > On Sat, 26 Aug 2023 13:39:01 +0200 > hiro

Re: [9fans] RPi in QEMU

2023-08-26 Thread mkf
I believe KVM on aarch64 would help aarch64 guests. i could be wrong. On Sat, 26 Aug 2023 13:39:01 +0200 hiro <23h...@gmail.com> wrote: > why do you assume kvm helps with emulating a raspberry? > kvm helps virtualize amd64 on amd64, and shouldn't be usable for much else. - mkf

Re: [9fans] RPi in QEMU

2023-08-26 Thread hiro
why do you assume kvm helps with emulating a raspberry? kvm helps virtualize amd64 on amd64, and shouldn't be usable for much else. On Sat, Aug 26, 2023 at 11:25 AM Philip Silva via 9fans <9fans@9fans.net> wrote: > > Hi, > > I've only tried qemu with 9front and this got me to a console (the

Re: [9fans] RPi in QEMU

2023-08-26 Thread Philip Silva via 9fans
Hi, I've only tried qemu with 9front and this got me to a console (the files in dos/ are from the image): EXTRA_ARGS='user=glenda nobootprompt=local!/dev/sdM0/fs virtio nousbrc=' qemu-system-aarch64 -M raspi3b -dtb dos/bcm2711-rpi-4-b.dtb  -kernel dos/9PI3 -append "console='1 b9600'

Re: [9fans] Using 9front as a server

2023-08-26 Thread dusan3sic
I just ran aux/listen and it worked lol -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T1eb6489031b3e452-M81edf4d8b035103775c95d7d Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[9fans] RPi in QEMU

2023-08-25 Thread Don Bailey
Has anyone gotten Miller's RPI image to boot in QEMU? I'm trying to use -M raspi1, raspi2, and versatilepb, but nothing boots. I'm using the 9pi kernel image (both 9pi2 and 9pi4) from contrib and -hda ./9pi.img. Any advice? Thanks, D -- 9fans: 9fans

Re: [9fans] Contrib mirror?

2023-08-25 Thread Skip Tavakkolian
9p.io Replace the sources entry in 9fs to point to 9p.io instead. On Fri, Aug 25, 2023, 8:25 PM Don Bailey wrote: > Hi Fans, > > Is there a live mirror of the Contrib sources? There are a few packages I > need and I can't figure out who hosts them, currently. Any thoughts are > appreciated. >

[9fans] Contrib mirror?

2023-08-25 Thread Don Bailey
Hi Fans, Is there a live mirror of the Contrib sources? There are a few packages I need and I can't figure out who hosts them, currently. Any thoughts are appreciated. Thanks, D -- 9fans: 9fans Permalink:

Re: [9fans] Using 9front as a server

2023-08-23 Thread hiro
why don’t you follow the fqa these port forwarding sound tedious On 8/23/23, Sebastian Higgins wrote: > i'm assuming you're using QEMU + drawterm. if you're using QEMU you might > need to add command line arguments for port forwarding. here's mine after > tons of trial and error: > >>

Re: [9fans] Using 9front as a server

2023-08-23 Thread Sebastian Higgins
i'm assuming you're using QEMU + drawterm. if you're using QEMU you might need to add command line arguments for port forwarding. here's mine after tons of trial and error: > qemu-system-x86_64 -m 2048 -net nic,model=virtio,macaddr=00:20:91:37:33:77 > -net >

[9fans] Accessing auth/fs via Tailscale

2023-08-23 Thread Skip Tavakkolian
I've been meaning to mention this in case others might be interested. Tailscale is great at providing an efficient, secure and (mostly) decentralized virtual mesh network. Although there isn't a port of their agent for Plan 9, there is a way to use tailscale to access Plan 9 auth/fs/cpu behind a

Re: [9fans] Using 9front as a server

2023-08-23 Thread quiekaizam via 9fans
> https://www.mikeash.com/getting_answers.html That was a nice refresher. Thank you far sharing!

Re: [9fans] Using 9front as a server

2023-08-22 Thread ori
Quoth dusan3...@gmail.com: > I want to use my 9front booted from QEMU as a server, so i can transfer files > from linux to 9front, but it wont open any ports. Help https://www.mikeash.com/getting_answers.html -- 9fans: 9fans Permalink:

[9fans] Re: 9legacy: '/boot/kfs' does not exist

2023-08-22 Thread Antonio Barrones
Now works, the partition was corrupted. The problem I think it was with prepdisk. I used all the disk but later, in another installation, I made a smaller partition but prepdisk detected the old partition with the old size. I try to format fossil but in the end, the partition was not very

[9fans] Using 9front as a server

2023-08-22 Thread dusan3sic
I want to use my 9front booted from QEMU as a server, so i can transfer files from linux to 9front, but it wont open any ports. Help -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T1eb6489031b3e452-M8f4591713adaef40ef0cae4a Delivery

[9fans] Re: 9legacy: '/boot/kfs' does not exist

2023-08-22 Thread adr via 9fans
Oh, by the way, if you are using a usb hard disk, boot will screw with partfs and the usb disk's partitions will not be exposed. That's the main reason I replaced it. If that's the case, take a look in the mailing list archive, Richard Miller gave some workaround storing the config in the

[9fans] Re: 9legacy: '/boot/kfs' does not exist

2023-08-22 Thread adr via 9fans
Hi Antonio, I replaced boot for an rc script time ago, but if I recalled correctly, this is because boot can't find fossil's configuration in any hard drive, so it tries to find a kfs, but the default kernel configuration doesn't include kfs in bootdir, so it gives you that error. Boot from

[9fans] 9legacy: '/boot/kfs' does not exist

2023-08-22 Thread Antonio Barrones
I have installed the last CD image of 9legacy. The installation was without problems but in the first boot after the installation was ready, without modifying anything, the boot stop because: *usb/disk... boot: can't connect to file server:'/boot/kfs' does not exist* Is this a problem of my

[9fans] Re: Learning C the hard way

2023-08-20 Thread plan6
Thanks adr and Frank (who answered my email) :) I will explore your solutions and read the documentation. You pointed my problem with accuracy and I'm very thankful for that :) -- 9fans: 9fans Permalink:

[9fans] Re: Learning C the hard way

2023-08-20 Thread adr via 9fans
Hi, plan6? Your newlines are feeding the next getchar. You don't want to read chars, you want to read strings. Read the documentation, don't use stdio.h, explore the 9 way... Regards, adr -- 9fans: 9fans Permalink:

[9fans] Learning C the hard way

2023-08-20 Thread plan6
Well, I made a mistake. Holiday time and I just took my 9front x230 with me, thinking it will be enough to learn C the hard way. With man pages and sources. I was wrong :/ nsurf is cool, but kind of slow and I'm stuck with my very first program. A very ridiculous chess UI (in text mode) I

Re: [9fans] Standalone venti, fossil configuration

2023-08-18 Thread Steve Simon
if fossil and venti are started at boot then the plan9.ini variable venti= is all thats needed. if you want to start them after boot, booting from another filesystem then the -v option to fossil is what you are after. i wrote a hand-holding doc about rebuilding a venti/fossil years ago:

[9fans] Standalone venti, fossil configuration

2023-08-18 Thread Marco Feichtinger
I have a standalone venti, which tcp boots from my file server. How do I need to configure my fossil server, so it knows to use that venti machine for archiving? Is it enough to set the venti environmental variable; venti=ip-address? -marco -- 9fans:

Re: [9fans] eqn sqrt

2023-08-17 Thread Disroot via 9fans
17. 8. 2023 11:58:55 don...@gmail.com: > Thanks. Just last night I gave up on p9p eqn and compiled > heirloom eqn.  But I still plan on trying your awk script as well Perhaps, apart from heirloom, there is also another rewrite from the 'neat' family, neatroff. I would suggest having a look at

Re: [9fans] Re: How do I run plan9 in virtualbox?

2023-08-17 Thread hiro
oh, sorry for overlooking this mail before. so quite lucky for you that this thread has clawed itself back out of it's grave. the problem with vbox is the people who maintain it and allow bugs to slip in on every other release. there is zero quality control. normally, it's not a host/cpu issue

Re: [9fans] Re: How do I run plan9 in virtualbox?

2023-08-17 Thread hiro
I suppose hyper-v works on windows. On Thu, Aug 17, 2023 at 9:09 AM Peter Hull wrote: > > On Thu, 17 Aug 2023 at 03:18, Don Bailey wrote: > > > > forgot to respond to this but fwiw, running plan9 on virtualbox seems to > > work peachy. Hiro what was the bug(s) you were running into before?

Re: [9fans] eqn sqrt

2023-08-17 Thread donk86
Thanks. Just last night I gave up on p9p eqn and compiled heirloom eqn.  But I still plan on trying your awk script as well Thank you. don -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tafe1f385bfc506b7-Md5552ee1dbeb91b043c39e2c

Re: [9fans] Re: How do I run plan9 in virtualbox?

2023-08-17 Thread Peter Hull
On Thu, 17 Aug 2023 at 03:18, Don Bailey wrote: > > forgot to respond to this but fwiw, running plan9 on virtualbox seems to work > peachy. Hiro what was the bug(s) you were running into before? I've never ran > into an issue with it, but I've only used vbox on Linux; maybe it's a > host/CPU

Re: [9fans] Re: How do I run plan9 in virtualbox?

2023-08-16 Thread Don Bailey
forgot to respond to this but fwiw, running plan9 on virtualbox seems to work peachy. Hiro what was the bug(s) you were running into before? I've never ran into an issue with it, but I've only used vbox on Linux; maybe it's a host/CPU issue? D On Wed, Aug 2, 2023 at 4:50 PM Robert W. Baskette

Re: [9fans] eqn sqrt

2023-08-16 Thread rsykora via 9fans
don...@gmail.com wrote: > Does anyone have a workaround for drawing radicals in p9p eqn?  Currently it > just produces the over bar not the 'check' shape. About ten years ago I used the attached awk script to correct the sqrt signs in a .ps file produced by p9p troff. I do not remember much, but

[9fans] eqn sqrt

2023-08-15 Thread donk86
Does anyone have a workaround for drawing radicals in p9p eqn?  Currently it just produces the over bar not the 'check' shape. thanks -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tafe1f385bfc506b7-M3e122a64b4ac0da5597f1061 Delivery

Re: [9fans] drawterm problems after susupdate

2023-08-06 Thread dmadhatr via 9fans
I've been dealing with this same issue today running a VPS on sdf with their start script and configuration - I am also using their verison of drawterm.  Drawterm on ParrotOS, 9Front on SDF VPS. Same error as the poster from draw term, and confirming the reply, on the server I saw : cpu:

Re: [9fans] Re: How do I run plan9 in virtualbox?

2023-08-02 Thread Robert W. Baskette
If you feel like targeting ppc, you could host 9front in z/VM your z/Series. Here's some docs to get you started: https://www.ibm.com/docs/en/cic/1.1.4?topic=tutorials-getting-started-zvm On Wed, Aug 2, 2023 at 3:25 PM Don A. Bailey wrote: > If you’re not running plan9 on a Simics Alpha DEC

Re: [9fans] Re: How do I run plan9 in virtualbox?

2023-08-02 Thread hiro
oh you don't want to know, but i'm telling you anyway: smartos. On 8/2/23, redhatuser wrote: > So according to you, which one do you use? -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tce33a832621fe5a5-M59f2dfce9b5d4cbe73769c32

Re: [9fans] Re: How do I run plan9 in virtualbox?

2023-08-02 Thread Don A. Bailey
If you’re not running plan9 on a Simics Alpha DEC hosted on a PA-RISC B class workstation, are you even running plan9?On Aug 2, 2023, at 3:14 PM, redhatuser wrote: So according to you, which one do you use? 9fans / 9fans / see discussions + participants + delivery options Permalink

[9fans] Re: How do I run plan9 in virtualbox?

2023-08-02 Thread redhatuser
So according to you, which one do you use? -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tce33a832621fe5a5-Md2205bf7899ee9c133f29f9a Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Re: [9fans] How do I run plan9 in virtualbox?

2023-08-02 Thread hiro
not knowing how to use a VM is unusual. hard to beleive tbh. good shitpost. will buy again. virtualbox otoh is a usual error. avoid that solution. On 8/2/23, yourlitlen1g@national.shitposting.agency wrote: > I want to use plan9 in a virtual machine but I don't know how to install it

[9fans] How do I run plan9 in virtualbox?

2023-08-02 Thread yourlitlen1g
I want to use plan9 in a virtual machine but I don't know how to install it -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tce33a832621fe5a5-M5fc071d36976eeb7abae9bad Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Re: [9fans] plan9 in 2023 - which edition, fork, distro and what host

2023-08-01 Thread thedaemon via 9fans
https://fqa.9front.org the official site has a good walkthrough. Here are some people who have setup T430s http://plan9.stanleylieber.com/hardware/thinkpad/t430/ -thedæmon --- Original Message --- On Tuesday, August 1st, 2023 at 1:14 PM, will.s...@gmail.com wrote: > Cool. I'll

Re: [9fans] plan9 in 2023 - which edition, fork, distro and what host

2023-08-01 Thread will . senn
Cool. I'll give 9front a shot. I have a T430 I can put it on. Is there a good guide to follow around? -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T9061cdf46ee69cdb-Meb4c70b88da11a6a25658043 Delivery options:

Re: [9fans] plan9 in 2023 - which edition, fork, distro and what host

2023-07-26 Thread ori
Quoth will.s...@gmail.com: > Well, it's time for my every handful of years dive into plan 9. In 2023, > what's the best (most current) source for the distro and is it best practice > to install it on hardware (RPI or other) or in a VM (which)? I'd like the > mouse to work and the network... As

Re: [9fans] plan9 in 2023 - which edition, fork, distro and what host

2023-07-26 Thread Don A. Bailey
I think the cleanest current setup is VirtualBox for your CPU/Auth servers and Disk, and 9vx for your terminal. Super fast and easy. DOn Jul 26, 2023, at 7:36 PM, will.s...@gmail.com wrote: Well, it's time for my every handful of years dive into plan 9. In 2023, what's the best (most current)

[9fans] plan9 in 2023 - which edition, fork, distro and what host

2023-07-26 Thread will . senn
Well, it's time for my every handful of years dive into plan 9. In 2023, what's the best (most current) source for the distro and is it best practice to install it on hardware (RPI or other) or in a VM (which)? I'd like the mouse to work and the network... As unflakily as possible . Will

Re: [9fans] PXE tftpload: file does not exist

2023-07-22 Thread vic . thacker
Just a hunch, but perhaps you haven't added the cpu server kernel to /lib/tftpd to be loaded. -vic On Sat, Jul 22, 2023, at 15:21, Marco Feichtinger wrote: > The error was caused by a misconfigured ndb. > Thanks to Frank D. Engel Jr., which gave me the hint in a separat email. > > So I played

Re: [9fans] PXE tftpload: file does not exist

2023-07-22 Thread Marco Feichtinger
The error was caused by a misconfigured ndb. Thanks to Frank D. Engel Jr., which gave me the hint in a separat email. So I played around with my ndb files, and concluded,… that I don’t quit understand how the ndb works. Given following basic ndb configuration: ; cat /lib/ndb/local # # files

Re: [9fans] PXE tftpload: file does not exist

2023-07-17 Thread Marco Feichtinger
yes, ip/dhcpd and ip/tftpd are running on the file server -marco > On 17.07.2023, at 20:47, Steve Simon wrote: > > are you running the tftp server? > > >> On 17 Jul 2023, at 4:38 pm, Marco Feichtinger wrote: >> >> I have a standalone file server, and a separate standalone auth server. >>

Re: [9fans] PXE tftpload: file does not exist

2023-07-17 Thread Steve Simon
are you running the tftp server? > On 17 Jul 2023, at 4:38 pm, Marco Feichtinger wrote: > > I have a standalone file server, and a separate standalone auth server. > > I tried to pxe boot a cpu server. > It gets the /386/9boot to load fine, but then it seems, that it can’t > retrieve the

[9fans] PXE tftpload: file does not exist

2023-07-17 Thread Marco Feichtinger
I have a standalone file server, and a separate standalone auth server. I tried to pxe boot a cpu server. It gets the /386/9boot to load fine, but then it seems, that it can’t retrieve the file /cfg/pxe/ from my file server. here is the screen output during bootup: 9boot gz…starting

Re: [9fans] dos as in dossrv -> /srv/dos

2023-07-14 Thread Conor Williams
thanks Oliver On Fri, Jul 14, 2023 at 12:52 PM Oliver Lowe wrote: > https://9p.io/magic/man2html/4/dossrv > https://en.m.wikipedia.org/wiki/MS-DOS > *9fans * / 9fans / see discussions > + participants >

Re: [9fans] dos as in dossrv -> /srv/dos

2023-07-14 Thread Oliver Lowe
https://9p.io/magic/man2html/4/dossrv https://en.m.wikipedia.org/wiki/MS-DOS -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T5569e91c5c4bfe9e-M25b92d2b952cb49c570393ac Delivery options:

[9fans] dos as in dossrv -> /srv/dos

2023-07-14 Thread Conor Williams
hello, does anyone know what *dos* stands for in plan9, /c -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T5569e91c5c4bfe9e-Mc49a30fd5722f58ccea05ebf Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[9fans] Re: Pipes staying after sending note

2023-07-08 Thread Anthony Martin
Philip Silva via 9fans <9fans@9fans.net> once said: > if ((cpid = fork()) != 0) { > close(infd[1]); > close(outfd[1]); > > n = write(infd[0], "test", 4); > printf("check process: wrote %d bytes\n", n); > >

Re: [9fans] mounting a 9660 file system - writeable

2023-07-08 Thread Conor Williams
thanks Dave... will look into the overlay file system + kernel hack soun.. got the 9front booting off one 9660 drive now (50GB) and am mounting my second 20GB drive into /tmp/D (its a 9fat partition) and i have rebooted and the created D files are still there one strange thing that bogged me

Re: [9fans] mounting a 9660 file system - writeable

2023-07-08 Thread Dave Eckhardt
9660srv's job is to serve the files stored on a CD-ROM. CD-ROMs are more or less read-only, so 9660srv serves the files as read-only as well. In most setups, the /tmp file system is "stored" in RAM. It's faster than sending the data to some storage device, and when you turn the machine off the

[9fans] Pipes staying after sending note

2023-07-08 Thread Philip Silva via 9fans
Hello, I'm trying to understand how pipes work when terminating a forked process. It seems when sending kill to the forked process, connected pipes don't always break. At least a subsequent write might work. Is it possible to make it reliably fail anyway or is it necessary to close the file

[9fans] mounting a 9660 file system - writeable

2023-07-08 Thread Conor Williams
hello there 9fans_ears... i create a file system pretty much simply on my vm by % *cat* 9frontXYZ.iso > /dev/sdC0/data and that works pretty well and boots a p9 vm from C but... I cannot create a dir (only in /tmp), so...I have tried: % *mkdir* /tmp/C % *9660srv* % *mount* -c /srv/9660 /tmp/C

Re: [9fans] Re: iso expanded, mount list (dd) device

2023-07-07 Thread Conor Williams
excellento..ty. im going to try (once mounted...) copy of /tmp/THEISO -> /tmp/b4 (/dev/sdC0/9fat) possibly using: tar -cf - / | ( cd /tmp/b4; tar -xf - ) #that used work on minix... run the ns command of what ns returns (loads of binds etc...) -- maybe some udder commands... try and boot off the

Re: [9fans] Re: iso expanded, mount list (dd) device

2023-07-07 Thread Steve Simon
9660srv - it mounts an iso as 9p file server in /srv/9660, so you need to do a mount(1) to actually see the contents.-SteveOn 7 Jul 2023, at 7:20 pm, Conor Williams wrote:ok... thank you Steve, well in...that particular train of thought leads me to another question...has you r a'yone an

[9fans] Re: iso expanded, mount list (dd) device

2023-07-07 Thread Conor Williams
ok... thank you Steve, well in... that particular train of thought leads me to another question... has you r a'yone an iso.expander for plan9... (ps: i do have anudder way) ...() ps: am still on the lookout for a dd arg... laterz... /c /d 773 pps: overall:

Re: [9fans] iso expanded, mount list (dd) device

2023-07-07 Thread Steve Simon
not quite sure i understand what you are asking, but perhaps ns(1) will show you what you want.-SteveOn 7 Jul 2023, at 6:59 pm, Conor Williams wrote:hello 9fannors...i wish to find the device? which the p9 iso file is mounted from...(a vm boot (i dont think that matters though...)e.g c drive is

[9fans] iso expanded, mount list (dd) device

2023-07-07 Thread Conor Williams
hello 9fannors... i wish to find the device? which the p9 iso file is mounted from... (a vm boot (i dont think that matters though...) e.g c drive is /dev/sdC0 /c /ba 7723 ps: i wish to do a quick back of the (, possibly ramfs, ) temporary / file system kind of like a backup of the c drive % dd

Re: [9fans] programs from UNI*x

2023-07-01 Thread Jens Staal
Yeah if libwtf could get feature complete for wchar stuff (not a port, made from scratch, remapping wchar stuff to libutf) that might also help with a bunch of ports. No idea if that would be acceptable in upstream APE even. Den lör 1 juli 2023 13:15Conor Williams skrev: > great stuff Jens...

Re: [9fans] programs from UNI*x

2023-07-01 Thread Conor Williams
great stuff Jens... keep the requests coming in boyos, i have until at least September before the new term starts... this will be good for the CV, not least a bit of banter in an interview situation at the very least... you know: interviewer: well, mr. X, what did you do for the summer and why

Re: [9fans] programs from UNI*x

2023-06-30 Thread Jens Staal
Hmmm perhaps was regex also a dependency (a long time ago I worked on this). I remember using pcre to get regex.h for other stuff https://github.com/users/staalmannen/projects/1 https://github.com/staalmannen/pcre also some attempts at shim headers that may be needed

Re: [9fans] programs from UNI*x

2023-06-30 Thread Conor Williams
Great! /c On Fri, Jun 30, 2023 at 7:31 PM Ori Bernstein wrote: > On Fri, 30 Jun 2023 11:26:09 +0100, Conor Williams < > conor.willi...@gmail.com> wrote: > > > https://conorwilliams.in/nh4.png > > > > now looking in win?? /c early friday yay lie in 2morow > > > > sysupdate; it's been added

Re: [9fans] programs from UNI*x

2023-06-30 Thread Ori Bernstein
On Fri, 30 Jun 2023 11:26:09 +0100, Conor Williams wrote: > https://conorwilliams.in/nh4.png > > now looking in win?? /c early friday yay lie in 2morow > sysupdate; it's been added as of commit 5664fb3540ae0dccec628720574520122193ab1b, on Fri Mar 17 16:24:30 -0400 2023 -- Ori

Re: [9fans] programs from UNI*x

2023-06-30 Thread Conor Williams
Jens et. al... p9 does not seem to support "={0}" of a struct... i have pulled them into a function, you know "x.random = 0" ... i just have to find main now... (same for bottler.c) /c lasterz... On Fri, Jun 30, 2023 at 3:20 PM Jens Staal wrote: > Wine will not work (no dynamic libraries etc).

<    1   2   3   4   5   6   7   8   9   10   >