NetBSD-Bugs archive

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

kern/38081: ahcisata does not attach for Intel 82801GB/GR

>Number:         38081
>Category:       kern
>Synopsis:       ahcistat does not attach for Intel 82801GB/GR
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 22 10:55:00 +0000 2008
>Release:        NetBSD 4.99.54
        <The following information is extracted from your kernel.  Please>
System: NetBSD pussyfoot 4.99.54 NetBSD 4.99.54 (PUSSYFOOT) #3: Fri Feb 22 
11:11:49 CET 2008 
Architecture: x86_64
Machine: amd64

A system (HP Proliant ML110) booting a kernel built from today's sources
fails to attach the ahcisata driver. The PCI device shows up as
'not configured'.

An older kernel:

NetBSD pussyfoot 4.99.54 NetBSD 4.99.54 (PUSSYFOOT) #3: Tue Feb 12 23:16:16 CET 

reports correctly:

ahcisata0 at pci0 dev 31 function 2: Intel 82801GB/GR AHCI SATA Controller
ahcisata0: interrupting at ioapic0 pin 19 (irq 5) ahcisata0: AHCI revision 1.1, 
4 ports, 32 command slots, features 0xc720e000

The attachment fails because ahcisata_pci.c was changed recently to allow only
RAID controllers to attach.

However, revoking that change still fails, the device is attached but
ahcisata complains about not being able to map AHCI registers.

I can set the device to RAID mode in the BIOS, however, it still does
not attach since the following test for 'AHCI mode' fails independent
of the BIOS setting.

   if (bus_space_read_4(regt, regh, AHCI_GHC) & AHCI_GHC_AE)
              ret = 3;


Boot a recent kernel on a HP Proliant ML110.



Home | Main Index | Thread Index | Old Index