Re: 2.4 kernel doesn't allocate resource for my PCI Board

2 messages, 2 authors, 2000-10-16 · open the first message on its own page

Re: 2.4 kernel doesn't allocate resource for my PCI Board

From: Matt Porter <hidden>
Date: 2000-10-13 16:19:04

On Fri, Oct 13, 2000 at 05:20:04PM +0200, Xavier Grave wrote:
Hi all,

I've downloaded the linuxppc_2_5 tree with bitkeeper and compiled it for
my prep board I always have the same message :
PCI: Cannot allocate resource region 0 of device 00:0d.0
PCI: Cannot allocate resource region 1 of device 00:0e.0
PCI: Cannot allocate resource region 1 of device 00:11.0
PCI: Cannot allocate resource region 2 of device 00:11.0
PCI: Failed to allocate resource 2 for Symbios Logic Inc. (formerly
NCR) 53c895

and after the sym53c8xx driver give the following :

sym53c895-0: Downloading SCSI SCRIPTS.
scsi0 : sym53c8xx - version 1.6b
scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 0,
lun 0 Inquiry 00 00 00 ff 00
sym53c8xx_abort: pid=0 serial_number=1 serial_number_at_timeout=1
SCSI host 0 abort (pid 0) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
sym53c8xx_reset: pid=0 reset_flags=2 serial_number=1
serial_number_at_timeout=1

Any idea why this continue to fail ?
Standard 2.4 PCI resource handling problems.  #define DEBUG in
arch/ppc/kernel/pci.c and show us your output.  The request_resource()
call is failing.

BAR2 (resource region 2) is the on chip RAM on LSI Logic's 53c8xx SCSI
chips, it's looking for an 8KB allocation in PCI memory space.  If it
doesn't get placed, then the 895 driver can't kick off the bus master
driven transfer to download the scripts into the 895's on-chip RAM.

--
Matt Porter
MontaVista Software, Inc.
mporter@mvista.com

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

Re: 2.4 kernel doesn't allocate resource for my PCI Board

From: Xavier Grave <hidden>
Date: 2000-10-16 07:53:06

Hi,

On Fri, 13 Oct 2000, Matt Porter wrote:
Standard 2.4 PCI resource handling problems.  #define DEBUG in
arch/ppc/kernel/pci.c and show us your output.  The request_resource()
call is failing.
Here's the result (PCI part) :
PCI: Probing PCI hardware
Setting PCI interrupts for a "MVME 2300"
Relocating PCI address 3c000000 -> 1000000
Relocating PCI address 2ffef000 -> 1fef000
Relocating PCI address 2ffeef80 -> 1feef80
Relocating PCI address 2ffeee00 -> 1feee00
Relocating PCI address 2ffed000 -> 1fed000
PCI: Resource 01000000-3c03ffff (f=200, d=0, p=0)
PCI: Resource 0ffffff0-0ffffff7 (f=101, d=0, p=0)
PCI: Resource 0fffffec-0fffffef (f=10d, d=0, p=0)
PCI: Resource 0fffffe0-0fffffe7 (f=101, d=0, p=0)
PCI: Resource 0fffffdc-0fffffdf (f=10d, d=0, p=0)
PCI: Resource 0fffffc0-0fffffcf (f=101, d=0, p=0)
PCI: Resource 0fffffb0-0fffffbf (f=101, d=0, p=0)
PCI: Resource 01fef000-2ffeffff (f=200, d=0, p=0)
PCI: Cannot allocate resource region 0 of device 00:0d.0
PCI: Resource 0fffe000-0fffefff (f=101, d=0, p=0)
PCI: Resource 0fffdf80-0fffdfff (f=101, d=0, p=0)
PCI: Resource 01feef80-2ffeefff (f=200, d=0, p=0)
PCI: Cannot allocate resource region 1 of device 00:0e.0
PCI: Resource 0fffde00-0fffdeff (f=101, d=0, p=0)
PCI: Resource 01feee00-2ffeeeff (f=200, d=0, p=0)
PCI: Cannot allocate resource region 1 of device 00:11.0
PCI: Resource 01fed000-2ffedfff (f=200, d=0, p=0)
PCI: Cannot allocate resource region 2 of device 00:11.0
PCI: Failed to allocate resource 2 for Symbios Logic Inc. (formerly
NCR) 53c895

Hope it will help...

33 (0) 1 69 15 79 59
De chacun selon ses forces, a chacun selon ses besoins


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help