Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Planning for NetBSD 5.0



macallan%NetBSD.org@localhost wrote:

> Yes, it's the ohare PIC handler. Please build a kernel with options  
> OHARE_DEBUG and try again.

It dumps:
---
ohare interrupt fuckup
pending: 0000a000
ohare interrupt fuckup
pending: 0000a000
ohare interrupt fuckup
pending: 0000a000
ohare interrupt fuckup
pending: 0000a000
ohare interrupt fuckup
pending: 0000a000
ohare interrupt fuckup
pending: 0000a000
ohare interrupt fuckup
pending: 0000a000
ohare interrupt fuckup
pending: 0000a000
 :

---

> Please try this pseudo-patch too, it should bypass the priority code  
> and simply return interrupts from left to right:

This one seems to survive even after copying whole pkgsrc tree
from NFS to wd0.

dmesg and systat vm output attached (now it has an ancient tlp DE500).

---
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.62 (DEBUG) #5: Tue May  6 22:37:05 JST 2008
        tsutsui@mirage:/usr/src/sys/arch/macppc/compile/DEBUG
total memory = 65536 KB
avail memory = 54404 KB
timecounter: Timecounters tick every 10.000 msec
found ohare PIC at f3000000
bootpath: ata/ATA-Disk@0/netbsd
mainbus0 (root)
cpu0 at mainbus0: 603ev (Revision 2.1), ID 0 (primary)
cpu0: HID0 90c001<DOZE,DPM,ICE,DCE,NOPTI>, powersave: 1
cpu0: ohare L2 cache enabled
bandit0 at mainbus0
pci0 at bandit0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer Bandit Host-PCI Bridge (rev. 0x02)
tlp0 at pci0 dev 14 function 0: DECchip 21140A Ethernet, pass 2.0
genppc_pci_intr_map: pin: 1, line: 25
tlp0: interrupting at irq 25
tlp0: DEC DE500-AA, Ethernet address 00:00:f8:05:b8:66
nsphy0 at tlp0 phy 5: DP83840 10/100 media interface, rev. 0
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
obio0 at pci0 dev 16 function 0: addr 0xf3000000
mesh0 at obio0 offset 0x10000 irq 12: 50MHz, SCSI ID 7
scsibus0 at mesh0: 8 targets, 8 luns per target
zsc0 at obio0: irq 15,16
zstty0 at zsc0 channel 0 (console i/o)
zstty1 at zsc0 channel 1
awacs at obio0 offset 0x14000 not configured
swim3 at obio0 offset 0x15000 not configured
nvram0 at obio0 offset 0x60000
cuda0 at obio0 offset 0x16000 irq 18: 
nadb0 at cuda0: Apple Desktop Bus
iic at cuda0 not configured
wdc0 at obio0 offset 0x20000 irq property not found; using 13: DMA transfer
atabus0 at wdc0 channel 0
biomask 800007e netmask 800007e ttymask 800007e
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mftb" frequency 10000000 Hz quality 100
scsibus0: waiting 2 seconds for devices to settle...
adbkbd0 at nadb0 addr 2: extended keyboard
wskbd0 at adbkbd0 mux 1
wsmouse0 at adbkbd0 mux 0
cd0 at scsibus0 target 3 lun 0: <MATSHITA, CD-ROM CR-506, 8S05> cdrom removable
wd0 at atabus0 drive 0: <Maxtor 33073U4>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 29311 MB, 59554 cyl, 16 head, 63 sec, 512 bytes/sect x 60030432 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
conf[0] = 0x11823, cyc = 4 (120 ns), act = 3 (75 ns), inact = 1
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
raidattach: Asked for 8 units
Kernelized RAIDframe activated
Searching for RAID components...
boot device: wd0
root on wd0a dumps on wd0b
mountroot: trying lfs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
tlp0: transmit underrun; new threshold: 96/256 bytes
tlp0: transmit underrun; new threshold: 128/512 bytes

---
    2 users    Load  1.28  1.35  1.25                  Mon Dec 17 15:16:07

Proc:r  d  s  w     Csw    Trp    Sys   Int   Sof    Flt      PAGING   SWAPPING
     1     3        690    213          684   475     55      in  out   in  out
                                                        ops
  70.6% Sy   5.0% Us   0.0% Ni   4.0% In  20.4% Id    pages
|    |    |    |    |    |    |    |    |    |    |
===================================>>>%%                                  forks
                                                                          fkppw
           memory totals (in kB)            1326 Interrupts               fksvm
          real  virtual     free             100 cpu0 clock               pwait
Active   23760    23760      708             247 ohare irq 25             relck
All      53940    53940   132248                 ohare irq 12             rlkok
                                             833 ohare irq 15             noram
Namei         Sys-cache     Proc-cache           ohare irq 18             ndcpy
    Calls     hits    %     hits     %       146 ohare irq 13             fltcp
     2131     1811   85        6     0                                    zfod
                                                                          cow
Disks:   cd0   wd0   md0  nfs0  nfs1                                   64 fmin
 seeks                                                                 85 ftarg
 xfers         146                21                                      itarg
 bytes       1098K               17K                                  124 wired
 %busy        21.8               8.5                                      pdfre
                                                                          pdscn
---
Izumi Tsutsui



Home | Main Index | Thread Index | Old Index