Article View: muc.lists.netbsd.port.vax
Article #14Re: DSSI (SII) driver for KA640 MicroVAX 3300/3400
From: 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
Technical Details
Message-ID:
<2cafa35d-b14b-4ae2-9298-6b0f1247f91c@softjar.se>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!news.szaf.org!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<008601dd812a$9b026d60$d1074820$@2lostkiwis.com> <>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!news.szaf.org!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail From: Johnny Billquist <bqt@softjar.se> Newsgroups: muc.lists.netbsd.port.vax Subject: Re: DSSI (SII) driver for KA640 MicroVAX 3300/3400 Date: Tue, 1 Dec 2026 01:54:59 +0100 Organization: SoftJAR AB Sender: port-vax-owner@NetBSD.org Approved: news-admin@muc.de Distribution: world Message-ID: <2cafa35d-b14b-4ae2-9298-6b0f1247f91c@softjar.se> References: <008601dd812a$9b026d60$d1074820$@2lostkiwis.com> <> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="60256"; mail-complaints-to="news-admin@muc.de" User-Agent: Mozilla Thunderbird Content-Language: en-US In-Reply-To: <008601dd812a$9b026d60$d1074820$@2lostkiwis.com> Precedence: bulk X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes