"unexpected busfree while idle" on FreeBSD 5.4 RELEASE-p7 with AIC-7899

Fedder Skovgaard fedder at skovgaard.dk
Thu Jun 22 04:48:30 UTC 2006


Hi Everybody,

I posted this to the freebsd-scsi list a week ago but no-one has
replied, why I take the liberty of posting it here as well.

Sorry for bothering you, but if you have the time, I'd really appreciate
your comments on the following problem:

I've got a P3 system with an onboard Adaptec AIC-7899 SCSI Controller.

The system came with a "QUANTUM  ATLAS10K3_18_WLS Version: 020W" disk,
to which I've added two "SEAGATE  SX1181677LCV     Version: C00C" disks
to the same cable (using 80->68 pins converters).

The two Seagate disks run in a gmirror.

Disk activity seems to lock in periods with the above mentioned error
shown in the system log. The interval of these lock-ups seem to be
closely related to the amount of disk activity in the system.

I can see that you, at least intended, to look at a seemingly similar
problem last january, ref:
http://lists.freebsd.org/pipermail/freebsd-scsi/2005-January/001662.html

Where a user downgraded a driver. Is there a fix available for it now,
if I i.e. upgrade to 6.1-RELEASE?

Thanks in advance for any suggestions.

/Fedder

Here's an excerpt from the system log during one of those lock-ups.

Jun 13 23:14:10 FreeBSD kernel: ahc0: Unexpected busfree while idle
Jun 13 23:14:10 FreeBSD kernel: SEQADDR == 0x30
Jun 13 23:14:26 FreeBSD kernel: ahc0: Recovery Initiated
Jun 13 23:14:26 FreeBSD kernel: >>>>>>>>>>>>>>>>>> Dump Card State
Begins <<<<<<<<<<<<<<<<<
Jun 13 23:14:26 FreeBSD kernel: ahc0: Dumping Card State while idle, at
SEQADDR 0x8
Jun 13 23:14:26 FreeBSD kernel: Card was paused
Jun 13 23:14:26 FreeBSD kernel: ACCUM = 0x0, SINDEX = 0x64, DINDEX =
0xe4, ARG_2 = 0x0
Jun 13 23:14:26 FreeBSD kernel: HCNT = 0x0 SCBPTR = 0x1b
Jun 13 23:14:26 FreeBSD kernel: SCSIPHASE[0x0] SCSISIGI[0x0] ERROR[0x0]
SCSIBUSL[0x0]
Jun 13 23:14:26 FreeBSD kernel: LASTPHASE[0x1]:(P_BUSFREE)
SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI)
Jun 13 23:14:26 FreeBSD kernel: SBLKCTL[0x6]:(SELWIDE|ENAB20)
SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE)
Jun 13 23:14:26 FreeBSD kernel:
SEQ_FLAGS[0xc0]:(NO_CDB_SENT|NOT_IDENTIFIED) SSTAT0[0x0]
Jun 13 23:14:26 FreeBSD kernel: SSTAT1[0x0] SSTAT2[0x0] SSTAT3[0x0]
SIMODE0[0x8]:(ENSWRAP)
Jun 13 23:14:26 FreeBSD kernel:
SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) SXFRCTL0[0x80]:(DFON)
Jun 13 23:14:26 FreeBSD kernel: DFCNTRL[0x0]
DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)
Jun 13 23:14:26 FreeBSD kernel: STACK: 0xe2 0x164 0x10a 0x3
Jun 13 23:14:26 FreeBSD kernel: SCB count = 160
Jun 13 23:14:26 FreeBSD kernel: Kernel NEXTQSCB = 54
Jun 13 23:14:26 FreeBSD kernel: Card NEXTQSCB = 54
Jun 13 23:14:26 FreeBSD kernel: QINFIFO entries:
Jun 13 23:14:26 FreeBSD kernel: Waiting Queue entries:
Jun 13 23:14:26 FreeBSD kernel: Disconnected Queue entries:
Jun 13 23:14:26 FreeBSD kernel: QOUTFIFO entries:
Jun 13 23:14:26 FreeBSD kernel: Sequencer Free SCB List: 27 10 13 1 17
28 23 16 12 18 4 2 6 0 15 31 5 20 7 30 25 19 24 29 11 3 22
Jun 13 23:14:26 FreeBSD kernel: Sequencer SCB Info:
Jun 13 23:14:26 FreeBSD kernel: 0
SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x67]
Jun 13 23:14:26 FreeBSD kernel: SCB_LUN[0x0] SCB_TAG[0xff]
Jun 13 23:14:26 FreeBSD kernel: 1
...

Jun 13 23:14:26 FreeBSD kernel: <<<<<<<<<<<<<<<<< Dump Card State Ends
  >>>>>>>>>>>>>>>>>>
Jun 13 23:14:26 FreeBSD kernel: (da0:ahc0:0:6:0): SCB 0x7 - timed out
Jun 13 23:14:26 FreeBSD kernel: sg[0] - Addr 0x19a93000 : Length 4096
Jun 13 23:14:26 FreeBSD kernel: (da0:ahc0:0:6:0): Queuing a BDR SCB
Jun 13 23:14:26 FreeBSD kernel: Infinite interrupt loop, INTSTAT =
0ahc0: Timedout SCBs already complete. Interrupts may not be functioning.




More information about the freebsd-questions mailing list