From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 7 03:43:54 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C9C816A421 for ; Fri, 7 Dec 2007 03:43:54 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from QMTA04.emeryville.ca.mail.comcast.net (qmta04.emeryville.ca.mail.comcast.net [76.96.30.40]) by mx1.freebsd.org (Postfix) with ESMTP id 1E93713C457 for ; Fri, 7 Dec 2007 03:43:54 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from OMTA13.emeryville.ca.mail.comcast.net ([76.96.30.52]) by QMTA04.emeryville.ca.mail.comcast.net with comcast id MfWJ1Y00417UAYk0A00X00; Fri, 07 Dec 2007 03:32:59 +0000 Received: from discordia ([24.60.136.97]) by OMTA13.emeryville.ca.mail.comcast.net with comcast id MfYy1Y00726FYqY8Z00000; Fri, 07 Dec 2007 03:32:59 +0000 X-Authority-Analysis: v=1.0 c=1 a=M2mL4RdYZATEsIUkzsUA:9 a=orgG75815Q18JwKnf1aHwgZMToQA:4 a=6UxOEEjT9BUA:10 Received: by discordia (Postfix, from userid 103) id 3FF5A16B559; Thu, 6 Dec 2007 22:32:53 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.20.1.3] (erwin.int.cokane.org [172.20.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by discordia (Postfix) with ESMTP id EC6BE16B557; Thu, 6 Dec 2007 22:32:37 -0500 (EST) Message-ID: <4758BEAB.6020306@FreeBSD.org> Date: Thu, 06 Dec 2007 22:31:55 -0500 From: Coleman Kane Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: Gary Corcoran References: <475897DB.1010308@FreeBSD.org> <4758B6E8.7030502@rcn.com> In-Reply-To: <4758B6E8.7030502@rcn.com> X-Enigmail-Version: 0.96a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Overlap in PCI memory ranges X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cokane@FreeBSD.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2007 03:43:54 -0000 Gary Corcoran wrote: > Coleman Kane wrote: >> Hello all, >> >> I've got a problem with overlapping PCI memory ranges between my SATA >> controller and my High-Def Audio controller: >> >> atapci1: port >> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x5040-0x504f irq 16 at device 20.1 >> on pci0 >> pcm0: mem >> 0xd0608000-0xd060bfff irq 16 at device 20.2 on pci0 > > Sorry, I couldn't help you even if I saw the problem, but I can't see any > overlap in the above. I see a bunch of relatively low addresses, and one > high memory address range. Where's the conflict ?? > > Gary > >> I am curious if anybody knows of any way to overwrite the boot-up memory >> range in the PCI configuration. I have tried: >> pciconf -w pci0:0:20:2 16 0xd0614004 >> >> after inpecting that the above PCI reg's value before this is >> 0xd0608004. It seems that if I try writing the config register to >> anything between d0608000 and d0614000, the register gets reverted back >> to 0xd0608004. If I go higher than 0xd0614004, then it gets reverted to >> that number. >> >> I am not very familiar with PCI configuration (or other facilities >> FreeBSD uses to assign resources to PCI devices), so I'd like to know if >> anybody can help me sort this problem out which is preventing AHCI and >> HDA-Audio from working... >> >> -- >> Coleman Kane > My apologies. The lines *should* read (mem ranges overlap): 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 -- Coleman Kane