9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] NIX/regen
@ 2025-01-11 15:52 tlaronde
  2025-01-11 16:24 ` Ron Minnich
  2025-01-11 17:39 ` tlaronde
  0 siblings, 2 replies; 31+ messages in thread
From: tlaronde @ 2025-01-11 15:52 UTC (permalink / raw)
  To: 9fans

[I restarted a special thread because the hier was getting deep and
mixed. Here are the last bits bits taken out and
reproduced for reference before questions.]

From Paul Lalonde, relating to a  commit to 
https://github.com/rminnich/nix-os
(the main branch is now regen)

---8<---
#!/bin/rc

git/clone git@github.com:tlaronde/nix-os

cd sys/src/nix
# HEY ANYONE! WANT TO FIX THIS!
rc -x nix # set the x bits?
# make it so it does not have to be in $home/nix-os?

cd boot
mk
cd ../k10
mk
# it may seem like it hangs, it's actually waiting for your nvram key.
# HEY ANYONE! the prompt for nvram gets buried in output.
# Want to fix this?

vmx 9k8cpu # HEY ANYONE! vmx thinks the multiboot header in 9k8cpu is
        # wrong, but it's not. This is an easy one, Look at the
        # multiboot header in l32p.s and see why vmx does not like it.
        # Or just netboot a cpu server with 9k8cpu
--->8---

Ron Minnich proposal for contributions:

> The github workflow is to fork github.com/rminnich/nix-os, checkout a
> branch based on regen, hack hack, commit -s, push to your branch, that
> will make a pull request.
> Very standard stuff, we don't know how to make it all work with 9front git yet.
> Questions? Put them here, and thanks in advance.

A few:

1) Could PROCESS be whether updated or archived to not have
instructions related to an obsolete process? Is

        http://groups.google.com/group/nix-dev 

to be revived or exchanges will take place here (for things that are
not exchanged by pull requests and commit logs)?

2) Can the LICENSE be updated according to the re-licensing
finally achieved?---what about the diffs against legacy Plan9? What
license (I imagine NOTICE?)?

3) I happen to have only AMD64 dual-cores, ARMv7 dual-cores or one
RISC-V 1+4 cores. The initial target was AMD64, but I suspect that Nix
would be tested, in the near future, on something else (and should not
be limited to some kind of architecture). For the immediate:

        a) Will Nix, in its present state, work natively with only
two cores or would I have to use emulation to at least offer it
virtual 4 cores?

        b) For the future, what would be the main immediate target?
ARM family (Ampere like processors)?

TIA,
-- 
        Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M7cc36bccea6fb9c95a1b6374
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-11 15:52 [9fans] NIX/regen tlaronde
@ 2025-01-11 16:24 ` Ron Minnich
  2025-01-12 17:44   ` tlaronde
  2025-01-11 17:39 ` tlaronde
  1 sibling, 1 reply; 31+ messages in thread
From: Ron Minnich @ 2025-01-11 16:24 UTC (permalink / raw)
  To: 9fans

On Sat, Jan 11, 2025 at 7:53 AM <tlaronde@kergis.com> wrote:

> 1) Could PROCESS be whether updated or archived to not have
> instructions related to an obsolete process? Is
>
>         http://groups.google.com/group/nix-dev

That file has no relevance,  and should be deleted as part of regen.
PRs welcome.

So the answer to your question: if you can, please submit a PR to
delete that file.

I'd like to see NIX incorporated into 9front, either as a branch,
build option, or first-class citizen. NIX's status as an independent
repo is a temporary situation while we get it back to life.

> 2) Can the LICENSE be updated according to the re-licensing
> finally achieved?---what about the diffs against legacy Plan9? What
> license (I imagine NOTICE?)?

NIX is a set of very small changes, easily applied to any plan 9
kernel, and, hence, the changes
would have the license of the project they are incorporated into.

A PR to fix the license is also welcome.

>
> 3) I happen to have only AMD64 dual-cores, ARMv7 dual-cores or one
> RISC-V 1+4 cores. The initial target was AMD64, but I suspect that Nix
> would be tested, in the near future, on something else (and should not
> be limited to some kind of architecture). For the immediate:
>

Let's not get ahead of ourselves. I think the first step is to get it
to work at all :-)

>         a) Will Nix, in its present state, work natively with only
> two cores or would I have to use emulation to at least offer it
> virtual 4 cores?

I see no reason it would not work for 2 cores. But Paul's got it
building, so a good first step: go and and build it too.

>
>         b) For the future, what would be the main immediate target?
> ARM family (Ampere like processors)?

I think the target is determined by who writes code. For now, however,
I think the effort is to bring it forward 13 years in time :-)

Thanks to Paul, we're at the stage where the conversation can be about
code, and I am hoping to see people contribute. No contribution is too
small, because  there's a bit of work to learning how to contribute.

remove the PROCESS file? fix the LICENSE? Please do! No contribution
is too small.

But I think "meta discussions about" can now naturally evolve to
"here's some code/experience/measurement"

Thanks

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-Mbba02cc8cbb9b0fb15139b29
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-11 15:52 [9fans] NIX/regen tlaronde
  2025-01-11 16:24 ` Ron Minnich
@ 2025-01-11 17:39 ` tlaronde
  2025-01-11 21:14   ` Ron Minnich
  1 sibling, 1 reply; 31+ messages in thread
From: tlaronde @ 2025-01-11 17:39 UTC (permalink / raw)
  To: 9fans

On Sat, Jan 11, 2025 at 04:52:05PM +0100, tlaronde@kergis.com wrote:
> [I restarted a special thread because the hier was getting deep and
> mixed. Here are the last bits bits taken out and
> reproduced for reference before questions.]
> 
> >From Paul Lalonde, relating to a  commit to 
> https://github.com/rminnich/nix-os
> (the main branch is now regen)
> 
> ---8<---
> #!/bin/rc
> 
> git/clone git@github.com:tlaronde/nix-os
                           ^^^^^^^^
                           rminnich

(typo: it's a copy of my test version for tomorrow...) 
-- 
        Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M7fbd3ef17d1304836e4f7c0f
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-11 17:39 ` tlaronde
@ 2025-01-11 21:14   ` Ron Minnich
  2025-01-11 22:38     ` Ron Minnich
  0 siblings, 1 reply; 31+ messages in thread
From: Ron Minnich @ 2025-01-11 21:14 UTC (permalink / raw)
  To: 9fans

Paul just fixed our multiboot header issue, it now hangs in vmx,
instead of being rejected by vmx (side note: vmx is worth learning
from).

There is a little trick Geoff developed for debugging this early code,
you all may have seen it:
(from memory, looks like this)
#define WAVE(c) MOVB $c, AL; OUTB AL, $0x3f8

this may not be exactly right. The idea is that you can sprinkle these
in the l.s code to see where things stop:

entry point:
WAVE('p')
...
WAVE('l')

etc.

It's still handy enough that I was using it last week for this purpose.
If you get to the JMP main you will see
plan9 says hi there
or whatever you've set up.

Just be careful: AX gets changed!

But there's no need to dive into the deep end, if you are new to this.

We still need the PRs to remove the PROCESS file, license, and those
few other things

There are no jobs too small.

We have someone on coreboot, who for years has taken on the task of
keeping the tree tidy. He is very much appreciated, even though he
does not write much code. That is always helpful.

On Sat, Jan 11, 2025 at 10:06 AM <tlaronde@kergis.com> wrote:
>
> On Sat, Jan 11, 2025 at 04:52:05PM +0100, tlaronde@kergis.com wrote:
> > [I restarted a special thread because the hier was getting deep and
> > mixed. Here are the last bits bits taken out and
> > reproduced for reference before questions.]
> >
> > >From Paul Lalonde, relating to a  commit to
> > https://github.com/rminnich/nix-os
> > (the main branch is now regen)
> >
> > ---8<---
> > #!/bin/rc
> >
> > git/clone git@github.com:tlaronde/nix-os
> ^^^^^^^^
> rminnich
> 
> (typo: it's a copy of my test version for tomorrow...)
> --
> Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
>              http://www.kergis.com/
>             http://kertex.kergis.com/
> Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M3f2ae4de6cde53d716a0a635
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-11 21:14   ` Ron Minnich
@ 2025-01-11 22:38     ` Ron Minnich
  2025-01-12  0:52       ` Paul Lalonde
  0 siblings, 1 reply; 31+ messages in thread
From: Ron Minnich @ 2025-01-11 22:38 UTC (permalink / raw)
  To: 9fans

I forget the plan 9 assembly, or even if plan 9 assembly supports that
syntax, but:
MOVB $c, AL; .byte 0xE6 ; .byte 0xF8; .byte  03
should do the same thing

On Sat, Jan 11, 2025 at 1:14 PM Ron Minnich <rminnich@p9f.org> wrote:
>
> Paul just fixed our multiboot header issue, it now hangs in vmx,
> instead of being rejected by vmx (side note: vmx is worth learning
> from).
>
> There is a little trick Geoff developed for debugging this early code,
> you all may have seen it:
> (from memory, looks like this)
> #define WAVE(c) MOVB $c, AL; OUTB AL, $0x3f8
>
> this may not be exactly right. The idea is that you can sprinkle these
> in the l.s code to see where things stop:
>
> entry point:
> WAVE('p')
> ...
> WAVE('l')
>
> etc.
>
> It's still handy enough that I was using it last week for this purpose.
> If you get to the JMP main you will see
> plan9 says hi there
> or whatever you've set up.
>
> Just be careful: AX gets changed!
>
> But there's no need to dive into the deep end, if you are new to this.
>
> We still need the PRs to remove the PROCESS file, license, and those
> few other things
>
> There are no jobs too small.
>
> We have someone on coreboot, who for years has taken on the task of
> keeping the tree tidy. He is very much appreciated, even though he
> does not write much code. That is always helpful.
>
> On Sat, Jan 11, 2025 at 10:06 AM <tlaronde@kergis.com> wrote:
> >
> > On Sat, Jan 11, 2025 at 04:52:05PM +0100, tlaronde@kergis.com wrote:
> > > [I restarted a special thread because the hier was getting deep and
> > > mixed. Here are the last bits bits taken out and
> > > reproduced for reference before questions.]
> > >
> > > >From Paul Lalonde, relating to a  commit to
> > > https://github.com/rminnich/nix-os
> > > (the main branch is now regen)
> > >
> > > ---8<---
> > > #!/bin/rc
> > >
> > > git/clone git@github.com:tlaronde/nix-os
> > ^^^^^^^^
> > rminnich
> > 
> > (typo: it's a copy of my test version for tomorrow...)
> > --
> > Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
> >              http://www.kergis.com/
> >             http://kertex.kergis.com/
> > Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M3faa3398d10ab3960e2450b7
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-11 22:38     ` Ron Minnich
@ 2025-01-12  0:52       ` Paul Lalonde
  2025-01-12  1:12         ` Ron Minnich
  0 siblings, 1 reply; 31+ messages in thread
From: Paul Lalonde @ 2025-01-12  0:52 UTC (permalink / raw)
  To: 9fans


[-- Attachment #1.1: Type: text/plain, Size: 3007 bytes --]

Here's an actual correct version, for posterity:
#define WAVE(c) MOVB $c, AL; MOVW $0x3f8, DX; OUTB

Which added to
  vmx -c /dev/cons -w 1024x768 -d op9.disk -d 9front-10522.amd64.iso -m
plan9.ini /usr/glenda/nix-os/sys/src/nix/k10/9k8cpu
yields the first NIX panic in some years:
[image: image.png]


On Sat, Jan 11, 2025 at 3:13 PM Ron Minnich <rminnich@p9f.org> wrote:

> I forget the plan 9 assembly, or even if plan 9 assembly supports that
> syntax, but:
> MOVB $c, AL; .byte 0xE6 ; .byte 0xF8; .byte  03
> should do the same thing
>
> On Sat, Jan 11, 2025 at 1:14 PM Ron Minnich <rminnich@p9f.org> wrote:
> >
> > Paul just fixed our multiboot header issue, it now hangs in vmx,
> > instead of being rejected by vmx (side note: vmx is worth learning
> > from).
> >
> > There is a little trick Geoff developed for debugging this early code,
> > you all may have seen it:
> > (from memory, looks like this)
> > #define WAVE(c) MOVB $c, AL; OUTB AL, $0x3f8
> >
> > this may not be exactly right. The idea is that you can sprinkle these
> > in the l.s code to see where things stop:
> >
> > entry point:
> > WAVE('p')
> > ...
> > WAVE('l')
> >
> > etc.
> >
> > It's still handy enough that I was using it last week for this purpose.
> > If you get to the JMP main you will see
> > plan9 says hi there
> > or whatever you've set up.
> >
> > Just be careful: AX gets changed!
> >
> > But there's no need to dive into the deep end, if you are new to this.
> >
> > We still need the PRs to remove the PROCESS file, license, and those
> > few other things
> >
> > There are no jobs too small.
> >
> > We have someone on coreboot, who for years has taken on the task of
> > keeping the tree tidy. He is very much appreciated, even though he
> > does not write much code. That is always helpful.
> >
> > On Sat, Jan 11, 2025 at 10:06 AM <tlaronde@kergis.com> wrote:
> > >
> > > On Sat, Jan 11, 2025 at 04:52:05PM +0100, tlaronde@kergis.com wrote:
> > > > [I restarted a special thread because the hier was getting deep and
> > > > mixed. Here are the last bits bits taken out and
> > > > reproduced for reference before questions.]
> > > >
> > > > >From Paul Lalonde, relating to a  commit to
> > > > https://github.com/rminnich/nix-os
> > > > (the main branch is now regen)
> > > >
> > > > ---8<---
> > > > #!/bin/rc
> > > >
> > > > git/clone git@github.com:tlaronde/nix-os
> > > ^^^^^^^^
> > > rminnich
> > >
> > > (typo: it's a copy of my test version for tomorrow...)
> > > --
> > > Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
> > >              http://www.kergis.com/
> > >             http://kertex.kergis.com/
> > > Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-Mb75a827ca39b283c645350b9
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #1.2: Type: text/html, Size: 5472 bytes --]

[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 327653 bytes --]

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

* Re: [9fans] NIX/regen
  2025-01-12  0:52       ` Paul Lalonde
@ 2025-01-12  1:12         ` Ron Minnich
  2025-01-12  1:53           ` Paul Lalonde
  0 siblings, 1 reply; 31+ messages in thread
From: Ron Minnich @ 2025-01-12  1:12 UTC (permalink / raw)
  To: 9fans


[-- Attachment #1.1: Type: text/plain, Size: 3718 bytes --]

I prefer the non-DX-using version, however, since it contaminates one less
register.
it's REALLY easy to get messed up with WAVE if your register hygiene slips
up :-)

On Sat, Jan 11, 2025 at 4:53 PM Paul Lalonde <paul.a.lalonde@gmail.com>
wrote:

> Here's an actual correct version, for posterity:
> #define WAVE(c) MOVB $c, AL; MOVW $0x3f8, DX; OUTB
>
> Which added to
>   vmx -c /dev/cons -w 1024x768 -d op9.disk -d 9front-10522.amd64.iso -m
> plan9.ini /usr/glenda/nix-os/sys/src/nix/k10/9k8cpu
> yields the first NIX panic in some years:
> [image: image.png]
>
>
> On Sat, Jan 11, 2025 at 3:13 PM Ron Minnich <rminnich@p9f.org> wrote:
>
>> I forget the plan 9 assembly, or even if plan 9 assembly supports that
>> syntax, but:
>> MOVB $c, AL; .byte 0xE6 ; .byte 0xF8; .byte  03
>> should do the same thing
>>
>> On Sat, Jan 11, 2025 at 1:14 PM Ron Minnich <rminnich@p9f.org> wrote:
>> >
>> > Paul just fixed our multiboot header issue, it now hangs in vmx,
>> > instead of being rejected by vmx (side note: vmx is worth learning
>> > from).
>> >
>> > There is a little trick Geoff developed for debugging this early code,
>> > you all may have seen it:
>> > (from memory, looks like this)
>> > #define WAVE(c) MOVB $c, AL; OUTB AL, $0x3f8
>> >
>> > this may not be exactly right. The idea is that you can sprinkle these
>> > in the l.s code to see where things stop:
>> >
>> > entry point:
>> > WAVE('p')
>> > ...
>> > WAVE('l')
>> >
>> > etc.
>> >
>> > It's still handy enough that I was using it last week for this purpose.
>> > If you get to the JMP main you will see
>> > plan9 says hi there
>> > or whatever you've set up.
>> >
>> > Just be careful: AX gets changed!
>> >
>> > But there's no need to dive into the deep end, if you are new to this.
>> >
>> > We still need the PRs to remove the PROCESS file, license, and those
>> > few other things
>> >
>> > There are no jobs too small.
>> >
>> > We have someone on coreboot, who for years has taken on the task of
>> > keeping the tree tidy. He is very much appreciated, even though he
>> > does not write much code. That is always helpful.
>> >
>> > On Sat, Jan 11, 2025 at 10:06 AM <tlaronde@kergis.com> wrote:
>> > >
>> > > On Sat, Jan 11, 2025 at 04:52:05PM +0100, tlaronde@kergis.com wrote:
>> > > > [I restarted a special thread because the hier was getting deep and
>> > > > mixed. Here are the last bits bits taken out and
>> > > > reproduced for reference before questions.]
>> > > >
>> > > > >From Paul Lalonde, relating to a  commit to
>> > > > https://github.com/rminnich/nix-os
>> > > > (the main branch is now regen)
>> > > >
>> > > > ---8<---
>> > > > #!/bin/rc
>> > > >
>> > > > git/clone git@github.com:tlaronde/nix-os
>> > > ^^^^^^^^
>> > > rminnich
>> > >
>> > > (typo: it's a copy of my test version for tomorrow...)
>> > > --
>> > > Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
>> > >              http://www.kergis.com/
>> > >             http://kertex.kergis.com/
>> > > Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C
> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions
> <https://9fans.topicbox.com/groups/9fans> + participants
> <https://9fans.topicbox.com/groups/9fans/members> + delivery options
> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
> <https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-Mb75a827ca39b283c645350b9>
>

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M6a710007bc6c8eb3cc113fb2
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #1.2: Type: text/html, Size: 6127 bytes --]

[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 327653 bytes --]

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

* Re: [9fans] NIX/regen
  2025-01-12  1:12         ` Ron Minnich
@ 2025-01-12  1:53           ` Paul Lalonde
  2025-01-12 16:36             ` rminnich
  0 siblings, 1 reply; 31+ messages in thread
From: Paul Lalonde @ 2025-01-12  1:53 UTC (permalink / raw)
  To: 9fans


[-- Attachment #1.1: Type: text/plain, Size: 4156 bytes --]

I'd prefer to use a non-dx version, but I can't find one that handles an
immediate 2 byte target port.
Or else my x86 encoding-fu is not strong enough.
That said, now that we have panic() and stack traces, I don't think we'll
be using WAVE quite as much.
Paul

On Sat, Jan 11, 2025 at 5:51 PM Ron Minnich <rminnich@p9f.org> wrote:

> I prefer the non-DX-using version, however, since it contaminates one less
> register.
> it's REALLY easy to get messed up with WAVE if your register hygiene slips
> up :-)
>
> On Sat, Jan 11, 2025 at 4:53 PM Paul Lalonde <paul.a.lalonde@gmail.com>
> wrote:
>
>> Here's an actual correct version, for posterity:
>> #define WAVE(c) MOVB $c, AL; MOVW $0x3f8, DX; OUTB
>>
>> Which added to
>>   vmx -c /dev/cons -w 1024x768 -d op9.disk -d 9front-10522.amd64.iso -m
>> plan9.ini /usr/glenda/nix-os/sys/src/nix/k10/9k8cpu
>> yields the first NIX panic in some years:
>> [image: image.png]
>>
>>
>> On Sat, Jan 11, 2025 at 3:13 PM Ron Minnich <rminnich@p9f.org> wrote:
>>
>>> I forget the plan 9 assembly, or even if plan 9 assembly supports that
>>> syntax, but:
>>> MOVB $c, AL; .byte 0xE6 ; .byte 0xF8; .byte  03
>>> should do the same thing
>>>
>>> On Sat, Jan 11, 2025 at 1:14 PM Ron Minnich <rminnich@p9f.org> wrote:
>>> >
>>> > Paul just fixed our multiboot header issue, it now hangs in vmx,
>>> > instead of being rejected by vmx (side note: vmx is worth learning
>>> > from).
>>> >
>>> > There is a little trick Geoff developed for debugging this early code,
>>> > you all may have seen it:
>>> > (from memory, looks like this)
>>> > #define WAVE(c) MOVB $c, AL; OUTB AL, $0x3f8
>>> >
>>> > this may not be exactly right. The idea is that you can sprinkle these
>>> > in the l.s code to see where things stop:
>>> >
>>> > entry point:
>>> > WAVE('p')
>>> > ...
>>> > WAVE('l')
>>> >
>>> > etc.
>>> >
>>> > It's still handy enough that I was using it last week for this purpose.
>>> > If you get to the JMP main you will see
>>> > plan9 says hi there
>>> > or whatever you've set up.
>>> >
>>> > Just be careful: AX gets changed!
>>> >
>>> > But there's no need to dive into the deep end, if you are new to this.
>>> >
>>> > We still need the PRs to remove the PROCESS file, license, and those
>>> > few other things
>>> >
>>> > There are no jobs too small.
>>> >
>>> > We have someone on coreboot, who for years has taken on the task of
>>> > keeping the tree tidy. He is very much appreciated, even though he
>>> > does not write much code. That is always helpful.
>>> >
>>> > On Sat, Jan 11, 2025 at 10:06 AM <tlaronde@kergis.com> wrote:
>>> > >
>>> > > On Sat, Jan 11, 2025 at 04:52:05PM +0100, tlaronde@kergis.com wrote:
>>> > > > [I restarted a special thread because the hier was getting deep and
>>> > > > mixed. Here are the last bits bits taken out and
>>> > > > reproduced for reference before questions.]
>>> > > >
>>> > > > >From Paul Lalonde, relating to a  commit to
>>> > > > https://github.com/rminnich/nix-os
>>> > > > (the main branch is now regen)
>>> > > >
>>> > > > ---8<---
>>> > > > #!/bin/rc
>>> > > >
>>> > > > git/clone git@github.com:tlaronde/nix-os
>>> > > ^^^^^^^^
>>> > > rminnich
>>> > >
>>> > > (typo: it's a copy of my test version for tomorrow...)
>>> > > --
>>> > > Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
>>> > >              http://www.kergis.com/
>>> > >             http://kertex.kergis.com/
>>> > > Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C
>> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions
> <https://9fans.topicbox.com/groups/9fans> + participants
> <https://9fans.topicbox.com/groups/9fans/members> + delivery options
> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
> <https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M6a710007bc6c8eb3cc113fb2>
>

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-Ma21c1c8627ca6fbb22bd8771
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #1.2: Type: text/html, Size: 6734 bytes --]

[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 327653 bytes --]

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

* Re: [9fans] NIX/regen
  2025-01-12  1:53           ` Paul Lalonde
@ 2025-01-12 16:36             ` rminnich
  0 siblings, 0 replies; 31+ messages in thread
From: rminnich @ 2025-01-12 16:36 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 362 bytes --]

We've got our second contributor! 

For those looking for other things to do: 
https://github.com/rminnich/nix-os/issues/8
thanks
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-Mb99ee56671f0dd2afa12071f
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 976 bytes --]

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

* Re: [9fans] NIX/regen
  2025-01-11 16:24 ` Ron Minnich
@ 2025-01-12 17:44   ` tlaronde
  2025-01-12 18:59     ` Paul Lalonde
  0 siblings, 1 reply; 31+ messages in thread
From: tlaronde @ 2025-01-12 17:44 UTC (permalink / raw)
  To: 9fans

[I have made a first PR for some small fixes to nix/nix
and adding a NOTES that fixes some infelicities in the
instructions to get started]

I have noted that Paul Lalonde has added a script for testing the cpu
kernel with vmx.

There is also in usr/glenda/ mknixboot (John Floren) that could be
updated for a USB install.

Would it be possible to gather the (modification) bits together, for
example in sys/src/nix/rc, mounted via (nix/nix) in order to appear
as nix/vmx, nix/mkusbkey and so long, in order to put the pieces
together?

Note: there are a number of warnings when compiling so my next
assignment will be to fix the compiler (assembler, compiler, linker)
warnings before tracking panics. I prefer to grasp the easier task at
hand ;-^
-- 
        Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M530aa102092a26c06189f878
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-12 17:44   ` tlaronde
@ 2025-01-12 18:59     ` Paul Lalonde
  2025-01-12 19:22       ` tlaronde
  2025-01-12 19:51       ` Ron Minnich
  0 siblings, 2 replies; 31+ messages in thread
From: Paul Lalonde @ 2025-01-12 18:59 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 1467 bytes --]

On Sun, Jan 12, 2025 at 10:02 AM <tlaronde@kergis.com> wrote:

> [I have made a first PR for some small fixes to nix/nix
> and adding a NOTES that fixes some infelicities in the
> instructions to get started]
>

Thank you!  Infelicities is a very polite way to point out my poor
note-taking skills!


> Would it be possible to gather the (modification) bits together, for
> example in sys/src/nix/rc, mounted via (nix/nix) in order to appear
> as nix/vmx, nix/mkusbkey and so long, in order to put the pieces
> together?
>

Yes, this is a great suggestion.  Please do!


> Note: there are a number of warnings when compiling so my next
> assignment will be to fix the compiler (assembler, compiler, linker)
> warnings before tracking panics. I prefer to grasp the easier task at
> hand ;-^
>

I'll admit to punting on these.

Most of them are from parameter and signature changes from long to size,
and each requires careful examination and analysis to understand if
sign-extending is sufficient/appropriate, and whether the size change
should propagate through more of the neighboring code.  Most important is
to avoid any casting to quiet the compiler since it is telling us something
useful.

Paul

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M6b605fc778fa62da7ecc4bce
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 2665 bytes --]

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

* Re: [9fans] NIX/regen
  2025-01-12 18:59     ` Paul Lalonde
@ 2025-01-12 19:22       ` tlaronde
  2025-01-12 20:07         ` Ron Minnich
  2025-01-12 19:51       ` Ron Minnich
  1 sibling, 1 reply; 31+ messages in thread
From: tlaronde @ 2025-01-12 19:22 UTC (permalink / raw)
  To: 9fans

On Sun, Jan 12, 2025 at 10:59:58AM -0800, Paul Lalonde wrote:
> On Sun, Jan 12, 2025 at 10:02?AM <tlaronde@kergis.com> wrote:
> 
>[...] 
> > Note: there are a number of warnings when compiling so my next
> > assignment will be to fix the compiler (assembler, compiler, linker)
> > warnings before tracking panics. I prefer to grasp the easier task at
> > hand ;-^
> >
> 
> I'll admit to punting on these.
> 
> Most of them are from parameter and signature changes from long to size,
> and each requires careful examination and analysis to understand if
> sign-extending is sufficient/appropriate, and whether the size change
> should propagate through more of the neighboring code.  Most important is
> to avoid any casting to quiet the compiler since it is telling us something
> useful.

Don't worry: I don't plan to find a short way to silence the compiler. It
is "easier" because at least the compiler is telling you exactly where
to look and what it doesn't like. And it seems a good way to learn the
code starting, litteraly, by bits without at the moment understanding
the big picture.

Note: I will work for sure some hours on it on week-ends, mainly on
Sundays. I may happen to work on it supplementary to that when time
permits---or because I'm bored at what I'm doing currently. So silence
from me for days will not be a sign that I dropped the ball and if
someone beats me at what I was planning to do, I will simply take the next
"reachable" (for me) problem remaining.
-- 
        Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M8f9a87b9af878e18c9164b04
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-12 18:59     ` Paul Lalonde
  2025-01-12 19:22       ` tlaronde
@ 2025-01-12 19:51       ` Ron Minnich
  1 sibling, 0 replies; 31+ messages in thread
From: Ron Minnich @ 2025-01-12 19:51 UTC (permalink / raw)
  To: 9fans

Paul makes  a critical point here. Just casting to make warnings go
away is almost always a bad idea. Digging into the reason for the
warning is what you want to do.

Thanks!

On Sun, Jan 12, 2025 at 11:01 AM Paul Lalonde <paul.a.lalonde@gmail.com> wrote:
>
>
>
> On Sun, Jan 12, 2025 at 10:02 AM <tlaronde@kergis.com> wrote:
>>
>> [I have made a first PR for some small fixes to nix/nix
>> and adding a NOTES that fixes some infelicities in the
>> instructions to get started]
>
>
> Thank you!  Infelicities is a very polite way to point out my poor note-taking skills!
>
>>
>> Would it be possible to gather the (modification) bits together, for
>> example in sys/src/nix/rc, mounted via (nix/nix) in order to appear
>> as nix/vmx, nix/mkusbkey and so long, in order to put the pieces
>> together?
>
>
> Yes, this is a great suggestion.  Please do!
>
>>
>> Note: there are a number of warnings when compiling so my next
>> assignment will be to fix the compiler (assembler, compiler, linker)
>> warnings before tracking panics. I prefer to grasp the easier task at
>> hand ;-^
>
>
> I'll admit to punting on these.
>
> Most of them are from parameter and signature changes from long to size, and each requires careful examination and analysis to understand if sign-extending is sufficient/appropriate, and whether the size change should propagate through more of the neighboring code.  Most important is to avoid any casting to quiet the compiler since it is telling us something useful.
>
> Paul
>
> 9fans / 9fans / see discussions + participants + delivery options Permalink

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-Mf76543b59e2ff08ea66838bb
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-12 19:22       ` tlaronde
@ 2025-01-12 20:07         ` Ron Minnich
  2025-01-14  6:55           ` Ron Minnich
  0 siblings, 1 reply; 31+ messages in thread
From: Ron Minnich @ 2025-01-12 20:07 UTC (permalink / raw)
  To: 9fans

On Sun, Jan 12, 2025 at 11:56 AM <tlaronde@kergis.com> wrote:

> Note: I will work for sure some hours on it on week-ends, mainly on
> Sundays. I may happen to work on it supplementary to that when time
> permits---or because I'm bored at what I'm doing currently. So silence
> from me for days will not be a sign that I dropped the ball and if
> someone beats me at what I was planning to do, I will simply take the next
> "reachable" (for me) problem remaining.

That's precisely what I was hoping to hear. You just defined a
sustainable model for contributing.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M26d6bea4743b431ab86908c2
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-12 20:07         ` Ron Minnich
@ 2025-01-14  6:55           ` Ron Minnich
  2025-01-14  8:22             ` tlaronde
  2025-01-14 18:00             ` Paul Lalonde
  0 siblings, 2 replies; 31+ messages in thread
From: Ron Minnich @ 2025-01-14  6:55 UTC (permalink / raw)
  To: 9fans

Paul has taken us a whole lot further. Be sure to do a pull. 13,000 or
so removed files later, NIX is now just a small layer over a standard
9front distro.

On Sun, Jan 12, 2025 at 12:07 PM Ron Minnich <rminnich@p9f.org> wrote:
>
> On Sun, Jan 12, 2025 at 11:56 AM <tlaronde@kergis.com> wrote:
>
> > Note: I will work for sure some hours on it on week-ends, mainly on
> > Sundays. I may happen to work on it supplementary to that when time
> > permits---or because I'm bored at what I'm doing currently. So silence
> > from me for days will not be a sign that I dropped the ball and if
> > someone beats me at what I was planning to do, I will simply take the next
> > "reachable" (for me) problem remaining.
>
> That's precisely what I was hoping to hear. You just defined a
> sustainable model for contributing.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-Mc991c860b46f6510bed986ad
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-14  6:55           ` Ron Minnich
@ 2025-01-14  8:22             ` tlaronde
  2025-01-14  9:56               ` Daniel Maslowski via 9fans
                                 ` (2 more replies)
  2025-01-14 18:00             ` Paul Lalonde
  1 sibling, 3 replies; 31+ messages in thread
From: tlaronde @ 2025-01-14  8:22 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 2288 bytes --]

On Mon, Jan 13, 2025 at 10:55:30PM -0800, Ron Minnich wrote:
> Paul has taken us a whole lot further. Be sure to do a pull. 13,000 or
> so removed files later, NIX is now just a small layer over a standard
> 9front distro.
> 

BTW, there were two "logos":

./lib/nix_color.png
./lib/nix_red.png

(Attached here.)

I don't know if these revive some memory for the people working on it
initially. FWIW

"Historical" note: David David du Colombier's 9legacy have patches
coming from nix applied (and some reverted):

9k-jmk-physalloc                The NIX Authors         sys/src/9k/k10: import physalloc from NIX

9k-jmk-mmu-physalloc    The NIX Authors         sys/src/9k/k10: use physalloc in MMU

##9k-jmk-mmu-freelist   The NIX Authors         sys/src/9k/k10: import MMU freelist from NIX
##9k-jmk-image-lru              The NIX Authors         sys/src/9k/port: import image LRU from NIX

FWIW too.

Note: I had planned to review the whole tree (diff'ing essentially) to
spot pieces that could be related to NIX and not in sys/ subdirs. Do
knowledgeable people think it still has some value to do so?

> On Sun, Jan 12, 2025 at 12:07?PM Ron Minnich <rminnich@p9f.org> wrote:
> >
> > On Sun, Jan 12, 2025 at 11:56?AM <tlaronde@kergis.com> wrote:
> >
> > > Note: I will work for sure some hours on it on week-ends, mainly on
> > > Sundays. I may happen to work on it supplementary to that when time
> > > permits---or because I'm bored at what I'm doing currently. So silence
> > > from me for days will not be a sign that I dropped the ball and if
> > > someone beats me at what I was planning to do, I will simply take the next
> > > "reachable" (for me) problem remaining.
> >
> > That's precisely what I was hoping to hear. You just defined a
> > sustainable model for contributing.

-- 
        Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-Mecc62645d195c596b8a48aaa
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: nix_color.png --]
[-- Type: image/png, Size: 47203 bytes --]

[-- Attachment #3: nix_red.png --]
[-- Type: image/png, Size: 18481 bytes --]

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

* Re: [9fans] NIX/regen
  2025-01-14  8:22             ` tlaronde
@ 2025-01-14  9:56               ` Daniel Maslowski via 9fans
  2025-01-14 16:10                 ` Ron Minnich
  2025-01-14 10:05               ` yy
  2025-01-14 10:45               ` David du Colombier
  2 siblings, 1 reply; 31+ messages in thread
From: Daniel Maslowski via 9fans @ 2025-01-14  9:56 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 2526 bytes --]

Tracing back via the commit message, that came via
https://codereview.appspot.com/5143046

On Tue, 14 Jan 2025, 10:06 , <tlaronde@kergis.com> wrote:

> On Mon, Jan 13, 2025 at 10:55:30PM -0800, Ron Minnich wrote:
> > Paul has taken us a whole lot further. Be sure to do a pull. 13,000 or
> > so removed files later, NIX is now just a small layer over a standard
> > 9front distro.
> >
>
> BTW, there were two "logos":
>
> ./lib/nix_color.png
> ./lib/nix_red.png
>
> (Attached here.)
>
> I don't know if these revive some memory for the people working on it
> initially. FWIW
>
> "Historical" note: David David du Colombier's 9legacy have patches
> coming from nix applied (and some reverted):
>
> 9k-jmk-physalloc                The NIX Authors         sys/src/9k/k10:
> import physalloc from NIX
>
> 9k-jmk-mmu-physalloc    The NIX Authors         sys/src/9k/k10: use
> physalloc in MMU
>
> ##9k-jmk-mmu-freelist   The NIX Authors         sys/src/9k/k10: import MMU
> freelist from NIX
> ##9k-jmk-image-lru              The NIX Authors         sys/src/9k/port:
> import image LRU from NIX
>
> FWIW too.
>
> Note: I had planned to review the whole tree (diff'ing essentially) to
> spot pieces that could be related to NIX and not in sys/ subdirs. Do
> knowledgeable people think it still has some value to do so?
>
> > On Sun, Jan 12, 2025 at 12:07?PM Ron Minnich <rminnich@p9f.org> wrote:
> > >
> > > On Sun, Jan 12, 2025 at 11:56?AM <tlaronde@kergis.com> wrote:
> > >
> > > > Note: I will work for sure some hours on it on week-ends, mainly on
> > > > Sundays. I may happen to work on it supplementary to that when time
> > > > permits---or because I'm bored at what I'm doing currently. So
> silence
> > > > from me for days will not be a sign that I dropped the ball and if
> > > > someone beats me at what I was planning to do, I will simply take
> the next
> > > > "reachable" (for me) problem remaining.
> > >
> > > That's precisely what I was hoping to hear. You just defined a
> > > sustainable model for contributing.
> 
> --
> Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
>              http://www.kergis.com/
>             http://kertex.kergis.com/
> Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M0295fcc211a103059818efab
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 4807 bytes --]

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

* Re: [9fans] NIX/regen
  2025-01-14  8:22             ` tlaronde
  2025-01-14  9:56               ` Daniel Maslowski via 9fans
@ 2025-01-14 10:05               ` yy
  2025-01-14 10:45               ` David du Colombier
  2 siblings, 0 replies; 31+ messages in thread
From: yy @ 2025-01-14 10:05 UTC (permalink / raw)
  To: 9fans

On Tue, 14 Jan 2025 at 10:06, <tlaronde@kergis.com> wrote:
>
> BTW, there were two "logos":


And they are horrible. We were talking about having a logo with some
kind of nixie tubes and I drafted those letters in a few minutes. Then
someone asked for a cat and I reluctantly added that "cat" in another
two minutes. And then, someone decided to use those drafts as actual
logos.

I don't like them at all. But, as the author, I give you permission to
do whatever you want.


-- 
- yiyus || JGL .

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-Mf69fb7a2ec786bdd37fc8981
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-14  8:22             ` tlaronde
  2025-01-14  9:56               ` Daniel Maslowski via 9fans
  2025-01-14 10:05               ` yy
@ 2025-01-14 10:45               ` David du Colombier
  2 siblings, 0 replies; 31+ messages in thread
From: David du Colombier @ 2025-01-14 10:45 UTC (permalink / raw)
  To: 9fans

> "Historical" note: David David du Colombier's 9legacy have patches
> coming from nix applied (and some reverted)

Roughly speaking, Nix is based on a version of Jim McKie's 9k from early 2011.

Jim McKie later retrieved some improvements from Nix to its own 9k tree,
especially since there was a lot of improvements done in May 2011.

From February 2013 to June 2013, there has been some collective effort to
improve 9k further, especially since it was still lacking a proper memory manager.

As far I know, Jim McKie continued to work on his 9k tree until October 2013,
before the disband of Bell Labs.

The code history is available here: https://github.com/0intro/9k

9legacy's 9k is based on the last version of Jim McKie's 9k, with some
improvements imported from Nix, including its memory manager.

Over the years, there have been multiple variants of 9k and Nix,
each with the own specialties (e.g. there have been something like 4
or so completely different implementations of the memory manager).

A small overview of the 9k derivatives is available here: http://9legacy.org/9legacy/doc/9k/history

-- 
David du Colombier

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M1d0608a97b91ed0ef138d2f7
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-14  9:56               ` Daniel Maslowski via 9fans
@ 2025-01-14 16:10                 ` Ron Minnich
  0 siblings, 0 replies; 31+ messages in thread
From: Ron Minnich @ 2025-01-14 16:10 UTC (permalink / raw)
  To: 9fans

yiyus, don't be too hard on yourself, your logos were far better than
anything anyone else did.

I had forgotten the logos entirely. I found some old list traffic and
forwarded it.

On Tue, Jan 14, 2025 at 6:09 AM Daniel Maslowski via 9fans
<9fans@9fans.net> wrote:
>
> Tracing back via the commit message, that came via
> https://codereview.appspot.com/5143046
>
> On Tue, 14 Jan 2025, 10:06 , <tlaronde@kergis.com> wrote:
>>
>> On Mon, Jan 13, 2025 at 10:55:30PM -0800, Ron Minnich wrote:
>> > Paul has taken us a whole lot further. Be sure to do a pull. 13,000 or
>> > so removed files later, NIX is now just a small layer over a standard
>> > 9front distro.
>> >
>>
>> BTW, there were two "logos":
>>
>> ./lib/nix_color.png
>> ./lib/nix_red.png
>>
>> (Attached here.)
>>
>> I don't know if these revive some memory for the people working on it
>> initially. FWIW
>>
>> "Historical" note: David David du Colombier's 9legacy have patches
>> coming from nix applied (and some reverted):
>>
>> 9k-jmk-physalloc                The NIX Authors         sys/src/9k/k10: import physalloc from NIX
>>
>> 9k-jmk-mmu-physalloc    The NIX Authors         sys/src/9k/k10: use physalloc in MMU
>>
>> ##9k-jmk-mmu-freelist   The NIX Authors         sys/src/9k/k10: import MMU freelist from NIX
>> ##9k-jmk-image-lru              The NIX Authors         sys/src/9k/port: import image LRU from NIX
>>
>> FWIW too.
>>
>> Note: I had planned to review the whole tree (diff'ing essentially) to
>> spot pieces that could be related to NIX and not in sys/ subdirs. Do
>> knowledgeable people think it still has some value to do so?
>>
>> > On Sun, Jan 12, 2025 at 12:07?PM Ron Minnich <rminnich@p9f.org> wrote:
>> > >
>> > > On Sun, Jan 12, 2025 at 11:56?AM <tlaronde@kergis.com> wrote:
>> > >
>> > > > Note: I will work for sure some hours on it on week-ends, mainly on
>> > > > Sundays. I may happen to work on it supplementary to that when time
>> > > > permits---or because I'm bored at what I'm doing currently. So silence
>> > > > from me for days will not be a sign that I dropped the ball and if
>> > > > someone beats me at what I was planning to do, I will simply take the next
>> > > > "reachable" (for me) problem remaining.
>> > >
>> > > That's precisely what I was hoping to hear. You just defined a
>> > > sustainable model for contributing.
>> 
>> --
>> Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
>>              http://www.kergis.com/
>>             http://kertex.kergis.com/
>> Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C
>
> 9fans / 9fans / see discussions + participants + delivery options Permalink

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M677892a6ba979ef87d1f050a
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-14  6:55           ` Ron Minnich
  2025-01-14  8:22             ` tlaronde
@ 2025-01-14 18:00             ` Paul Lalonde
  2025-01-14 21:28               ` Stuart Morrow
  1 sibling, 1 reply; 31+ messages in thread
From: Paul Lalonde @ 2025-01-14 18:00 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 1626 bytes --]

Credit where credit is due: this is made possible by the outstanding work
the 9front crew have done at making a stable working distribution with all
the bells and whistles - drawterm from my various desktop and
mobile devices, git for revision management, vmx for testing, and an
encouraging and useful IRC channel.

I haven't written code properly in a plan9 environment for 20 years, and
this is very pleasant.

Thank you all!

Paul


On Mon, Jan 13, 2025, 11:53 p.m. Ron Minnich <rminnich@p9f.org> wrote:

> Paul has taken us a whole lot further. Be sure to do a pull. 13,000 or
> so removed files later, NIX is now just a small layer over a standard
> 9front distro.
>
> On Sun, Jan 12, 2025 at 12:07 PM Ron Minnich <rminnich@p9f.org> wrote:
> >
> > On Sun, Jan 12, 2025 at 11:56 AM <tlaronde@kergis.com> wrote:
> >
> > > Note: I will work for sure some hours on it on week-ends, mainly on
> > > Sundays. I may happen to work on it supplementary to that when time
> > > permits---or because I'm bored at what I'm doing currently. So silence
> > > from me for days will not be a sign that I dropped the ball and if
> > > someone beats me at what I was planning to do, I will simply take the
> next
> > > "reachable" (for me) problem remaining.
> >
> > That's precisely what I was hoping to hear. You just defined a
> > sustainable model for contributing.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M2e652f389abe7989713236d5
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 3325 bytes --]

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

* Re: [9fans] NIX/regen
  2025-01-14 18:00             ` Paul Lalonde
@ 2025-01-14 21:28               ` Stuart Morrow
  2025-01-14 23:08                 ` Paul Lalonde
  2025-01-14 23:52                 ` Ori Bernstein
  0 siblings, 2 replies; 31+ messages in thread
From: Stuart Morrow @ 2025-01-14 21:28 UTC (permalink / raw)
  To: 9fans

Are you aware vmx is inherently single-core

On Tue, 14 Jan 2025 at 18:01, Paul Lalonde <paul.a.lalonde@gmail.com> wrote:
>
> Credit where credit is due: this is made possible by the outstanding work the 9front crew have done at making a stable working distribution with all the bells and whistles - drawterm from my various desktop and mobile devices, git for revision management, vmx for testing, and an encouraging and useful IRC channel.
>
> I haven't written code properly in a plan9 environment for 20 years, and this is very pleasant.
>
> Thank you all!
>
> Paul
>
>
> On Mon, Jan 13, 2025, 11:53 p.m. Ron Minnich <rminnich@p9f.org> wrote:
>>
>> Paul has taken us a whole lot further. Be sure to do a pull. 13,000 or
>> so removed files later, NIX is now just a small layer over a standard
>> 9front distro.
>>
>> On Sun, Jan 12, 2025 at 12:07 PM Ron Minnich <rminnich@p9f.org> wrote:
>> >
>> > On Sun, Jan 12, 2025 at 11:56 AM <tlaronde@kergis.com> wrote:
>> >
>> > > Note: I will work for sure some hours on it on week-ends, mainly on
>> > > Sundays. I may happen to work on it supplementary to that when time
>> > > permits---or because I'm bored at what I'm doing currently. So silence
>> > > from me for days will not be a sign that I dropped the ball and if
>> > > someone beats me at what I was planning to do, I will simply take the next
>> > > "reachable" (for me) problem remaining.
>> >
>> > That's precisely what I was hoping to hear. You just defined a
>> > sustainable model for contributing.
>
> 9fans / 9fans / see discussions + participants + delivery options Permalink

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-Mf289f3fcc9e26f089362c572
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-14 21:28               ` Stuart Morrow
@ 2025-01-14 23:08                 ` Paul Lalonde
  2025-01-14 23:28                   ` Ron Minnich
  2025-01-14 23:53                   ` Ori Bernstein
  2025-01-14 23:52                 ` Ori Bernstein
  1 sibling, 2 replies; 31+ messages in thread
From: Paul Lalonde @ 2025-01-14 23:08 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 2207 bytes --]

Your email is timely.
Yes, I just got enough init going to realize that it doesn't set up the MP
tables.
No now I need to figure out a flow with qemu, I guess.

On Tue, Jan 14, 2025, 3:07 p.m. Stuart Morrow <morrow.stuart@gmail.com>
wrote:

> Are you aware vmx is inherently single-core
>
> On Tue, 14 Jan 2025 at 18:01, Paul Lalonde <paul.a.lalonde@gmail.com>
> wrote:
> >
> > Credit where credit is due: this is made possible by the outstanding
> work the 9front crew have done at making a stable working distribution with
> all the bells and whistles - drawterm from my various desktop and mobile
> devices, git for revision management, vmx for testing, and an encouraging
> and useful IRC channel.
> >
> > I haven't written code properly in a plan9 environment for 20 years, and
> this is very pleasant.
> >
> > Thank you all!
> >
> > Paul
> >
> >
> > On Mon, Jan 13, 2025, 11:53 p.m. Ron Minnich <rminnich@p9f.org> wrote:
> >>
> >> Paul has taken us a whole lot further. Be sure to do a pull. 13,000 or
> >> so removed files later, NIX is now just a small layer over a standard
> >> 9front distro.
> >>
> >> On Sun, Jan 12, 2025 at 12:07 PM Ron Minnich <rminnich@p9f.org> wrote:
> >> >
> >> > On Sun, Jan 12, 2025 at 11:56 AM <tlaronde@kergis.com> wrote:
> >> >
> >> > > Note: I will work for sure some hours on it on week-ends, mainly on
> >> > > Sundays. I may happen to work on it supplementary to that when time
> >> > > permits---or because I'm bored at what I'm doing currently. So
> silence
> >> > > from me for days will not be a sign that I dropped the ball and if
> >> > > someone beats me at what I was planning to do, I will simply take
> the next
> >> > > "reachable" (for me) problem remaining.
> >> >
> >> > That's precisely what I was hoping to hear. You just defined a
> >> > sustainable model for contributing.
> >
> > 9fans / 9fans / see discussions + participants + delivery options
> Permalink

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-Mfb217e4b4a48c07e8dc1899c
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 4161 bytes --]

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

* Re: [9fans] NIX/regen
  2025-01-14 23:08                 ` Paul Lalonde
@ 2025-01-14 23:28                   ` Ron Minnich
  2025-01-14 23:53                   ` Ori Bernstein
  1 sibling, 0 replies; 31+ messages in thread
From: Ron Minnich @ 2025-01-14 23:28 UTC (permalink / raw)
  To: 9fans

you should not need MP tables anyway. That is a 20-years-out-of-date
format that rarely is correct on most modern machines. ACPI is the
thing for you. 9front seems to do a good job of parsing it but, even
back in the day, plan 9 handled the MADT and friends just fine.

On Tue, Jan 14, 2025 at 3:09 PM Paul Lalonde <paul.a.lalonde@gmail.com> wrote:
>
> Your email is timely.
> Yes, I just got enough init going to realize that it doesn't set up the MP tables.
> No now I need to figure out a flow with qemu, I guess.
>
> On Tue, Jan 14, 2025, 3:07 p.m. Stuart Morrow <morrow.stuart@gmail.com> wrote:
>>
>> Are you aware vmx is inherently single-core
>>
>> On Tue, 14 Jan 2025 at 18:01, Paul Lalonde <paul.a.lalonde@gmail.com> wrote:
>> >
>> > Credit where credit is due: this is made possible by the outstanding work the 9front crew have done at making a stable working distribution with all the bells and whistles - drawterm from my various desktop and mobile devices, git for revision management, vmx for testing, and an encouraging and useful IRC channel.
>> >
>> > I haven't written code properly in a plan9 environment for 20 years, and this is very pleasant.
>> >
>> > Thank you all!
>> >
>> > Paul
>> >
>> >
>> > On Mon, Jan 13, 2025, 11:53 p.m. Ron Minnich <rminnich@p9f.org> wrote:
>> >>
>> >> Paul has taken us a whole lot further. Be sure to do a pull. 13,000 or
>> >> so removed files later, NIX is now just a small layer over a standard
>> >> 9front distro.
>> >>
>> >> On Sun, Jan 12, 2025 at 12:07 PM Ron Minnich <rminnich@p9f.org> wrote:
>> >> >
>> >> > On Sun, Jan 12, 2025 at 11:56 AM <tlaronde@kergis.com> wrote:
>> >> >
>> >> > > Note: I will work for sure some hours on it on week-ends, mainly on
>> >> > > Sundays. I may happen to work on it supplementary to that when time
>> >> > > permits---or because I'm bored at what I'm doing currently. So silence
>> >> > > from me for days will not be a sign that I dropped the ball and if
>> >> > > someone beats me at what I was planning to do, I will simply take the next
>> >> > > "reachable" (for me) problem remaining.
>> >> >
>> >> > That's precisely what I was hoping to hear. You just defined a
>> >> > sustainable model for contributing.
>> >
>> > 9fans / 9fans / see discussions + participants + delivery options Permalink
>
> 9fans / 9fans / see discussions + participants + delivery options Permalink

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M1fd6113cd2134d08a3f154be
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-14 21:28               ` Stuart Morrow
  2025-01-14 23:08                 ` Paul Lalonde
@ 2025-01-14 23:52                 ` Ori Bernstein
  2025-01-15  0:24                   ` Ori Bernstein
  1 sibling, 1 reply; 31+ messages in thread
From: Ori Bernstein @ 2025-01-14 23:52 UTC (permalink / raw)
  To: 9fans; +Cc: Stuart Morrow

There's nothing inherently multiple core about it, and adding multicore
support is probably not even that difficult. It just needs someone who
cares to roll up their sleeves and write (probably a couple of hundred)
lines of code.

I think the trickier part will be in exposing it to the VMs, and not in
making vmx able to create a couple of mappings with '#X'.

On Tue, 14 Jan 2025 21:28:53 +0000
Stuart Morrow <morrow.stuart@gmail.com> wrote:

> Are you aware vmx is inherently single-core
> 
> On Tue, 14 Jan 2025 at 18:01, Paul Lalonde <paul.a.lalonde@gmail.com> wrote:
> >
> > Credit where credit is due: this is made possible by the outstanding work the 9front crew have done at making a stable working distribution with all the bells and whistles - drawterm from my various desktop and mobile devices, git for revision management, vmx for testing, and an encouraging and useful IRC channel.
> >
> > I haven't written code properly in a plan9 environment for 20 years, and this is very pleasant.
> >
> > Thank you all!
> >
> > Paul
> >
> >
> > On Mon, Jan 13, 2025, 11:53 p.m. Ron Minnich <rminnich@p9f.org> wrote:
> >>
> >> Paul has taken us a whole lot further. Be sure to do a pull. 13,000 or
> >> so removed files later, NIX is now just a small layer over a standard
> >> 9front distro.
> >>
> >> On Sun, Jan 12, 2025 at 12:07 PM Ron Minnich <rminnich@p9f.org> wrote:
> >> >
> >> > On Sun, Jan 12, 2025 at 11:56 AM <tlaronde@kergis.com> wrote:
> >> >
> >> > > Note: I will work for sure some hours on it on week-ends, mainly on
> >> > > Sundays. I may happen to work on it supplementary to that when time
> >> > > permits---or because I'm bored at what I'm doing currently. So silence
> >> > > from me for days will not be a sign that I dropped the ball and if
> >> > > someone beats me at what I was planning to do, I will simply take the next
> >> > > "reachable" (for me) problem remaining.
> >> >
> >> > That's precisely what I was hoping to hear. You just defined a
> >> > sustainable model for contributing.
> >
> > 9fans / 9fans / see discussions + participants + delivery options Permalink


-- 
Ori Bernstein <ori@eigenstate.org>

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M3658aef5c1ced6f53ecc48f0
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-14 23:08                 ` Paul Lalonde
  2025-01-14 23:28                   ` Ron Minnich
@ 2025-01-14 23:53                   ` Ori Bernstein
  2025-01-15  2:34                     ` Anthony Sorace
  1 sibling, 1 reply; 31+ messages in thread
From: Ori Bernstein @ 2025-01-14 23:53 UTC (permalink / raw)
  To: 9fans; +Cc: Paul Lalonde

Netbooting is comfortable for this -- both on emulation and on real hardware.

On Tue, 14 Jan 2025 15:08:51 -0800
Paul Lalonde <paul.a.lalonde@gmail.com> wrote:

> Your email is timely.
> Yes, I just got enough init going to realize that it doesn't set up the MP
> tables.
> No now I need to figure out a flow with qemu, I guess.
> 
> On Tue, Jan 14, 2025, 3:07 p.m. Stuart Morrow <morrow.stuart@gmail.com>
> wrote:
> 
> > Are you aware vmx is inherently single-core
> >
> > On Tue, 14 Jan 2025 at 18:01, Paul Lalonde <paul.a.lalonde@gmail.com>
> > wrote:
> > >
> > > Credit where credit is due: this is made possible by the outstanding
> > work the 9front crew have done at making a stable working distribution with
> > all the bells and whistles - drawterm from my various desktop and mobile
> > devices, git for revision management, vmx for testing, and an encouraging
> > and useful IRC channel.
> > >
> > > I haven't written code properly in a plan9 environment for 20 years, and
> > this is very pleasant.
> > >
> > > Thank you all!
> > >
> > > Paul
> > >
> > >
> > > On Mon, Jan 13, 2025, 11:53 p.m. Ron Minnich <rminnich@p9f.org> wrote:
> > >>
> > >> Paul has taken us a whole lot further. Be sure to do a pull. 13,000 or
> > >> so removed files later, NIX is now just a small layer over a standard
> > >> 9front distro.
> > >>
> > >> On Sun, Jan 12, 2025 at 12:07 PM Ron Minnich <rminnich@p9f.org> wrote:
> > >> >
> > >> > On Sun, Jan 12, 2025 at 11:56 AM <tlaronde@kergis.com> wrote:
> > >> >
> > >> > > Note: I will work for sure some hours on it on week-ends, mainly on
> > >> > > Sundays. I may happen to work on it supplementary to that when time
> > >> > > permits---or because I'm bored at what I'm doing currently. So
> > silence
> > >> > > from me for days will not be a sign that I dropped the ball and if
> > >> > > someone beats me at what I was planning to do, I will simply take
> > the next
> > >> > > "reachable" (for me) problem remaining.
> > >> >
> > >> > That's precisely what I was hoping to hear. You just defined a
> > >> > sustainable model for contributing.
> > >
> > > 9fans / 9fans / see discussions + participants + delivery options
> > Permalink


-- 
Ori Bernstein <ori@eigenstate.org>

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M8bce6654d05ff62c897e61fb
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-14 23:52                 ` Ori Bernstein
@ 2025-01-15  0:24                   ` Ori Bernstein
  2025-01-15  4:24                     ` Paul Lalonde
  0 siblings, 1 reply; 31+ messages in thread
From: Ori Bernstein @ 2025-01-15  0:24 UTC (permalink / raw)
  To: 9fans; +Cc: Stuart Morrow

Also, a reminder: the way things improve is one yak shave at
a time. You try using the system for something, hit an issue
or limitation, and pull out the razor.

It doesn't have to happen for everything, every time, but
with enough people actually adding capabilities to the system,
things get better rather quickly.

On Tue, 14 Jan 2025 18:52:55 -0500
Ori Bernstein <ori@orib.dev> wrote:

> There's nothing inherently multiple core about it, and adding multicore
> support is probably not even that difficult. It just needs someone who
> cares to roll up their sleeves and write (probably a couple of hundred)
> lines of code.
> 
> I think the trickier part will be in exposing it to the VMs, and not in
> making vmx able to create a couple of mappings with '#X'.
> 
> On Tue, 14 Jan 2025 21:28:53 +0000
> Stuart Morrow <morrow.stuart@gmail.com> wrote:
> 
> > Are you aware vmx is inherently single-core
> > 
> > On Tue, 14 Jan 2025 at 18:01, Paul Lalonde <paul.a.lalonde@gmail.com> wrote:
> > >
> > > Credit where credit is due: this is made possible by the outstanding work the 9front crew have done at making a stable working distribution with all the bells and whistles - drawterm from my various desktop and mobile devices, git for revision management, vmx for testing, and an encouraging and useful IRC channel.
> > >
> > > I haven't written code properly in a plan9 environment for 20 years, and this is very pleasant.
> > >
> > > Thank you all!
> > >
> > > Paul
> > >
> > >
> > > On Mon, Jan 13, 2025, 11:53 p.m. Ron Minnich <rminnich@p9f.org> wrote:
> > >>
> > >> Paul has taken us a whole lot further. Be sure to do a pull. 13,000 or
> > >> so removed files later, NIX is now just a small layer over a standard
> > >> 9front distro.
> > >>
> > >> On Sun, Jan 12, 2025 at 12:07 PM Ron Minnich <rminnich@p9f.org> wrote:
> > >> >
> > >> > On Sun, Jan 12, 2025 at 11:56 AM <tlaronde@kergis.com> wrote:
> > >> >
> > >> > > Note: I will work for sure some hours on it on week-ends, mainly on
> > >> > > Sundays. I may happen to work on it supplementary to that when time
> > >> > > permits---or because I'm bored at what I'm doing currently. So silence
> > >> > > from me for days will not be a sign that I dropped the ball and if
> > >> > > someone beats me at what I was planning to do, I will simply take the next
> > >> > > "reachable" (for me) problem remaining.
> > >> >
> > >> > That's precisely what I was hoping to hear. You just defined a
> > >> > sustainable model for contributing.
> > >
> > > 9fans / 9fans / see discussions + participants + delivery options Permalink
> 
> 
> --
> Ori Bernstein <ori@eigenstate.org>


-- 
Ori Bernstein <ori@eigenstate.org>

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M014c65ef8277d058657d5e94
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-14 23:53                   ` Ori Bernstein
@ 2025-01-15  2:34                     ` Anthony Sorace
  2025-01-15  4:36                       ` Ron Minnich
  2025-01-15  6:05                       ` Skip Tavakkolian
  0 siblings, 2 replies; 31+ messages in thread
From: Anthony Sorace @ 2025-01-15  2:34 UTC (permalink / raw)
  To: 9fans

Do you (or anyone else) have a recipe for getting qemu to do a real netboot (as opposed to using a tiny partition to store a 9fat and netbooting from that)? I have tried and haven’t been able to work it out. 

> On Jan 14, 2025, at 15:54, Ori Bernstein <ori@orib.dev> wrote:
> 
> Netbooting is comfortable for this -- both on emulation and on real hardware.
> 
>> On Tue, 14 Jan 2025 15:08:51 -0800
>> Paul Lalonde <paul.a.lalonde@gmail.com> wrote:
>> 
>> Your email is timely.
>> Yes, I just got enough init going to realize that it doesn't set up the MP
>> tables.
>> No now I need to figure out a flow with qemu, I guess.
>> 
>> On Tue, Jan 14, 2025, 3:07 p.m. Stuart Morrow <morrow.stuart@gmail.com>
>> wrote:
>> 
>>> Are you aware vmx is inherently single-core
>>> 
>>> On Tue, 14 Jan 2025 at 18:01, Paul Lalonde <paul.a.lalonde@gmail.com>
>>> wrote:
>>>> 
>>>> Credit where credit is due: this is made possible by the outstanding
>>> work the 9front crew have done at making a stable working distribution with
>>> all the bells and whistles - drawterm from my various desktop and mobile
>>> devices, git for revision management, vmx for testing, and an encouraging
>>> and useful IRC channel.
>>>> 
>>>> I haven't written code properly in a plan9 environment for 20 years, and
>>> this is very pleasant.
>>>> 
>>>> Thank you all!
>>>> 
>>>> Paul
>>>> 
>>>> 
>>>> On Mon, Jan 13, 2025, 11:53 p.m. Ron Minnich <rminnich@p9f.org> wrote:
>>>>> 
>>>>> Paul has taken us a whole lot further. Be sure to do a pull. 13,000 or
>>>>> so removed files later, NIX is now just a small layer over a standard
>>>>> 9front distro.
>>>>> 
>>>>> On Sun, Jan 12, 2025 at 12:07 PM Ron Minnich <rminnich@p9f.org> wrote:
>>>>>> 
>>>>>> On Sun, Jan 12, 2025 at 11:56 AM <tlaronde@kergis.com> wrote:
>>>>>> 
>>>>>>> Note: I will work for sure some hours on it on week-ends, mainly on
>>>>>>> Sundays. I may happen to work on it supplementary to that when time
>>>>>>> permits---or because I'm bored at what I'm doing currently. So
>>> silence
>>>>>>> from me for days will not be a sign that I dropped the ball and if
>>>>>>> someone beats me at what I was planning to do, I will simply take
>>> the next
>>>>>>> "reachable" (for me) problem remaining.
>>>>>> 
>>>>>> That's precisely what I was hoping to hear. You just defined a
>>>>>> sustainable model for contributing.
>>>> 
>>>> 9fans / 9fans / see discussions + participants + delivery options
>>> Permalink
> 
> 
> --
> Ori Bernstein <ori@eigenstate.org>

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M2d3054a44131021d6c701588
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-15  0:24                   ` Ori Bernstein
@ 2025-01-15  4:24                     ` Paul Lalonde
  0 siblings, 0 replies; 31+ messages in thread
From: Paul Lalonde @ 2025-01-15  4:24 UTC (permalink / raw)
  To: 9fans; +Cc: Stuart Morrow


[-- Attachment #1.1: Type: text/plain, Size: 3354 bytes --]

Qemu moved us ahead.  Behold a boot prompt from NIX, first since 2011?
Plenty still broken, but it's coming along!

[image: image.png]

On Tue, Jan 14, 2025 at 5:32 PM Ori Bernstein <ori@orib.dev> wrote:

> Also, a reminder: the way things improve is one yak shave at
> a time. You try using the system for something, hit an issue
> or limitation, and pull out the razor.
>
> It doesn't have to happen for everything, every time, but
> with enough people actually adding capabilities to the system,
> things get better rather quickly.
>
> On Tue, 14 Jan 2025 18:52:55 -0500
> Ori Bernstein <ori@orib.dev> wrote:
>
> > There's nothing inherently multiple core about it, and adding multicore
> > support is probably not even that difficult. It just needs someone who
> > cares to roll up their sleeves and write (probably a couple of hundred)
> > lines of code.
> >
> > I think the trickier part will be in exposing it to the VMs, and not in
> > making vmx able to create a couple of mappings with '#X'.
> >
> > On Tue, 14 Jan 2025 21:28:53 +0000
> > Stuart Morrow <morrow.stuart@gmail.com> wrote:
> >
> > > Are you aware vmx is inherently single-core
> > >
> > > On Tue, 14 Jan 2025 at 18:01, Paul Lalonde <paul.a.lalonde@gmail.com>
> wrote:
> > > >
> > > > Credit where credit is due: this is made possible by the outstanding
> work the 9front crew have done at making a stable working distribution with
> all the bells and whistles - drawterm from my various desktop and mobile
> devices, git for revision management, vmx for testing, and an encouraging
> and useful IRC channel.
> > > >
> > > > I haven't written code properly in a plan9 environment for 20 years,
> and this is very pleasant.
> > > >
> > > > Thank you all!
> > > >
> > > > Paul
> > > >
> > > >
> > > > On Mon, Jan 13, 2025, 11:53 p.m. Ron Minnich <rminnich@p9f.org>
> wrote:
> > > >>
> > > >> Paul has taken us a whole lot further. Be sure to do a pull. 13,000
> or
> > > >> so removed files later, NIX is now just a small layer over a
> standard
> > > >> 9front distro.
> > > >>
> > > >> On Sun, Jan 12, 2025 at 12:07 PM Ron Minnich <rminnich@p9f.org>
> wrote:
> > > >> >
> > > >> > On Sun, Jan 12, 2025 at 11:56 AM <tlaronde@kergis.com> wrote:
> > > >> >
> > > >> > > Note: I will work for sure some hours on it on week-ends,
> mainly on
> > > >> > > Sundays. I may happen to work on it supplementary to that when
> time
> > > >> > > permits---or because I'm bored at what I'm doing currently. So
> silence
> > > >> > > from me for days will not be a sign that I dropped the ball and
> if
> > > >> > > someone beats me at what I was planning to do, I will simply
> take the next
> > > >> > > "reachable" (for me) problem remaining.
> > > >> >
> > > >> > That's precisely what I was hoping to hear. You just defined a
> > > >> > sustainable model for contributing.
> > > >
> > > > 9fans / 9fans / see discussions + participants + delivery options
> Permalink
> >
> >
> > --
> > Ori Bernstein <ori@eigenstate.org>
> 
> 
> --
> Ori Bernstein <ori@eigenstate.org>

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M2e90b84fbc34bcdaceeb6042
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #1.2: Type: text/html, Size: 5884 bytes --]

[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 181104 bytes --]

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

* Re: [9fans] NIX/regen
  2025-01-15  2:34                     ` Anthony Sorace
@ 2025-01-15  4:36                       ` Ron Minnich
  2025-01-15  6:05                       ` Skip Tavakkolian
  1 sibling, 0 replies; 31+ messages in thread
From: Ron Minnich @ 2025-01-15  4:36 UTC (permalink / raw)
  To: 9fans

I will ask someone who does that a lot.

On Tue, Jan 14, 2025 at 8:27 PM Anthony Sorace <a@9srv.net> wrote:
>
> Do you (or anyone else) have a recipe for getting qemu to do a real netboot (as opposed to using a tiny partition to store a 9fat and netbooting from that)? I have tried and haven’t been able to work it out.
>
> > On Jan 14, 2025, at 15:54, Ori Bernstein <ori@orib.dev> wrote:
> >
> > Netbooting is comfortable for this -- both on emulation and on real hardware.
> >
> >> On Tue, 14 Jan 2025 15:08:51 -0800
> >> Paul Lalonde <paul.a.lalonde@gmail.com> wrote:
> >>
> >> Your email is timely.
> >> Yes, I just got enough init going to realize that it doesn't set up the MP
> >> tables.
> >> No now I need to figure out a flow with qemu, I guess.
> >>
> >> On Tue, Jan 14, 2025, 3:07 p.m. Stuart Morrow <morrow.stuart@gmail.com>
> >> wrote:
> >>
> >>> Are you aware vmx is inherently single-core
> >>>
> >>> On Tue, 14 Jan 2025 at 18:01, Paul Lalonde <paul.a.lalonde@gmail.com>
> >>> wrote:
> >>>>
> >>>> Credit where credit is due: this is made possible by the outstanding
> >>> work the 9front crew have done at making a stable working distribution with
> >>> all the bells and whistles - drawterm from my various desktop and mobile
> >>> devices, git for revision management, vmx for testing, and an encouraging
> >>> and useful IRC channel.
> >>>>
> >>>> I haven't written code properly in a plan9 environment for 20 years, and
> >>> this is very pleasant.
> >>>>
> >>>> Thank you all!
> >>>>
> >>>> Paul
> >>>>
> >>>>
> >>>> On Mon, Jan 13, 2025, 11:53 p.m. Ron Minnich <rminnich@p9f.org> wrote:
> >>>>>
> >>>>> Paul has taken us a whole lot further. Be sure to do a pull. 13,000 or
> >>>>> so removed files later, NIX is now just a small layer over a standard
> >>>>> 9front distro.
> >>>>>
> >>>>> On Sun, Jan 12, 2025 at 12:07 PM Ron Minnich <rminnich@p9f.org> wrote:
> >>>>>>
> >>>>>> On Sun, Jan 12, 2025 at 11:56 AM <tlaronde@kergis.com> wrote:
> >>>>>>
> >>>>>>> Note: I will work for sure some hours on it on week-ends, mainly on
> >>>>>>> Sundays. I may happen to work on it supplementary to that when time
> >>>>>>> permits---or because I'm bored at what I'm doing currently. So
> >>> silence
> >>>>>>> from me for days will not be a sign that I dropped the ball and if
> >>>>>>> someone beats me at what I was planning to do, I will simply take
> >>> the next
> >>>>>>> "reachable" (for me) problem remaining.
> >>>>>>
> >>>>>> That's precisely what I was hoping to hear. You just defined a
> >>>>>> sustainable model for contributing.
> >>>>
> >>>> 9fans / 9fans / see discussions + participants + delivery options
> >>> Permalink
> >
> >
> > --
> > Ori Bernstein <ori@eigenstate.org>

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-M51bcb8db53410916387d8e3c
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] NIX/regen
  2025-01-15  2:34                     ` Anthony Sorace
  2025-01-15  4:36                       ` Ron Minnich
@ 2025-01-15  6:05                       ` Skip Tavakkolian
  1 sibling, 0 replies; 31+ messages in thread
From: Skip Tavakkolian @ 2025-01-15  6:05 UTC (permalink / raw)
  To: 9fans

What host OS? Linux is more straightforward than macOS. For macOS, the
trick (at least for me) was the right incantation of the netdev and/or
nic. This link was helpful:
https://gitlab.com/qemu-project/qemu/-/issues/465

Anyhow, on macos this is what I use; as usual the MAC address ties
things together in /lib/ndb/local and /cfg/pxe.

sudo qemu-system-x86_64 -machine accel=hvf -nic
vmnet-bridged,isolated=on,ifname=en1,mac=52:55:00:12:34:56 -m 2048
-vga std -boot n

On Tue, Jan 14, 2025 at 8:27 PM Anthony Sorace <a@9srv.net> wrote:
>
> Do you (or anyone else) have a recipe for getting qemu to do a real netboot (as opposed to using a tiny partition to store a 9fat and netbooting from that)? I have tried and haven’t been able to work it out.
>
> > On Jan 14, 2025, at 15:54, Ori Bernstein <ori@orib.dev> wrote:
> >
> > Netbooting is comfortable for this -- both on emulation and on real hardware.
> >
> >> On Tue, 14 Jan 2025 15:08:51 -0800
> >> Paul Lalonde <paul.a.lalonde@gmail.com> wrote:
> >>
> >> Your email is timely.
> >> Yes, I just got enough init going to realize that it doesn't set up the MP
> >> tables.
> >> No now I need to figure out a flow with qemu, I guess.
> >>
> >> On Tue, Jan 14, 2025, 3:07 p.m. Stuart Morrow <morrow.stuart@gmail.com>
> >> wrote:
> >>
> >>> Are you aware vmx is inherently single-core
> >>>
> >>> On Tue, 14 Jan 2025 at 18:01, Paul Lalonde <paul.a.lalonde@gmail.com>
> >>> wrote:
> >>>>
> >>>> Credit where credit is due: this is made possible by the outstanding
> >>> work the 9front crew have done at making a stable working distribution with
> >>> all the bells and whistles - drawterm from my various desktop and mobile
> >>> devices, git for revision management, vmx for testing, and an encouraging
> >>> and useful IRC channel.
> >>>>
> >>>> I haven't written code properly in a plan9 environment for 20 years, and
> >>> this is very pleasant.
> >>>>
> >>>> Thank you all!
> >>>>
> >>>> Paul
> >>>>
> >>>>
> >>>> On Mon, Jan 13, 2025, 11:53 p.m. Ron Minnich <rminnich@p9f.org> wrote:
> >>>>>
> >>>>> Paul has taken us a whole lot further. Be sure to do a pull. 13,000 or
> >>>>> so removed files later, NIX is now just a small layer over a standard
> >>>>> 9front distro.
> >>>>>
> >>>>> On Sun, Jan 12, 2025 at 12:07 PM Ron Minnich <rminnich@p9f.org> wrote:
> >>>>>>
> >>>>>> On Sun, Jan 12, 2025 at 11:56 AM <tlaronde@kergis.com> wrote:
> >>>>>>
> >>>>>>> Note: I will work for sure some hours on it on week-ends, mainly on
> >>>>>>> Sundays. I may happen to work on it supplementary to that when time
> >>>>>>> permits---or because I'm bored at what I'm doing currently. So
> >>> silence
> >>>>>>> from me for days will not be a sign that I dropped the ball and if
> >>>>>>> someone beats me at what I was planning to do, I will simply take
> >>> the next
> >>>>>>> "reachable" (for me) problem remaining.
> >>>>>>
> >>>>>> That's precisely what I was hoping to hear. You just defined a
> >>>>>> sustainable model for contributing.
> >>>>
> >>>> 9fans / 9fans / see discussions + participants + delivery options
> >>> Permalink
> >
> >
> > --
> > Ori Bernstein <ori@eigenstate.org>

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ted30b22de106b2db-Me11ef1d53fa9a8ab66690dae
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

end of thread, other threads:[~2025-01-15  8:37 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-11 15:52 [9fans] NIX/regen tlaronde
2025-01-11 16:24 ` Ron Minnich
2025-01-12 17:44   ` tlaronde
2025-01-12 18:59     ` Paul Lalonde
2025-01-12 19:22       ` tlaronde
2025-01-12 20:07         ` Ron Minnich
2025-01-14  6:55           ` Ron Minnich
2025-01-14  8:22             ` tlaronde
2025-01-14  9:56               ` Daniel Maslowski via 9fans
2025-01-14 16:10                 ` Ron Minnich
2025-01-14 10:05               ` yy
2025-01-14 10:45               ` David du Colombier
2025-01-14 18:00             ` Paul Lalonde
2025-01-14 21:28               ` Stuart Morrow
2025-01-14 23:08                 ` Paul Lalonde
2025-01-14 23:28                   ` Ron Minnich
2025-01-14 23:53                   ` Ori Bernstein
2025-01-15  2:34                     ` Anthony Sorace
2025-01-15  4:36                       ` Ron Minnich
2025-01-15  6:05                       ` Skip Tavakkolian
2025-01-14 23:52                 ` Ori Bernstein
2025-01-15  0:24                   ` Ori Bernstein
2025-01-15  4:24                     ` Paul Lalonde
2025-01-12 19:51       ` Ron Minnich
2025-01-11 17:39 ` tlaronde
2025-01-11 21:14   ` Ron Minnich
2025-01-11 22:38     ` Ron Minnich
2025-01-12  0:52       ` Paul Lalonde
2025-01-12  1:12         ` Ron Minnich
2025-01-12  1:53           ` Paul Lalonde
2025-01-12 16:36             ` rminnich

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