From owner-freebsd-multimedia@FreeBSD.ORG Thu Dec 6 23:50:02 2007 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC6E016A419 for ; Thu, 6 Dec 2007 23:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DEEB913C447 for ; Thu, 6 Dec 2007 23:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lB6No2fF036018 for ; Thu, 6 Dec 2007 23:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lB6No2u5036017; Thu, 6 Dec 2007 23:50:02 GMT (envelope-from gnats) Date: Thu, 6 Dec 2007 23:50:02 GMT Message-Id: <200712062350.lB6No2u5036017@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: Coleman Kane Cc: Subject: Re: kern/111767: [pcm] ATI SB450 High Definition Audio Controller sound card doesn't work X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Coleman Kane List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2007 23:50:03 -0000 The following reply was made to PR kern/111767; it has been noted by GNATS. From: Coleman Kane To: Nate Lawson Cc: bug-followup@FreeBSD.org, Andy Kosela Subject: Re: kern/111767: [pcm] ATI SB450 High Definition Audio Controller sound card doesn't work Date: Thu, 06 Dec 2007 18:28:50 -0500 Nate Lawson wrote: > Coleman Kane wrote: > >> I was directed toward this PR when reporting similar trouble with my >> RS690T-based HP Compaq 6715b notebook with an ATI SB600 audio controller: >> >> pcm0: mem >> 0xd0608000-0xd060bfff irq 16 at device 20.2 on pci0 >> pcm0: hdac_mem_alloc: Unable to allocate memory resource >> device_attach: pcm0 attach returned 6 >> pcm1: at device 20.4 on pci0 >> pcm1: unable to allocate register space >> device_attach: pcm1 attach returned 6 >> >> The pcm0 messages are output from the snd_hda driver, while the pcm1 >> messages are output from the snd_atiixp driver. I have tried both of >> them independently as well, with the same failure. >> >> I tried setting debug.acpi.disabled="sysresource" and that has not >> helped any. >> >> I am attaching my devinfo output, as well as my gzip'd ASL and a dmesg log. >> > > Based on what you sent, acpi is not at fault. Nothing appears to be > owning the 0xd0608000 mem range. I'm bccing the audio maintainer to see > if he can see a problem. > I think that I've isolated the problem: atapci0: port 0x9000-0x9007,0x9008-0x900b,0x9010-0x9017,0x5018-0x501b,0x5020-0x502f mem 0xd0609000-0xd06093ff irq 16 at device 18.0 on pci0 ... pcm0: mem 0xd0608000-0xd060bfff irq 16 at device 20.2 on pci0 The ATI Audio controller seems to be attempting to lock down a range of memory. The memory allocated for the SATA controller in the same southbridge has already taken a chunk of that space for itself. This might also explain some weirdness when the AHCI system is attempting to interact with the MMIO space... Andy, can you check your dmesg and verify this is also true on your machine? I looked at what you sent to me and it looks like this is the case (though your mem ranges are in 0xd04xxxxx). What to do about this? -- Coleman Kane