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/28/2007 21:10:06
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: Sat, 28 Jul 2007 23:09:43 +0200

 Hello.
 
 > Could you check if interrupts from we1 Ethernet work
 
 It reaches init, but hangs after complaining about the clock. The 
 Jensen's hardware clock is at 0x170 and has got an epoch value of 
 2000 (1900 on most other SRM machines and Ruffians, 1980 on most ARC 
 machines and Jensens with old Firmware).
 
 I don't find any reference to the IRQ 10 of the we1:
 
 md0: internal 4650 KB image area
 WARNING: can't figure what device matches "SCSI 1 2 0 0 500 0 JENS-
 IO"
 root on md0a dumps on md0b
 root file system type: ffs
 WARNING: clock gained 6 days -- CHECK AND RESET THE DATE!
 Stopped in pid 1.1 (init) at    netbsd:cpu_Debugger+0x4:        ret   
   zero,(ra
 )
 db> trace
 cpu_Debugger() at netbsd:cpu_Debugger+0x4
 comintr() at netbsd:comintr+0x138
 com_jensenio_intr() at netbsd:com_jensenio_intr+0x24
 interrupt() at netbsd:interrupt+0x230
 XentInt() at netbsd:XentInt+0x1c
 --- interrupt (from ipl 0) ---
 --- user mode ---
 db> ps /w
  PID          COMMAND     EMUL  PRI UTIME STIME WAIT-MSG    WAIT-
 CHANNEL
  6           aiodoned   netbsd    4   0.0   0.0 aiodoned    
 netbsd:uvm+0x2c
  5            ioflush   netbsd   40   0.0   0.0 syncer      
 netbsd:rushjob
  4         pagedaemon   netbsd    4   0.0   0.0 pgdaemon    
 netbsd:uvm+0x1c
  3          cryptoret   netbsd   36   0.0   0.0 crypto_wait 
 netbsd:crp_ret_q
  2               pms0   netbsd   32   0.0   0.0 pmsreset    
 0xfffffe0000071e74
 >1               init   netbsd   71  78.6   0.0
  0            swapper   netbsd    4   0.0   0.0 scheduler   
 netbsd:proc0
 db> show event
 evcnt type 0: FP proc use = 1
 evcnt type 0: uvmmap ukh_alloc = 3
 evcnt type 0: uvmmap uke_free = 13
 evcnt type 0: uvmmap uke_alloc = 90
 evcnt type 0: uvmmap mlk_hint = 84
 evcnt type 0: uvmmap mlk_call = 119
 evcnt type 0: uvmmap map_call = 130
 evcnt type 0: uvmmap knomerge = 57
 evcnt type 0: uvmmap kbackmerge = 65
 evcnt type 0: uvmmap unomerge = 8
 evcnt type 0: vmcmd kills = 1
 evcnt type 0: vmcmd calls = 6
 evcnt type 1: soft net = 1
 evcnt type 1: cpu0 clock = 79654
 evcnt type 1: cpu0 device = 2
 evcnt type 1: eisa irq 6 = 1
 evcnt type 1: vector 0x900 = 1
 db> show uvmexp
 Current UVM status:
   pagesize=8192 (0x2000), pagemask=0x1fff, pageshift=13
   2099 VM pages: 43 active, 0 inactive, 12 wired, 1835 free
   pages  18 anon, 0 file, 37 exec
   freemin=32, free-target=42, wired-max=699
   faults=59, traps=52, intrs=79656, ctxswitch=964
   softint=878, syscalls=24, swapins=0, swapouts=0
   fault counts:
     noram=0, noanon=0, pgwait=0, pgrele=0
     ok relocks(total)=35(35), anget(retrys)=1(0), amapcopy=2
     neighbor anon/obj pg=0/0, gets(lock/unlock)=50/35
     cases: anon=1, anoncow=0, obj=50, prcopy=0, przero=6
   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>