From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from minnie.tuhs.org (minnie.tuhs.org [IPv6:2600:3c01:e000:146::1]) by inbox.vuxu.org (Postfix) with ESMTP id 616DF24B1A for ; Wed, 13 Mar 2024 23:23:29 +0100 (CET) Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id EFCDF4289E; Thu, 14 Mar 2024 08:23:23 +1000 (AEST) Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by minnie.tuhs.org (Postfix) with ESMTPS id BF18B42898 for ; Thu, 14 Mar 2024 08:23:17 +1000 (AEST) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-512ed314881so375189e87.2 for ; Wed, 13 Mar 2024 15:23:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710368596; x=1710973396; darn=tuhs.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pvIG1oataQuC0GTLOcHXHn9x590PaWemTr+BBkP6Oo0=; b=eX1/9BKfXLMQ9TmUDD7KSjuEwFPUaMFrQnapX8phZ4So6LyYHfJFw97ET+1v6JahBZ 2mK8Ch1BhutwxOONs0ThEbR7i4N22rVkWwnfBLdv4MOBuTWZ8GxNJeyMQ6FaSvX/FASA vOksOcvDTwFMuWOK1AFcwxu7m40domCiwhqlpawSYc6UXj+uVIz+jSD/0A/HNwdB77j1 q5E8aACYOwJXKPqg1o/096zIR+fS+zgif3u4vZfrRMWSjzld7gRIdwHhknEfL9zCS6fW egD7U8F7ygiUVcv+z0QtimZ1bYxMcYJcTbyD2nz82Yj2VOjLSWZwynTJQhwOPaHSJKbt ZpDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710368596; x=1710973396; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pvIG1oataQuC0GTLOcHXHn9x590PaWemTr+BBkP6Oo0=; b=B+IM57pioiP6WarNusHsRUWXNKDLyexD3NjT8I9a/6xoj5uJVIli3caIvV+cW5RmIl QuPxQlqLzWNb6F5bS6oVWZnmMdU29JPKn2uwkx13+1eXItZEEU/gg9QmtV77Uo7MWqT0 cg773np6dvWHZP2Xv5Ij8u3d+PX9Yy3u4172QDelrFSR8v8ckdT6Skpheosg4lw2LmR9 6GeVIzzgWcBLwT6cp5l7E632RjHWFQPuBZyHU4X2JG/0e/VuW2M1Ynpm4rXIja63SadS 0kpuv0lIgU2RBhb8BfaL1uu8v290xHzHlJqMMKeRzVYt02Ur4oliQB2LKOxQBxRe+Y2Z Vqtw== X-Forwarded-Encrypted: i=1; AJvYcCWGk96sZMFC1seagC9+8Sd+vOemN1B8fXCX7Kyor8m7Wkmvps2Sq6J12PxMIF0Rj/6WvbYlA2pGATOusALj X-Gm-Message-State: AOJu0Yxg3JI7OjDz90GJ3Ie41ELA4AqZFO5a+vjkntAgTDpzjvmtjh5b W8JlWfurh7daARPyj/TG7Pxy0ofW5L2SQ/jOCHiuhBWV2n1UnYMo9JPUiFlNWRNhaQHxe09CC17 oPiv/9sHbMqlTq6lPeUG7rNgxD/Y= X-Google-Smtp-Source: AGHT+IGZ6iItsZjVKvBeqaGdvd2K0Ilyn1Tlw8O9fzGJOtKndoohs5aBYhdGcf30P9AqKZHAM2JnVCzYs2HtIFvt99I= X-Received: by 2002:a05:651c:141e:b0:2d3:3e83:8309 with SMTP id u30-20020a05651c141e00b002d33e838309mr7964412lje.19.1710368595375; Wed, 13 Mar 2024 15:23:15 -0700 (PDT) MIME-Version: 1.0 References: <54A3AD3C-1296-41EB-8D7B-E940AF2740CD@baugh.org> In-Reply-To: <54A3AD3C-1296-41EB-8D7B-E940AF2740CD@baugh.org> From: Henry Bent Date: Wed, 13 Mar 2024 18:23:03 -0400 Message-ID: To: earl@baugh.org Content-Type: multipart/alternative; boundary="0000000000008ffd350613923800" Message-ID-Hash: QUTFF6U7JZTQVJGFCECXG42IL7NSCTSU X-Message-ID-Hash: QUTFF6U7JZTQVJGFCECXG42IL7NSCTSU X-MailFrom: henry.r.bent@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Will Senn , John Foust via TUHS X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: SunOS 4 in 2024 List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --0000000000008ffd350613923800 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I don't know about the PiSCSI in particular. For the SCSI2SD, if you have the drive properly defined in the controller you can just use dd to write the image to the SD card at the offset where the drive is defined. If the drive is the first thing on the card, dd if=3Dimage of=3Ddrive conv=3Dnotru= nc will do what you want. -Henry On Wed, 13 Mar 2024 at 18:12, wrote: > I=E2=80=99ll have to see about pulling stuff out this weekend and maybe m= ove > forward. > > Still am missing one part =E2=80=94 how to get an external SCSI emulator = to the > point where I can get a disk image to it. > > Is there a way to move the disk created in TME onto an emulator?? (BTW, > I=E2=80=99ll probably be using the PiSCSI for this, since I want to have = multiple > images out there, as well as a SD drive so I don=E2=80=99t chance losing = stuff > after getting it all set up. > > Earl > > On Mar 13, 2024, at 6:09 PM, Henry Bent wrote: > > The emulation of proper tape drive records is present in TME - see this > fragment from the setup file that I have to install SunOS 2: > > ## power up the machine: > ## > # uncomment this line to automatically power up the machine when > # tmesh starts: > # > command tape0 load sunos-2.0-sun2/tape1/01 sunos-2.0-sun2/tape1/02 > sunos-2.0-sun2/tape1/03 sunos-2.0-sun2/tape1/04 sunos-2.0-sun2/tape1/05 > sunos-2.0-sun2/tape1/06 sunos-2.0-sun2/tape1/07 sunos-2.0-sun2/tape1/08 > sunos-2.0-sun2/tape1/09 sunos-2.0-sun2/tape1/10 > command mainbus0 power up > > Let me know if you need more of a walkthrough, I'd have to get NetBSD > running in a VM as I haven't worked with this in a long time, but I'm sur= e > it still works. > > -Henry > > On Wed, 13 Mar 2024 at 18:04, wrote: > >> I had old instructions to do this but getting TME running was a bit >> quirky. And the package had lost most of it=E2=80=99s support. >> (I did just go out and find that some folks have somewhat resurrected >> it=E2=80=A6) >> >> I have the install manual for 3.5 ( >> http://www.bitsavers.org/pdf/sun/sunos/3.5/800-2089-10A_Release_3.5_Manu= al_for_the_Sun_Workstation_198711.pdf >> ) >> And did find this about TME Now ( https://pkgsrc.se/wip/tme ) >> And these instructions (which from the link before this page indicated a= s >> of 2019 they still worked >> http://people.csail.mit.edu/fredette/tme/sun3-150-nbsd.html ) >> >> That would get me =E2=80=9Cclose=E2=80=9D if I could somehow write to an= emulated SCSI >> device.. or the SD card that supported it=E2=80=A6 etc. Blue SCSI, Gre= en SCSI, Pi >> SCSI, etc. I don=E2=80=99t care which (would prefer something that would= let me use >> a =E2=80=9Creal=E2=80=9D drive=E2=80=A6 SSD or similar is fine=E2=80=A6 = rather than SD card). I do have an >> image that gets me =E2=80=9Csomewhat=E2=80=9D booting with a SCSI2SD but= the additional >> drive mounts are wrong in the fstab/mtab so I can=E2=80=99t get it fully= to boot=E2=80=A6. >> >> If I can figure out the process, I=E2=80=99ll make images and share them= (for all >> the early Sun OS=E2=80=99s) and write up a web page and post it to archi= ve.org so >> nobody has to go thru this again :-) >> >> Earl >> >> On Mar 13, 2024, at 5:56 PM, Henry Bent wrote: >> >> TME - most recently https://osdn.net/projects/nme/ - in theory does what >> you want. Its setup and use is a bit idiosyncratic, and I have found th= at >> it is unhappy running on OSs other than NetBSD, but if you get it runnin= g >> it just works. I've used it to set up installations of SunOS 3 and 4 on >> sun2, sun3, and sun4 architectures. >> >> -Henry >> >> On Wed, 13 Mar 2024 at 17:49, wrote: >> >>> I=E2=80=99m looking for a =E2=80=9CSun OS 3.5=E2=80=9D emulation runnin= g where I can attach a >>> SCSI emulator to it and get the full OS installed. >>> I=E2=80=99ve got tape images but I haven=E2=80=99t found the process to= emulate how it >>> used to work. >>> >>> From the initial boot prompt, you extracted them to the =E2=80=9Cswap p= artition=E2=80=9D >>> and then started the install and it would prompt you for the next tape = when >>> needed. >>> So, I guess we=E2=80=99d need an emulated tape or something, etc. I = have all >>> the tar=E2=80=99s (all the way back to Sun OS 1 or so) but have been fr= ustrated >>> trying to make some progress. >>> >>> Earl >>> >>> >>> On Mar 13, 2024, at 5:31 PM, Henry Bent wrote: >>> >>> On Wed, 13 Mar 2024 at 17:27, Will Senn wrote: >>> >>>> On 3/13/24 3:12 PM, Henry Bent wrote: >>>> >>>> Hi all, >>>> >>>> I've been working quite a bit recently with SunOS 4 on a SPARCstation >>>> 5, seeing what I can coax out of it in terms of building and supportin= g a >>>> modern computing environment. I know that TUHS isn't really the right >>>> place for this, but can someone point me to somewhere that is? I've m= ade >>>> significant progress in some areas and spent a lot of cycles to get th= ere - >>>> for instance, I have GCC 3.4.6 up and running - so I'd like to contrib= ute >>>> to a community if one exists. Is there a modern equivalent of sun-man= agers? >>>> >>>> -Henry >>>> >>>> Not an answer to the question, but on a tangent... >>>> >>>> I recently saw that Solaris 11.4 SRU66 was released and had a yearning >>>> to see how things in Solaris land were doing (can't stand Gnome so >>>> OpenIndiana's a bust)... but with Oracle's Solaris, it's a mess at lea= st >>>> for hobbyists (only get release patches, so I'm guessing the most up t= o >>>> date 'release' was 11.4 in 2018). So, when I saw your post on SunOS 4,= I >>>> thought I'd tool around and see if it was easy to get rolling as a VM, >>>> turns out things have come a long way on that front: >>>> >>>> https://defcon.no/sysadm/playing-with-sunos-4-1-4-on-qemu/ >>>> >>>> OpenWindows 3... wow... works great on my Mint instance. Now, if I >>>> could just remember how commands work on SunOS :). >>>> >>> >>> Thanks Will! You may also be interested in >>> https://john-millikin.com/running-sunos-4-in-qemu-sparc as another >>> resource about running SunOS 4 in QEMU. I have considered moving my se= tup >>> to QEMU, especially as it would be very easy to create a hard drive ima= ge >>> since I am using a SCSI2SD board, but there is something about running >>> these things on the original hardware that is difficult to leave behind= . >>> >>> -Henry >>> >>> >>> >> > --0000000000008ffd350613923800 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I don't know about the PiSCSI in particular.=C2= =A0 For the SCSI2SD, if you have the drive properly defined in the controll= er you can just use dd to write the image to the SD card at the offset wher= e the drive is defined.=C2=A0 If the drive is the first thing on the card, = dd if=3Dimage of=3Ddrive conv=3Dnotrunc will do what you want.
-Henry

On Wed, 13 Mar 2024 at 18:12, <earl@baugh.org> wrote:
I=E2=80=99ll have to see about pulling stuff out this weekend and maybe= move forward. =C2=A0

Still am missing one part =E2=80= =94 how to get an external SCSI emulator to the point where I can get a dis= k image to it. =C2=A0

Is there a way to move the d= isk created in TME onto an emulator?? =C2=A0 (BTW, I=E2=80=99ll probably be= using the PiSCSI for this, since I want to have multiple images out there,= as well as a SD drive so I don=E2=80=99t chance losing stuff after getting= it all set up.

Earl

On Mar 13, 2024, at 6:09 PM, Henry Bent <henry.r.bent@gmail.com> wrote:

The emulation of proper ta= pe drive records is present in TME - see this fragment from the setup file = that I have to install SunOS 2:

## power up the ma= chine:
##
# uncomment this line to automatically power up the machine= when
# tmesh starts:
#
command tape0 load sunos-2.0-sun2/tape1/01= sunos-2.0-sun2/tape1/02 sunos-2.0-sun2/tape1/03 sunos-2.0-sun2/tape1/04 su= nos-2.0-sun2/tape1/05 sunos-2.0-sun2/tape1/06 sunos-2.0-sun2/tape1/07 sunos= -2.0-sun2/tape1/08 sunos-2.0-sun2/tape1/09 sunos-2.0-sun2/tape1/10
comma= nd mainbus0 power up

Let me know if you need more = of a walkthrough, I'd have to get NetBSD running in a VM as I haven'= ;t worked with this in a long time, but I'm sure it still works.

-Henry

I had = old instructions to do this but getting TME running was a bit quirky.=C2=A0= And the package had lost most of it=E2=80=99s support.
(I did just go = out and find that some folks have somewhat resurrected it=E2=80=A6)=C2=A0

And did find this about TME Now (=C2=A0https://pkgsrc.se/wip/tme= =C2=A0)
And these instructions (which from the link before th= is page indicated as of 2019 they still worked =C2=A0http://= people.csail.mit.edu/fredette/tme/sun3-150-nbsd.html=C2=A0)
<= br>
That would get me =E2=80=9Cclose=E2=80=9D if I could somehow = write to an emulated SCSI device.. or the SD card that supported it=E2=80= =A6 etc. =C2=A0 Blue SCSI, Green SCSI, Pi SCSI, etc. I don=E2=80=99t care w= hich (would prefer something that would let me use a =E2=80=9Creal=E2=80=9D= drive=E2=80=A6 SSD or similar is fine=E2=80=A6 rather than SD card).=C2=A0= I do have an image that gets me =E2=80=9Csomewhat=E2=80=9D booting with a = SCSI2SD but the additional drive mounts are wrong in the fstab/mtab so I ca= n=E2=80=99t get it fully to boot=E2=80=A6.

If I ca= n figure out the process, I=E2=80=99ll make images and share them (for all = the early Sun OS=E2=80=99s) and write up a web page and post it to archive.org=C2=A0so nobody h= as to go thru this again :-)

Earl

On Mar 13, 2024, at 5:56 PM, Henry Bent <henry.r.bent@gmail.= com> wrote:

TME - most recently= =C2=A0https://= osdn.net/projects/nme/ - in theory does what you want.=C2=A0 Its setup = and use is a bit idiosyncratic, and I have found that it is unhappy running= on OSs other than NetBSD, but if you get it running it just works.=C2=A0 I= 've used it to set up installations of SunOS 3 and 4 on sun2, sun3, and= sun4 architectures.

-Henry

On Wed, 13 Mar 2024= at 17:49, <earl@bau= gh.org> wrote:
I=E2=80=99m looking for a =E2=80=9CSun OS 3.5=E2=80=9D emulation= running where I can attach a SCSI emulator to it and get the full OS insta= lled.
I=E2=80=99ve got tape images but I haven=E2=80=99t found the proc= ess to emulate how it used to work. =C2=A0=C2=A0

F= rom the initial boot prompt, you extracted them to the =E2=80=9Cswap partit= ion=E2=80=9D and then started the install and it would prompt you for the n= ext tape when needed.
So, I guess we=E2=80=99d need an emulated t= ape or something, etc. =C2=A0 =C2=A0I have all the tar=E2=80=99s (all the w= ay back to Sun OS 1 or so) but have been frustrated trying to make some pro= gress.

Earl


On Mar 13, 2024, at 5:31 PM, Henry Bent <henry.r.bent@gmail.= com> wrote:

On Wed, 13 Mar 2024 at 17:27, Will Senn <will.senn@gmail.com> wrote:
On 3/13/24 3:12 PM, Henry Bent wrote:
Hi all,

I'v= e been working quite a bit recently with SunOS 4 on a SPARCstation 5, seein= g what I can coax out of it in terms of building and supporting a modern co= mputing environment.=C2=A0 I know that TUHS isn't really the right plac= e for this, but can someone point me to somewhere that is?=C2=A0 I've m= ade significant progress in some areas and spent a lot of cycles to get the= re - for instance, I have GCC 3.4.6 up and running - so I'd like to con= tribute to a community if one exists.=C2=A0 Is there a modern equivalent of= sun-managers?

-Henry
= Not an answer to the question, = but on a tangent...

I recently saw that Solaris 11.4 SRU66 was relea= sed and had a yearning to see how things in Solaris land were doing (can= 9;t stand Gnome so OpenIndiana's a bust)... but with Oracle's Solar= is, it's a mess at least for hobbyists (only get release patches, so I&= #39;m guessing the most up to date 'release' was 11.4 in 2018). So,= when I saw your post on SunOS 4, I thought I'd tool around and see if = it was easy to get rolling as a VM, turns out things have come a long way o= n that front:

https://defcon.no/sysadm/playing-with-su= nos-4-1-4-on-qemu/

OpenWindows 3... wow... works great on my Min= t instance. Now, if I could just remember how commands work on SunOS :).

Thanks Will!=C2=A0 You may a= lso be interested in=C2=A0https://john-millikin.com/running-suno= s-4-in-qemu-sparc=C2=A0as another resource about running S= unOS 4 in QEMU.=C2=A0 I have considered moving my setup to QEMU, especially= as it would be very easy to create a hard drive image since I am using a S= CSI2SD board, but there is something about running these things on the orig= inal hardware that is difficult to leave behind.

-= Henry



--0000000000008ffd350613923800--