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: mhitch%lightning.msu.montana.edu@localhost
Cc: gnats-bugs%NetBSD.org@localhost, dholland%NetBSD.org@localhost
Subject: Re: port-alpha/38335 (kernel freeze on alpha MP system)
Date: Thu, 01 Oct 2009 13:34:50 +0200 (CEST)

 "Michael L. Hitch" <mhitch%lightning.msu.montana.edu@localhost> writes:
 >    This was a CS20, according to the original PR?  If so, you can get
 > into DDB using the halt switch [it's hidden in a small hole in the front
 > panel to the right].  After the machine is halted, you can enter
 > 'continue', which will enter into a console trap.  The halt should
 > show the PC of cpu 0 at the time of the halt, and I think that address
 > should be related to the backtrace of cpu 0.
 
 Annotated console log:
 [ I pressed the halt switch here ]
 halted CPU 0
 CPU 1 is not halted
 
 halt code = 1
 operator initiated halt
 PC = fffffc0000736b08
 P00>>>continue^U
 P00>>>help
 [ ... some help text here ... ]
 P00>>>halt 1
 P00>>>continue 
 
 continuing CPU 0
 CP - RESTORE_TERM routine to be called
 panic: user requested console halt
 cpu0: Begin traceback...
 alpha trace requires known PC =eject=
 cpu0: End traceback...
 WARNING: Unable to halt secondary CPUs (0x3)
 
 dumping to dev 8,1 offset 2097597
 dump i/o error
 
 
 sd0(esiop0:0:0:0): polling command not done
 panic: scsipi_execute_xs
 cpu0: Begin traceback...
 alpha trace requires known PC =eject=
 cpu0: End traceback...
 WARNING: Unable to halt secondary CPUs (0x3)
 
 dumping to dev 8,1 offset 2097597
 dump device not ready
 
 
 rebooting...
 
 CP - RESTORE_TERM exited with hlt_req = 3, r0 = 00000001.00000000
 
 halted CPU 0
 
 halt code = 0
 PC = fffffc0000736b08
 P00>>>cont
 Slot context is not valid
 P00>>>boot^U
 P00>>>init
 Initializing...
 .
 !1024 Meg of system memory
 initializing GCT/FRU at 1d4000
 Testing the System
 Testing the Memory
 Testing the Disks (read only)
 Testing ei* devices.
 
 API CS20D 833 MHz Console A5.8-81, 08-MAY-2001 00:09:13
 
 [ .. end of console log .. ]
 This seems less helpful than I had imagined; oh well.  I hope you
 can make some kind of sense out of it.  According to gdb, the PC
 is somewhere in pmap_do_tlb_shootdown (offset +296 in the listing
 below):
 
 (gdb) x/60i pmap_do_tlb_shootdown
 0xfffffc00007369e0 <pmap_do_tlb_shootdown>:     ldah    gp,80(t12)
 0xfffffc00007369e4 <pmap_do_tlb_shootdown+4>:   lda     gp,-31544(gp)
 0xfffffc00007369e8 <pmap_do_tlb_shootdown+8>:   lda     sp,-64(sp)
 0xfffffc00007369ec <pmap_do_tlb_shootdown+12>:  stq     ra,0(sp)
 0xfffffc00007369f0 <pmap_do_tlb_shootdown+16>:  stq     s0,8(sp)
 0xfffffc00007369f4 <pmap_do_tlb_shootdown+20>:  stq     s1,16(sp)
 0xfffffc00007369f8 <pmap_do_tlb_shootdown+24>:  stq     s2,24(sp)
 0xfffffc00007369fc <pmap_do_tlb_shootdown+28>:  stq     s3,32(sp)
 0xfffffc0000736a00 <pmap_do_tlb_shootdown+32>:  lda     t0,48(sp)
 0xfffffc0000736a04 <pmap_do_tlb_shootdown+36>:  ldq     s1,456(a0)
 0xfffffc0000736a08 <pmap_do_tlb_shootdown+40>:  stq     t0,56(sp)
 0xfffffc0000736a0c <pmap_do_tlb_shootdown+44>:  ldah    t0,4(gp)
 0xfffffc0000736a10 <pmap_do_tlb_shootdown+48>:  lda     t0,-25256(t0)
 0xfffffc0000736a14 <pmap_do_tlb_shootdown+52>:  ldq     t12,14240(gp)
 0xfffffc0000736a18 <pmap_do_tlb_shootdown+56>:  sll     s1,0x6,t2
 0xfffffc0000736a1c <pmap_do_tlb_shootdown+60>:  stq     zero,48(sp)
 0xfffffc0000736a20 <pmap_do_tlb_shootdown+64>:  lda     t1,1
 0xfffffc0000736a24 <pmap_do_tlb_shootdown+68>:  addq    t2,t0,s0
 0xfffffc0000736a28 <pmap_do_tlb_shootdown+72>:  lda     s3,16(s0)
 0xfffffc0000736a2c <pmap_do_tlb_shootdown+76>:  sll     t1,s1,s2
 0xfffffc0000736a30 <pmap_do_tlb_shootdown+80>:  mov     s3,a0
 0xfffffc0000736a34 <pmap_do_tlb_shootdown+84>:  jsr     
ra,(t12),0xfffffc0000735b80 <pmap_do_reactivate+96>
 0xfffffc0000736a38 <pmap_do_tlb_shootdown+88>:  ldah    gp,80(ra)
 0xfffffc0000736a3c <pmap_do_tlb_shootdown+92>:  lda     gp,-31632(gp)
 0xfffffc0000736a40 <pmap_do_tlb_shootdown+96>:  ldq     t1,0(s0)
 0xfffffc0000736a44 <pmap_do_tlb_shootdown+100>: beq     t1,0xfffffc0000736a6c 
<pmap_do_tlb_shootdown+140>
 0xfffffc0000736a48 <pmap_do_tlb_shootdown+104>: ldq     t0,56(sp)
 0xfffffc0000736a4c <pmap_do_tlb_shootdown+108>: stq     t1,0(t0)
 0xfffffc0000736a50 <pmap_do_tlb_shootdown+112>: ldq     t0,56(sp)
 0xfffffc0000736a54 <pmap_do_tlb_shootdown+116>: ldq     t1,0(s0)
 0xfffffc0000736a58 <pmap_do_tlb_shootdown+120>: stq     t0,8(t1)
 0xfffffc0000736a5c <pmap_do_tlb_shootdown+124>: ldq     t2,8(s0)
 0xfffffc0000736a60 <pmap_do_tlb_shootdown+128>: stq     zero,0(s0)
 0xfffffc0000736a64 <pmap_do_tlb_shootdown+132>: stq     s0,8(s0)
 0xfffffc0000736a68 <pmap_do_tlb_shootdown+136>: stq     t2,56(sp)
 0xfffffc0000736a6c <pmap_do_tlb_shootdown+140>: ldl     t0,40(s0)
 0xfffffc0000736a70 <pmap_do_tlb_shootdown+144>: beq     t0,0xfffffc0000736a9c 
<pmap_do_tlb_shootdown+188>
 0xfffffc0000736a74 <pmap_do_tlb_shootdown+148>: ldl     t0,32(s0)
 0xfffffc0000736a78 <pmap_do_tlb_shootdown+152>: and     t0,0x10,t0
 0xfffffc0000736a7c <pmap_do_tlb_shootdown+156>: sextl   t0,t0
 0xfffffc0000736a80 <pmap_do_tlb_shootdown+160>: beq     t0,0xfffffc0000736b84 
<pmap_do_tlb_shootdown+420>
 0xfffffc0000736a84 <pmap_do_tlb_shootdown+164>: lda     a0,-2
 0xfffffc0000736a88 <pmap_do_tlb_shootdown+168>: clr     a1
 0xfffffc0000736a8c <pmap_do_tlb_shootdown+172>: call_pal        0x33
 0xfffffc0000736a90 <pmap_do_tlb_shootdown+176>: stl     zero,40(s0)
 0xfffffc0000736a94 <pmap_do_tlb_shootdown+180>: stl     zero,32(s0)
 0xfffffc0000736a98 <pmap_do_tlb_shootdown+184>: br      0xfffffc0000736b14 
<pmap_do_tlb_shootdown+308>
 0xfffffc0000736a9c <pmap_do_tlb_shootdown+188>: ldq     t3,48(sp)
 0xfffffc0000736aa0 <pmap_do_tlb_shootdown+192>: beq     t3,0xfffffc0000736b10 
<pmap_do_tlb_shootdown+304>
 0xfffffc0000736aa4 <pmap_do_tlb_shootdown+196>: sll     s1,0x4,t2
 0xfffffc0000736aa8 <pmap_do_tlb_shootdown+200>: ldah    t0,4(gp)
 0xfffffc0000736aac <pmap_do_tlb_shootdown+204>: lda     t0,-30440(t0)
 0xfffffc0000736ab0 <pmap_do_tlb_shootdown+208>: addq    t2,t0,t5
 0xfffffc0000736ab4 <pmap_do_tlb_shootdown+212>: br      0xfffffc0000736af0 
<pmap_do_tlb_shootdown+272>
 0xfffffc0000736ab8 <pmap_do_tlb_shootdown+216>: nop     
 0xfffffc0000736abc <pmap_do_tlb_shootdown+220>: unop    
 0xfffffc0000736ac0 <pmap_do_tlb_shootdown+224>: ldq     t1,24(t3)
 0xfffffc0000736ac4 <pmap_do_tlb_shootdown+228>: addq    t2,t1,t4
 0xfffffc0000736ac8 <pmap_do_tlb_shootdown+232>: ldq     t0,64(t1)
 0xfffffc0000736acc <pmap_do_tlb_shootdown+236>: and     s2,t0,t0
 (gdb) x/80i pmap_do_tlb_shootdown
 0xfffffc00007369e0 <pmap_do_tlb_shootdown>:     ldah    gp,80(t12)
 0xfffffc00007369e4 <pmap_do_tlb_shootdown+4>:   lda     gp,-31544(gp)
 0xfffffc00007369e8 <pmap_do_tlb_shootdown+8>:   lda     sp,-64(sp)
 0xfffffc00007369ec <pmap_do_tlb_shootdown+12>:  stq     ra,0(sp)
 0xfffffc00007369f0 <pmap_do_tlb_shootdown+16>:  stq     s0,8(sp)
 0xfffffc00007369f4 <pmap_do_tlb_shootdown+20>:  stq     s1,16(sp)
 0xfffffc00007369f8 <pmap_do_tlb_shootdown+24>:  stq     s2,24(sp)
 0xfffffc00007369fc <pmap_do_tlb_shootdown+28>:  stq     s3,32(sp)
 0xfffffc0000736a00 <pmap_do_tlb_shootdown+32>:  lda     t0,48(sp)
 0xfffffc0000736a04 <pmap_do_tlb_shootdown+36>:  ldq     s1,456(a0)
 0xfffffc0000736a08 <pmap_do_tlb_shootdown+40>:  stq     t0,56(sp)
 0xfffffc0000736a0c <pmap_do_tlb_shootdown+44>:  ldah    t0,4(gp)
 0xfffffc0000736a10 <pmap_do_tlb_shootdown+48>:  lda     t0,-25256(t0)
 0xfffffc0000736a14 <pmap_do_tlb_shootdown+52>:  ldq     t12,14240(gp)
 0xfffffc0000736a18 <pmap_do_tlb_shootdown+56>:  sll     s1,0x6,t2
 0xfffffc0000736a1c <pmap_do_tlb_shootdown+60>:  stq     zero,48(sp)
 0xfffffc0000736a20 <pmap_do_tlb_shootdown+64>:  lda     t1,1
 0xfffffc0000736a24 <pmap_do_tlb_shootdown+68>:  addq    t2,t0,s0
 0xfffffc0000736a28 <pmap_do_tlb_shootdown+72>:  lda     s3,16(s0)
 0xfffffc0000736a2c <pmap_do_tlb_shootdown+76>:  sll     t1,s1,s2
 0xfffffc0000736a30 <pmap_do_tlb_shootdown+80>:  mov     s3,a0
 0xfffffc0000736a34 <pmap_do_tlb_shootdown+84>:  jsr     
ra,(t12),0xfffffc0000735b80 <pmap_do_reactivate+96>
 0xfffffc0000736a38 <pmap_do_tlb_shootdown+88>:  ldah    gp,80(ra)
 0xfffffc0000736a3c <pmap_do_tlb_shootdown+92>:  lda     gp,-31632(gp)
 0xfffffc0000736a40 <pmap_do_tlb_shootdown+96>:  ldq     t1,0(s0)
 0xfffffc0000736a44 <pmap_do_tlb_shootdown+100>: beq     t1,0xfffffc0000736a6c 
<pmap_do_tlb_shootdown+140>
 0xfffffc0000736a48 <pmap_do_tlb_shootdown+104>: ldq     t0,56(sp)
 0xfffffc0000736a4c <pmap_do_tlb_shootdown+108>: stq     t1,0(t0)
 0xfffffc0000736a50 <pmap_do_tlb_shootdown+112>: ldq     t0,56(sp)
 0xfffffc0000736a54 <pmap_do_tlb_shootdown+116>: ldq     t1,0(s0)
 0xfffffc0000736a58 <pmap_do_tlb_shootdown+120>: stq     t0,8(t1)
 0xfffffc0000736a5c <pmap_do_tlb_shootdown+124>: ldq     t2,8(s0)
 0xfffffc0000736a60 <pmap_do_tlb_shootdown+128>: stq     zero,0(s0)
 0xfffffc0000736a64 <pmap_do_tlb_shootdown+132>: stq     s0,8(s0)
 0xfffffc0000736a68 <pmap_do_tlb_shootdown+136>: stq     t2,56(sp)
 0xfffffc0000736a6c <pmap_do_tlb_shootdown+140>: ldl     t0,40(s0)
 0xfffffc0000736a70 <pmap_do_tlb_shootdown+144>: beq     t0,0xfffffc0000736a9c 
<pmap_do_tlb_shootdown+188>
 0xfffffc0000736a74 <pmap_do_tlb_shootdown+148>: ldl     t0,32(s0)
 0xfffffc0000736a78 <pmap_do_tlb_shootdown+152>: and     t0,0x10,t0
 0xfffffc0000736a7c <pmap_do_tlb_shootdown+156>: sextl   t0,t0
 0xfffffc0000736a80 <pmap_do_tlb_shootdown+160>: beq     t0,0xfffffc0000736b84 
<pmap_do_tlb_shootdown+420>
 0xfffffc0000736a84 <pmap_do_tlb_shootdown+164>: lda     a0,-2
 0xfffffc0000736a88 <pmap_do_tlb_shootdown+168>: clr     a1
 0xfffffc0000736a8c <pmap_do_tlb_shootdown+172>: call_pal        0x33
 0xfffffc0000736a90 <pmap_do_tlb_shootdown+176>: stl     zero,40(s0)
 0xfffffc0000736a94 <pmap_do_tlb_shootdown+180>: stl     zero,32(s0)
 0xfffffc0000736a98 <pmap_do_tlb_shootdown+184>: br      0xfffffc0000736b14 
<pmap_do_tlb_shootdown+308>
 0xfffffc0000736a9c <pmap_do_tlb_shootdown+188>: ldq     t3,48(sp)
 0xfffffc0000736aa0 <pmap_do_tlb_shootdown+192>: beq     t3,0xfffffc0000736b10 
<pmap_do_tlb_shootdown+304>
 0xfffffc0000736aa4 <pmap_do_tlb_shootdown+196>: sll     s1,0x4,t2
 0xfffffc0000736aa8 <pmap_do_tlb_shootdown+200>: ldah    t0,4(gp)
 0xfffffc0000736aac <pmap_do_tlb_shootdown+204>: lda     t0,-30440(t0)
 0xfffffc0000736ab0 <pmap_do_tlb_shootdown+208>: addq    t2,t0,t5
 0xfffffc0000736ab4 <pmap_do_tlb_shootdown+212>: br      0xfffffc0000736af0 
<pmap_do_tlb_shootdown+272>
 0xfffffc0000736ab8 <pmap_do_tlb_shootdown+216>: nop     
 0xfffffc0000736abc <pmap_do_tlb_shootdown+220>: unop    
 0xfffffc0000736ac0 <pmap_do_tlb_shootdown+224>: ldq     t1,24(t3)
 0xfffffc0000736ac4 <pmap_do_tlb_shootdown+228>: addq    t2,t1,t4
 0xfffffc0000736ac8 <pmap_do_tlb_shootdown+232>: ldq     t0,64(t1)
 0xfffffc0000736acc <pmap_do_tlb_shootdown+236>: and     s2,t0,t0
 0xfffffc0000736ad0 <pmap_do_tlb_shootdown+240>: bne     t0,0xfffffc0000736b00 
<pmap_do_tlb_shootdown+288>
 0xfffffc0000736ad4 <pmap_do_tlb_shootdown+244>: ldq     t0,88(t4)
 0xfffffc0000736ad8 <pmap_do_tlb_shootdown+248>: ldq     t1,8(t5)
 0xfffffc0000736adc <pmap_do_tlb_shootdown+252>: cmpeq   t0,t1,t0
 0xfffffc0000736ae0 <pmap_do_tlb_shootdown+256>: bne     t0,0xfffffc0000736b94 
<pmap_do_tlb_shootdown+436>
 0xfffffc0000736ae4 <pmap_do_tlb_shootdown+260>: ldq     t3,0(t3)
 0xfffffc0000736ae8 <pmap_do_tlb_shootdown+264>: beq     t3,0xfffffc0000736b10 
<pmap_do_tlb_shootdown+304>
 0xfffffc0000736aec <pmap_do_tlb_shootdown+268>: unop    
 0xfffffc0000736af0 <pmap_do_tlb_shootdown+272>: lda     a0,3
 0xfffffc0000736af4 <pmap_do_tlb_shootdown+276>: ldq     t0,32(t3)
 0xfffffc0000736af8 <pmap_do_tlb_shootdown+280>: and     t0,0x10,t0
 0xfffffc0000736afc <pmap_do_tlb_shootdown+284>: beq     t0,0xfffffc0000736ac0 
<pmap_do_tlb_shootdown+224>
 0xfffffc0000736b00 <pmap_do_tlb_shootdown+288>: ldq     a1,16(t3)
 0xfffffc0000736b04 <pmap_do_tlb_shootdown+292>: call_pal        0x33
 0xfffffc0000736b08 <pmap_do_tlb_shootdown+296>: ldq     t3,0(t3)
 0xfffffc0000736b0c <pmap_do_tlb_shootdown+300>: bne     t3,0xfffffc0000736af0 
<pmap_do_tlb_shootdown+272>
 0xfffffc0000736b10 <pmap_do_tlb_shootdown+304>: stl     zero,32(s0)
 0xfffffc0000736b14 <pmap_do_tlb_shootdown+308>: mov     s3,a0
 0xfffffc0000736b18 <pmap_do_tlb_shootdown+312>: ldq     t12,-29928(gp)
 0xfffffc0000736b1c <pmap_do_tlb_shootdown+316>: stl     zero,36(s0)
 
                                        -jarle
 


Home | Main Index | Thread Index | Old Index