NetBSD-Bugs archive

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

Re: port-alpha/38335 (kernel freeze on alpha MP system)



The following reply was made to PR port-alpha/38335; it has been noted by GNATS.

From: Jarle Greipsland <jarle%uninett.no@localhost>
To: gnats-bugs%NetBSD.org@localhost, snj%NetBSD.org@localhost
Cc: port-alpha-maintainer%netbsd.org@localhost, 
netbsd-bugs%netbsd.org@localhost,
        gnats-admin%netbsd.org@localhost
Subject: Re: port-alpha/38335 (kernel freeze on alpha MP system)
Date: Fri, 05 Feb 2010 09:20:03 +0100 (CET)

 snj%NetBSD.org@localhost writes:
 > Synopsis: kernel freeze on alpha MP system
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: snj%NetBSD.org@localhost
 > State-Changed-When: Thu, 04 Feb 2010 02:41:25 +0000
 > State-Changed-Why:
 > Did the committed fix take care of the issue you're seeing?
 I don't think so.  I have been running with a LOCKDEBUG-kernel,
 and yesterday, while trying to do a 'build.sh release', it
 panicked.
 
 login: Mutex error: lockdebug_wantlock: locking against myself
 
 lock address : 0xfffffc0000882f68 type     :               spin
 initialized  : 0xfffffc00006735d8
 shared holds :                  0 exclusive:                  1
 shares wanted:                  0 exclusive:                  1
 current cpu  :                  0 last held:                  0
 current l  : 0xfffffc003fab2400 last held: 0xfffffc003fab2400
 last locked  : 0xfffffc0000674690 unlocked : 0xfffffc0000672478
 owner field  : 0x0000000000000400 wait/sn:                0/1
 
 panic: LOCKDEBUG
 Stopped in pid 0.35 (system) at netbsd:cpu_Debugger+0x4:        ret     
zero,(ra
 )
 db{0}> 
 db{0}> trace
 cpu_Debugger() at netbsd:cpu_Debugger+0x4
 panic() at netbsd:panic+0x278
 lockdebug_abort1() at netbsd:lockdebug_abort1+0x150
 mutex_enter() at netbsd:mutex_enter+0x38c
 pool_get() at netbsd:pool_get+0x58
 pool_cache_put_slow() at netbsd:pool_cache_put_slow+0x2b4
 pool_cache_put_paddr() at netbsd:pool_cache_put_paddr+0x1e0
 pmap_do_tlb_shootdown() at netbsd:pmap_do_tlb_shootdown+0x178
 alpha_ipi_process() at netbsd:alpha_ipi_process+0xb8
 interrupt() at netbsd:interrupt+0x88
 XentInt() at netbsd:XentInt+0x1c
 --- interrupt (from ipl 4) ---
 lockdebug_mem_check() at netbsd:lockdebug_mem_check+0x1b4
 pool_put() at netbsd:pool_put+0x7c
 pool_cache_invalidate_groups() at netbsd:pool_cache_invalidate_groups+0xf4
 pool_cache_invalidate() at netbsd:pool_cache_invalidate+0x8c
 pool_reclaim() at netbsd:pool_reclaim+0x68
 pool_drain_end() at netbsd:pool_drain_end+0x60
 uvm_pageout() at netbsd:uvm_pageout+0x880
 exception_return() at netbsd:exception_return
 --- root of call graph ---
 db{0}> ps
 PID    LID S CPU     FLAGS       STRUCT LWP *               NAME WAIT
 23711    1 3   1         0   fffffc003d13cc00   alpha--netbsd-in biowait
 28502    1 3   1        80   fffffc002abf4800                 sh wait
 26148    1 2   0         0   fffffc003fab2000                 sh
 25393    1 3   1         0   fffffc0013211c00   alpha--netbsd-in nodebug
 13042    1 3   1        80   fffffc002abf5c00                 sh wait
 13735    1 3   1         0   fffffc003d6a9c00   alpha--netbsd-in biowait
 8778     1 3   1        80   fffffc002c220400                 sh wait
 20723    1 3   1        80   fffffc0029f73c00             nbmake select
 3839     1 3   1        80   fffffc003ecbe400                 sh wait
 10654    1 3   1        80   fffffc0028789800             nbmake select
 27117    1 3   0     40080   fffffc002aff8400                 sh wait
 15901    1 3   1        80   fffffc0028788c00             nbmake select
 18873    1 3   1        80   fffffc003d13c800                 sh wait
 21384    1 3   0        80   fffffc003d6a8800             nbmake select
 18742    1 3   1        80   fffffc0029f73000                 sh wait
 4474     1 3   1        80   fffffc0028789400             nbmake select
 20634    1 3   0        80   fffffc001ba59400                 sh wait
 4601     1 3   1        80   fffffc0035c89c00             nbmake select
 18174    1 3   1        80   fffffc002ab44800                 sh wait
 23525    1 3   1        80   fffffc0035c89000             nbmake select
 16471    1 3   1        80   fffffc0029f72000                 sh wait
 18058    1 3   0        80   fffffc002aff9000             nbmake select
 1991     1 3   1        80   fffffc002aff8800                 sh wait
 3250     1 3   0        80   fffffc003fab2800             nbmake select
 1383     1 3   0        80   fffffc003d6a8000                 sh wait
 22718    1 3   0        80   fffffc0035c89800             nbmake select
 18050    1 3   1        80   fffffc003d533400                 sh wait
 22901    1 3   1        80   fffffc002aff9c00             nbmake select
 27793    1 3   0        80   fffffc001ba58c00             nbmake select
 2373     1 3   1        80   fffffc0035c88800                 sh wait
 26438    1 3   1        80   fffffc002aff9800                 sh wait
 11413    1 3   0        80   fffffc002abf4400             nbmake select
 11875    1 3   1        80   fffffc002c220c00             pickup kqueue
 4144     1 3   1        80   fffffc002c221800               bash ttyraw
 12438    1 3   1        80   fffffc003d13d400              xterm select
 5290     1 3   1        80   fffffc003d532800                csh pause
 1592     1 3   0        80   fffffc002c221c00               sshd select
 21396    1 3   1        80   fffffc001ba58400               sshd netio
 26068    1 3   0        80   fffffc0028788800                 sh wait
 18777    1 3   0        80   fffffc003d533c00             nbmake select
 24640    1 3   1        80   fffffc002ab45000                 sh wait
 13734    1 3   0        80   fffffc002c221400             nbmake select
 26943    1 3   0        80   fffffc003ecbe800                 sh wait
 3019     1 3   0        80   fffffc002abf4000             nbmake select
 18256    1 3   0        80   fffffc003d6a9800                 sh wait
 6532     1 3   0        80   fffffc003d532000             nbmake select
 23787    1 3   0        80   fffffc002abf5800                 sh wait
 20208    1 3   1        80   fffffc003d6a8c00               tcsh pause
 527      1 3   1        80   fffffc003fa09800              getty ttyraw
 515      1 3   0        80   fffffc003d533000               cron nanoslp
 508      1 3   1        80   fffffc003ecbec00          python2.5 select
 484      1 3   0        80   fffffc003f6fc000               qmgr kqueue
 443      1 3   1        80   fffffc003d533800              inetd kqueue
 478      1 3   1        80   fffffc003f6fc400             master kqueue
 300      1 3   1        80   fffffc003ecbf400               sshd select
 301      1 3   0        80   fffffc003ecbf800               ntpd pause
 183      1 3   0        80   fffffc003ecbfc00          mount_mfs mfsidl
 152      1 3   1        80   fffffc003f6fd000            syslogd kqueue
 1        1 3   1        80   fffffc003fa09400               init wait
 0       39 3   1       200   fffffc003f6fc800            physiod physiod
 0       38 3   1       200   fffffc003fa08000        vmem_rehash vmem_rehash
 0       37 3   1       200   fffffc003fa08400           aiodoned aiodoned
 0       36 3   0       200   fffffc003fa08800            ioflush syncer
 0    >  35 7   0       200   fffffc003fab2400           pgdaemon
 0       34 3   1       200   fffffc003fa09000          cryptoret crypto_wait
 0       33 3   1       200   fffffc003fa09c00          atapibus0 sccomp
 0       31 3   1       200   fffffc003fa08c00              unpgc unpgc
 0       22 3   0       200   fffffc003fab2c00            atabus1 atath
 0       21 3   1       200   fffffc003fab3000            atabus0 atath
 0       20 3   0       200   fffffc003fab3400           scsibus0 sccomp
 0       19 3   1       200   fffffc003fab3800            xcall/1 xcall
 0       18 1   1       200   fffffc003fab3c00          softser/1
 0       17 1   1       200   fffffc003fcea000          softclk/1
 0       16 1   1       200   fffffc003fcea400          softbio/1
 0       15 1   1       200   fffffc003fcea800          softnet/1
 0    >  14 7   1       201   fffffc003fceac00             idle/1
 0       13 3   1       200   fffffc003fceb000         pmfsuspend pmfsuspend
 0       12 3   0       200   fffffc003fceb400           pmfevent pmfevent
 0       11 3   1       200   fffffc003fceb800           nfssilly nfssilly
 0       10 3   1       200   fffffc003fcebc00            cachegc cachegc
 0        9 3   1       200   fffffc003fe18000              vrele vrele
 0        8 3   0       200   fffffc003fe18400          modunload modunload
 0        7 3   0       200   fffffc003fe18800            xcall/0 xcall
 0        6 1   0       200   fffffc003fe18c00          softser/0
 0        5 1   0       200   fffffc003fe19000          softclk/0
 0        4 1   0       200   fffffc003fe19400          softbio/0
 0        3 1   0       200   fffffc003fe19800          softnet/0
 0        2 1   0       201   fffffc003fe19c00             idle/0
 0        1 3   1       200   fffffc0000841580            swapper uvm
 db{0}> show reg
 v0          0xfffffc000083b980  cpu_info_primary
 t0          0x1
 t1          0x1
 t2          0xfffffc003ff48000
 t3          0xfffffc000084f201  kprintf_inited
 t4          0
 t5          0xfffffc00007e1fd2  sun_noname+0x286
 t6          0
 t7          0
 s0          0xfffffc00008503c4  msgbufenabled
 s1          0x104
 s2          0xfffffc000084e720  db_onpanic
 s3          0xfffffc00007e23e5  __func__.8678+0x2cc
 s4          0x1
 s5          0x5
 s6          0xfffffc003fa936c0
 a0          0
 a1          0xfffffc0000677ca4  kprintf_unlock+0x54
 a2          0
 a3          0x8
 a4          0x3
 a5          0xfffffc0000000008
 t8          0xfffffe0013041787
 t9          0x8
 t10         0x3a46e6e0
 t11         0x9
 ra          0xfffffc0000679328  panic+0x278
 t12         0xfffffc000047b0b0  cpu_Debugger
 at          0x17
 gp          0xfffffc000084e3d0  
__link_set_prop_linkpools_sym__link__prop_array_pool+0x8008
 sp          0xfffffe0013041870
 pc          0xfffffc000047b0b4  cpu_Debugger+0x4
 ps          0x6
 ai          0x9
 pv          0xfffffc000047b0b0  cpu_Debugger
 netbsd:cpu_Debugger+0x4:        ret     zero,(ra)
 db{0}> mach cpu 1
 Using CPU 1
 db{0}> trace
 db{0}> show reg
 v0          0xfffffe0000032000
 t0          0
 t1          0xfffffe0012fd2000
 t2          0xfffffe0012fd2000
 t3          0
 t4          0
 t5          0xfffffc003fceac60
 t6          0
 t7          0xfffffc00008aae18  vm_physmem
 s0          0xfffffc003fe20cc0
 s1          0
 s2          0xfffffe0000032000
 s3          0xfffffe0000032038
 s4          0xfffffc000078e3d0  config+0x437e
 s5          0xfffffc00007ae3d0  wildcard.5079+0xd88
 s6          0xfffffc00007ae3d0  wildcard.5079+0xd88
 a0          0xfffffc0000793f8c  config+0x9f3a
 a1          0xfffffc00007aee79  __func__.5392+0xe3
 a2          0x1dd
 a3          0xfffffc00007aee90  __func__.5392+0xfa
 a4          0
 a5          0
 t8          0xfffffc00008aae18  vm_physmem
 t9          0xfffffc00005835b4  calcru+0x204
 t10         0
 t11         0xa
 ra          0xfffffc0000585390  sched_curcpu_runnable_p+0x70
 t12         0xfffffc0000594950  kpreempt_enable
 at          0x1601b306c
 gp          0xfffffc000084e3d0  
__link_set_prop_linkpools_sym__link__prop_array_pool+0x8008
 sp          0xfffffc0000593ca0  kpreempt_disable+0x20
 pc          0xfffffc0000594950  kpreempt_enable
 ps          0
 ai          0xa
 pv          0xfffffc0000594950  kpreempt_enable
 netbsd:kpreempt_enable: ldah    gp,2c(pv)
 db{0}> c
 cpu1: shutting down...
 
 dumping to dev 8,1 offset 2097597
 dump i/o error
 
 
 sd0(esiop0:0:0:0): polling command not done
 panic: scsipi_execute_xs
 panic: alpha_send_ipi: CPU 1 not running
 panic: alpha_send_ipi: CPU 1 not running
 [ ... ]
 
                                        -jarle
 


Home | Main Index | Thread Index | Old Index