Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2025 20:23:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 288526] [ata] [patch] Failed to detect Marvell 9128 SATA controller, due to alternate PCI ID (fix included)
Message-ID:  <bug-288526-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288526

            Bug ID: 288526
           Summary: [ata] [patch] Failed to detect Marvell 9128 SATA
                    controller, due to alternate PCI ID (fix included)
           Product: Base System
           Version: 14.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: jwdevel@gmail.com

Created attachment 262530
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=262530&action=edit
patch to recognize 0x91a3 PCI device ID for Marvell 9128 chip

I have an old Gigabyte GA-P55A-UD4 motherboard.
Two of the SATA slots are controlled by a Marvell 9128 chip.
This chip is not recognized on boot by FreeBSD (14.3-p3), so those SATA slots
are unusable.

The reason it's not recognized is that it has an unexpected PCI ID.
I included a small patch to have the kernel recognize this ID, and it is
working locally.

Similar code was added to Linux in 2010 (50be5e3657...), so I can't be the only
one (:

Note: I am not very familiar with the FreeBSD kernel. In particular, I copied
the "quirks" value from the other existing Marvell 9128 entry. I am  just
guessing that is correct, but not 100% sure.



For reference, this is the relevant bit from 'pciconv -lv':

  ahci0@pci0:2:0:0:       class=0x01018f rev=0x11 hdr=0x00 vendor=0x1b4b
device=0x91a3 subvendor=0x1458 subdevice=0xb000
      vendor     = 'Marvell Technology Group Ltd.'
      class      = mass storage
      subclass   = ATA

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-288526-227>