Port-sgimips archive

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

Re: O2 hangs on reboot and powerdown



On Sat, Jan 05, 2008 at 03:01:55PM +0900, Izumi Tsutsui wrote:
> macallan%NetBSD.org@localhost wrote:
> 
> > first I thought something's wrong with the hardware-based reboot and  
> > powerdown code for the O2 which I added a couple months ago but  
> > sprinkling a few printf()s showed that this code is never called on  
> > recent -current - it hangs somewhere after unmounting filesystems.
> > Before I dig deeper - is it just me or has anyone else seen this? If  
> > so - any ideas what's wrong?
> 
> I guess you may see further messages after more minutes.
> If so the problem is caused by pmf merge and there might
> be something wrong in scsipi or ahc(4) detach.

I've experiencing the same problem here. After waiting a little bit I
get the following messages:

# syncing disks... done
unmounting file systems... done
ahc0: board is not responding  
cmd fail                     
ahc0:SCB 0xb - timed out
>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
ahc0: Dumping Card State while idle, at SEQADDR 0x18       
Card was paused                                     
ACCUM = 0x0, SINDEX = 0x0, DINDEX = 0x0, ARG_2 = 0x0
HCNT = 0x0 SCBPTR = 0x0                             
SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0] LASTPHASE[0x1] 
SCSISEQ[0x0] SBLKCTL[0xc2] SCSIRATE[0x0] SEQCTL[0xb0] 
SEQ_FLAGS[0xc0] SSTAT0[0x0] SSTAT1[0x8] SSTAT2[0x0]   
SSTAT3[0x0] SIMODE0[0x0] SIMODE1[0x20] SXFRCTL0[0x0] 
DFCNTRL[0x0] DFSTATUS[0x29]                          
STACK: 0x0 0x0 0x0 0x17     
SCB count = 32         
Kernel NEXTQSCB = 10
Card NEXTQSCB = 0   
QINFIFO entries: 3 14 15 10 3 13 9 7 8 1 8 1 8 1 8 1 8 1 8 1 15 10 13
7 3 9 7 9
7 9 7 9 7 9 7 9 7 9 7 1 9 1 9 1 9 1 9 1 9 1 9 1 9 1 9 1 7 15 13 10 3 8
14 0 31 5
2 9 12 9 2 12 9 12 2 0 9 12 2 0 9 12 0 2 9 3 12 0 2 12 9 2 0 9 12 2 9
2 0 12 9
2 0 12 9 2 0 12 2 0 12 2 12 0 9 2 12 0 2 12 0 2 12 0 2 12 0 12 0 12 0
2 0 2 12 9
3 10 5 13 8 14 31 7 3 7 3 7 3 7 3 7 5 31 8 10 14 13 9 2 12 0 15 1 4 6
11 3 12 0
9 14 2 0 9 10 3 12 11 10 13 14 2 0 9 3 10 1 13 8 12 10 11 10 11 
Waiting Queue entries: 0:255 11:255 5:255 13:255 8:255 14:255 2:255
9:255 6:255
7:255 
Disconnected Queue entries: 0:255 11:255 5:255 13:255 8:255 14:255
2:255 9:255 6
:255 7:255 
QOUTFIFO entries: 
Sequencer Free SCB List: 0 11 5 13 8 14 2 9 6 7 
Sequencer SCB Info:                             
  0 SCB_CONTROL[0xe8] SCB_SCSIID[0x10] 
SCB_LUN[0x0] SCB_TAG[0xff]             
  1 SCB_CONTROL[0xe8] SCB_SCSIID[0x10] 
SCB_LUN[0x0] SCB_TAG[0xff]             
  2 SCB_CONTROL[0xe8] SCB_SCSIID[0x10] 
SCB_LUN[0x0] SCB_TAG[0xff]             
  3 SCB_CONTROL[0xe8] SCB_SCSIID[0x10] 
SCB_LUN[0x0] SCB_TAG[0xff]             
  4 SCB_CONTROL[0xe8] SCB_SCSIID[0x10] 
SCB_LUN[0x0] SCB_TAG[0xff]             
  5 SCB_CONTROL[0xe8] SCB_SCSIID[0x10] 
SCB_LUN[0x0] SCB_TAG[0xff]             
  6 SCB_CONTROL[0xe8] SCB_SCSIID[0x10] 
SCB_LUN[0x0] SCB_TAG[0xff]             
  7 SCB_CONTROL[0xe8] SCB_SCSIID[0x10] 
SCB_LUN[0x0] SCB_TAG[0xff]             
  8 SCB_CONTROL[0xe8] SCB_SCSIID[0x10] 
SCB_LUN[0x0] SCB_TAG[0xff]             
  9 SCB_CONTROL[0xe8] SCB_SCSIID[0x10] 
SCB_LUN[0x0] SCB_TAG[0xff]             
 10 SCB_CONTROL[0xe8] SCB_SCSIID[0x10] 
SCB_LUN[0x0] SCB_TAG[0xff]             
 11 SCB_CONTROL[0xe8] SCB_SCSIID[0x10] 
SCB_LUN[0x0] SCB_TAG[0xff]             
 12 SCB_CONTROL[0xe8] SCB_SCSIID[0x10] 
SCB_LUN[0x0] SCB_TAG[0xff]             
 13 SCB_CONTROL[0xe8] SCB_SCSIID[0x10] 
SCB_LUN[0x0] SCB_TAG[0xff]             
 14 SCB_CONTROL[0xe8] SCB_SCSIID[0x10] 
SCB_LUN[0x0] SCB_TAG[0xff]             
 15 SCB_CONTROL[0xe8] SCB_SCSIID[0x10] 
SCB_LUN[0x0] SCB_TAG[0xff]             
Pending list:              
 11 SCB_CONTROL[0x6a] SCB_SCSIID[0x10] 
SCB_LUN[0x0]                           
Kernel Free SCB list: 2 14 15 9 0 3 6 4 1 13 12 8 31 7 5 30 29 28 27
26 25 24 23
22 21 20 19 18 17 16 
                      
<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
qinpos = 0, SCB index = 3                                
panic: Loop 1            
             
Stopped in pid 2493.1 (reboot) at       0x8038deb4:     jr      ra
                bdslot: nop                                       
db> bt                     
0+8038deb4 (87fff000,bf390000,0,0) ra 0 sz 0
User-level: pid 2493.1                      
db>

The machine reboots fine from the debugger.

Regards,
Daniel

-- 
Daniel Sieger
Faculty of Technology
Bielefeld University
wwwhomes.uni-bielefeld.de/dsieger



Home | Main Index | Thread Index | Old Index