SCSI PMC card
Quoted 7 lines · Brian Waite
I am trying to put a Cyclone SCSI PMC (symbios 53c895 chipset) card on my Motorola MVME2400 and I see some wierd stuff. If I put the SCSI card on a SPAN card, the kernel comes up and see the card, but when I place the SCSI card on either of the 2 PMC slots on the base, I hang while probing PCI hardware. It gets part way through the PCI fixup resources section and just hangs. Here is my boot
<snip>
Quoted 5 lines
PCI: Probing PCI hardware
Fixup mem res, dev: 0.0,res_start: 3c000000->fc000000 Fixup mem res, dev: 0.d,res_start: 2ff7f000->eff7f000 Fixup mem res, dev: 0.e,res_start: 2ff7ec00->eff7ec00 Fixup mem res, dev: 0.e,res_start:fffc0000->bffc0000
You are in resource hell.
In a PReP map, 0xfffc0000 isn't a legal PCI base address since it lies in PCI's system memory space (0x80000000-0xffffffff). I seem to remember a bug in the ppc resource pci_mem_offset handling that applied pci_mem_offset twice in some cases. It is fixed at least in the 2_4_devel tree. You can confirm this by reading the contents of the BAR corresponding to that last fixup directly. I'll bet that it is 0x3ffc0000, PPCBUG's autoconfiguration code is real good so I highly doubt that it assigned 0xfffc0000 to a memory BAR.
#define DEBUG in drivers/pci/pci.c and arch/ppc/kernel/pci.c and repost your results.
Quoted 7 lines
A thing to note is that I do not have and SCSI support built into this kernel. I built
scsi_mod,sd_md, and sym53c8xx and load them as modules. I am using the 2.4.3 kernel and I have tried building the sym module into the driver, but the hangs occurs before the driver ever loads! Any idea what has gone wrong while tring to probe this card? It is strage that it works fine on a SPAN card. Too bad that is not a solution for us. PS this worked under 2.2 so I know the card is OK.
By SPAN card do you mean a PMCSPAN? Which 2.4.3 are you using? kernel.org, linuxppc_2_4, linuxppc_2_4_devel?
Regards,
--
Matt Porter
MontaVista Software, Inc.
[email protected]
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
I am trying to put a Cyclone SCSI PMC (symbios 53c895 chipset) card on my Motorola MVME2400 and I see some wierd stuff. If I put the SCSI card on a SPAN card, the kernel comes up and see the card, but when I place the SCSI card on either of the 2 PMC slots on the base, I hang while probing PCI hardware. It gets part way through the PCI fixup resources section and just hangs. Here is my boot
Linux/PPC load: console=ttyS0,9600 root=/dev/ram0
Uncompressing Linux...done.
Now booting the kernel
Total memory = 128MB; using 512kB for hash table (at c0200000) Linux version 2.4.3 ([email protected]) (gcc version 2.95.3 20010111 (pre1PReP architecture
On node 0 totalpages: 32768
zone(0): 32768 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,9600 root=/dev/ram0
OpenPIC Version 1.3 (2 CPUs and 16 IRQ sources) at fc000000 OpenPIC timer frequency is 12.500243 MHztime_init: decrementer frequency = 24.999930 MHz
Calibrating delay loop... 699.59 BogoMIPS
Memory: 125080k available (984k kernel code, 496k data, 88k init, 0k highmem) Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes) Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes) Page-cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 8192 (order: 4, 65536 bytes) POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
Fixup mem res, dev: 0.0, res_start: 3c000000->fc000000
Fixup mem res, dev: 0.d, res_start: 2ff7f000->eff7f000
Fixup mem res, dev: 0.e, res_start: 2ff7ec00->eff7ec00
Fixup mem res, dev: 0.e, res_start: fffc0000->bffc0000
A thing to note is that I do not have and SCSI support built into this kernel. I built scsi_mod, sd_md, and sym53c8xx and load them as modules. I am using the 2.4.3 kernel and I have tried building the sym module into the driver, but the hangs occurs before the driver ever loads! Any idea what has gone wrong while tring to probe this card? It is strage that it works fine on a SPAN card. Too bad that is not a solution for us. PS this worked under 2.2 so I know the card is OK.
Thanks
Any help would be great thanks.
Brian
--
Brian Waite
Looking for a TeraFLOP in a closet
www.fastcluster.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/