Re: FirePower (was Re: TODO list for ofppc)
Izumi Tsutsui <[email protected]> Fri, 25 Jan 2008 22:21:22 +0900
| Newsgroups | gmane.os.netbsd.ports.ofppc |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > > HOLES FOUND > > Data access exception > > Even then however, I wonder why it took a data access exception there. I > wonder what it was attempting to do. With pci_conf_debug=1, pci_configure_bus(9) shows: --- : PCI: bus 0, device 10, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 11, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 12, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 13, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 14, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 15, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 16, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 17, function 0: Data access exception --- It seems to fail in pci_conf_read(9), so maybe its maxdevs should be 16. I change genppc_pci_bus_maxdevs() and now it seems to work more: --- ok boot net Boot device: /pci/DEC,ethernet File and args: 6de00 >> NetBSD/ofppc OpenFirmware Boot, Revision 1.6 >> (tsutsui@mirage, Wed Nov 28 22:20:06 JST 2007) Using IP address: 192.168.20.14 root addr=192.168.20.1 path=/r/export/NetBSD/ofppc/root 4211132+259908 [231920+222526]=0x4b2c4c start=0x100000 Loaded initial symtab at 0x543900, strtab at 0x57c70c, # entries 13656 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. NetBSD 4.99.49 (DEBUG) #25: Fri Jan 25 22:09:30 JST 2008 tsutsui@mirage:/usr/src/sys/arch/ofppc/compile/DEBUG total memory = 32768 KB avail memory = 23816 KB bootpath: /pci/DEC,ethernet@4/netbsd.ofppc mainbus0 (root) cpu0 at mainbus0: 603e (Revision 1.4), ID 0 (primary) cpu0: HID0 90c000<DOZE,DPM,ICE,DCE>, powersave: 1 ofwpci0 at mainbus0 1 found a map reclen=5 cur=0 len=160 FOUND PCI RANGE FOUND PCI RANGE FOUND PCI RANGE FOUND PCI RANGE FOUND PCI RANGE FOUND PCI RANGE FOUND PCI RANGE FOUND PCI RANGE returning with CUR=8 cur == 8 addr=0x80800800 size=0x800 type=0 addr=0x80801000 size=0x800 type=0 addr=0x80802000 size=0x800 type=0 addr=0x80804000 size=0x800 type=0 addr=0x80808000 size=0x800 type=0 addr=0x80000000 size=0x10000 type=1 addr=0x80100000 size=0x3e800000 type=1 addr=0xc0000000 size=0x3e000000 type=2 range==5 i==0 range==6 i==1 RANGE iomem=1 FOUND addr=0x80000000 size=0x3e900000 type=1 HOLES FOUND addr=0x80010000 size=0xeffff type=-1 2 found a map reclen=5 cur=0 len=160 FOUND PCI RANGE FOUND PCI RANGE FOUND PCI RANGE FOUND PCI RANGE FOUND PCI RANGE FOUND PCI RANGE FOUND PCI RANGE FOUND PCI RANGE returning with CUR=8 cur == 8 addr=0x80800800 size=0x800 type=0 addr=0x80801000 size=0x800 type=0 addr=0x80802000 size=0x800 type=0 addr=0x80804000 size=0x800 type=0 addr=0x80808000 size=0x800 type=0 addr=0x80000000 size=0x10000 type=1 addr=0x80100000 size=0x3e800000 type=1 addr=0xc0000000 size=0x3e000000 type=2 range==7 i==0 RANGE iomem=2 FOUND addr=0xc0000000 size=0x3e000000 type=2 HOLES FOUND PCI: bus 0, device 0, function 0: id=4848086: Vendor=8086, Product=484 PCI: bus 0, device 0, function 0: Found dev 0x8086 0x0484 -- really probing. PCI: bus 0, device 0, function 0: MEM32 BAR 0x10 is void PCI: bus 0, device 0, function 0: MEM32 BAR 0x14 is void PCI: bus 0, device 0, function 0: MEM32 BAR 0x18 is void PCI: bus 0, device 0, function 0: MEM32 BAR 0x1c is void PCI: bus 0, device 0, function 0: MEM32 BAR 0x20 is void PCI: bus 0, device 0, function 0: MEM32 BAR 0x24 is void PCI: bus 0, device 1, function 0: id=11000: Vendor=1000, Product=1 PCI: bus 0, device 1, function 0: Found dev 0x1000 0x0001 -- really probing. PCI: bus 0, device 1, function 0: Register 0x10, I/O size 256 PCI: bus 0, device 1, function 0: MEM32 BAR 0x14 has size 100 PCI: bus 0, device 1, function 0: Register 0x14, memory size 256 PCI: bus 0, device 1, function 0: MEM32 BAR 0x18 is void PCI: bus 0, device 1, function 0: MEM32 BAR 0x1c is void PCI: bus 0, device 1, function 0: MEM32 BAR 0x20 is void PCI: bus 0, device 1, function 0: MEM32 BAR 0x24 is void PCI: bus 0, device 2, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 3, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 4, function 0: id=21011: Vendor=1011, Product=2 PCI: bus 0, device 4, function 0: Found dev 0x1011 0x0002 -- really probing. PCI: bus 0, device 4, function 0: Register 0x10, I/O size 128 PCI: bus 0, device 4, function 0: MEM32 BAR 0x14 has size 80 PCI: bus 0, device 4, function 0: Register 0x14, memory size 128 PCI: bus 0, device 4, function 0: MEM32 BAR 0x18 is void PCI: bus 0, device 4, function 0: MEM32 BAR 0x1c is void PCI: bus 0, device 4, function 0: MEM32 BAR 0x20 is void PCI: bus 0, device 4, function 0: MEM32 BAR 0x24 is void PCI: bus 0, device 5, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 6, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 7, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 8, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 9, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 10, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 11, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 12, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 13, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 14, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 15, function 0: id=ffffffff: Vendor=ffff, Product=ffff PCI: bus 0, device 1, function 0: Putting 256 I/O bytes @ 0x1001000 (reg 10) PCI: bus 0, device 4, function 0: Putting 128 I/O bytes @ 0x1001100 (reg 10) PCI: bus 0, device 1, function 0: Putting 256 MEM bytes @ 0xc0000000 (reg 14) PCI: bus 0, device 4, function 0: Putting 128 MEM bytes @ 0xc0000100 (reg 14) PCI: bus 0, device 0, function 0: Configuring device. PCI: bus 0, device 1, function 0: Configuring device. PCI: bus 0, device 4, function 0: Configuring device. PCI bus 0 configured pci0 at ofwpci0 bus 0: OFW method configuration space access pcib0 at pci0 dev 0 function 0: Intel 82378ZB System I/O (rev. 0x43) siop0 at pci0 dev 1 function 0: Symbios Logic 53c810 (fast scsi) panic: intr_establish: bogus IRQ 25, max is -1 Stopped in pid 0.1 (system) at netbsd:cpu_Debugger+0x10: lwz r0, r1, 0 x14 db> tr 0x005b8890: at panic+0x1b4 0x005b88e0: at intr_establish+0x2dc 0x005b8920: at genppc_pci_intr_establish+0x2c 0x005b8930: at siop_pci_attach_common+0x314 0x005b8980: at siop_pci_attach+0x20 0x005b89a0: at config_attach_loc+0x188 0x005b89d0: at pci_probe_device+0x324 0x005b8a50: at pci_enumerate_bus+0x1f8 0x005b8a90: at pcirescan+0x70 0x005b8ab0: at pciattach+0x1d8 0x005b8ae0: at config_attach_loc+0x188 0x005b8b10: at ofwpci_attach+0x450 0x005b8bd0: at config_attach_loc+0x188 0x005b8c00: at mainbus_attach+0x128 0x005b8cd0: at config_attach_loc+0x188 0x005b8d00: at cpu_configure+0x158 0x005b8ec0: at configure+0x3c 0x005b8ee0: at main+0x150 0x005b8f30: at 0x100094 db> --- Izumi Tsutsui