NetBSD-Bugs archive

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

Re: kern/37826 (Kernel sees only one SATA channel (out of four) on Abit AN52 motherboard (nvidia nf520__single chip))

The following reply was made to PR kern/37826; it has been noted by GNATS.

From: David Holland <>
To: Art Lemasters <>
Subject: Re: kern/37826 (Kernel sees only one SATA channel (out of four) on
        Abit AN52 motherboard (nvidia nf520__single chip))
Date: Tue, 24 Mar 2009 21:12:25 +0000

 On Mon, Mar 09, 2009 at 11:46:11PM -0600, Art Lemasters wrote:
  > > It is still attaching as viaide, and therefore still not working.
  >   The following was done with a fresh amd64 system (netbsd-5-0-RC2
  > only a few days old) with the NetBSD drive on the first channel and
  > a Linux drive plugged in on the third. Is that alright? Is the same
  > work occuring with amd64, as I assume?
 The IDE drivers are machine-independent, yes.
 I think I see what the problem likely is: there are four PCI IDs for
 the MCP65 SATA controller, and only one of them is listed in
 Try the following patch (with GENERIC):
 Index: pci/ahcisata_pci.c
 RCS file: /cvsroot/src/sys/dev/pci/ahcisata_pci.c,v
 retrieving revision 1.13
 diff -u -p -r1.13 ahcisata_pci.c
 --- pci/ahcisata_pci.c 8 Dec 2008 15:35:23 -0000       1.13
 +++ pci/ahcisata_pci.c 24 Mar 2009 21:06:33 -0000
 @@ -54,6 +54,12 @@ __KERNEL_RCSID(0, "$NetBSD: ahcisata_pci
  static const struct pci_quirkdata ahci_pci_quirks[] = {
            AHCI_PCI_QUIRK_FORCE },
 +          AHCI_PCI_QUIRK_FORCE },
 +          AHCI_PCI_QUIRK_FORCE },
 +          AHCI_PCI_QUIRK_FORCE },
            AHCI_PCI_QUIRK_FORCE },
 If that doesn't work, what we'll need to know is what the PCI ID you
 actually have is, which you can get via lspci or equivalent.
  >   The RC50.2 GENERIC, INSTALL with ACPI, INSTALL no ACPI and custom
  > dmesg files are below. There were some "NoMatch" lines after doing
  > the adjustkernel--some lines that I haven't noticed before. I don't
  > know whether they are of any consequence to any of your work, but
  > just in case,...
 I don't think adjustkernel is expected to work on any currently
 supported versions.
 David A. Holland

Home | Main Index | Thread Index | Old Index