Thread View: muc.lists.netbsd.port.vax
7 messages
7 total messages
Started by ian
Sun, 29 Nov 2026 06:11
DSSI (SII) driver for KA640 MicroVAX 3300/3400
Author: ian
Date: Sun, 29 Nov 2026 06:11
Date: Sun, 29 Nov 2026 06:11
29 lines
6306 bytes
6306 bytes
Hi all, I've been working on a NetBSD driver for the KA640's onboard DSSI adapter (the SII), which NetBSD can't currently use. On my MicroVAX 3400 with an RF72 it now: - boots NetBSD 11 from the RF72 (BOOT DIA0) to multi-user, with root on the DSSI disk. - reads at about 740 KB/s and writes at about the same speed, with every readback check matching. - recovers from lost commands (timeout, port reset and reconnect) without replaying writes. It has only been tested on one machine with one drive. The code was written with heavy AI assistance (Claude and Codex), with me directing the work and testing it on the hardware. I know that affects whether it could ever go into the tree. It's not public yet, once the test scaffolding is removed I plan to publish it separately. Does anyone else have a KA640 with DSSI disks (RF31, RF71, RF73, or several drives) and want to help test later? Thanks, Ian. -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: DSSI (SII) driver for KA640 MicroVAX 3300/3400
Author: Jan-Benedict Glaw
Date: Sun, 29 Nov 2026 11:20
Date: Sun, 29 Nov 2026 11:20
64 lines
3887 bytes
3887 bytes
--977HGM2CINxm2gnK Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! On Sun, 2026-11-29 19:11:53 +1300, ian@2lostkiwis.com <ian@2lostkiwis.com> = wrote: > I've been working on a NetBSD driver for the KA640's onboard DSSI adapter > (the SII), which NetBSD can't currently use. On my MicroVAX 3400 with an > RF72 it now: > - boots NetBSD 11 from the RF72 (BOOT DIA0) to multi-user, with root on > the DSSI disk. > - reads at about 740 KB/s and writes at about the same speed, with every > readback check matching. > - recovers from lost commands (timeout, port reset and reconnect) witho= ut > replaying writes. >=20 > It has only been tested on one machine with one drive. The code was writt= en > with heavy AI assistance (Claude and Codex), with me directing the work a= nd > testing it on the hardware. I know that affects whether it could ever go > into the tree. It's not public yet, once the test scaffolding is removed I > plan to publish it separately. That's cool work, but you're right that right now, NetBSD doesn't welcome LLM work. It's probably fine to let it write test cases for your personal use, but that's about it. Maybe you're willing to write guiding documentation so that somebody else could easily write a new driver without going through all the loops that may happen when you're doing it manually the first try? > Does anyone else have a KA640 with DSSI disks (RF31, RF71, RF73, or sever= al > drives) and want to help test later? I'm not sure, I've put some boxes into storage, there might well be a KA640 among them. MfG, JBG --=20 --977HGM2CINxm2gnK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQTuyxy0LZdoZCg4wHn0e/fOpyGp6wUCawwKjQAKCRD0e/fOpyGp 6wSqAP4tfL60SO/xOgRwSqyHhrrPOckIIf7BdMQWJiyTiluSKwD/fF43qR7f1rB8 JH8Gfdcq8rb0fwg1/wxmwgqxf0dwTQ4= =h5Vm -----END PGP SIGNATURE----- --977HGM2CINxm2gnK-- -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
RE: DSSI (SII) driver for KA640 MicroVAX 3300/3400
Author: ian
Date: Mon, 30 Nov 2026 18:26
Date: Mon, 30 Nov 2026 18:26
69 lines
7931 bytes
7931 bytes
Thank you and very kindly received. I think I will just carry on and publish something against -current separately. Sadly, I don't think there's much demand for this, the SII DSSI controller is only used on two MicroVAX the 3300 and 3400. The performance of this driver cannot match VMS as there is more overhead on the NetBSD layers, I think I've reached the limit, while VMS can achieve 1200 KB/s. It's been an interesting challenge that really scratched a personal itch - so I am happy where it's got to. Once I have finished, I will post it somewhere and make a final note here. Kind regards, Ian. -----Original Message----- From: Jan-Benedict Glaw <jbglaw@lug-owl.de> Sent: Monday, 30 November 2026 12:21 am To: ian@2lostkiwis.com Cc: port-vax@netbsd.org Subject: Re: DSSI (SII) driver for KA640 MicroVAX 3300/3400 Hi! On Sun, 2026-11-29 19:11:53 +1300, ian@2lostkiwis.com <ian@2lostkiwis.com> wrote: > I've been working on a NetBSD driver for the KA640's onboard DSSI > adapter (the SII), which NetBSD can't currently use. On my MicroVAX > 3400 with an > RF72 it now: > - boots NetBSD 11 from the RF72 (BOOT DIA0) to multi-user, with root > on the DSSI disk. > - reads at about 740 KB/s and writes at about the same speed, with > every readback check matching. > - recovers from lost commands (timeout, port reset and reconnect) > without replaying writes. > > It has only been tested on one machine with one drive. The code was > written with heavy AI assistance (Claude and Codex), with me directing > the work and testing it on the hardware. I know that affects whether > it could ever go into the tree. It's not public yet, once the test > scaffolding is removed I plan to publish it separately. That's cool work, but you're right that right now, NetBSD doesn't welcome LLM work. It's probably fine to let it write test cases for your personal use, but that's about it. Maybe you're willing to write guiding documentation so that somebody else could easily write a new driver without going through all the loops that may happen when you're doing it manually the first try? > Does anyone else have a KA640 with DSSI disks (RF31, RF71, RF73, or > several > drives) and want to help test later? I'm not sure, I've put some boxes into storage, there might well be a KA640 among them. MfG, JBG -- -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: DSSI (SII) driver for KA640 MicroVAX 3300/3400
Author: Jan-Benedict Glaw
Date: Mon, 30 Nov 2026 18:42
Date: Mon, 30 Nov 2026 18:42
37 lines
2884 bytes
2884 bytes
--gRhS6jIH6Onscq/y Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, 2026-12-01 07:26:29 +1300, ian@2lostkiwis.com <ian@2lostkiwis.com> = wrote: > Sadly, I don't think there's much demand for this, the SII DSSI > controller is only used on two MicroVAX the 3300 and 3400. The > performance of this driver cannot match VMS as there is more > overhead on the NetBSD layers, I think I've reached the limit, while > VMS can achieve 1200 KB/s. Every working driver is valueable! Don't give up too early, even if that needs another round of documentation and re-implementation. You did already get the hard part running! MfG, JBG --=20 --gRhS6jIH6Onscq/y Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQTuyxy0LZdoZCg4wHn0e/fOpyGp6wUCaw3DewAKCRD0e/fOpyGp 6335AP47yefB4tKEB3IX8sBT2D8F2fHiUf6pEIFq06p38J0MFwEAta/WmrihR1JI kKc8ycAiXYSMY6a35hoH5byle2qlego= =7y4d -----END PGP SIGNATURE----- --gRhS6jIH6Onscq/y-- -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: DSSI (SII) driver for KA640 MicroVAX 3300/3400
Author: Johnny Billquist
Date: Tue, 01 Dec 2026 00:02
Date: Tue, 01 Dec 2026 00:02
67 lines
4193 bytes
4193 bytes
If you've done this the right way, this should be tied in with the MSCP
code in NetBSD, and should also be a significant stepping stone for CI
support. So there might be more interest/demand than you think.
Johnny
On 2026-11-30 19:26, ian@2lostkiwis.com wrote:
> Thank you and very kindly received. I think I will just carry on and publish something against -current separately.
>
> Sadly, I don't think there's much demand for this, the SII DSSI controller is only used on two MicroVAX the 3300 and 3400. The performance of this driver cannot match VMS as there is more overhead on the NetBSD layers, I think I've reached the limit, while VMS can achieve 1200 KB/s.
>
> It's been an interesting challenge that really scratched a personal itch - so I am happy where it's got to. Once I have finished, I will post it somewhere and make a final note here.
>
> Kind regards,
> Ian.
>
> -----Original Message-----
> From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
> Sent: Monday, 30 November 2026 12:21 am
> To: ian@2lostkiwis.com
> Cc: port-vax@netbsd.org
> Subject: Re: DSSI (SII) driver for KA640 MicroVAX 3300/3400
>
> Hi!
>
> On Sun, 2026-11-29 19:11:53 +1300, ian@2lostkiwis.com <ian@2lostkiwis.com> wrote:
>> I've been working on a NetBSD driver for the KA640's onboard DSSI
>> adapter (the SII), which NetBSD can't currently use. On my MicroVAX
>> 3400 with an
>> RF72 it now:
>> - boots NetBSD 11 from the RF72 (BOOT DIA0) to multi-user, with root
>> on the DSSI disk.
>> - reads at about 740 KB/s and writes at about the same speed, with
>> every readback check matching.
>> - recovers from lost commands (timeout, port reset and reconnect)
>> without replaying writes.
>>
>> It has only been tested on one machine with one drive. The code was
>> written with heavy AI assistance (Claude and Codex), with me directing
>> the work and testing it on the hardware. I know that affects whether
>> it could ever go into the tree. It's not public yet, once the test
>> scaffolding is removed I plan to publish it separately.
>
> That's cool work, but you're right that right now, NetBSD doesn't welcome LLM work. It's probably fine to let it write test cases for your personal use, but that's about it.
>
> Maybe you're willing to write guiding documentation so that somebody else could easily write a new driver without going through all the loops that may happen when you're doing it manually the first try?
>
>> Does anyone else have a KA640 with DSSI disks (RF31, RF71, RF73, or
>> several
>> drives) and want to help test later?
>
> I'm not sure, I've put some boxes into storage, there might well be a
> KA640 among them.
>
> MfG, JBG
>
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt@softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
RE: DSSI (SII) driver for KA640 MicroVAX 3300/3400
Author: ian
Date: Tue, 01 Dec 2026 00:26
Date: Tue, 01 Dec 2026 00:26
43 lines
7237 bytes
7237 bytes
Hi Jonny, Unfortunately, the existing MSCP code isn't very generic and lacks recovery functionality. Probably the correct way forward is quite a lot of restructuring of that existing NetBSD code. That is not the path I took, but it's the right goal for the end result. This SII driver is a step towards that. As for the existing MSCP code: - It assumes the wrong kind of controller. dev/mscp expects a controller that shares command and response rings with the host in memory and is driven through IP/SA registers, as UDA50, KDA50 and KFQSA are. The KA640's SII works differently. MSCP goes over a DSSI virtual circuit and an SCS connection to each disk, the way DEC's own drivers split it into PIDRIVER (port) and DUDRIVER (class). - It has almost no recovery. In NetBSD's code, mscp_requeue() panics, and controller re-initialisation is commented out. The developed SII driver has timeouts, a GET COMMAND STATUS progress check, port reset and reconnect, reads re-sent and lost writes failed rather than replayed. I'm still optimistic and I will see this to completion... it's been an interesting learning process. I'm glad that it might be of more use than I might have guessed. Cheers, Ian. -----Original Message----- From: Johnny Billquist <bqt@softjar.se> Sent: Tuesday, 1 December 2026 1:02 pm To: ian@2lostkiwis.com; 'Jan-Benedict Glaw' <jbglaw@lug-owl.de> Cc: port-vax@netbsd.org Subject: Re: DSSI (SII) driver for KA640 MicroVAX 3300/3400 If you've done this the right way, this should be tied in with the MSCP code in NetBSD, and should also be a significant stepping stone for CI support. So there might be more interest/demand than you think. Johnny -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: DSSI (SII) driver for KA640 MicroVAX 3300/3400
Author: Johnny Billquist
Date: Tue, 01 Dec 2026 00:54
Date: Tue, 01 Dec 2026 00:54
56 lines
4124 bytes
4124 bytes
Hi.
Yeah, I know the current code isn't that well structured. This should be
reworked, and that should really be a part of the whole DSSI work.
Because, as you note, the driver should really be split into two parts.
The port and driver. The driver part should be all the same, and then
you should just have different port backends that transports the MSCP
packets back and forth.
I was sortof thinking about doing this many years ago, based on the
drivers in Ultrix, but I got distracted by other things. But it would be
crazy to add a second MSCP driver, just because the transport is
different. It's still just MSCP at the higher level.
But you have my moral support. :-) Afraid I'm a bit distracted by other
things, as well as not having any hardware available right now to test
things even if I did write something.
Johnny
On 2026-12-01 01:26, ian@2lostkiwis.com wrote:
> Hi Jonny,
>
> Unfortunately, the existing MSCP code isn't very generic and lacks recovery functionality. Probably the correct way forward is quite a lot of restructuring of that existing NetBSD code. That is not the path I took, but it's the right goal for the end result. This SII driver is a step towards that.
>
> As for the existing MSCP code:
> - It assumes the wrong kind of controller. dev/mscp expects a controller that shares command and response rings with the host in memory and is driven through IP/SA registers, as UDA50, KDA50 and KFQSA are. The KA640's SII works differently. MSCP goes over a DSSI virtual circuit and an SCS connection to each disk, the way DEC's own drivers split it into PIDRIVER (port) and DUDRIVER (class).
> - It has almost no recovery. In NetBSD's code, mscp_requeue() panics, and controller re-initialisation is commented out. The developed SII driver has timeouts, a GET COMMAND STATUS progress check, port reset and reconnect, reads re-sent and lost writes failed rather than replayed.
>
> I'm still optimistic and I will see this to completion... it's been an interesting learning process. I'm glad that it might be of more use than I might have guessed.
>
> Cheers, Ian.
>
> -----Original Message-----
> From: Johnny Billquist <bqt@softjar.se>
> Sent: Tuesday, 1 December 2026 1:02 pm
> To: ian@2lostkiwis.com; 'Jan-Benedict Glaw' <jbglaw@lug-owl.de>
> Cc: port-vax@netbsd.org
> Subject: Re: DSSI (SII) driver for KA640 MicroVAX 3300/3400
>
> If you've done this the right way, this should be tied in with the MSCP code in NetBSD, and should also be a significant stepping stone for CI support. So there might be more interest/demand than you think.
>
> Johnny
>
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt@softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads