From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
To: axp-list@redhat.com
Subject: Re: No valid MMIO address in PCI config space
Date: Tue, 27 Feb 2001 20:40:41 +0300 [thread overview]
Message-ID: <20010227204041.A2839@jurassic.park.msu.ru> (raw)
In-Reply-To: <200102271611.RAA00755@ludwig-alpha.unil.ch>; from chris@ludwig-alpha.unil.ch on Tue, Feb 27, 2001 at 05:11:25PM +0100
On Tue, Feb 27, 2001 at 05:11:25PM +0100, Christian Iseli wrote:
> Jay.Estabrook@compaq.com said:
> > It's a conflict between kernel PCI resource allocation and XFree86.
> > The problem I had (XFree86 was considering a disabled ethernet ROM as
> > active) was fixed by patching XFree86, but I'm not sure this is the
> > same problem...
>
> > Post your log and let's see...
I think it's the same problem (I've seen this too) and it's definitely
XFree86 bug.
This time sym53c875 ROM seems to confuse Xserver:
> got res[a840000:a84ffff] for resource 6 of Symbios Logic Inc. (formerly NCR) 53c875
The XFree86 PCI probing code initially assumes that the size of the region
is equal to its alignment (in this case a840000:a87ffff ;-). Later it tries
to correct this (see "resource overlap reduced" messages in XFree86 logs).
Unfortunately, it updates only normal (non-ROM) resources...
Here is a patch vs. XFree86-4.0.2 fixing that.
Ivan.
--- xc/programs/Xserver/hw/xfree86/common/xf86pciBus.c.orig Fri Dec 8 23:13:35 2000
+++ xc/programs/Xserver/hw/xfree86/common/xf86pciBus.c Mon Feb 26 13:54:19 2001
@@ -695,19 +695,23 @@ correctPciSize(memType base, int oldsize
continue;
basep = &pcrp->pci_base0;
- for (i = 0; i < 6; i++) {
+ for (i = 0; i < 7; i++) {
int j = i;
- if (basep[i] && (pcrp->basesize[i] == old_bits))
- if (((type & ResIo) && PCI_MAP_IS_IO(basep[i])
- && (B2I(pcrp->tag,PCIGETIO(basep[i])) == base))
- || ((type & ResMem) && PCI_MAP_IS_MEM(basep[i])
- && (((!PCI_MAP_IS64BITMEM(basep[i]))
- && (B2M(pcrp->tag,PCIGETMEMORY(basep[i])) == base))
+ if (i == 6) {
+ basep = &pcrp->pci_baserom;
+ j = 0;
+ }
+ if (basep[j] && (pcrp->basesize[i] == old_bits))
+ if (((type & ResIo) && PCI_MAP_IS_IO(basep[j])
+ && (B2I(pcrp->tag,PCIGETIO(basep[j])) == base))
+ || ((type & ResMem) && PCI_MAP_IS_MEM(basep[j])
+ && (((!PCI_MAP_IS64BITMEM(basep[j]))
+ && (B2M(pcrp->tag,PCIGETMEMORY(basep[j])) == base))
#if defined LONG64 || defined WORD64
- || (B2M(pcrp->tag,PCIGETMEMORY64(basep[i])) == base)
+ || (B2M(pcrp->tag,PCIGETMEMORY64(basep[j])) == base)
#endif
))) {
- pcrp->basesize[j] = new_bits;
+ pcrp->basesize[i] = new_bits;
return;
}
}
next prev parent reply other threads:[~2001-02-27 17:41 UTC|newest]
Thread overview: 99+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-27 11:01 No valid MMIO address in PCI config space Christian Iseli
2001-02-27 15:46 ` Jay Estabrook
2001-02-27 16:11 ` Christian Iseli
2001-02-27 17:40 ` Ivan Kokshaysky [this message]
2001-02-27 19:41 ` Jay Estabrook
2001-02-28 17:37 ` Ivan Kokshaysky
2001-02-28 20:40 ` Jay Estabrook
2001-03-01 18:29 ` Ivan Kokshaysky
2001-03-02 16:45 ` Ivan Kokshaysky
2001-03-01 8:58 ` Christian Iseli
-- strict thread matches above, loose matches on Subject: below --
2002-03-23 17:15 Where is alphalinux.org? Stephen Williams
2002-03-23 17:17 ` Peter Petrakis
2002-03-23 17:53 ` Stephen Williams
2002-03-23 18:13 ` PC164 Video card support (voodoo3 ?); [ RE: Where is alphalinux.org? ] Peter Petrakis
2002-03-23 19:59 ` Stephen Williams
2002-03-23 20:35 ` Peter Petrakis
2002-03-23 21:21 ` Stephen Williams
2002-03-23 22:03 ` Peter Petrakis
2002-03-23 22:53 ` Stephen Williams
2002-03-23 23:13 ` Peter Petrakis
2002-03-23 21:33 ` Stephen Williams
2002-03-23 21:48 ` Stephen Williams
2002-03-23 22:09 ` Peter Petrakis
2002-03-24 17:25 ` Jay Estabrook
2002-03-24 20:37 ` Stephen Williams
2002-03-24 22:46 ` Peter Petrakis
2002-03-24 22:56 ` Michal Jaegermann
2002-03-24 21:36 ` SPARSE vs !(SPARSE) [RE: PC164 Video card support (voodoo3 ?)] Peter Petrakis
2002-03-25 15:01 ` Jay Estabrook
2002-03-25 17:38 ` PC164 Video card support (voodoo3 ?); [ RE: Where is alphalinux.org? ] Stephen Williams
2002-03-23 22:09 ` Peter Petrakis
[not found] <steve@icarus.com>
2002-04-25 4:01 ` PC164 vs. XFree86-4.1-15 Stephen Williams
2002-04-25 14:33 ` Bob Lindell
[not found] <voodoo@alphadriven.org>
2002-05-05 1:25 ` Rh-7.2 beta feb 2002 available? Peter Petrakis
2002-05-02 22:52 ` Bryce
2002-05-05 2:03 ` Earl Truss
2002-05-05 3:38 ` Bob Lindell
2002-05-05 15:46 ` Michal Jaegermann
2002-05-05 16:14 ` Earl Truss
2002-05-05 3:43 ` Bob Lindell
2002-05-05 5:11 ` Stephen Williams
2002-05-02 23:04 ` Bryce
2002-05-05 17:48 ` Bob Lindell
2002-05-03 16:06 ` Bryce
2002-05-07 18:17 ` Bob Lindell
2002-05-05 17:43 ` Bob Lindell
[not found] <storri@ameritech.net>
2002-05-18 2:15 ` Building 2.4 kernel Stephen Torri
2002-05-18 2:18 ` Bob Lindell
2002-05-18 2:26 ` Stephen Williams
2002-05-18 3:15 ` Stephen Torri
2002-05-18 3:34 ` Michal Jaegermann
2002-05-18 3:34 ` Stephen Williams
2002-05-18 3:54 ` Stephen Torri
2002-05-18 4:11 ` Stephen Williams
2002-05-18 16:59 ` Michal Jaegermann
2002-05-18 3:59 ` Bob Lindell
2002-05-18 16:49 ` Michal Jaegermann
2002-05-18 13:12 ` Damien Dye
2002-05-18 9:54 ` Aneesh Kumar K.V
2002-06-10 19:26 RedHat 7.2 Linux for Alpha jason.brashear
2002-06-10 19:32 ` Bryce
2002-06-10 19:51 ` Bob Lindell
2002-06-10 20:53 ` Michael Larocque
2002-06-10 22:05 ` Bob Lindell
2002-06-11 0:47 ` Peter M. Hahn
2002-06-11 1:55 ` Jim Gross
2002-06-11 10:44 ` Jay Estabrook
2002-06-11 12:01 ` Earl Truss
2002-06-11 12:49 ` Jay Estabrook
2002-06-11 14:39 ` Jay Estabrook
2002-06-11 15:02 ` Ralph Squillace
2002-06-11 16:16 ` Michal Jaegermann
2002-06-11 16:51 ` Ted Goodridge, Jr
2002-06-12 11:59 ` Mike A. Harris
2002-06-12 12:41 ` Earl Truss
2002-06-11 16:59 ` RedHat 7.2 Linux for Alpha MIRRORS!!!!! Ted Goodridge, Jr
2002-06-11 17:58 ` RedHat 7.2 Linux for Alpha Jay Estabrook
2002-06-11 21:37 ` Michal Jaegermann
2002-06-12 4:11 ` Earl Truss
2002-06-12 4:30 ` Bob Lindell
2002-06-12 4:39 ` Stephen Williams
2002-06-12 12:45 ` Earl Truss
2002-06-12 19:07 ` George France
2002-06-12 5:04 ` Bryce
2002-06-13 5:02 ` Earl Truss
2002-06-13 5:48 ` Bryce
2002-06-17 2:20 ` Earl Truss
2002-06-17 4:41 ` Michal Jaegermann
2002-06-13 6:10 ` Ingo T. Storm
2002-06-13 12:18 ` Earl Truss
2002-06-11 12:11 ` Nelson Brito
2002-06-11 15:21 ` Jim Gross
2002-06-11 10:43 ` Jay Estabrook
[not found] <etruss@mn.rr.com>
2002-06-18 12:51 ` Fw: " Earl Truss
2002-06-18 15:31 ` Linus Gasser
2002-06-18 15:39 ` Bob Lindell
2002-06-18 16:45 ` Bryce
2002-06-25 11:50 ` Earl Truss
2002-06-18 18:38 ` George France
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox