public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Olivier Galibert <galibert@pobox.com>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: SCSI Mailing List <linux-scsi@vger.kernel.org>,
	"Hack inc." <linux-kernel@vger.kernel.org>
Subject: Re: Infinite interrupt loop, INTSTAT = 0
Date: Wed, 28 Sep 2005 18:07:44 +0200	[thread overview]
Message-ID: <20050928160744.GA37975@dspnet.fr.eu.org> (raw)
In-Reply-To: <1127919909.4852.7.camel@mulgrave>

On Wed, Sep 28, 2005 at 10:05:08AM -0500, James Bottomley wrote:
> What was it doing before this?  i.e. what were all the messages from the
> card.  The message happens when the aic driver is unable to clear its
> pending workqueue after it suspends ... which is part of error recovery.
> So, what error was it trying to recover from?

Good question.  Here is a complete dmesg starting at the mount
/dev/sdb1 /ritel1 which crashes the system eventually (I did a dmesg -c
just before doing the mount):

ReiserFS: sdb1: found reiserfs format "3.6" with standard journal
scsi1:0:0:0: Attempting to abort cmd ffff8101b1cdf880: 0x28 0x0 0x0 0xbc 0x0 0x3f 0x0 0x0 0x8 0x0
Infinite interrupt loop, INTSTAT = 0scsi1: At time of recovery, card was not paused
>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
scsi1: Dumping Card State at program address 0x5 Mode 0x33
Card was paused
HS_MAILBOX[0x0] INTCTL[0x80] SEQINTSTAT[0x0] SAVED_MODE[0x11] 
DFFSTAT[0x33] SCSISIGI[0x24] SCSIPHASE[0x0] SCSIBUS[0x0] 
LASTPHASE[0x1] SCSISEQ0[0x40] SCSISEQ1[0x12] SEQCTL0[0x0] 
SEQINTCTL[0x0] SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0] SSTAT0[0x10] 
SSTAT1[0x0] SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0xc0] 
SIMODE1[0xac] LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x80] 
LQOSTAT0[0x0] LQOSTAT1[0x0] LQOSTAT2[0x40] 

SCB Count = 4 CMDS_PENDING = 4 LASTSCB 0x1 CURRSCB 0x1 NEXTSCB 0xff00
qinstart = 146 qinfifonext = 146
QINFIFO:
WAITING_TID_QUEUES:
       0 ( 0x1 )
Pending list:
  1 FIFO_USE[0x0] SCB_CONTROL[0x60] SCB_SCSIID[0x7] 
  2 FIFO_USE[0x0] SCB_CONTROL[0x60] SCB_SCSIID[0x7] 
  3 FIFO_USE[0x0] SCB_CONTROL[0x60] SCB_SCSIID[0x7] 
  0 FIFO_USE[0x0] SCB_CONTROL[0x60] SCB_SCSIID[0x7] 
Total 4
Kernel Free SCB list: 
Sequencer Complete DMA-inprog list: 
Sequencer Complete list: 
Sequencer DMA-Up and Complete list: 

scsi1: FIFO0 Free, LONGJMP == 0x8252, SCB 0x1
SEQIMODE[0x3f] SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89] 
SG_CACHE_SHADOW[0x2] SG_STATE[0x0] DFFSXFRCTL[0x0] 
SOFFCNT[0x0] MDFFSTAT[0x5] SHADDR = 0x00, SHCNT = 0x0 
HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10] 
scsi1: FIFO1 Free, LONGJMP == 0x8063, SCB 0x3
SEQIMODE[0x3f] SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89] 
SG_CACHE_SHADOW[0x2] SG_STATE[0x0] DFFSXFRCTL[0x0] 
SOFFCNT[0x0] MDFFSTAT[0x5] SHADDR = 0x00, SHCNT = 0x0 
HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10] 
LQIN: 0x8 0x0 0x0 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 
scsi1: LQISTATE = 0x1, LQOSTATE = 0x1a, OPTIONMODE = 0x52
scsi1: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x0
SIMODE0[0xc] 
CCSCBCTL[0x4] 
scsi1: REG0 == 0x1, SINDEX = 0x102, DINDEX = 0x102
scsi1: SCBPTR == 0x1, SCB_NEXT == 0xff00, SCB_NEXT2 == 0xff04
CDB 28 0 0 c8 0 3f
STACK: 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
DevQ(0:0:0): 0 waiting
DevQ(0:0:1): 0 waiting
scsi1:0:0:0: Cmd aborted from QINFIFO

Abort on some timeout?

  OG.

  reply	other threads:[~2005-09-28 16:07 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-28 13:45 Infinite interrupt loop, INTSTAT = 0 Olivier Galibert
2005-09-28 15:05 ` James Bottomley
2005-09-28 16:07   ` Olivier Galibert [this message]
2005-09-28 16:24     ` James Bottomley
2005-09-28 16:42       ` Olivier Galibert
2005-09-28 17:10       ` Olivier Galibert
2005-09-28 17:13         ` Randy.Dunlap
2005-09-28 17:24         ` Arjan van de Ven
2005-09-28 17:51         ` James Bottomley
2005-09-28 18:33           ` Olivier Galibert
2005-10-01 14:03             ` James Bottomley
2005-10-03 13:42               ` Olivier Galibert
2005-10-03 16:15                 ` James Bottomley
2005-10-04  8:45                   ` Olivier Galibert
2005-10-04 13:23                     ` James Bottomley
2005-10-04 14:55                       ` Olivier Galibert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050928160744.GA37975@dspnet.fr.eu.org \
    --to=galibert@pobox.com \
    --cc=James.Bottomley@SteelEye.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox