AIC-7902 problems

Don Bowman don at sandvine.com
Wed May 7 15:45:19 PDT 2003


From: Kenneth D. Merry [mailto:ken at kdm.org]
> On Wed, May 07, 2003 at 16:52:37 +0100, Hall J D (ISeLS) wrote:
> > Hello,
> > 
> > I've just got a SuperMicro X5DE8 motherboard based server 
> with dual Xeon
> > 2.4GHz processors and 2GB ram. This has got an on board 
> AIC-7902 based dual
> > channel Ultra 320 SCSI controller onboard. Plugged into 
> channel A of the
> > controller are two Fujitsu LVD Ultra320 SCA drives a 36GB 
> and a 73GB.

 ...

I've merged the driver from MAIN (actually just dropped it
in intact) to releng-4. The problem is still present for
me. I'm not sure what a READ(6)/WRITE(6) not supported is.

Copied 18 bytes of sense data offset 12: 0x70 0x0 0x5 0x0 0x0 0x0 0x0 0xa
0x0 0x0 0x0 0x0 0x25 0x0 0x0 0x0 0x0 0x0
Copied 18 bytes of sense data offset 12: 0x70 0x0 0x5 0x0 0x0 0x0 0x0 0xa
0x0 0x0 0x0 0x0 0x25 0x0 0x0 0x0 0x0 0x0
Copied 18 bytes of sense data offset 12: 0x70 0x0 0x5 0x0 0x0 0x0 0x0 0xa
0x0 0x0 0x0 0x0 0x25 0x0 0x0 0x0 0x0 0x0
Copied 18 bytes of sense data offset 12: 0x70 0x0 0x5 0x0 0x0 0x0 0x0 0xa
0x0 0x0 0x0 0x0 0x25 0x0 0x0 0x0 0x0 0x0
(da0:ahd0:0:0:0): READ(6)/WRITE(6) not supported, increasing
minimum_cmd_size to 10.
(da0:ahd0:0:0:0): READ(6)/WRITE(6) not supported, increasing
minimum_cmd_size to 10.
(da0:ahd0:0:0:0): READ(6)/WRITE(6) not supported, increasing
minimum_cmd_size to 10.
(da0:ahd0:0:0:0): READ(6)/WRITE(6) not supported, increasing
minimum_cmd_size to 10.

Copied 18 bytes of sense data offset 12: 0x70 0x0 0x5 0x0 0x0 0x0 0x0 0xa
0x0 0x0 0x0 0x0 0x25 0x0 0x0 0x0 0x0 0x0
Copied 18 bytes of sense data offset 12: 0x70 0x0 0x5 0x0 0x0 0x0 0x0 0xa
0x0 0x0 0x0 0x0 0x25 0x0 0x0 0x0 0x0 0x0
Copied 18 bytes of sense data offset 12: 0x70 0x0 0x5 0x0 0x0 0x0 0x0 0xa
0x0 0x0 0x0 0x0 0x25 0x0 0x0 0x0 0x0 0x0
Copied 18 bytes of sense data offset 12: 0x70 0x0 0x5 0x0 0x0 0x0 0x0 0xa
0x0 0x0 0x0 0x0 0x25 0x0 0x0 0x0 0x0 0x0
Copied 18 bytes of sense data offset 12: 0x70 0x0 0x5 0x0 0x0 0x0 0x0 0xa
0x0 0x0 0x0 0x0 0x25 0x0 0x0 0x0 0x0 0x0
Copied 18 bytes of sense data offset 12: 0x70 0x0 0x5 0x0 0x0 0x0 0x0 0xa
0x0 0x0 0x0 0x0 0x25 0x0 0x0 0x0 0x0 0x0
(da0:ahd0:0:0:0): WRITE(10). CDB: 2a 0 0 5 b1 5f 0 0 20 0 
(da0:ahd0:0:0:0): ILLEGAL REQUEST asc:25,0
(da0:ahd0:0:0:0): Logical unit not supported
(da0:ahd0:0:0:0): WRITE(10). CDB: 2a 0 0 5 b0 7f 0 0 20 0 
(da0:ahd0:0:0:0): ILLEGAL REQUEST asc:25,0
(da0:ahd0:0:0:0): Logical unit not supported
(da0:ahd0:0:0:0): WRITE(10). CDB: 2a 0 0 b 61 7f 0 0 20 0 
(da0:ahd0:0:0:0): ILLEGAL REQUEST asc:25,0
(da0:ahd0:0:0:0): Logical unit not supported
(da0:ahd0:0:0:0): WRITE(10). CDB: 2a 0 0 b 61 3f 0 0 20 0 
(da0:ahd0:0:0:0): ILLEGAL REQUEST asc:25,0
(da0:ahd0:0:0:0): Logical unit not supported
(da0:ahd0:0:0:0): WRITE(10). CDB: 2a 0 0 11 19 bf 0 0 20 0 
(da0:ahd0:0:0:0): ILLEGAL REQUEST asc:25,0
(da0:ahd0:0:0:0): Logical unit not supported
(da0:ahd0:0:0:0): WRITE(10). CDB: 2a 0 0 b 62 bf 0 0 20 0 
(da0:ahd0:0:0:0): ILLEGAL REQUEST asc:25,0
(da0:ahd0:0:0:0): Logical unit not supported

(da0:ahd0:0:0:0): WRITE(10). CDB: 2a 0 0 5 c7 1f 0 0 8 0 
(da0:ahd0:0:0:0): ILLEGAL REQUEST asc:25,0
(da0:ahd0:0:0:0): Logical unit not supported
(da0:ahd0:0:0:0): Invalidating pack
(da0:ahd0:0:0:0): SCB 0x13 - timed out
>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
ahd0: Dumping Card State at program address 0x29 Mode 0x11
Card was paused
SAVED_MODE[0x11] DFFSTAT[0x31] SCSISIGI[0x0] SCSIPHASE[0x0] 
SCSIBUS[0x0] LASTPHASE[0x1] SCSISEQ0[0x0] SCSISEQ1[0x12] 
SEQCTL0[0x10] SEQINTCTL[0x0] SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0] 
CCSCBCTL[0x0] SSTAT0[0x0] SSTAT1[0x0] SSTAT2[0x0] 
SSTAT3[0x0] PERRDIAG[0x0] SIMODE1[0xa4] LQISTAT0[0x0] 
LQISTAT1[0x0] LQISTAT2[0x0] LQOSTAT0[0x0] LQOSTAT1[0x0] 
LQOSTAT2[0x1] 

SCB Count = 32 LASTSCB 0x14 CURRSCB 0x14 NEXTSCB 0xff40
qinstart = 2701 qinfifonext = 2701
QINFIFO:
WAITING_TID_QUEUES:
Pending list:
 19 SCB_CONTROL[0x60] SCB_SCSIID[0x7] SCB_TAG[0x13] 
Kernel Free SCB list: 20 18 2 21 15 1 3 5 6 7 8 9 10 11 12 13 14 0 31 30 29
22 28 25 23 26 24 27 4 17 16 
Sequencer Complete DMA-inprog list: 
Sequencer Complete list: 
Sequencer DMA-Up and Complete list: 

ahd0: FIFO0 Free, LONGJMP == 0x80ff, SCB 0x4, LJSCB 0xff00
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 == 0x825a, SCB 0x14, LJSCB 0x14
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: 0x55 0x0 0x0 0x14 0x0 0x3f 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x1e
0x0 0x0 0x0 0x0 
ahd0: LQISTATE = 0x0, LQOSTATE = 0x0, OPTIONMODE = 0x42
ahd0: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x1
SIMODE0[0xc] 
ahd0: REG0 == 0x60, SINDEX = 0x111, DINDEX = 0x102
ahd0: SCBPTR == 0x14, SCB_NEXT == 0xff40, SCB_NEXT2 == 0xff36
CDB 2a 0 0 6 69 9b
STACK: 0x10 0xfe 0x2a 0x10 0x25a 0x25a 0x219 0x27
<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
(da0:ahd0:0:0:0): Now packetized.
Copied 18 bytes of sense data offset 12: 0xf0 0x0 0x6 0x0 0x0 0xb5 0xa8 0xa
0x0 0x0 0x0 0x0 0x29 0x2 0xcc 0x0 0x0 0x0
May  7 22:42:33 TPC-D6-28 /kernel: <<<<<<<<<<<<<<<< Dump Card State Ends
>>>>>>>>>>>>>>>>>>

Once this has happened, the system seems pretty hosed:

# camcontrol inquiry da0
spec_getpages:(#da/0x20000) I/O read failure: (error=6) bp 0xcf8911d4 vp
0xdec14ec0
               size: 49152, resid: 49152, a_count: 49152, valid: 0x0
               nread: 0, reqpage: 0, pindex: 0, pcount: 12
bash: /sbin/camcontrol: Input/output error



More information about the freebsd-scsi mailing list