Port-alpha archive

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

Re: Yes, NetBSD still boots on pretty ancient Alphas...



> On Jul 28, 2021, at 12:28 AM, Istvan Gyenes <igyenes%gmail.com@localhost> wrote:
> 
> [   1.0000000] depca2 at eisa0 slot 4: DEC DE422 Ethernet
> [   1.0000000] depca2: shared memory at 0xd0000-0xdffff
> [   1.0000000] le0 at depca2
> [   1.0000000] le0: failed to clear memory at 0 (0xff != 0xaa)

I am suspicious of this bit of code in depca.c:

        bus_space_write_2(dsc->sc_iot, dsc->sc_ioh, DEPCA_CSR,
            DEPCA_CSR_DUM | DEPCA_CSR_IEN | DEPCA_CSR_SHE |
            (dsc->sc_memsize == 32*1024 ? DEPCA_CSR_LOW32K : 0));

Specifically, I'm suspicious of the DUM bit.  I found an old DEPCA driver for Linux that calls that bit _128KB.

Can you try building a kernel with that bit removed from that bus_space_write_2() call?

-- thorpej



Home | Main Index | Thread Index | Old Index