Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

I dunno, I dream in Perl sometimes... -- Larry Wall in <8538@jpl-devvax.JPL.NASA.GOV>


computers / alt.sys.pdp11 / Re: running 2.11BSD on e11

SubjectAuthor
* running 2.11BSD on e11Walter_F.J._Müller
`* running 2.11BSD on e11Johnny Billquist
 +* running 2.11BSD on e11Jonathan Harston
 |`* running 2.11BSD on e11Walter_F.J._Müller
 | `* running 2.11BSD on e11Johnny Billquist
 |  `- running 2.11BSD on e11Walter_F.J._Müller
 `- running 2.11BSD on e11Walter_F.J._Müller

1
running 2.11BSD on e11

<369c6d59-1f4b-45c0-8cf4-4a4c8dc1e4edn@googlegroups.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=843&group=alt.sys.pdp11#843

  copy link   Newsgroups: alt.sys.pdp11
X-Received: by 2002:a05:620a:470e:b0:6b5:ed19:5a with SMTP id bs14-20020a05620a470e00b006b5ed19005amr8918351qkb.55.1658314037191;
Wed, 20 Jul 2022 03:47:17 -0700 (PDT)
X-Received: by 2002:a05:6870:d59c:b0:101:7e59:d723 with SMTP id
u28-20020a056870d59c00b001017e59d723mr2120340oao.165.1658314036969; Wed, 20
Jul 2022 03:47:16 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp11
Date: Wed, 20 Jul 2022 03:47:16 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2003:e6:f10:c900:7662:de11:4f3e:48de;
posting-account=bxzfyQoAAABDBdOPzrZfAXRIKSRXmQdP
NNTP-Posting-Host: 2003:e6:f10:c900:7662:de11:4f3e:48de
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <369c6d59-1f4b-45c0-8cf4-4a4c8dc1e4edn@googlegroups.com>
Subject: running 2.11BSD on e11
From: wfjm.andro@gmail.com (Walter F.J. Müller)
Injection-Date: Wed, 20 Jul 2022 10:47:17 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1600
 by: Walter F.J. Müller - Wed, 20 Jul 2022 10:47 UTC

I've a bunch of PDP-11 operating system disk sets that happily run on the SimH PDP-11 emulator. Recently, I tried to run them on the Ersatz-11 e11 emulator too. All fine for DEC OS and Unix V7. But for 2.11BSD I only get garbage on the console because 2.11BSD uses the parity bit on tty output. For SimH is use

set tto 7b
set dlo0 7b

to clear the MSB for console output. I couldn't find an equivalent option for the e11. What is a proper e11 configuration for starting 2.11BSD ?

Re: running 2.11BSD on e11

<tb8v5v$5ua$1@news.misty.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=844&group=alt.sys.pdp11#844

  copy link   Newsgroups: alt.sys.pdp11
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.185.159.157.200!not-for-mail
From: bqt@softjar.se (Johnny Billquist)
Newsgroups: alt.sys.pdp11
Subject: Re: running 2.11BSD on e11
Date: Wed, 20 Jul 2022 15:15:42 +0200
Organization: MGT Consulting
Message-ID: <tb8v5v$5ua$1@news.misty.com>
References: <369c6d59-1f4b-45c0-8cf4-4a4c8dc1e4edn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 20 Jul 2022 13:15:43 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="185.159.157.200";
logging-data="6090"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.11.0
Content-Language: en-US
In-Reply-To: <369c6d59-1f4b-45c0-8cf4-4a4c8dc1e4edn@googlegroups.com>
 by: Johnny Billquist - Wed, 20 Jul 2022 13:15 UTC

On 2022-07-20 12:47, Walter F.J. Müller wrote:
> I've a bunch of PDP-11 operating system disk sets that happily run on the SimH PDP-11 emulator. Recently, I tried to run them on the Ersatz-11 e11 emulator too. All fine for DEC OS and Unix V7. But for 2.11BSD I only get garbage on the console because 2.11BSD uses the parity bit on tty output. For SimH is use
>
> set tto 7b
> set dlo0 7b
>
> to clear the MSB for console output. I couldn't find an equivalent option for the e11. What is a proper e11 configuration for starting 2.11BSD ?

First of all, you should update your 2.11BSD system to something fairly
recent in patch level, where the parity of serial lines, and the
specifically the console, have been fixed. ;-)

But for the rest, it's in the manual:

SET TT0: MODE=2400,E,7,1

would set the console to 2400 bps, 7 bits, even parity and one stop bit,
for example. Default is 9600,N,8,1

Johnny

Re: running 2.11BSD on e11

<21804910-7f71-4588-b163-579c51420454n@googlegroups.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=845&group=alt.sys.pdp11#845

  copy link   Newsgroups: alt.sys.pdp11
X-Received: by 2002:a37:6c5:0:b0:6b5:ba8e:6673 with SMTP id 188-20020a3706c5000000b006b5ba8e6673mr23077177qkg.774.1658324487738;
Wed, 20 Jul 2022 06:41:27 -0700 (PDT)
X-Received: by 2002:a05:6808:169e:b0:331:522a:4521 with SMTP id
bb30-20020a056808169e00b00331522a4521mr2346526oib.293.1658324487566; Wed, 20
Jul 2022 06:41:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp11
Date: Wed, 20 Jul 2022 06:41:27 -0700 (PDT)
In-Reply-To: <tb8v5v$5ua$1@news.misty.com>
Injection-Info: google-groups.googlegroups.com; posting-host=77.96.251.164; posting-account=jgPW4gkAAACE_VxPxIZ8VykZc96-9sT_
NNTP-Posting-Host: 77.96.251.164
References: <369c6d59-1f4b-45c0-8cf4-4a4c8dc1e4edn@googlegroups.com> <tb8v5v$5ua$1@news.misty.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <21804910-7f71-4588-b163-579c51420454n@googlegroups.com>
Subject: Re: running 2.11BSD on e11
From: jgh@mdfs.net (Jonathan Harston)
Injection-Date: Wed, 20 Jul 2022 13:41:27 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1281
 by: Jonathan Harston - Wed, 20 Jul 2022 13:41 UTC

I use:
set cpu 70
mount db0: H:\develop\pdp11\unix\bsd2-11.dsk /rp06
boot db0:

with E11 v7.0, and the disk image from
https://skn.noip.me/pdp11/pdp11.html

Re: running 2.11BSD on e11

<f902dbe1-a24a-4b61-9293-951b52e2f61cn@googlegroups.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=848&group=alt.sys.pdp11#848

  copy link   Newsgroups: alt.sys.pdp11
X-Received: by 2002:a05:622a:11d2:b0:31e:e3de:2824 with SMTP id n18-20020a05622a11d200b0031ee3de2824mr16569295qtk.625.1658331133703;
Wed, 20 Jul 2022 08:32:13 -0700 (PDT)
X-Received: by 2002:a05:6808:1a26:b0:33a:76f6:fc19 with SMTP id
bk38-20020a0568081a2600b0033a76f6fc19mr2475664oib.19.1658331133471; Wed, 20
Jul 2022 08:32:13 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp11
Date: Wed, 20 Jul 2022 08:32:13 -0700 (PDT)
In-Reply-To: <tb8v5v$5ua$1@news.misty.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:e6:f10:c900:7662:de11:4f3e:48de;
posting-account=bxzfyQoAAABDBdOPzrZfAXRIKSRXmQdP
NNTP-Posting-Host: 2003:e6:f10:c900:7662:de11:4f3e:48de
References: <369c6d59-1f4b-45c0-8cf4-4a4c8dc1e4edn@googlegroups.com> <tb8v5v$5ua$1@news.misty.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f902dbe1-a24a-4b61-9293-951b52e2f61cn@googlegroups.com>
Subject: Re: running 2.11BSD on e11
From: wfjm.andro@gmail.com (Walter F.J. Müller)
Injection-Date: Wed, 20 Jul 2022 15:32:13 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2461
 by: Walter F.J. Müller - Wed, 20 Jul 2022 15:32 UTC

On Wednesday, July 20, 2022 at 3:15:45 PM UTC+2, Johnny Billquist wrote:

> But for the rest, it's in the manual:
> SET TT0: MODE=2400,E,7,1
> would set the console to 2400 bps, 7 bits, even parity and one stop bit,
> for example. Default is 9600,N,8,1

Tried that, also "MODE=2400,N,7,1". Doesn't work for me. I get proper output up to
70Boot from rl(0,0,0) at 0174400
:
: rl(0,0,0)unix
Boot: bootdev=03400 bootcsr=0174400

2.11 BSD UNIX #3: Wed May 29 22:28:05 PDT 2019
root@w11a:/usr/src/sys/RETRONFPRL
phys mem = 2146304
avail mem = 1791488
user mem = 307200

thus all output from boot loader and kernel itself. But output going through the
driver stack is crap like "����9���:30:0��i�it:�co�fi��re����te��"

I don't know what the 'MODE' option does. Is it really affecting the output bytes,
as the '7b' options work on SimH, or does e11 try to set some serial port parameters
in the host system ? That of course will not do anything on a pty.

Re: running 2.11BSD on e11

<6583db09-f675-466f-bfcc-593d33ed520an@googlegroups.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=850&group=alt.sys.pdp11#850

  copy link   Newsgroups: alt.sys.pdp11
X-Received: by 2002:ae9:d8c1:0:b0:6b5:7f9b:d978 with SMTP id u184-20020ae9d8c1000000b006b57f9bd978mr25756365qkf.676.1658345565047;
Wed, 20 Jul 2022 12:32:45 -0700 (PDT)
X-Received: by 2002:a05:6808:bd1:b0:337:ac77:d398 with SMTP id
o17-20020a0568080bd100b00337ac77d398mr3004323oik.38.1658345564572; Wed, 20
Jul 2022 12:32:44 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp11
Date: Wed, 20 Jul 2022 12:32:44 -0700 (PDT)
In-Reply-To: <21804910-7f71-4588-b163-579c51420454n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:e6:f10:c900:7662:de11:4f3e:48de;
posting-account=bxzfyQoAAABDBdOPzrZfAXRIKSRXmQdP
NNTP-Posting-Host: 2003:e6:f10:c900:7662:de11:4f3e:48de
References: <369c6d59-1f4b-45c0-8cf4-4a4c8dc1e4edn@googlegroups.com>
<tb8v5v$5ua$1@news.misty.com> <21804910-7f71-4588-b163-579c51420454n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6583db09-f675-466f-bfcc-593d33ed520an@googlegroups.com>
Subject: Re: running 2.11BSD on e11
From: wfjm.andro@gmail.com (Walter F.J. Müller)
Injection-Date: Wed, 20 Jul 2022 19:32:45 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 20
 by: Walter F.J. Müller - Wed, 20 Jul 2022 19:32 UTC

On Wednesday, July 20, 2022 at 3:41:28 PM UTC+2, j...@mdfs.net wrote:
> I use:
> set cpu 70
> mount db0: H:\develop\pdp11\unix\bsd2-11.dsk /rp06
> boot db0:
>
> with E11 v7.0, and the disk image from
> https://skn.noip.me/pdp11/pdp11.html

I tried this 211BSD image. It's patch level 448.
I tried e11 version 7.3 and 7.2, both under Linux.
The output up to and including "Sat Oct 31 16:00:38 PST 1981" is ok.
After that I see crap.

I've tried with SimH again. The default setting in 'classical' SimH is 7bit !
When I boot that image in SimH with tto default setting all is fine.
When I use "set tto 8b" I get the same crap that I see with e11.

The problem is obviously that there is no mechanism in e11 to set the console output into 7bit mode.
Since 211BSD fills in the parity bit, the host system sees character codes > 0177 and misinterprets them
as UTF-8 characters.

Re: running 2.11BSD on e11

<tba29e$g9o$1@news.misty.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=851&group=alt.sys.pdp11#851

  copy link   Newsgroups: alt.sys.pdp11
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.185.159.157.200!not-for-mail
From: bqt@softjar.se (Johnny Billquist)
Newsgroups: alt.sys.pdp11
Subject: Re: running 2.11BSD on e11
Date: Thu, 21 Jul 2022 01:14:53 +0200
Organization: MGT Consulting
Message-ID: <tba29e$g9o$1@news.misty.com>
References: <369c6d59-1f4b-45c0-8cf4-4a4c8dc1e4edn@googlegroups.com>
<tb8v5v$5ua$1@news.misty.com>
<21804910-7f71-4588-b163-579c51420454n@googlegroups.com>
<6583db09-f675-466f-bfcc-593d33ed520an@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 20 Jul 2022 23:14:54 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="185.159.157.200";
logging-data="16696"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.11.0
Content-Language: en-US
In-Reply-To: <6583db09-f675-466f-bfcc-593d33ed520an@googlegroups.com>
 by: Johnny Billquist - Wed, 20 Jul 2022 23:14 UTC

On 2022-07-20 21:32, Walter F.J. Müller wrote:
> On Wednesday, July 20, 2022 at 3:41:28 PM UTC+2, j...@mdfs.net wrote:
>> I use:
>> set cpu 70
>> mount db0: H:\develop\pdp11\unix\bsd2-11.dsk /rp06
>> boot db0:
>>
>> with E11 v7.0, and the disk image from
>> https://skn.noip.me/pdp11/pdp11.html
>
> I tried this 211BSD image. It's patch level 448.

If it truly is at 448, then you should not have the problem. I actually
did 448 on a local 11/83 with a VT420, and it was just so annoying that
I had the 7-bit parity problem when booting 2.11BSD, while everything
was fine when booting RSX on the same machine, and I did not want to go
in and change the setup in the terminal every time I booted the other
system. (And the boot roms in the 11/83 themselves also assume you have
an 8-bit clean console, so it was really 2.11BSD that was the odd duck.)
So I know that worked correctly on real hardware.

But it's really just a one line change. usr/src/sys/pdp/cons.c line 167.
And in there you'll find an or with the parity, which I just commented out.

449 and 450 changed it to be settable, as my forced non-parity was
considered a little too brutal. :-)

> I tried e11 version 7.3 and 7.2, both under Linux.
> The output up to and including "Sat Oct 31 16:00:38 PST 1981" is ok.
> After that I see crap.
>
> I've tried with SimH again. The default setting in 'classical' SimH is 7bit !
> When I boot that image in SimH with tto default setting all is fine.
> When I use "set tto 8b" I get the same crap that I see with e11.
>
> The problem is obviously that there is no mechanism in e11 to set the console output into 7bit mode.
> Since 211BSD fills in the parity bit, the host system sees character codes > 0177 and misinterprets them
> as UTF-8 characters.

Interesting that E11 don't actually seem to do anything with the
specified mode. I guess you might be right in that it just tries to
change the characteristics of the actual line.

You could always ping John Wilson about it...

Johnny

Re: running 2.11BSD on e11

<c3695a91-8af1-4837-aa77-fb7b2d80e73cn@googlegroups.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=853&group=alt.sys.pdp11#853

  copy link   Newsgroups: alt.sys.pdp11
X-Received: by 2002:a05:622a:130a:b0:31f:450f:ac8e with SMTP id v10-20020a05622a130a00b0031f450fac8emr8808795qtk.498.1659003954212;
Thu, 28 Jul 2022 03:25:54 -0700 (PDT)
X-Received: by 2002:a05:6808:300b:b0:337:b697:b077 with SMTP id
ay11-20020a056808300b00b00337b697b077mr3735281oib.126.1659003953986; Thu, 28
Jul 2022 03:25:53 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp11
Date: Thu, 28 Jul 2022 03:25:53 -0700 (PDT)
In-Reply-To: <tba29e$g9o$1@news.misty.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:e6:f10:4d00:f511:f30:17f6:78ff;
posting-account=bxzfyQoAAABDBdOPzrZfAXRIKSRXmQdP
NNTP-Posting-Host: 2003:e6:f10:4d00:f511:f30:17f6:78ff
References: <369c6d59-1f4b-45c0-8cf4-4a4c8dc1e4edn@googlegroups.com>
<tb8v5v$5ua$1@news.misty.com> <21804910-7f71-4588-b163-579c51420454n@googlegroups.com>
<6583db09-f675-466f-bfcc-593d33ed520an@googlegroups.com> <tba29e$g9o$1@news.misty.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c3695a91-8af1-4837-aa77-fb7b2d80e73cn@googlegroups.com>
Subject: Re: running 2.11BSD on e11
From: wfjm.andro@gmail.com (Walter F.J. Müller)
Injection-Date: Thu, 28 Jul 2022 10:25:54 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1722
 by: Walter F.J. Müller - Thu, 28 Jul 2022 10:25 UTC

On Thursday, July 21, 2022 at 1:14:55 AM UTC+2, Johnny Billquist wrote:

> You could always ping John Wilson about it...

Did that.
John said, that the current MODE implementation is meant for a physical serial port and has no effect on pty's.
And indicated, that he might change that in an upcoming release and support optional 7bit data truncation also to pty's.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor