Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Aug 2003 03:16:19 +0000
From:      "Jingrong Xie" <xjrcool@hotmail.com>
To:        freebsd-scsi@freebsd.org
Subject:   AIC7899's 2 SCSI channels infect with each other in target mode?
Message-ID:  <Law14-F116Cl8aii08N0001c837@hotmail.com>

next in thread | raw e-mail | index | archive | help
I have two machine A and B, each with a 39160 card (aic7899 processor),
the Installatioin Guide of the card says, "The Adaptec SCSI Card 39160 has 
two INDEPENDENT SCSI channels, ...".

I use Nate's scsi_target  on A, and my test_write_scsi.c on B to write to 
Emulated Disk uninterruptedly, it works perfectly.
Also using scsi_target on B and test_write_scsi.c on A works perfectly.
But when I use the two at the same time, kernel code of scsi_target crash 
like this:

Fatal trap 12: page fault wihle in kernel mode
......
Stopped at targdone + 0x84: movl %eax, 0x20(%edx)

<<<<<<<<Dump Card State Ends>>>>>>>>
ahc1: Bus Device Reset on Ahc0(0:5:1) SCBS aborted.



=========This is my enviroment and test:
A# dmesg |grep SCSI
ahc0: <Adaptec 3960D Ultra160 SCSI adapter> port 0xc800-0xc8ff mem 
0xe5202000-0xe5202fff irq 10 at device 15.0 on pci1
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: <Adaptec 3960D Ultra160 SCSI adapter> port 0xcc00-0xccff mem 
0xe5203000-0xe5203fff irq 11 at device 15.1 on pci1
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
A#  uname -rm
4.7-RELEASE i386

A# scsi_target 0:5:0
B# camcontrol rescan 0
B# ./test_write_scsi

B# scsi_target 1:5:0
A# camcontrol rescan 1
A# ./test-write_scsi


any ideas?

Thanks,
Jacky Xie

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail



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