Subject: Re: 3.0-stable newbee questions
To: J.D. Bronson <jbronson@wixb.com>
From: Martin Husemann <martin@duskware.de>
List: netbsd-users
Date: 07/16/2006 21:18:20
On Sun, Jul 16, 2006 at 02:06:37PM -0500, J.D. Bronson wrote:
> thanks for the reply. yes, I am using brand new 80 pin cables. One
> for each drive with 1 drive per channel and nothing else like a CDROM..
Can you recompile a kernel? If not, what kernel would you need for
testing?
The code in question is in src/sys/dev/pci/rccide.c around line
216:
if ((atac->atac_cap & ATAC_CAP_UDMA) &&
(drvp->drive_flags & DRIVE_UDMA)) {
/* use Ultra/DMA, check for 80-pin cable */
if (drvp->UDMA_mode > 2 &&
(PCI_PRODUCT(pci_conf_read(sc->sc_pc, sc->sc_tag,
PCI_SUBSYS_ID_REG))
& (1 << (14 + channel))) == 0)
drvp->UDMA_mode = 2;
You could try to comment out the
/* drvp->UDMA_mode = 2 */ ;
and see how that kernel works.
Martin