Skip to contentSkip to conversation

PCI resource conflicts

DISCUSSION John Manby 1 participant 1 message Jan 21, 2004

lore
Share & tools
lore

John Manby

author
#0 lore raw

Hello again,

Just to clear up a few things. I have been informed that I was mistaken on a couple of the configuration items below. The kernel is not Debian - that's the development system.
The kernel is 2.4.22 w/ linuxppc-2.4.22 & rtai-24.1.12 patch files applied. Some cleanup done to clear build errors.
Compiler is HardHat-2.95.3

Thanks again!!
-John

----- Original Message -----
From: "John Manby" <[email protected]>
To: <[email protected]>
Sent: Wednesday, January 21, 2004 10:39 AM
Subject: PCI resource conflicts

Quoted 8 lines

Hello,

I looked into the archives and found where several others have asked this question, but I couldn't find where anyone had received a sufficient solution. I am running a Debian 2.4 kernel with RTAI extensions on an IBM 405GP PowerPC. Initially, U-boot was failing to locate PCI devices behind bridges other than the first bridge it finds. I believe that this is not

an

Quoted 39 lines

issue at this time and that the Linux kernel reconfigures the PCI bus on boot up. Now when booting Linux, I receive these messages when I plug

multiple PCI cards into the chassis.

PCI: Probing PCI hardware
Scanning bus 00
Found 00:80 [1011/0024] 000604 01
Found 00:98 [1011/0024] 000604 01
Fixups for bus 00
Scanning behind PCI bridge 00:10.0, config 010100, pass 0 Scanning bus 01
Found 01:00 [8086/b555] 000b40 00
Fixups for bus 01
Bus scan for 01 returning with max=01
Scanning behind PCI bridge 00:13.0, config 020200, pass 0 Scanning bus 02
Found 02:00 [104c/a106] 000000 00
Fixups for bus 02
Bus scan for 02 returning with max=02
Scanning behind PCI bridge 00:10.0, config 010100, pass 1 Scanning behind PCI bridge 00:13.0, config 020200, pass 1 Bus scan for 00 returning with max=02
PCI: Cannot allocate resource region 2 of PCI bridge 1
PCI: bridge 1 resource 2 moved to bff00000..bfffffff
PCI: Cannot allocate resource region 1 of PCI bridge 2
PCI: bridge 2 resource 1 moved to bf000000..bfefffff
PCI: Cannot allocate resource region 2 of PCI bridge 2
PCI: bridge 2 resource 2 moved to bef00000..beffffff
PCI: Cannot allocate resource region 0 of device 01:00.0
PCI: Cannot allocate resource region 1 of device 01:00.0
PCI: Cannot allocate resource region 0 of device 02:00.0
PCI: Cannot allocate resource region 1 of device 02:00.0
PCI: Failed to allocate resource 0(0-fff) for 01:00.0
PCI: moved device 01:00.0 resource 1 (101) to f000
PCI: Failed to allocate resource 3(c0000000-bfffffff) for 01:00.0
PCI: Failed to allocate resource 4(0-7fffff) for 01:00.0

Quoted 1 line

Can anybody explain what is causing this or point me in the right

direction?

Quoted 10 lines

I'm currently trying to follow through the PCI code, but I am new to Linux and a hierachical PCI design so it is slow going.

Thanks!!
-John

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/