Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD/vax



Den 2020-03-22 kl. 10:56, skrev Martin Husemann:
On Sun, Mar 22, 2020 at 10:50:45AM +0100, Anders Magnusson wrote:
- Check if ncr_sc->sc_dataptr is in user space, if so assign dh->dh_proc.
Also add a panic if xs->bp is not set.

This means;  replace line 278 with:
     if (((vaddr_t)ncr_sc->sc_dataptr & KERNBASE) == 0) {
         if (xs->bp == NULL)
             panic("si_dma_alloc");
         dh->dh_proc = xs->bp->b_proc;
     }
Souds good - are you able to test with the soure change or should I compile
a test kernel for you? Or do you need a full ISO?

I haven't any 5380 machine running, so somewhat difficult for me to test it.
I'll also be away today (with my family) so I don't know when/if I can test it.

Do you have a KA42 with SCSI disk running?  In that case:

1) verify that a -current install kernel crashes
2) recompile a new kernel with the same options, but patch applied.
3) testboot it (don't have to be from CD).

-- R


Home | Main Index | Thread Index | Old Index