Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Aug 1998 20:06:54 -0400
From:      Luis Munoz <lem@cantv.net>
To:        wjw@IAEhv.nl
Cc:        scsi@FreeBSD.ORG
Subject:   Re: Do AHC and LUN's have a problem
Message-ID:  <3.0.5.32.19980804200654.008da9e0@pop.cantv.net>
In-Reply-To: <199808042251.AAA19913@surf.IAE.nl>

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


Hi there:

I'm also running a multi-LUN RAID controller on 2.2.6-RELEASE. I did
a similar thing to scsiconf.c but everything works flawlessly, even
under quite heavy/sustained load.

Regards.

-lem

At 12:51 AM 05/08/1998 +0200, Willem Jan  Withagen wrote:
>Hi,
>
>We've got this Hardware RAID controller which gives out different RAID on
>different LUN's. So I've added the following to our scsiconf.c:
>        {
>                T_DIRECT, T_FIXED, T_FIXED, "DTC", "DTC-*" , "*",
>                "sd", SC_MORE_LUS
>        },
>
>Hoping that this is the correct incantation of the magic. Especially the
>T_* stuff was not all to clear to me.
>Dmesg says:
> spocky /kernel: ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 11 on pci0:10:0
> spocky /kernel: ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
> spocky /kernel: (ahc0:2:0): "DTC DTC-8230 0122" type 0 fixed SCSI 2
> spocky /kernel: sd0(ahc0:2:0): Direct-Access 20671MB (42335040 512 byte sectors)
> spocky /kernel: (ahc0:2:1): "DTC DTC-8230 0122" type 0 fixed SCSI 2
> spocky /kernel: sd1(ahc0:2:1): Direct-Access 20000MB (40960000 512 byte sectors)
>
>Problem now is that this RAIDcontroller has worked flawless until I switched
>on Multiple LUN's. And even then it only starts trouble when I start using
>the second LUN. As long as I'm only using the first LUN (0) everything is
>happy.
>
>BUT as soon as I start using the second disk, be it for swap, or run fsck
>Ik getting hit by this continuous stream of:
>
> spocky /kernel: sd0(ahc0:2:0): SCB 0x3 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0xe6
> spocky /kernel: SEQADDR = 0x4 SCSISEQ = 0x12 SSTAT0 = 0x27 SSTAT 1 = 0xb
> spocky /kernel: sd0(ahc0:2:0): SCB 3: Immediate reset. Flags = 0x1
> spocky /kernel: sd0(ahc0:2:0): no longer in timeout
> spocky /kernel: ahc0: Issued Channel A Bus Reset. 2 SCBs aborted
> spocky /kernel: sd1(ahc0:2:1): UNIT ATTENTION asc:29,0
> spocky /kernel: sd1(ahc0:2:1):  Power on, reset, or bus device reset occurred
> spocky /kernel: , retries:3
> spocky /kernel: sd0(ahc0:2:0): UNIT ATTENTION asc:29,0
> spocky /kernel: sd0(ahc0:2:0):  Power on, reset, or bus device reset occurred
> spocky /kernel: , retries:3
>
>This time I don't think it has to do with the termination.
>It occurs on both 10Mhz and 5 Mhz, and the most significant issue agains
>termination is that I have to start using the second LUN.
>Connection between the AHC and the box is an external cable with termination
>done by "the box" and the AHC
>
>Now this could be the RAID controller. But it could also be the AHC driver.
>This system still runs source straight from the 2.2.6 CD. 
>
>Is any of the above fixed by going to the most recent -stable?
>Or are there other things to look at? Getting another controller is sort of
>hard, but if really pressed it might be possible.
>
>--WjW
>
>-- 
>Internet Access Eindhoven BV.,  voice: +31-40-2 393 393, data: +31-40-2 606 606
>P.O. 928, 5600 AX Eindhoven, The Netherlands
>Full Internet connectivity for only fl 12.95 a month.
>Call now, and login as 'new'.
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-scsi" in the body of the message
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message



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