AIC7902, U320 and Seagate drives

Oliver Hitz oliver at net-track.ch
Wed Apr 28 01:33:40 PDT 2004


Hi all,

I have an issue with Seagate ST336607LC drives on a server with an
AIC7902 host adapter. The machine is running a stock Linux 2.4.26
kernel.

I have two different ST336607LC drives, one with firmware 5 and another
one with firmware 7. According to Seagate (see [1]), drives with
firmware versions < 7 are subject to timeouts on some host adapters.
However, on my machine, the drive with the newer firmware 7 is unable to
boot when the controller is set to U320 packetized mode whereas the
drive with the older firmware 5 works flawlessly.

With firmware 7, the driver reports transmission errors such as shown
below ([2]).

As a workaround, I have switched off U320 packetized mode in the host
adapter BIOS (ctrl-a at startup), and now also the drive with firmware 7
works without problems.

For me, it doesn't matter a lot if the drives don't work at U320. I just
thought I'd post this in case anybody else runs into the same problem.
If you post a followup on this, please CC: me because I'm not subscribed
to this list.

Regards

Oliver


[1] http://www.seagate.com/support/disc/u320_firmware.html

[2] AIC driver error output:

  >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
  scsi0: Dumping Card State at program address 0x27 Mode 0x11
  Card was paused
  HS_MAILBOX[0x0] INTCTL[0x80] SEQINTSTAT[0x0] SAVED_MODE[0x11]
  DFFSTAT[0x24] SCSISIGI[0xb6] SCSIPHASE[0x4] SCSIBUS[0xc1]
  LASTPHASE[0x1] SCSISEQ0[0x0] SCSISEQ1[0x12] SEQCTL0[0x0]
  SEQINTCTL[0x0] SEQ_FLAGS[0xc0] SEQ_FLAGS2[0x0] SSTAT0[0x2]
  SSTAT1[0x19] SSTAT2[0x20] SSTAT3[0x0] PERRDIAG[0x0]
  SIMODE1[0xa4] LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0xc0]
  LQOSTAT0[0x0] LQOSTAT1[0x0] LQOSTAT2[0xe1]

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

  scsi0: FIFO0 Active, LONGJMP == 0x239, SCB 0x4
  SEQIMODE[0x3f] SEQINTSRC[0x40] DFCNTRL[0x8] DFSTATUS[0x89]
  SG_CACHE_SHADOW[0xcb] SG_STATE[0x0] DFFSXFRCTL[0x0]
  SOFFCNT[0x0] MDFFSTAT[0x16] SHADDR = 0x037e14000, SHCNT = 0x0
  HADDR = 0x037e14000, HCNT = 0x0 CCSGCTL[0x10]
  scsi0: FIFO1 Free, LONGJMP == 0x801b, SCB 0x4
  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: 0x4 0x0 0x0 0x4 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x10 0x0
  0x0 0x0 0x2 0x0
  scsi0: LQISTATE = 0x2b, LQOSTATE = 0x0, OPTIONMODE = 0x52
  scsi0: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x1
  SIMODE0[0xc]
  CCSCBCTL[0x4]
  scsi0: REG0 == 0x4, SINDEX = 0x102, DINDEX = 0x102
  scsi0: SCBPTR == 0x4, SCB_NEXT == 0xff00, SCB_NEXT2 == 0xffe9
  CDB 28 0 0 80 c8 cc
  STACK: 0x14 0x0 0x0 0x0 0x0 0x0 0x0 0x0
  <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/aic7xxx/attachments/20040428/63af37b3/attachment.bin


More information about the aic7xxx mailing list