i386/92238: Spurious "atapci1: failed to enable memory mapping!" message on startup

Arthur Hartwig arthur.hartwig at nokia.com
Mon Jan 23 19:20:08 PST 2006

>Number:         92238
>Category:       i386
>Synopsis:       Spurious "atapci1: failed to enable memory mapping!" message on startup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 24 03:20:06 GMT 2006
>Originator:     Arthur Hartwig
>Release:        7.0-CURRENT
FreeBSD oz-net-11.nes.nokia.com 7.0-CURRENT FreeBSD 7.0-CURRENT #10: Mon Jan 23 17:26:46 EST 2006     hartwig at oz-net-11.nes.nokia.com:/usr/src/sys/i386/compile/oz-net-11  i386

              I have a Gigabyte GA8I945P-G motherboard which has a ICH7 with chipid 0x27c08086.

On startup the system reports:
atapci1: <Intel ICH7 SATA300 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.2 on pci0
atapci1: failed to enable memory mapping!
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1

              In dev/ata-ata-chipset.c function ata_intel_ident() the ids array has an entry for chipid ATA_I82801GB_S1 (0x27c08086) with AHCI . The current Intel I/O Controller Hub 7 (ICH7) Family Specification Update (file 30701409.pdf) says (page 16) the device with ID 27c0h is "Desktop Non-AHCI and Non-RAID Mode".

I changed the ids array so the line for the ATA_I82801GB_S1 read:
     { ATA_I82801GB_S1, 0,    0, 0x00, ATA_SA300, "ICH7" },
rebuilt the kernel, rebooted and the "failed to enable memory mapping" message no longer appeared.


More information about the freebsd-i386 mailing list