Subject: PnP kernel problems
To: None <netbsd-help@netbsd.org>
From: Chris Baird <cbaird@turing.une.edu.au>
List: netbsd-help
Date: 05/25/1999 14:07:41
I've upgraded to a K6-2/300 with an "A plus" VT82C586/MVP3-based
motherboard (order of magnitude upgrade!), but there's several
problems with the kernel and device recognition. (Possibly BIOS PnP
configuration pilot errors, that frustratingly haven't been solved
yet..)

> Problem #1

wd0 claims to support PIO mode 3 with DMA mode 1, but after pciide0
loses an interrupt it needs to drop DMA for it to work.  The relevant
kernel messages:

        wd0 at pciide0 channel 0 drive 0: <QUANTUM MAVERICK 540A>
        wd0: drive supports 8-sector pio transfers, lba addressing
        wd0: 32-bits data port
        wd0: drive supports PIO mode 3, DMA mode 1
        wd0(pciide0:0:0): using PIO mode 3, DMA mode 1 (using DMA data transfers)

[later, when trying to use wd0 for the first time]

        pciide0:0:0: lost interrupt
                type: ata
                c_bcount: 512
                c_skip: 0
        pciide0:0:0: Bus-Master DMA error: missing interrupt, status=0x20
        wd0d: DMA error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
[repeated]
        wd0: transfer error, downgrading to PIO mode 3
        wd0(pciide0:0:0): using PIO mode 3
        wd0d: DMA error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
        wd0: soft error (corrected)

Is there a way to disable DMA [from the kernel config]? (I've noticed
flags can enable DMA...)

> Problem #2

The motherboard has an onboard PnP Creative ViBRA16XV (CTL0043)
soundcard.  It No Go:

        isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
        isapnp0: read port 0x203
        sb0 at isapnp0 port 0x220/16 irq 5 drq 0,0
        sb0: Creative ViBRA16X PnP Audio: dsp v4.16
        audio0 at sb0: half duplex

Doing evil things to the source hasn't gotten any more life from the
card.  Any ideas?

> Problem #3

I've had some success getting 132 columns on a Trident 9750 working,
only the screen is shifted to the right. How do you calculate
text-screen "modelines"?

--
Chris Baird,, <cjb@brushtail.apana.org.au>