9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Jacob Moody <moody@posixcafe.org>
To: 9fans@9fans.net
Subject: Re: [9fans] The Big Questioning: Plan 9 everywhere?
Date: Thu, 5 Jun 2025 10:35:39 -0500	[thread overview]
Message-ID: <8131bb3b-adf8-4065-8ef1-dca7120fbeb2@posixcafe.org> (raw)
In-Reply-To: <CAJCpOFxsQrW5v_jrEPX7tuy+uin2h32ADFchti7Vk1RL=OxxnQ@mail.gmail.com>

Responses in-line.

On 6/5/25 07:42, Daniel Maslowski via 9fans wrote:
> 
> Operating systems have made their journeys as well. Be it macOS, Windows or Ubuntu as they are today having iterated over many concepts in terms of widgets and interaction design, and BeOS famously having experimented a lot in the realm of multimedia. The respin Haiku is close to a stable version 1.0. Let me cite from haiku-os.org <http://haiku-os.org>:
> "Haiku is an open-source operating system that specifically targets personal computing. Inspired by the BeOS, Haiku is fast, simple to use, easy to learn and yet very powerful."
> 
> And here goes the idea of "simplicity": It isn't simple nor easy to *develop* those things, but the primitives are simple. On the other hand, it is the developers' burden to deliver simplicity to the end user. Let's keep that in mind: Missing out on a decent user experience creates tons of complexity on the side of the user. Like, say, having tons of abbreviations and little use of colors and such in 2025, in which we have 8k screens, terabytes of storage, gigabytes of RAM, touch input, and tons
> of gadgets in everyone's hands - that can change.

I personally like that while Plan 9 presents a very cohesive environment,
it never really papers over technical issues. Plan 9 often chooses simpler
implementations and exposing the reality to the user instead of attempting to
hide the real world complexities of the problem.

Plan 9 is a system that invites you to understand your computer.
In doing so, a lot of code can be straight forward.
Plan 9 is "simple" in the sense that most implementations are simple.

If people want a hand-holding user experience I suggest sticking to a mac.

> 
> Part2: Where do I want to go with Plan 9?
> 
> The question now is what I am doing here. It's simple (pun intended).
> I read that Plan 9 ought to be simple, and I want to see that work out. So I look at it from a bunch of angles and see that it is quite different from my expectation of simplicity. Though there is potential to get somewhere. I think that would fit the spirit of the Bell Labs folks who started it all.
> 
> A lightweight system that can run on those many gadgets we now have? Awesome, let's do that! I see a ton of potential in being able to, say, drawterm / cpu into the tablet I hung up in my kitchen. The stock Android is long defunct. Or the wristband I am wearing. Tiny SBCs that I can plug into my laptop via USB. The small https://racklet.io/ <https://racklet.io/> cluster that I am helping to build. Whatever wicked still may come!

9front is less of a "let's do X or Y" and a "this bothers me so I'll put in the work".
If people want change they send the patches. I dislike this "this work should be done"
talk instead of a "How do I start doing this work? Here I have a sketch of this idea but
I'm having issues".

The biggest issue with supporting whatever tablet or whatever you have hanging in your
kitchen is the lack of documentation and the crazy interfaces that are required to make
it work sensibly. Nice to have? Sure why not. Easy to do? Likely no.

> 
> So I have been working on hardware platform initialization firmware, this project called oreboot (yes, without C), and boot loaders, that is, LinuxBoot, and next, I want to bring up Plan 9. I mainly work on RISC-V based platforms, now also a bit of Arm, and little x86.
> 
> With the experience in doing this, I paired up with Shawn to hack on Moody's WIP port of 9front for RISC-V in QEMU. And I checked with Ron and Ori if we can LinuxBoot into Plan 9 / 9front on x86 (might work again with Ron's fix; I gotta retry!).

What do you mean get "LinuxBoot into plan 9 / 9front",
if you mean getting a linux kernel in as a bootloader that won't happen.

If you mean to add support for booting 9front kernel using linuxboot,
our amd64 kernel already supports multiboot.

I did this dance of getting a 9front kernel booting with kexec (ala linuxboot),
for the power64 talos and the interface sucked. I'd rather not propagate this to other
systems. If I recall correctly I had to make up some bullshit addresses in the ELF
header because the linux kernel had a validity check for a value it never used.
LinuxBoot is designed to do just that, boot linux.

> 
> Over the last few days, I created a tool to convert Plan 9 a.out files to ELF (amd64 so far, RISC-V WIP), and I added Plan 9 a.out support for RISC-V to radare2. Those tools should help with the endeavor.

Converting Plan 9 a.outs to ELFs is going to be bound with issues if you're doing
it after the fact. Plan 9 code is not position independent and we do not provide
the structure required for relocation.

Now for the real reason I sent this email, you didn't add RISC-V plan 9 a.out support to radare2.
You took someone else's patch that I had generously shared with you while you were poking at the RISC-V kernel
and upstreamed it behind our backs claiming it as your own.

Your PR(https://github.com/radareorg/radare2/pull/24261) mentions nowhere that this was someone else's code.

To be entirely honest I find this behavior shocking and troubling, and now I feel responsible for being the
one to send it over to you. I'm sorry but I will not be interested in continuing to share the ongoing work
of the RISC-V port if this is the respect we have for each others work.


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tf84d656c78bbda91-M150bbbe09802d0172c82dcdd
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

       reply	other threads:[~2025-06-05 16:02 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAJCpOFxsQrW5v_jrEPX7tuy+uin2h32ADFchti7Vk1RL=OxxnQ@mail.gmail.com>
2025-06-05 15:35 ` Jacob Moody [this message]
     [not found]   ` <CAJCpOFy=_HNk+hnusKu=TWK2B=kTuhJtCXBw1kB8hJSURh10Qw@mail.gmail.com>
2025-06-05 18:39     ` Jacob Moody
     [not found]       ` <CAJCpOFwnfDeoCQ1mWQLy_Ntn+2boNxxFSqwf8thY5mDFKXER3g@mail.gmail.com>
     [not found]         ` <0647a4e1-4354-4447-ab79-9b5e3084d57b@app.fastmail.com>
2025-06-06  6:16           ` adventures in9
2025-06-06  7:20           ` Daniel Maslowski via 9fans
2025-06-07 10:07           ` sirjofri via 9fans
2025-06-09  6:26             ` Lucio De Re
2025-06-09 16:46               ` adventures in9
2025-06-09 18:09                 ` Re[2]: " Alexandr Babic
2025-06-09 18:52               ` sirjofri via 9fans
2025-06-06  4:08 ` Adrian
     [not found] <aEN-ycbBHSPdpQdx@nomad3>
     [not found] ` <09BE3605-121E-465E-8638-C0457AB66098@dbsystems.com>
2025-06-22  5:37   ` ron minnich
2025-06-22 16:49     ` G. David Butler
2025-06-22 22:29       ` ori
     [not found] <9402b1e6-614a-402b-ba6a-885c0bbfc62d@sirjofri.de>
2025-06-30 14:31 ` ori
     [not found]   ` <aGKpBlIjRiPOIPHq@david.tekk.in>
2025-06-30 19:38     ` Paul Lalonde
2025-06-30 21:28       ` ori
2025-06-30 21:32         ` Paul Lalonde
2025-06-30 21:52       ` arnold
     [not found]       ` <CAJPCErkD8COCoNsQwkmMLPzSB4R-bO=MXQSxKN6fB914LC+sgg@mail.gmail.com>
2025-07-02  7:33         ` Shawn Rutledge
2025-06-30 21:40     ` arnold
2025-06-30 22:17       ` Jacob Moody
     [not found]       ` <CAJCpOFxT_pFzQd-WDiJjtw-7+1R8FdFBY-qpT7TJaEK8XUca5g@mail.gmail.com>
     [not found]         ` <ed379e97-3894-4f01-867b-5758463273ca@posixcafe.org>
2025-07-02  7:44           ` Shawn Rutledge
2025-07-02 12:46           ` Dan Cross
     [not found]             ` <39cbfc2b-316c-4caa-b2ae-607b998a19ac@posixcafe.org>
     [not found]               ` <CAG3JMtYPEXNPnt5kL115=OCA6mzA9+bNO_2RNGRzBRJW5sSUUw@mail.gmail.com>
     [not found]                 ` <676a5355158238ee@orthanc.ca>
2025-07-03 23:04                   ` Thaddeus Woskowiak
2025-07-04 18:43                     ` Ron Minnich
     [not found] <147218fc-dd2d-442a-852e-b7dab2d0c80a@sirjofri.de>
2025-06-30 22:21 ` Stanley Lieber
     [not found]   ` <D98A1F2D-0572-491B-920F-68CF249B3DD4@stanleylieber.com>
2025-07-01  7:51     ` sirjofri via 9fans
     [not found] <F179B44C-712E-41D9-B71B-104A2C574FE8@iitbombay.org>
2025-07-01  3:09 ` ori
2025-07-01  5:45   ` Bakul Shah via 9fans
     [not found] <1AEB31AA-68C0-4F51-893F-AEDD18152F17@icloud.com>
2025-07-04 21:28 ` Clout Tolstoy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8131bb3b-adf8-4065-8ef1-dca7120fbeb2@posixcafe.org \
    --to=moody@posixcafe.org \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).