Date: Thu, 19 Jun 2003 15:42:55 -0400 From: Chris Jackman <cjackNOSPAM@klatsch.org> To: Thomas Moestl <t.moestl@tu-bs.de> Cc: sparc64@freebsd.org Subject: Re: TESTERS NEEDED: new OFW PCI code Message-ID: <20030619194255.GG61629@collab.or8.net> In-Reply-To: <20030614000838.GE670@crow.dom2ip.de> References: <20030613160140.GE658@crow.dom2ip.de> <20030614000838.GE670@crow.dom2ip.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 14, 2003 at 02:08:38AM +0200, Thomas Moestl wrote: > On Fri, 2003/06/13 at 18:01:41 +0200, Thomas Moestl wrote: > > Hi, > > > > I've finished implementing the long-promised new OFW PCI code; the > > patch is available at > > http://people.freebsd.org/~tmm/ofw-newpci.diff > > I've put an updated diff at > http://people.freebsd.org/~tmm/ofw-newpci2.diff > > It contains some cleanups, and fixes panics on machines with psycho > host bridges. I put this on the same 250 that I posted about earlier, with clean source tree. Hunk 7 of sparc64/pci/apb.c had to be hand patched because the comments are different from what i got from cvs yesterday, but the code is the same. I added the options OFW_NEWPCI, OFW_PCI_DEBUG and PSYCHO_DEBUG, and have attached the dmesg from this kernel below. This patch and the sparc64.jake.patch both touch the psycho.c file. I can add most of the sparc64.jake.patch changes after this patch, but for now i just have two /boot/kernel directories. Here's the dmesg fwiw: stray vector interrupt 2029 Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-CURRENT #0: Thu Jun 19 18:34:55 GMT 2003 root@e250:/usr/obj/usr/src/sys/E250 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0484000. Timecounter "tick" frequency 296000000 Hz real memory = 536870912 (512 MB) avail memory = 489938944 (467 MB) cpu0: Sun Microsystems UltraSparc-II Processor (296.00 MHz CPU) cpu1: Sun Microsystems UltraSparc-II Processor (296.00 MHz CPU) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs nexus0: <OpenFirmware Nexus device> nexus0: <associations>, type (unknown) (no driver attached) pcib0: <U2P UPA-PCI bridge> on nexus0 pcib0: Psycho, impl 0, version 4, ign 0x7c0, bus B initialializing counter-timer Timecounter "counter-timer" frequency 1000000 Hz DVMA map: 0xfc000000 to 0xffffffff pcib0: intr map (pci) 0: 0x7c0 pcib0: intr map (pci) 1: 0x7c4 pcib0: intr map (pci) 2: 0x7d0 pcib0: intr map (pci) 3: 0x7d4 pcib0: intr map (pci) 4: 0x800007d0 pcib0: intr map (pci) 5: 0x800007d4 pcib0: intr map (pci) 6: 0x7d8 pcib0: intr map (pci) 7: 0x7dc pcib0: intr map (obio) 0: 0x7e0, clr: 0x1800 pcib0: intr map (obio) 1: 0x7e1, clr: 0x1808 pcib0: intr map (obio) 2: 0x7e2, clr: 0x1810 pcib0: intr map (obio) 3: 0x7e3, clr: 0x1818 pcib0: intr map (obio) 4: 0x7e4, clr: 0x1820 pcib0: intr map (obio) 5: 0x800007e5, clr: 0x1828 pcib0: intr map (obio) 6: 0x7e6, clr: 0x1830 pcib0: intr map (obio) 7: 0x7e7, clr: 0x1838 pcib0: intr map (obio) 8: 0x7e8, clr: 0x1840 pcib0: intr map (obio) 9: 0x7e9, clr: 0x1848 pcib0: intr map (obio) 10: 0x7ea, clr: 0x1850 pcib0: intr map (obio) 11: 0x7eb, clr: 0x1858 pci0: <OFW PCI bus> on pcib0 pcib0: device 0/1/0: latency timer 10 -> 82 pcib0: device 0/1/1: latency timer 10 -> 82 pcib0: device 0/3/0: latency timer 17 -> 140 pcib0: device 0/3/1: latency timer 17 -> 140 pcib0: device 0/5/0: latency timer 8 -> 66 ebus0: revision 0x01 ebus0: <PCI-EBus2 bridge> mem 0x71000000-0x717fffff,0x70000000-0x70ffffff at device 1.0 on pci0 ebus0: <auxio> addr 0x140072f000-0x140072f003,0x140072c000-0x140072c003,0x140072a000-0x140072a003,0x1400728000-0x1400728003,0x1400726000-0x1400726003 (no driver attached) ebus0: <power> addr 0x1400724000-0x1400724003 (no driver attached) ebus0: <SUNW,pll> addr 0x1400504000-0x1400504002 (no driver attached) ebus0: <sc> addr 0x1400500000-0x1400500007 (no driver attached) sab0: <Siemens SAB 82532 v3.2> addr 0x1400400000-0x140040007f irq 43 on ebus0 pcib0: psycho_setup_intr: INO 43, map 0x1058, clr 0x1858 sabtty0: <ttya> on sab0 sabtty0: console 9600,8,n,1,- sabtty1: <ttyb> on sab0 sab1: <Siemens SAB 82532 v3.2> addr 0x1400200000-0x140020007f irq 35 on ebus0 pcib0: psycho_setup_intr: INO 35, map 0x1018, clr 0x1818 sabtty2: <ttyc> on sab1 sabtty3: <ttyd> on sab1 ebus0: <su> addr 0x14003083f8-0x14003083ff irq 41 (no driver attached) ebus0: <su> addr 0x14003062f8-0x14003062ff irq 33 (no driver attached) ebus0: <ecpp> addr 0x1400700000-0x140070000f,0x1400300398-0x1400300399,0x14003043bc-0x14003043cb irq 33 (no driver attached) eeprom0: <EBus EEPROM/clock> addr 0x1400000000-0x1400001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 80a289f2 ebus0: <flashprom> addr 0x1000000000-0x10000fffff,0x1000000000-0x10000fffff (no driver attached) ebus0: <SUNW,envctrltwo> addr 0x1400600000-0x1400600003 irq 37,40 (no driver attached) hme0: <Sun HME 10/100 Ethernet> mem 0x8000-0xffff at device 1.1 on pci0 hme0: Ethernet address: 08:00:20:a2:89:f2 miibus0: <MII bus> on hme0 nsphy0: <DP83840 10/100 media interface> on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib0: psycho_setup_intr: INO 33, map 0x1008, clr 0x1808 sym0: <875> port 0x400-0x4ff mem 0x12000-0x12fff,0x10000-0x100ff at device 3.0 on pci0 sym0: No NVRAM, ID 7, Fast-20, SE, parity checking pcib0: psycho_setup_intr: INO 32, map 0x1000, clr 0x1800 sym1: <875> port 0x800-0x8ff mem 0x16000-0x16fff,0x14000-0x140ff at device 3.1 on pci0 sym1: No NVRAM, ID 7, Fast-20, SE, parity checking pcib0: psycho_setup_intr: INO 38, map 0x1030, clr 0x1830 pci0: <display, VGA> at device 5.0 (no driver attached) pcib1: <U2P UPA-PCI bridge> on nexus0 pcib1: Psycho, impl 0, version 4, ign 0x7c0, bus A pcib1: intr map (pci) 0: 0x7c0 pcib1: intr map (pci) 1: 0x800007c4 pcib1: intr map (pci) 2: 0x800007d0 pcib1: intr map (pci) 3: 0x800007d4 pcib1: intr map (pci) 4: 0x800007d0 pcib1: intr map (pci) 5: 0x800007d4 pcib1: intr map (pci) 6: 0x800007d8 pcib1: intr map (pci) 7: 0x800007dc pcib1: intr map (obio) 0: 0x800007e0, clr: 0x1800 pcib1: intr map (obio) 1: 0x800007e1, clr: 0x1808 pcib1: intr map (obio) 2: 0x800007e2, clr: 0x1810 pcib1: intr map (obio) 3: 0x800007e3, clr: 0x1818 pcib1: intr map (obio) 4: 0x800007e4, clr: 0x1820 pcib1: intr map (obio) 5: 0x800007e5, clr: 0x1828 pcib1: intr map (obio) 6: 0x800007e6, clr: 0x1830 pcib1: intr map (obio) 7: 0x800007e7, clr: 0x1838 pcib1: intr map (obio) 8: 0x800007e8, clr: 0x1840 pcib1: intr map (obio) 9: 0x800007e9, clr: 0x1848 pcib1: intr map (obio) 10: 0x800007ea, clr: 0x1850 pcib1: intr map (obio) 11: 0x800007eb, clr: 0x1858 pci1: <OFW PCI bus> on pcib1 nexus0: <rsc>, type system-service-processor (no driver attached) nexus0: <mc>, type memory-controller (no driver attached) Timecounters tick every 10.000 msec Waiting 15 seconds for SCSI devices to settle cd0 at sym0 bus 0 target 6 lun 0 cd0: <TOSHIBA XM6201TASUN32XCD 1103> Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 16) cd0: cd present [1240320 x 512 byte records] da0 at sym0 bus 0 target 0 lun 0 da0: <SEAGATE SX118273LC 6678> Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) da1 at sym0 bus 0 target 8 lun 0 da1: <SEAGATE SX118273LC 6367> Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da1: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) da2 at sym0 bus 0 target 9 lun 0 da2: <SEAGATE SX118273LC 6678> Fixed Direct Access SCSI-2 device da2: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da2: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) da3 at sym0 bus 0 target 10 lun 0 da3: <SEAGATE SX118273LC 6678> Fixed Direct Access SCSI-2 device da3: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da3: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) da4 at sym0 bus 0 target 11 lun 0 da4: <SEAGATE SX118273LC 6367> Fixed Direct Access SCSI-2 device da4: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da4: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) da5 at sym0 bus 0 target 12 lun 0 da5: <SEAGATE SX118273LC 6678> Fixed Direct Access SCSI-2 device da5: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da5: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) SMP: AP CPU #1 Launched! Mounting root from ufs:/dev/da3a
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030619194255.GG61629>