Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2007 11:40:26 GMT
From:      Meyer<eng@prowip.net.br>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/110849: Tyan U320 onboard (ahd) problem with more than 3 disks
Message-ID:  <200703261140.l2QBeQeN013630@www.freebsd.org>
Resent-Message-ID: <200703261150.l2QBo6tp059009@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         110849
>Category:       kern
>Synopsis:       Tyan U320 onboard (ahd) problem with more than 3 disks
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 26 11:50:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Meyer
>Release:        6.2-Releng6 amd64
>Organization:
Prowip
>Environment:
FreeBSD gw.prowip.net.br 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu Mar 15 19:51:11 BRT 2007     m@gw.prowip.net.br:/usr/obj/usr/src/sys/wco  amd64

>Description:
I get a SCSI error when more than 2 disks are attached to the same bus

one or two disks do not produce the erro

I get the same error on Tyan MBs with Adaptec U320 onboard, in this case
the K8SD-Pro and K8SR. Both MBs are with the latest BIOS version, at least the 
one I found on your website

I boot wiht RH-FC6 and no problem

Tyan's support argues that it is a driver problem

Appearently, after boot, the system works and all disks are usable but I still have no load and I only tested with dd-ing some large files without problem

I changed cables and disks to be sure there is no issue with any of them.

M


Waiting 10 seconds for SCSI devices to settle
ahd0: Invalid Sequencer interrupt occurred.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
 ahd0: Dumping Card State at program address 0x23c Mode 0x0
 Card was paused
 INTSTAT[0x0] SELOID[0x2] SELID[0x10] HS_MAILBOX[0x0]
 INTCTL[0x80] SEQINTSTAT[0x0] SAVED_MODE[0x11] DFFSTAT[0x33]
 SCSISIGI[0x0] SCSIPHASE[0x0] SCSIBUS[0x0] LASTPHASE[0x1]
 SCSISEQ0[0x0] SCSISEQ1[0x12] SEQCTL0[0x0] SEQINTCTL[0x6]
 SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0] QFREEZE_COUNT[0x3]
 KERNEL_QFREEZE_COUNT[0x3] MK_MESSAGE_SCB[0xff00] MK_MESSAGE_SCSIID[0xff]
 SSTAT0[0x0] SSTAT1[0x0] SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0]
 SIMODE1[0xa4] LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x0]
 LQOSTAT0[0x0] LQOSTAT1[0x0] LQOSTAT2[0x0]
 
 SCB Count = 16 CMDS_PENDING = 0 LASTSCB 0xffff CURRSCB 0xd NEXTSCB 0xff00
 qinstart = 36 qinfifonext = 37
 QINFIFO: 0xf
 WAITING_TID_QUEUES:
 Pending list:
  15 FIFO_USE[0x0] SCB_CONTROL[0x48] SCB_SCSIID[0x7]
 Total 1
 Kernel Free SCB list: 14 13 1 2 3 4 5 6 7 8 9 10 11 12 0
 Sequencer Complete DMA-inprog list:
 Sequencer Complete list:
 Sequencer DMA-Up and Complete list:
 Sequencer On QFreeze and Complete list:
 
 
 ahd0: FIFO0 Free, LONGJMP == 0x8000, SCB 0xe
 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]
 
 ahd0: FIFO1 Free, LONGJMP == 0x8063, SCB 0xd
 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 0xe 0x0 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
 0x0 
 0x0 0x0
 ahd0: LQISTATE = 0x0, LQOSTATE = 0x0, OPTIONMODE = 0x42
 ahd0: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x1
 ahd0: SAVED_SCSIID = 0x0 SAVED_LUN = 0x0
 SIMODE0[0xc]
 CCSCBCTL[0x0]
 ahd0: REG0 == 0x7ffd, SINDEX = 0x10e, DINDEX = 0x106
 ahd0: SCBPTR == 0xe, SCB_NEXT == 0xff00, SCB_NEXT2 == 0xd
 CDB 12 20 0 80 8 25
 STACK: 0x237 0x2 0x0 0x0 0x0 0x0 0x0 0x0
 <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
 SMP: AP CPU #2 Launched!
 SMP: AP CPU #3 Launched!
 SMP: AP CPU #1 Launched!
 Copied 18 bytes of sense data offset 12: 0x70 0x0 0x6 0x0 0x0 0x0 0x0 0xa
 0x0 
 0x0 0x0 0x0 0x29 0x2 0x0 0x0 0x0 0x0
 Copied 18 bytes of sense data offset 12: 0x70 0x0 0x6 0x0 0x0 0x0 0x0 0xa
 0x0 
 0x0 0x0 0x0 0x29 0x2 0x2 0x0 0x0 0x0
 Copied 18 bytes of sense data offset 12: 0x70 0x0 0x6 0x0 0x0 0x0 0x0 0xa
 0x0 
 0x0 0x0 0x0 0x29 0x2 0x2 0x0 0x0 0x0
 da0 at ahd0 bus 0 target 0 lun 0
 da0: <MAXTOR ATLAS15K2_36WLS JNZH> Fixed Direct Access SCSI-3 device
 da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing 
 Enabled
 da0: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C)
 da1 at ahd0 bus 0 target 1 lun 0
 da1: <SEAGATE ST373207LW 0005> Fixed Direct Access SCSI-3 device
 da1: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing 
 Enabled
 da1: 70007MB (143374744 512 byte sectors: 255H 63S/T 8924C)
 da2 at ahd0 bus 0 target 2 lun 0
 da2: <SEAGATE ST373207LW 0005> Fixed Direct Access SCSI-3 device
 da2: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing 
 Enabled
 da2: 70007MB (143374744 512 byte sectors: 255H 63S/T 8924C)
 Trying to mount root from ufs:/dev/da0s1a
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703261140.l2QBeQeN013630>