From owner-freebsd-scsi Tue Aug 4 17:12:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA22925 for freebsd-scsi-outgoing; Tue, 4 Aug 1998 17:12:01 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from postman.true.net (s1.admin.true.net [161.196.66.100]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA22893 for ; Tue, 4 Aug 1998 17:11:53 -0700 (PDT) (envelope-from lem@cantv.net) Received: from s2.admin.true.net (mail.cantv.net [161.196.66.21]) by postman.true.net (8.8.7/8.6.12) with ESMTP id UAA12546; Tue, 4 Aug 1998 20:11:48 -0400 (VET) Received: from lem.cantv.net (root@localhost) by s2.admin.true.net (8.8.7/CS-R-1.4) with SMTP id UAA03275; Tue, 4 Aug 1998 20:10:15 -0400 (VET) X-BlackMail: ws-7.chacao-01.int.cantv.net, lem.cantv.net, lem@cantv.net, 200.44.44.23 X-Authenticated-Timestamp: 20:10:15(VET) on August 04, 1998 Message-Id: <3.0.5.32.19980804200654.008da9e0@pop.cantv.net> X-Sender: lem@pop.cantv.net X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Tue, 04 Aug 1998 20:06:54 -0400 To: wjw@IAEhv.nl From: Luis Munoz Subject: Re: Do AHC and LUN's have a problem Cc: scsi@FreeBSD.ORG In-Reply-To: <199808042251.AAA19913@surf.IAE.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 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