Subject: Re: port-alpha/36628: cdhdtape image panics with memory management trap on Jensen
To: None <tsutsui@NetBSD.org, gnats-admin@netbsd.org,>
From: Christoph Franzen <ChristophFranzen@gmx.net>
List: netbsd-bugs
Date: 07/26/2007 17:55:02
The following reply was made to PR port-alpha/36628; it has been noted by GNATS.

From: "Christoph Franzen" <ChristophFranzen@gmx.net>
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Cc: gnats-bugs@NetBSD.org
Subject: Re: port-alpha/36628: cdhdtape image panics with memory management trap on Jensen
Date: Thu, 26 Jul 2007 19:54:06 +0200

 Hello,
 
 the ahb0 interrupt seems OK (the INTDEF and ECU values are both 12), 
 but it still hangs at "enabling interrupts", the "evcnt" number is 
 still large.
 
 -----------------------
 NetBSD 4.0_BETA2 (GENERIC) #6: Thu Jul 26 23:29:20 JST 2007
 	tsutsui@mirage:/r/work/src-4.0/src/sys/arch/alpha/compile/GENERIC
 DEC2000 model 300, 150MHz, s/n 
 8192 byte page size, 1 processor.
 total memory = 32768 KB
 (2048 KB reserved for PROM, 30720 KB used by NetBSD)
 avail memory = 20200 KB
 mainbus0 (root)
 cpu0 at mainbus0: ID 0 (primary), 21064-0
 jensenio0 at mainbus0
 pckbc0 at jensenio0 port 0x60
 pms0 at pckbc0 (aux slot)
 pckbc0: aux slot interrupting at vector 0x990
 wsmouse0 at pms0 mux 0
 com0 at jensenio0 port 0x3f8: ns8250 or ns16450, no fifo
 com0: console
 com0: interrupting at vector 0x900
 com1 at jensenio0 port 0x2f8: ns8250 or ns16450, no fifo
 com1: interrupting at vector 0x920
 lpt0 at jensenio0 port 0x3bc
 lpt0: interrupting at eisa irq 1
 mcclock0 at jensenio0 port 0x170: mc146818 or compatible
 eisa0 at jensenio0
 ahb0 at eisa0 slot 2: Adaptec AHA-1742A SCSI
 ahb0: INTDEF configured to use irq 12, ECU configured to use irq 12
 ahb0: interrupting at eisa irq 12
 scsibus0 at ahb0: 8 targets, 8 luns per target
 Compaq NetFlex-2 ENET-TR at eisa0 slot 3 not configured
 isa0 at jensenio0
 depca: address not found
 attimer0 at isa0 port 0x40-0x43: AT Timer
 we1 at isa0 port 0x300-0x31f iomem 0xcc000-0xcffff irq 10
 we1: WD8013EPC Ethernet (16-bit)
 we1: Ethernet address 00:00:c0:db:6c:2e
 vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
 wsdisplay0 at vga0 kbdmux 1
 wsmux1: connecting to wsdisplay0
 pcppi0 at isa0 port 0x61
 pcppi0: children must have an explicit unit
 midi0 at pcppi0: PC speaker (CPU-intensive output)
 spkr0 at pcppi0
 isabeep0 at pcppi0
 fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
 pcppi0: attached to attimer0
 enabling interrupts
 Stopped in pid 0.1 (swapper) at netbsd:cpu_Debugger+0x4:        ret   
   zero,(ra
 )
 db> trace
 cpu_Debugger() at netbsd:cpu_Debugger+0x4
 comintr() at netbsd:comintr+0x920
 com_jensenio_intr() at netbsd:com_jensenio_intr+0x24
 interrupt() at netbsd:interrupt+0x1f4
 XentInt() at netbsd:XentInt+0x1c
 --- interrupt (from ipl 0) ---
 spl0() at netbsd:spl0+0x30
 cpu_configure() at netbsd:cpu_configure+0x70
 configure() at netbsd:configure+0x44
 main() at netbsd:main+0x1bc
 locorestart() at netbsd:locorestart+0x64
 --- root of call graph ---
 db> show event
 evcnt type 0: uvmmap ukh_alloc = 2
 evcnt type 0: uvmmap uke_free = 10
 evcnt type 0: uvmmap uke_alloc = 65
 evcnt type 0: uvmmap mlk_hint = 1
 evcnt type 0: uvmmap mlk_call = 6
 evcnt type 0: uvmmap map_call = 60
 evcnt type 0: uvmmap knomerge = 12
 evcnt type 0: uvmmap kbackmerge = 48
 evcnt type 1: cpu0 device = 10602292
 evcnt type 1: eisa irq 12 = 10602291
 evcnt type 1: vector 0x900 = 1
 db> show uvmexp
 Current UVM status:
   pagesize=8192 (0x2000), pagemask=0x1fff, pageshift=13
   2547 VM pages: 0 active, 0 inactive, 0 wired, 2418 free
   pages  0 anon, 0 file, 0 exec
   freemin=0, free-target=0, wired-max=0
   faults=0, traps=1, intrs=10602292, ctxswitch=0
   softint=0, syscalls=0, swapins=0, swapouts=0
   fault counts:
     noram=0, noanon=0, pgwait=0, pgrele=0
     ok relocks(total)=0(0), anget(retrys)=0(0), amapcopy=0
     neighbor anon/obj pg=0/0, gets(lock/unlock)=0/0
     cases: anon=0, anoncow=0, obj=0, prcopy=0, przero=0
   daemon and swap counts:
     woke=0, revs=0, scans=0, obscans=0, anscans=0
     busy=0, freed=0, reactivate=0, deactivate=0
     pageouts=0, pending=0, nswget=0
     nswapdev=0, swpgavail=0
     swpages=0, swpginuse=0, swpgonly=0, paging=0
 db>
 -----------------------
 -- 
 Christoph