Port-atari archive

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

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



On Mon, Dec 22, 2008 at 4:43 AM, Izumi Tsutsui 
<tsutsui%ceres.dti.ne.jp@localhost> 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


Home | Main Index | Thread Index | Old Index