Subject: Re: Problems disklabelling on 3100/something...
To: port-vax@netbsd.org <port-vax@netbsd.org>
From: Matthew Hudson <mhudson@home.com>
List: port-vax
Date: 04/17/1999 12:51:58
Here is the disconnect patch.

-Matt

>Date: Thu, 7 Jan 1999 21:00:27 -0500 (EST)
>From: maximum entropy <entropy@zippy.bernstein.com>
>
>>Date: Fri, 8 Jan 1999 01:00:21 +0200 (EET)
>>From: Elmet Orasson <elmet@rasi.lr.ttu.ee>
>>
>>With new kernel i had some success, I could disklabel and newfs but when I
>>did ftp to take new sources onto disk it gave 'error: short write'
>>sometimes. Dunno, what's the problem.
>
>OK, three people with the same problem convinces me there's a real
>problem here.  I guess I'll dig a vs3100m30 out of storage and go
>hunting...

Please try this patch.

--- /sys/arch/vax/vsa/ncr.c-orig        Mon Dec  7 07:18:49 1998
+++ /sys/arch/vax/vsa/ncr.c     Wed Jan 13 01:38:13 1999
@@ -190,6 +190,8 @@
        ncr_sc->sci_r6 = sca_regs + 0x98; /* IN_DATA/DMA_TRCV  (rw) */
        ncr_sc->sci_r7 = sca_regs + 0x9c; /* RESET/DMA_IRCV    (rw) */
 
+       ncr_sc->sc_no_disconnect = 0xff;
+
        /*
         * Initialize si board itself.
         */


Cheers,
entropy

--
entropy -- it's not just a good idea, it's the second law.