Re: [9fans] Nix/regen: assert triggered; best way to track

2025-01-28 Thread Paul Lalonde
Do you have a stack for the assert, from the ktrace? On Tue, Jan 28, 2025 at 6:09 AM wrote: > After fixing problems leading to compiler warnings---legitimate > warnings, but even the too short binary negated unsigned 32bits values > promoted to 64 bits with leading bits hence 0 as mask were ha

Re: [9fans] Nix/regen: assert triggered; best way to track

2025-01-28 Thread Paul Lalonde
; Local APIC Address (0xfee0) 00 00 ; Ext Table Length 00 ; Ext Table Checksum 00 ; Reserved On Tue, Jan 28, 2025 at 11:15 AM wrote: > On Tue, Jan 28, 2025 at 09:18:29AM -0800, Paul Lalonde wrote: &

Re: [9fans] Nix/regen: assert triggered; best way to track

2025-01-28 Thread Paul Lalonde
sign-extension. So back up to the fault and find the source of that address? Paul On Tue, Jan 28, 2025 at 9:09 AM wrote: > On Tue, Jan 28, 2025 at 07:49:02AM -0800, Paul Lalonde wrote: > > Do you have a stack for the assert, from the ktrace? > > > > Yes, and I was wrong: i

Re: [9fans] Re: Git usage

2025-01-12 Thread Paul Lalonde
Should these maybe match the outputs from git/walk? '!' doesn't appear in the git/walk output, should it? Paul On Sun, Jan 12, 2025 at 4:13 PM wrote: > Quoth Paul Lalonde : > > Nice, I can kind of make it work for me: > > > > fluxcpu% git/query -c '

[9fans] KerTex and LaTeX

2025-01-12 Thread Paul Lalonde
Hi all. I'm trying to install LaTeX so I can write up some results; I'm afraid I'm not much good with troff. I get a successful install, and which_kertex does the expected thing. But when I try '$KERTEX_SHELL $KERTEX_LIBDIR/pkg/rcp/latex.sh install' I get missing dependencies that I don't know how

Re: [9fans] Re: Git usage

2025-01-12 Thread Paul Lalonde
option? I use it frequently when I find myself with a duplicate change from messing up my github fork synchronizations. Paul On Sun, Jan 12, 2025 at 4:37 PM wrote: > Quoth Paul Lalonde : > > My next question is how to pull new changes from remote while putting my > > new work on

[9fans] Git usage

2025-01-12 Thread Paul Lalonde
Now that I'm doing some daily development, I'm running into process issues with git. That probably means I'm doing something wrong, and I'm hoping someone might disabuse me. My workflow is to sync my github fork of rminnich/nixos, then git/pull to get up to date with my repo. I then make a branc

[9fans] Re: Git usage

2025-01-12 Thread Paul Lalonde
the very long scroll of the same error, applied to different files. This is also too slow to be usable, at least for a tree as large as NIX. We'll get NIX pruned down into small changes to bind over 9front, but I don't see how to update my working branch to track upstream. Any advice?

Re: [9fans] Re: Git usage

2025-01-12 Thread Paul Lalonde
Nice, I can kind of make it work for me: fluxcpu% git/query -c 'dcc6924f24d885f48456a99575ac6619a8df9d45^^ 61ce30435cd176e5967de641527656239db1e952' @ sys/src/nix/k10/k8cpu @ sys/src/nix/k10/l32p.s Does the @ at the start of the lines have any significance? Paul On Sun, Jan 12, 2025 at 2:20 P

Re: [9fans] Re: Git usage

2025-01-12 Thread Paul Lalonde
Validating every file as you describe makes sense if there is no common ancestor. In the case of trees with a common ancestor, however, only files changed in subsequent commits should require checking. I went digging around git/fs and I don't see a way to get the files associated with a given commi

Re: [9fans] KerTex and LaTeX

2025-01-13 Thread Paul Lalonde
8/doc/generic/hyph-utf8 - No such file or directory Did I miss something? Paul On Sun, Jan 12, 2025 at 10:39 PM wrote: > On Sun, Jan 12, 2025 at 06:11:44PM -0800, Paul Lalonde wrote: > > Hi all. > > I'm trying to install LaTeX so I can write up some results; I'm afrai

Re: [9fans] Reminder: IWP9 in *PARIS* in *MAY*: papers due Feb 10!

2025-01-14 Thread Paul Lalonde
Is there a preferred/recommended accommodation? I'm planning my trip now and need to sort that out. My usual left bank digs are a little far for socializing near the venue. Paul On Tue, Jan 14, 2025, 8:49 a.m. Ron Minnich wrote: > The meeting is in Paris, May 22-24, at the wonderful CNAM: > >

Re: [9fans] NIX/regen

2025-01-14 Thread Paul Lalonde
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 use

[9fans] aan and firewall port forwarding

2025-01-09 Thread Paul Lalonde
Hi, I have the 9front drawterm running from my desktop mac successfully, including using the -p option for aan. Connecting to my cpu server just fine. I also have 9front drawterm running from my laptop from outside my network, but cannot make -p work from there. According to lldb I'm hung in

Re: [9fans] NIX experience

2025-01-07 Thread Paul Lalonde
k10/trap.c it should absolutely be using the Tos structure > from nix, not the one in the host system. > > > > How do I re-root this correctly for this build? > > > > Paul > > > > On Tue, Jan 7, 2025 at 4:47 PM Paul Lalonde > wrote: > >> > &g

Re: [9fans] NIX experience

2025-01-07 Thread Paul Lalonde
And a bit more digging. Yes, I'm clearly doing this wrong. In building nix-os/sys/src/k10/trap.c it should absolutely be using the Tos structure from nix, not the one in the host system. How do I re-root this correctly for this build? Paul On Tue, Jan 7, 2025 at 4:47 PM Paul Lalonde

Re: [9fans] NIX experience

2025-01-07 Thread Paul Lalonde
Ok, I thought, what could do. So I went to my rPi 400, set up SSH for github, got Ron's nix-os repo and hit "mk". When that errored out a bunch I realized that I needed /amd64 built, so I did that. Just as painless as I remembered. And now, I get a ways further into the build, but hit an incompa

Re: [9fans] NIX/regen

2025-01-14 Thread Paul Lalonde
2025 at 18:01, Paul Lalonde > 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

Re: [9fans] Re: NIX this morning

2025-02-08 Thread Paul Lalonde
Nice! Congratulations! On Sat, Feb 8, 2025, 9:13 a.m. ron minnich wrote: > ok that's fixed and: > > % ratrace -c execac -c 1 /bin/date > 98 execac Running 204326 0x1prepage: base 0x7efff000 top 0x7000 > prepage: base 0x20 top 0x40 > prepage: base 0x40 top 0x406000 > pr

Re: [9fans] NIX this morning

2025-03-24 Thread Paul Lalonde
No, it does not block, failing if it can't. This piece is still buggy - the error labeling (waserror(), poperror(), error()) is out of balance, even in the path that doesn't fork. So I'm tracing carefully to understand where the missing poperror() or extra waserror() is. Paul On Mon, Mar 24, 202

Re: [9fans] Serving tftp on a second interface

2025-04-07 Thread Paul Lalonde
: > I think a blank namespace is getting built before accessing anything. > looking at the code, it looks like newns() gets called before > announce(). > > On Mon, Apr 7, 2025 at 1:13 PM Paul Lalonde > wrote: > > > > I'm trying to isolate my plan9 network from

Re: [9fans] Serving tftp on a second interface

2025-04-07 Thread Paul Lalonde
t, but I'm not sure. > > On Mon, Apr 7, 2025 at 2:34 PM Paul Lalonde > wrote: > > > > Skip has the right of it. Found Skip's email just after I figured out > from Ron's ratrace hint that it's building a fresh namespace, which means > that all my car

Re: [9fans] Serving tftp on a second interface

2025-04-08 Thread Paul Lalonde
m wrote: > > On Mon, Apr 07, 2025 at 03:53:03PM -0700, Paul Lalonde wrote: > > > It's easy enough to add /net.alt's setup into the namespace being > > > constructed - there's a few places to do so. > > > But this misses that pulling the networ

Re: [9fans] Serving tftp on a second interface

2025-04-08 Thread Paul Lalonde
/cpustart you could do > something like: > > @{ > rfork n > bind '#I1' /net > aux/listen -q > } > > Bit of a workaround, but it should work. Maybe a discussion can be had > about doing this better. > > On 4/8/25 15:43, Paul Lalonde wrote: > &g

Re: [9fans] Serving tftp on a second interface

2025-04-09 Thread Paul Lalonde
ed". My server runs the file system with options: local!/dev/sdE5/fs -m 7549 -A -a tcp!*!564 I think that means it will listen on *any* local interface, right? Or do I need something different to get it to listen on ether1 instead of ether0's tcp setup? Thanks, Paul On Tue, Apr 8, 2025

Re: [9fans] Serving tftp on a second interface

2025-04-08 Thread Paul Lalonde
ower down in my stack. I'll delve deeper. Paul On Tue, Apr 8, 2025, 3:01 p.m. wrote: > Quoth Paul Lalonde : > > Ok, on to my next problem: Though I can get dhcpd and tftpd to serve > > happily from /net.alt, apparently I can't get aux/listen to do so. > > > > Wh

[9fans] Serving tftp on a second interface

2025-04-07 Thread Paul Lalonde
I'm trying to isolate my plan9 network from the other things running in my house. I have two ports in the back of my cpu/auth box, which I am going to use as the bridge as well, and a network switch. The switch is connected to the port on my cpu/auth box that should serve the 192.168.0.0 subnet; t

Re: [9fans] Plan 9 Foundation January Board Meeting Minutes

2025-04-26 Thread Paul Lalonde
Yes, it's been on my todo list for too long. Paul On Fri, Apr 25, 2025 at 8:24 AM wrote: > Publishing the meeting minutes here is nice. > > Might I suggest that they also be put up on the website in an > easily visible place? > > Thanks, > > Arnold > >

Re: [9fans] Serving tftp on a second interface

2025-04-10 Thread Paul Lalonde
gt; > no 17020 there? > > On Wed, Apr 9, 2025 at 3:36 PM Paul Lalonde > wrote: > >> Ok, I keep re-learning the hardest lesson: tail doesn't tail a live file >> but cat does. >> Anyhow, I seem to have narrowed my problem down to the tls trampoline on >> tcp1

[9fans] Plan 9 Foundation January Board Meeting Minutes

2025-04-24 Thread paul lalonde
We had a couple of meetings fail to meet quorum, so the January minutes have only now been approved. Find them attached below. Our next board meeting will be an open meeting at IWP9 in Paris, time still to be announced. Thanks, Paul Lalonde -- 9fans

Re: [9fans] Physical cores vs. logical cores (hardware threads)

2025-02-19 Thread Paul Lalonde
Hyperthreading *is* interesting, but the cost is high. As soon as you have out-of-order execution you've freed instruction decode from the execution units. And then you start looking for more ways to increase utilization of those units. Part of it comes from your program's instruction stream (the

Re: [9fans] Antialised TrueType fonts

2025-02-26 Thread Paul Lalonde
Yes, that's the exact right observation - thank you. My next itch-scratch is likely to be sub-pixel glyph positioning in libframe to reduce the noise from metric aliasing. That leads to needing offset glyph variants, which will require extension of the font model. The knock-on effects are signif

Re: [9fans] Plan9 C conversion to unnamed member drops qualifiers

2025-03-29 Thread Paul Lalonde
The plan9 C compilers ignore the qualifier drop (and I just compiled the example to make sure). Quoting Ken Thompson from "A New C Compiler" : 3.1. Register, volatile, const The keywords register, volatile, and const, are recognised syntactically but are seman

[9fans] IWP9 Plan 9 Foundation Open Board Meeting

2025-05-10 Thread paul lalonde
I'm pleased to announce that we will be having an open meeting of the Plan 9 Foundation Board of Directors at IWP9 in Paris, at 9:00am on Saturday May 24. Please find attached the agenda. Paul -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9

[9fans] Minutes of the April 24 Plan 9 Foundation Board meetings

2025-05-10 Thread paul lalonde
Here are the minutes of our last board meeting. I'm working at getting these posted to a reasonable place on our website; if I don't have it done by IWP9 I'll do it then! Paul -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T8f3026cd2f18

Re: [9fans] IWP9

2025-05-20 Thread Paul Lalonde
Happy Birthday Steve, and congratulations! On Tue, May 20, 2025, 10:08 p.m. Steve Simon wrote: > > have a great time all, > i would be there but its my twin’s birthday, > and then my wedding anniversary. > > next time i hope. > > -Steve -- 9fans: 9fans

Re: [9fans] IWP9: a remote goodbye

2025-05-24 Thread Paul Lalonde
Thanks Thierry! And thanks (again) for bringing TeX to Plan 9, and giving us a good walkthrough of the system. So good to put a face to your name and get a chance to chat some! Paul On Sat, May 24, 2025 at 6:37 PM wrote: > Hi! > > I hadn't time, yesterday, to say goodbye to the attendees exc

Re: [9fans] Is there a bug bounty program around the 9plan ecosystem

2025-05-25 Thread Paul Lalonde
I know of no bug bounty program associated with Plan 9. The usual recompense is admiration and collegiality. Paul On Sun, May 25, 2025, 8:01 a.m. u67gr2gi7 via 9fans <9fans@9fans.net> wrote: > Hello. > > I would like to spend more time in 9 plan ecosystem. > > Sadly i can not do it in full time.

Re: [9fans] Booting from gefs on RPi without the dance?

2025-06-01 Thread Paul Lalonde
We'll, there's a code walk I should have taken to the next level. Paul On Sun, Jun 1, 2025, 2:44 p.m. Steve Simon wrote: > if its the libc tokenize(2) then it does shell like tokenizing (rc that > is) so you can use single quotes to quote stuff, and a double single quote > to embed one single q

Re: [9fans] Booting from gefs on RPi without the dance?

2025-06-02 Thread Paul Lalonde
I'm afraid I'm still 36 hours away from being able to test this for real, but you should be able to, in your command line, just put that argument in single quotes: > > nobootprompt='local!/dev/sdN0/fs -A' If even doing it in your plan9.ini didn't work, then there's likely something more than jus

Re: [9fans] A challenge for all of you out there ...

2025-06-02 Thread Paul Lalonde
When I started running and developing for Plan9 again I mostly did it from the 9front fqa. It's a solid resource. I would suggest one improvement: a very visible link to section 4 "9front Installation Guide", above the fold, would ease many of the concerns of a first time user. Paul On Mon, Jun

Re: [9fans] A challenge for all of you out there ...

2025-06-02 Thread Paul Lalonde
Stanley writes: but how do we transmit deep knowledge of strange computing concepts that experience teaches are rarely happily received (new users always know better, and/or demand their favorite tools) without inducing the candidate to read? I posit that it is easier for many users to engage wit

Re: [9fans] Risc-v toolchain?

2025-06-23 Thread Paul Lalonde
Thanks Richard - what I'm missing is which registers I'm responsible for saving. The standard RiscV ABI uses a mix of caller vs callee saved and parameters passed in registers. Our convention differs, but I don't know how with respect to riscv. Thanks, Paul On Mon, Jun 23, 2025 at 3:50 AM Ric

Re: [9fans] Risc-v toolchain?

2025-06-23 Thread Paul Lalonde
I've got to say that this convention makes writing leaf functions in assembly particularly trivial! Register usage - thank you! Paul On Mon, Jun 23, 2025 at 9:33 AM Richard Miller <9f...@hamnavoe.com> wrote: > > Thanks Richard - what I'm missing is which registers I'm responsible for > > saving

[9fans] Debugging kernel with gdb

2025-06-05 Thread Paul Lalonde
I'm debugging Nix's reboot code. The good news is that a straight reboot now works. The bad news is that jumping to a new kernel does not. It looks like it's dying in the reboot trampoline, which points to some mis-managed expectation about machine state (page table, gdt?). I'm trying to debug

Re: [9fans] The Big Questioning: Plan 9 everywhere?

2025-06-30 Thread Paul Lalonde
I've thought of bringing Rust along. It seems to be a thing in the world I'm finding myself in these days. The shortest path looks like adding the plan9 calling convention (and register convention) to LLVM and seeing if we can cross-compile our way to glory. But I'm certain I'm missing 100 other r

Re: [9fans] The Big Questioning: Plan 9 everywhere?

2025-06-30 Thread Paul Lalonde
here is going to depend on libraries that use mmap, > curses, select/poll/epoll/io_uring/kqueue/..., and you're probably > not going to get far just naively pulling in deps. > > Quoth Paul Lalonde : > > I've thought of bringing Rust along. It seems to be a thing in the w

Re: [9fans] IWP9 photos

2025-07-14 Thread paul lalonde
Same! On Mon, Jul 14, 2025, 2:10 p.m. Gorka Guardiola wrote: > > On Mon, Jul 14, 2025, 21:00 ron minnich wrote: > >> I have no objection to my name being up there. >> > Me neither. > > G. > *9fans * / 9fans / see discussions >

<    1   2