Port-vax archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
RE: DSSI (SII) driver for KA640 MicroVAX 3300/3400
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@localhost>
Sent: Tuesday, 1 December 2026 1:02 pm
To: ian%2lostkiwis.com@localhost; 'Jan-Benedict Glaw' <jbglaw%lug-owl.de@localhost>
Cc: port-vax%netbsd.org@localhost
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
Home |
Main Index |
Thread Index |
Old Index