The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Warner Losh <imp@bsdimp.com>
To: Larry McVoy <lm@mcvoy.com>
Cc: TUHS <tuhs@tuhs.org>
Subject: [TUHS] Re: Open sourcing SunOS?
Date: Wed, 22 Feb 2023 13:46:53 -0700	[thread overview]
Message-ID: <CANCZdfoFiQ3oTorQcdPr8eqaXeQumdqsjkTqMD6i0HVDDVhWQA@mail.gmail.com> (raw)
In-Reply-To: <20230222201233.GY7194@mcvoy.com>

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

On Wed, Feb 22, 2023 at 1:12 PM Larry McVoy <lm@mcvoy.com> wrote:

> On Wed, Feb 22, 2023 at 01:04:37PM -0700, Warner Losh wrote:
> > On Wed, Feb 22, 2023, 8:50 AM Dan Cross <crossd@gmail.com> wrote:
> >
> > > Has anyone tried talking to anyone at Oracle about possibly getting
> > > the SunOS code released under an open source license? There can't be
> > > any commercial value left in it.
> > >
> >
> > SunOS 4 has a lot of encumbered code in it, especially for i386 drivers.
>
> There is SunOS as in everything shipped, kernel and userspace, and there
> is the kernel.  So far as I remember, the i386 stuff was never integrated
> into the source tree that Sun shipped from.  There was the roadrunner
> stuff but I don't think that ever made it in to the official tree.  If
> it did, nobody paid attention to it.  All people cared about at the
> time as SPARC and I don't think there was any outsourced hacking for
> SPARC, that was all in house.
>

I know there's i386 source kits for the Roadrunner, and that's really the
only thing that SunOS ever supported, at least that was sold. I'd been told
that it had been poorly integrated by people that had worked on it here in
Boulder, so I believe that.

In the 4.1.3 sources there's a number of i386 ifdefs, and at least a math
library
for i386. But no kernel bits, except for a bunch of ifdefs for i386 that
I've not
looked at closely. Maybe this is what is meant by 'poorly integrated' :)


> The networking stack in SunOS 4.x was BSD derived.  You might be thinking
> of Solaris, that took the Lachman STREAMS stack but that was 5.x, not
> 4.x.
>

I was thinking of the streams stuff that's in 4.x BSD. There's AT&T
copyrights
on it. There's also, strangely, rfs sources included with some of the stuff
one
can find online. But it looks to be imported nearly verbatim from System V
of some flavor with very few edits, judging by the 1.1 versions in many of
the
files.


> As the only guy, that I'm aware of, who took all the encumbered stuff
> out of the kernel, put back the BSD tty drivers and a few other small
> things that resulted in a kernel that we could freely open source,
> I beg to differ with:
>
> > Bits of the
> > network stack as well. It was hopeless to try to open source. There was a
> > lot of bits
> > and pieces that Sun had done with contracts that were, at best, ambiguous
> > for
> > what to do should they want to open source it.
>

I'm just reporting what my VP told me...  Grepping through the source I can
find online, the evidence is closer to what you say than what Glen told me.
Either he or I must have confused Solaris 2 with SunOS 4.

Warner

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

  parent reply	other threads:[~2023-02-22 20:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-22 15:49 [TUHS] " Dan Cross
2023-02-22 16:23 ` [TUHS] " Robert Clausecker
2023-02-22 16:30   ` Dan Cross
2023-02-22 19:52     ` Dave Horsfall
2023-02-22 20:04 ` Warner Losh
2023-02-22 20:12   ` Larry McVoy
2023-02-22 20:44     ` Brad Spencer
2023-02-22 20:46     ` Warner Losh [this message]
2023-02-22 20:54       ` Larry McVoy
2023-02-23  0:12   ` Rob Gingell
2023-02-23  2:14     ` Warner Losh
2023-02-23  7:22       ` Rob Gingell

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=CANCZdfoFiQ3oTorQcdPr8eqaXeQumdqsjkTqMD6i0HVDDVhWQA@mail.gmail.com \
    --to=imp@bsdimp.com \
    --cc=lm@mcvoy.com \
    --cc=tuhs@tuhs.org \
    /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).