[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm-kernel
Subject:    Missing in 2.4.19-rmk7-ds3 ?
From:       won-bok lee <wonbokle () usc ! edu>
Date:       2003-09-26 5:20:44
[Download RAW message or body]


Hi.

I'm trying to port this version of linux on our board that is similar to ADI BRH \
board but different in a sense that it will accomodate multiple numbers of compact \
PCI type devices.

Btw, is it missing/not completed or I don't know it well? What I mean is, inside the \
brh_pci_init function, there is no pcibios_allocate_bus_resources() and \
pcibios_allocate_resources() function calls on this patch. Our board will use compcat \
PCI type PCMCIA card, hence I guess they are necessary.

Anyway, I tried to boot the system in both cases: 1)run the code as it is 2)run the \
code with the inclusion of those two functions above. But, in the first case, it has \
some problems when I run the 'cardmgr' on the prompt, and in the second case, it has \
some problems on the bootup time. Here I attached the boot sequence on the second \
case. I guess the problem is 'can not allocate resource region' part. If somebody \
know it, please help me out.

====================================================================================

PCI: BRH Revision is 0x01
WBLEE: Bus=0; hose->first_busno=0
WBLEE: I'm in
WBLEE: hose->io_space.end = c000000
WBLEE: hose->mem_space.end = 10000000
WBLEE: PCI Autoconfig: Found Bus 0, Device 1, Function 0
WBLEE: PCI Autoconfig: BAR 0, Mem,  bar_value = ffff000, size= 1000
WBLEE: PCI Autoconfig: BAR 1, I/O,  bar_value = bffffc0, size= 40
WBLEE: PCI Autoconfig: BAR 2, Mem,  bar_value = ffc0000, size= 20000
WBLEE: PCI Autoconfig: Found other device 1
WBLEE: PCI Autoconfig: Found P2P bridge, device 2
WBLEE: PCI Autoconfig: Found Bus 0, Device 2, Function 0
WBLEE: Bus=1; hose->first_busno=0
WBLEE: PCI Autoconfig: Found Bus 1, Device 13, Function 0
WBLEE: PCI Autoconfig: BAR 0, Mem,  bar_value = f800000, size= 400000
WBLEE: PCI Autoconfig: BAR 1, Mem,  bar_value = f000000, size= 800000
WBLEE: PCI Autoconfig: BAR 2, I/O,  bar_value = bffeff0, size= 10
WBLEE: PCI Autoconfig: Found other device 13
WBLEE: PCI Autoconfig: Found Bus 1, Device 14, Function 0
WBLEE: PCI Autoconfig: BAR 0, Mem,  bar_value = efff000, size= 1000
WBLEE: PCI Autoconfig: Found other device 14
WBLEE: PCI Autoconfig: Found Bus 1, Device 14, Function 1
WBLEE: PCI Autoconfig: BAR 0, Mem,  bar_value = effe000, size= 1000
WBLEE: PCI Autoconfig: Found other device 14
WBLEE: PCI Autoconfig: Found P2P bridge, device 3
WBLEE: PCI Autoconfig: Found Bus 0, Device 3, Function 0
WBLEE: Bus=2; hose->first_busno=0
WBLEE: PCI Autoconfig: Found Bus 2, Device 13, Function 0
WBLEE: PCI Autoconfig: BAR 0, Mem,  bar_value = edfff00, size= 100
WBLEE: PCI Autoconfig: BAR 1, I/O,  bar_value = bffdf00, size= 100
WBLEE: PCI Autoconfig: BAR 2, Mem,  bar_value = ec00000, size= 100000
WBLEE: PCI Autoconfig: BAR 3, Mem,  bar_value = eb00000, size= 100000
WBLEE: PCI Autoconfig: Found other device 13
WBLEE: PCI Autoconfig: Found Bus 2, Device 14, Function 0
WBLEE: PCI Autoconfig: BAR 0, Mem,  bar_value = eaff800, size= 800
WBLEE: PCI Autoconfig: BAR 1, Mem,  bar_value = eaf8000, size= 4000
WBLEE: PCI Autoconfig: Found other device 14
WBLEE: Found 00:00 [8086/1162] 000600 00
WBLEE: Found 00:08 [8086/1209] 000200 00
WBLEE: Found 00:10 [8086/b154] 000604 01
WBLEE: Found 00:18 [8086/b154] 000604 01
WBLEE: Found 01:68 [104c/a106] 000000 00
WBLEE: Found 01:70 [1180/0476] 000607 02
WBLEE: Found 01:71 [1180/0476] 000607 02
WBLEE: Found 02:68 [10b5/9054] 000680 00
WBLEE: Found 02:70 [104c/8024] 000c00 00
WBLEE: going into Bus No. 0 for resource allocation.
WBLEE: returning immediately for Bus Number 0
pr<>res start=00000000, end=ffffffff; start=0a000000, end=0bffffff
WBLEE: PCI: Can not allocate resource region 0 of PCI bridge 0
WBLEE: PCI: resource is a000000..bffffff (100)
pr<>res start=00000000, end=ffffffff; start=0c000000, end=0fffffff
WBLEE: PCI: Can not allocate resource region 1 of PCI bridge 0
WBLEE: PCI: resource is c000000..fffffff (200)
WBLEE: going into Bus No. 1 for resource allocation.
WBLEE: pci_read_bridge_bases: go some more
pr<>res start=0a000000, end=0bffffff; start=0bffe000, end=0bffefff
pr<>res start=0c000000, end=0fffffff; start=0ef00000, end=0fefffff
pr<>res start=0c000000, end=0fffffff; start=0ee00000, end=0eefffff
WBLEE: going into Bus No. 2 for resource allocation.
WBLEE: Cardbus Type Modification in for bus no. 2
WBLEE: going into Bus No. 6 for resource allocation.
WBLEE: Cardbus Type Modification in for bus no. 6
WBLEE: going into Bus No. 2 for resource allocation.
WBLEE: pci_read_bridge_bases: go some more
pr<>res start=0a000000, end=0bffffff; start=0bffd000, end=0bffdfff
pr<>res start=0c000000, end=0fffffff; start=0ea00000, end=0edfffff
pr<>res start=0c000000, end=0fffffff; start=0e900000, end=0e9fffff
WBLEE: PCI: Can not allocate resource region 2 of device 00:00.0
Unable to handle kernel NULL pointer dereference at virtual address 00000008
mm = c0198920 pgd = c0004000
*pgd = 00000000, *pmd = 00000000
Internal error: Oops: 0
....
====================================================================================


Wonbok Lee 
EEB-110 Electrical Engineering, USC 
Tel: 213-740-2247(O)



-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic