Re: Current kernel with http://gnats.netbsd.org/39965 and pmap patches

"T. Makinen" <[email protected]>
Newsgroups gmane.os.netbsd.ports.atari
Message-ID <[email protected]>
On Mon, Dec 22, 2008 at 4:43 AM, Izumi Tsutsui <[email protected]> wrote:
>> I tried patch; I can mount partition from ATA drive without problems, but after
>> installer starts to extract installation sets kernel prints several error
>> messages (same error with lost interrupts when using wdc_mb.c without
>> ATAC_CAP_NOIRQ) and then reading seems to freeze.
>
> Hmm, are there other devices which use DMA?

AFAIK Falcon sound system and SCSI use DMA, but DMA for SCSI is disabled from
atari/dev/ncr5380.c since 1.57 (there can be DMA HW issues with some Falcons).

> What happens if "MFP->mf_iprb = (u_int8_t)~IB_DINT;"
> is added before (or after) wdcintr() call in wdc_mb_intr()
> as current free_hw() does?

Adding it before wdcintr() call does not do better; couple of stray interrupt
71 error messages and many wdc:0:0:0: lost interrupt errors and
freezing. If I place "MFP->mf_iprb = (u_int8_t)~IB_DINT;" after wdcintr() call
behaviour is just like with current atari/dev/wdc_mb.c (kernel prints lost
interrupt error messages as early as I mount partition from ATA drive)... I'm
wondering why this happens? So it looks that handling MFP->mf_iprb in
wdr_mb_intr() is not enough ?

-Tuomo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.