NetBSD-Bugs archive

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

Re: kern/38056: ahcisata fails to attach with a ServerWorks HT-1000 SATA



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

From: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
To: Simon Burge <simonb%NetBSD.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, kern-bug-people%NetBSD.org@localhost, 
gnats-admin%NetBSD.org@localhost,
        netbsd-bugs%NetBSD.org@localhost
Subject: Re: kern/38056: ahcisata fails to attach with a ServerWorks HT-1000 
SATA
Date: Tue, 19 Feb 2008 10:53:49 +0100

 On Tue, Feb 19, 2008 at 12:33:45PM +1100, Simon Burge wrote:
 > Manuel Bouyer wrote:
 > 
 > > I suspect it's a side effect of support for AHCI RAID controllers.
 > > What does pcidump say for this device ?
 > > 
 > > ahcisata should probably not match any controller announcing a RAID 
 > > subclass.
 > > We should use a table of compatible devices for RAID class.
 > 
 >      opteron 2# pcictl /dev/pci1 dump -d 14
 >      PCI configuration registers:
 >        Common header:
 >          0x00: 0x024a1166 0x02100107 0x01040500 0x00004000
 > 
 >          Vendor Name: ServerWorks (0x1166)
 >          Device Name: HT-1000 SATA (0x024a)
 > [...]
 >          Class Name: mass storage (0x01)
 >          Subclass Name: RAID (0x04)
 >          Interface: 0x05
 >          Revision ID: 0x00
 >          BIST: 0x00
 >          Header Type: 0x00 (0x00)
 >          Latency Timer: 0x40
 >          Cache Line Size: 0x00
 > 
 > The "Subclass Name: RAID (0x04)" is the bit you're looking for?
 
 Yes, thanks
 
 > In
 > ahcisata_pci.c there's this:
 > 
 >              PCI_SUBCLASS(pa->pa_class) == PCI_SUBCLASS_MASS_STORAGE_RAID)) {
 > 
 > in ahci_pci_match().  Shall I just try removing that part of the attach
 > test?
 
 Yes, it should work for you.
 
 -- 
 Manuel Bouyer, LIP6, Universite Paris VI.           
Manuel.Bouyer%lip6.fr@localhost
      NetBSD: 26 ans d'experience feront toujours la difference
 --
 


Home | Main Index | Thread Index | Old Index