From owner-freebsd-scsi@FreeBSD.ORG Sun Jan 23 00:54:20 2005 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C76B916A4CE for ; Sun, 23 Jan 2005 00:54:20 +0000 (GMT) Received: from aslan.scsiguy.com (mail.scsiguy.com [63.229.232.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C3A543D39 for ; Sun, 23 Jan 2005 00:54:20 +0000 (GMT) (envelope-from gibbs@scsiguy.com) Received: from aslan.scsiguy.com (aslan.scsiguy.com [63.229.232.106]) (authenticated bits=0) by aslan.scsiguy.com (8.13.1/8.13.1) with ESMTP id j0N0sIOj018169 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 22 Jan 2005 17:54:19 -0700 (MST) (envelope-from gibbs@scsiguy.com) Date: Sat, 22 Jan 2005 17:54:18 -0700 From: "Justin T. Gibbs" To: Anton Berezin , freebsd-scsi@freebsd.org Message-ID: <92B2C5A0199CF60FA976BBDC@aslan.scsiguy.com> In-Reply-To: <20050121135814.GA35988@heechee.tobez.org> References: <20050121135814.GA35988@heechee.tobez.org> X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: 29320A: tons of "unexpected busfree while idle" X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Justin T. Gibbs" List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jan 2005 00:54:20 -0000 > Hi, > > I am having a lot of "unexpected busfree while idle" events with Adaptec > 29320A Ultra320 SCSI adapter. > > While trying to eliminate various possibilities, it turned out that the > problem disappears if I downgrade sys/dev/aic7xxx directory to > > -D '01 Sep 2004' -rRELENG_5 > > So it looks like the problem was introduced sometime after that. I know which change is causing your problem, but not why. I'm going to run some experiments here to try replicate the failure here. > Jan 18 10:15:56 seifert kernel: ahd0: Unexpected busfree while idle, 0 SCBs aborted, PRGMCNT == 0xb9 > Jan 18 10:15:56 seifert kernel: >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<< > Jan 18 10:15:56 seifert kernel: ahd0: Dumping Card State at program address 0xb7 Mode 0x33 > Jan 18 10:15:56 seifert kernel: Card was paused > Jan 18 10:15:56 seifert kernel: INTSTAT[0x8] SELOID[0x4] SELID[0x0] HS_MAILBOX[0x0] In the future, please compile your kernels with: options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. This adds the string table necessary to auto-decode the card state dump. It saves me having to dig through register listings to figure out the source of a problem. There is no run-time penalty for enabling this option. > Another strangety is how the thing recognizes the disks (any version of > the driver): > > Jan 18 10:15:56 seifert kernel: da0 at ahd0 bus 0 target 0 lun 0 > Jan 18 10:15:56 seifert kernel: da0: Fixed Direct Access SCSI-3 device > Jan 18 10:15:56 seifert kernel: da0: 40.000MB/s transfers (20.000MHz, offset 81, 16bit), Tagged Queueing Enabled This is caused by running your disks on the Single-Ended segment of the 29320A. This will limit operation to Ultra SCSI speeds. If you move your string of disks to the other internal port, you should see faster speeds if your disks support Low-Voltage-Differential operating modes. -- Justin From owner-freebsd-scsi@FreeBSD.ORG Mon Jan 24 11:02:14 2005 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40AEB16A4CF for ; Mon, 24 Jan 2005 11:02:14 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AE7B43D53 for ; Mon, 24 Jan 2005 11:02:14 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j0OB2DKd018992 for ; Mon, 24 Jan 2005 11:02:13 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j0OB2Dgx018986 for freebsd-scsi@freebsd.org; Mon, 24 Jan 2005 11:02:13 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 24 Jan 2005 11:02:13 GMT Message-Id: <200501241102.j0OB2Dgx018986@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-scsi@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2005 11:02:14 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2000/08/18] kern/20689 scsi Newbusified version of ncr driver does no f [2001/05/03] kern/27059 scsi (symbios) SCSI subsystem hangs under heav o [2001/06/29] kern/28508 scsi problems with backup to Tandberg SLR40 st o [2002/06/17] kern/39388 scsi ncr/sym drivers fail with 53c810 and more o [2002/07/22] kern/40895 scsi wierd kernel / device driver bug f [2002/09/15] kern/42796 scsi NCR/SYM 53C825 driver detects scsi cdrom f [2002/11/25] kern/45713 scsi If you use the amr driver, it is impossib f [2002/12/09] kern/46152 scsi Panic in adw dumping to tape f [2003/05/16] kern/52331 scsi 4.7 to 4.8-REL upgrade: SCSI disks on sym f [2003/09/14] kern/56759 scsi [hang] System freezes when writing CD Adv f [2003/09/14] kern/56760 scsi [hang] system hangs at boot with adaptec f [2003/09/14] kern/56871 scsi dd can't write variable length data block f [2003/09/18] kern/56973 scsi SCSI errors from on-board Adaptec (AIC7xx s [2003/09/30] kern/57398 scsi Current fails to install on mly(4) based o [2003/12/26] kern/60598 scsi wire down of scsi devices conflicts with a [2004/01/10] kern/61165 scsi [panic] kernel page fault after calling c o [2004/09/15] kern/71778 scsi 5.3 BETA3 doesnt see Adaptec 2015S FW Rev o [2004/12/02] kern/74607 scsi FreeBSD 5.3 install CD crashes on SCSI de o [2004/12/29] kern/75603 scsi 5.3 kernel crash 19 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/12/06] kern/23314 scsi aic driver fails to detect Adaptec 1520B o [2001/08/15] kern/29727 scsi [amr] [patch] amr_enquiry3 structure in a o [2002/02/23] kern/35234 scsi World access to /dev/pass? (for scanner) o [2002/06/02] kern/38828 scsi [feature request] DPT PM2012B/90 doesn't o [2002/10/29] kern/44587 scsi dev/dpt/dpt.h is missing defines required o [2003/10/01] kern/57468 scsi [patch] Quirk for Quantum LPS540S o [2003/10/01] kern/57469 scsi [patch] Quirk for Conner CP3500 o [2004/09/22] kern/72010 scsi [patch] mt -f /dev/rsa0.ctl comp off, or 8 problems total. From owner-freebsd-scsi@FreeBSD.ORG Mon Jan 24 14:28:05 2005 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7409016A4CE for ; Mon, 24 Jan 2005 14:28:05 +0000 (GMT) Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id E41EE43D41 for ; Mon, 24 Jan 2005 14:28:04 +0000 (GMT) (envelope-from mike@reifenberger.com) Received: from fwd00.aul.t-online.de by mailout11.sul.t-online.com with smtp id 1Ct5CF-0000Fx-00; Mon, 24 Jan 2005 15:28:03 +0100 Received: from fw.reifenberger.com (r3ChqQZGwe6GUxSBEUfUaDcxjWOos9BTQdCKlKajSCvlOo1W728yss@[217.232.251.56]) by fmrl00.sul.t-online.com with esmtp id 1Ct5C9-0itN2W0; Mon, 24 Jan 2005 15:27:57 +0100 Received: from localhost (mike@localhost)j0OERuTX080965 for ; Mon, 24 Jan 2005 15:27:56 +0100 (CET) (envelope-from mike@reifenberger.com) X-Authentication-Warning: fw.reifenberger.com: mike owned process doing -bs Date: Mon, 24 Jan 2005 15:27:56 +0100 (CET) From: Michael Reifenberger To: freebsd-scsi@freebsd.org Message-ID: <20050124152712.P80516@fw.reifenberger.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-ID: r3ChqQZGwe6GUxSBEUfUaDcxjWOos9BTQdCKlKajSCvlOo1W728yss@t-dialin.net X-TOI-MSGID: b7ca5fbf-53a3-42dc-889c-2d1874d8d4be Subject: Rev 1.147 of cam_xpt.c kills me (fwd) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2005 14:28:05 -0000 Hi, anyone else sees this? ---------- Forwarded message ---------- Date: Sun, 23 Jan 2005 18:23:25 +0100 (CET) From: Michael Reifenberger To: mjacob@FreeBSD.org Subject: Rev 1.147 of cam_xpt.c kills me Hi, I have an internal IDE to U2W SCSI RAID subsystem with 5 IDE-Disks in RAID5 which hangs on an Adaptec 2940. All is with an 4G, 3200+, ASUS A8V-deluxe. With your above patch a new kernel hangs after finding a da1 on LUN 32. (Seems that da1 is the same device as da0). Then I get bus resets and broken SCB's... I can reboot but have to power down the system to get the RAID subsystem working again. Dmesg with Rev. 1.146 of cam_xpt.c: ... ahc0: port 0xb000-0xb0ff mem 0xfad00000-0xfad00fff irq 19 at device 14.0 on pci0 ahc0: [GIANT-LOCKED] aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs: ... da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da0: 953899MB (1953585152 512 byte sectors: 255H 63S/T 121605C) ... It seems to report itself as SCSI-3 but dislikes to get probed for too many LUN's... Bye/2 --- Michael Reifenberger, Business Development Manager SAP-Basis, Plaut Consulting Comp: Michael.Reifenberger@plaut.de | Priv: Michael@Reifenberger.com http://www.plaut.de | http://www.Reifenberger.com From owner-freebsd-scsi@FreeBSD.ORG Mon Jan 24 20:19:43 2005 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 872E516A4CE for ; Mon, 24 Jan 2005 20:19:43 +0000 (GMT) Received: from nargothrond.kdm.org (nargothrond.kdm.org [70.56.43.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05CD443D48 for ; Mon, 24 Jan 2005 20:19:43 +0000 (GMT) (envelope-from ken@nargothrond.kdm.org) Received: from nargothrond.kdm.org (localhost [127.0.0.1]) by nargothrond.kdm.org (8.12.11/8.12.11) with ESMTP id j0OKJgQa040955; Mon, 24 Jan 2005 13:19:42 -0700 (MST) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.12.11/8.12.5/Submit) id j0OKJfgR040954; Mon, 24 Jan 2005 13:19:41 -0700 (MST) (envelope-from ken) Date: Mon, 24 Jan 2005 13:19:41 -0700 From: "Kenneth D. Merry" To: Michael Reifenberger Message-ID: <20050124201941.GA40814@nargothrond.kdm.org> References: <20050124152712.P80516@fw.reifenberger.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050124152712.P80516@fw.reifenberger.com> User-Agent: Mutt/1.4.2i X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.75c on nargothrond.kdm.org X-Virus-Status: Clean cc: freebsd-scsi@freebsd.org Subject: Re: Rev 1.147 of cam_xpt.c kills me (fwd) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2005 20:19:43 -0000 On Mon, Jan 24, 2005 at 15:27:56 +0100, Michael Reifenberger wrote: > Hi, > anyone else sees this? > > ---------- Forwarded message ---------- > Date: Sun, 23 Jan 2005 18:23:25 +0100 (CET) > From: Michael Reifenberger > To: mjacob@FreeBSD.org > Subject: Rev 1.147 of cam_xpt.c kills me > > Hi, > I have an internal IDE to U2W SCSI RAID subsystem with 5 IDE-Disks in RAID5 > which hangs on an Adaptec 2940. > All is with an 4G, 3200+, ASUS A8V-deluxe. > > With your above patch a new kernel hangs after finding a da1 on LUN > 32. (Seems that da1 is the same device as da0). > Then I get bus resets and broken SCB's... > I can reboot but have to power down the system to get the RAID subsystem > working again. > > Dmesg with Rev. 1.146 of cam_xpt.c: > ... > ahc0: port 0xb000-0xb0ff > mem 0xfad00000-0xfad00fff irq 19 at device 14.0 on pci0 > ahc0: [GIANT-LOCKED] > aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs: > ... > da0 at ahc0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-3 device > da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing > Enabled > da0: 953899MB (1953585152 512 byte sectors: 255H 63S/T 121605C) > ... The device firmware is probably broken with respect to higher LUNs... > It seems to report itself as SCSI-3 but dislikes to get probed for too many > LUN's... You can disable probing high LUNs by putting a CAM_QUIRK_NOHILUNS quirk in cam_xpt.c for that device. We knew there was the possibility that the change would break a device or two (thus the reason Matt put in the quirk entry), but hopefully there won't be too many devices broken by that change. Ken -- Kenneth Merry ken@kdm.org From owner-freebsd-scsi@FreeBSD.ORG Tue Jan 25 09:08:19 2005 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A65616A4F3 for ; Tue, 25 Jan 2005 09:08:19 +0000 (GMT) Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3A2F43D48 for ; Tue, 25 Jan 2005 09:08:18 +0000 (GMT) (envelope-from mike@reifenberger.com) Received: from fwd06.aul.t-online.de by mailout10.sul.t-online.com with smtp id 1CtMYL-0006o4-00; Tue, 25 Jan 2005 10:00:01 +0100 Received: from fw.reifenberger.com (V8k8bqZUYeIBgeIwq4EKNWoisyIApBYVVo7TX7CIOD1zlk6ok4JZ0U@[217.232.254.137]) by fmrl06.sul.t-online.com with esmtp id 1CtMY7-1YZBrM0; Tue, 25 Jan 2005 09:59:47 +0100 Received: from localhost (mike@localhost)j0P8xkbb085671; Tue, 25 Jan 2005 09:59:46 +0100 (CET) (envelope-from mike@reifenberger.com) X-Authentication-Warning: fw.reifenberger.com: mike owned process doing -bs Date: Tue, 25 Jan 2005 09:59:46 +0100 (CET) From: Michael Reifenberger To: "Kenneth D. Merry" In-Reply-To: <20050124201941.GA40814@nargothrond.kdm.org> Message-ID: <20050125095919.J85660@fw.reifenberger.com> References: <20050124152712.P80516@fw.reifenberger.com> <20050124201941.GA40814@nargothrond.kdm.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-ID: V8k8bqZUYeIBgeIwq4EKNWoisyIApBYVVo7TX7CIOD1zlk6ok4JZ0U@t-dialin.net X-TOI-MSGID: efe11aea-e77c-4399-b8b3-da045969cd91 cc: freebsd-scsi@freebsd.org Subject: Re: Rev 1.147 of cam_xpt.c kills me (fwd) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 09:08:19 -0000 On Mon, 24 Jan 2005, Kenneth D. Merry wrote: ... > You can disable probing high LUNs by putting a CAM_QUIRK_NOHILUNS quirk in > cam_xpt.c for that device. > Done. Thanks! Bye/2 --- Michael Reifenberger, Business Development Manager SAP-Basis, Plaut Consulting Comp: Michael.Reifenberger@plaut.de | Priv: Michael@Reifenberger.com http://www.plaut.de | http://www.Reifenberger.com From owner-freebsd-scsi@FreeBSD.ORG Tue Jan 25 11:25:51 2005 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F20B016A4CE for ; Tue, 25 Jan 2005 11:25:51 +0000 (GMT) Received: from obh.snafu.de (obh.snafu.de [213.73.92.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28BF143D2D for ; Tue, 25 Jan 2005 11:25:51 +0000 (GMT) (envelope-from ob@gruft.de) Received: from ob by obh.snafu.de with local (Exim 4.43 (FreeBSD)) id 1CtOpP-000KcD-T9 for freebsd-scsi@freebsd.org; Tue, 25 Jan 2005 12:25:49 +0100 Date: Tue, 25 Jan 2005 12:25:47 +0100 From: Oliver Brandmueller To: freebsd-scsi@freebsd.org Message-ID: <20050125112546.GA49978@e-Gitt.NET> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline User-Agent: Mutt/1.5.6i Sender: Oliver Brandmueller Subject: Problem with mpt and Infortrend RAID Array X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 11:25:52 -0000 --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I've got a problem with using an Infortrend RAID array (actually EonStor=20 A16U G1410) on an LSI Logic 1030 Controller on FreeBSD 5-STABLE. First things first, here's my Environment: mpt0: port 0xb000-0xb0ff mem 0xf6820000-0xf6= 83ffff,0xf6800000-0xf681ffff irq 24 at device 3.0 on pci2 mpt0: [GIANT-LOCKED] FreeBSD zombie 5.3-STABLE FreeBSD 5.3-STABLE #5: Tue Jan 25 11:35:05 CET 20= 05 root@hudson:/usr/obj/usr/src/sys/NFS i386 mpt is loaded as a module. The LSI Controller and the RAID Array all have the latest firmware=20 (meanwhile). Now the problem: If I only map map one ID/LUN with a drive (under 2 TB) everything works=20 fine. As soon as I map more drives (let's say 2 logical volumes of 800GB) be=20 it to one ID and LUN 0 and 1 or on ID 0 and 1 both on LUN 0 I get error=20 messages when scanning the SCSI bus (on boot or in multiuser when doing=20 a "camcontrol rescan 0" after mapping the devices on the RAID): (the messages here are while having mapped 2 800GB drives to SCSI ID 0=20 on LUN 0 and 1): da0 at mpt0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device=20 da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing= Enabled da0: 800000MB (1638400000 512 byte sectors: 255H 63S/T 101985C) mpt0: time out on request index =3D 0xf2 sequence =3D 0x00000093 mpt0: Status 00000001; Mask 00000001; Doorbell 24000000 request state On Chip SCSI IO Request @ 0xe4ad3c20 Chain Offset 0x00 MsgFlags 0x00 MsgContext 0x000000f2 Bus: 0 TargetID 0 SenseBufferLength 18 LUN: 0x1 Control 0x02000500 READ UNTAGGED=20 DataLength 0x000000fb SenseBufAddr 0x3e8ea5e0 CDB[0:6] 12 00 00 00 fb 00=20 SE32 0xe4bab430: Addr=3D0x2f1f7e84 FlagsLength=3D0xd10000fb LAST_ELEMENT END_OF_BUFFER END_OF_LIST mpt0: time out on request index =3D 0xfe sequence =3D 0x00000094 mpt0: Status 00000001; Mask 00000001; Doorbell 24000000 request state On Chip SCSI IO Request @ 0xe4ad3c20 Chain Offset 0x00 MsgFlags 0x00 MsgContext 0x000000fe Bus: 0 TargetID 0 SenseBufferLength 32 LUN: 0x0 Control 0x02000500 READ UNTAGGED=20 DataLength 0x00000008 SenseBufAddr 0x3e8ebde0 CDB[0:10] 25 00 00 00 00 00 00 00 00 00=20 SE32 0xe4bacc30: Addr=3D0x2b7960 FlagsLength=3D0xd1000008 LAST_ELEMENT END_OF_BUFFER END_OF_LIST The last messages keep slowly scrolling with ascending sequence numbers until I reboot. camcontrol cannot be killed in this state. A similar thing happens when I map the drives to different IDs: mpt0: time out on request index =3D 0xf4 sequence =3D 0x00000088 mpt0: Status 00000001; Mask 00000001; Doorbell 24000000 request state On Chip SCSI IO Request @ 0xe4ad3c20 Chain Offset 0x00 MsgFlags 0x00 MsgContext 0x000000f4 Bus: 0 TargetID 0 SenseBufferLength 32 LUN: 0x0 Control 0x02000500 READ UNTAGGED=20 DataLength 0x00000014 SenseBufAddr 0x3e8ea9e0 CDB[0:6] 1a 00 0a 00 14 00=20 SE32 0xe4bab830: Addr=3D0x2dad80 FlagsLength=3D0xd1000014 LAST_ELEMENT END_OF_BUFFER END_OF_LIST mpt0: time out on request index =3D 0xf3 sequence =3D 0x00000089 mpt0: Status 00000001; Mask 00000001; Doorbell 24000000 request state On Chip SCSI IO Request @ 0xe4ad3c20 Chain Offset 0x00 MsgFlags 0x00 MsgContext 0x000000f3 Bus: 0 TargetID 1 SenseBufferLength 32 LUN: 0x0 Control 0x02000500 READ UNTAGGED=20 DataLength 0x00000014 SenseBufAddr 0x3e8ea7e0 CDB[0:6] 1a 00 0a 00 14 00=20 SE32 0xe4bab630: Addr=3D0x2dac80 FlagsLength=3D0xd1000014 LAST_ELEMENT END_OF_BUFFER END_OF_LIST You might notice, that in the first case at least one drive appeared.=20 This is not predictable: Sometimes this happens, sometimes it doesn't.=20 This seems in no way connected to the one of the configurations, but=20 seems to appear randomly on either config. I did NOT yet: - boot the machine with Linux/Knoppix (the machine is off site, I've not been going there, will be by end of the week) - change the SCSI controller (I will get a Adaptec U320 controller for testing purposes in a few weeks, so I hope to solve the problem earlier) I will NOT have the chance to: - replace the RAID array by another one - use another operating system :-) Thanx for assistance, Oliver --=20 | Oliver Brandmueller | Offenbacher Str. 1 | Germany D-14197 Berlin | | Fon +49-172-3130856 | Fax +49-172-3145027 | WWW: http://the.addict.de/ | | Ich bin das Internet. Sowahr ich Gott helfe. | | Eine gewerbliche Nutzung aller enthaltenen Adressen ist nicht gestattet! | --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB9iy6iqtMdzjafykRAiVBAJ4wlYVXfx0vmY6v3QONuA89xDxcCQCePEU2 eSu9ObeT/ah0wUoI2QLtK0g= =6/HP -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6-- From owner-freebsd-scsi@FreeBSD.ORG Tue Jan 25 14:50:21 2005 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BE4F16A4CE for ; Tue, 25 Jan 2005 14:50:21 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E623043D3F for ; Tue, 25 Jan 2005 14:50:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j0PEoKSw064671 for ; Tue, 25 Jan 2005 14:50:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j0PEoKB4064669; Tue, 25 Jan 2005 14:50:20 GMT (envelope-from gnats) Date: Tue, 25 Jan 2005 14:50:20 GMT Message-Id: <200501251450.j0PEoKB4064669@freefall.freebsd.org> To: freebsd-scsi@FreeBSD.org From: "Thomas M. Hermann" Subject: Re: kern/27059: (symbios) SCSI subsystem hangs under heavy load on (Serverworks) SMP X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Thomas M. Hermann" List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 14:50:21 -0000 The following reply was made to PR kern/27059; it has been noted by GNATS. From: "Thomas M. Hermann" To: freebsd-gnats-submit@FreeBSD.org, lele@windmill.it Cc: Subject: Re: kern/27059: (symbios) SCSI subsystem hangs under heavy load on (Serverworks) SMP Date: Tue, 25 Jan 2005 08:44:29 -0600 I'm running FreeBSD 5.3 SMP on a Dell Precision 530 and have experienced similar behavior. Please email me if I can help resolve this issue. Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-RELEASE-p5 #3: Mon Jan 24 08:28:42 CST 2005 root@:/usr/obj/usr/src/sys/ORVILLE ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2791.53-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 1073180672 (1023 MB) avail memory = 1036431360 (988 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 2 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 nvidia0: mem 0xf3f80000-0xf3ffffff,0xf4000000-0xf7ffffff,0xfc000000-0xfcffffff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] pcib2: at device 2.0 on pci0 pci2: on pcib2 pcib3: at device 31.0 on pci2 pci3: on pcib3 pci3: at device 0.0 (no driver attached) mpt0: port 0xec00-0xecff mem 0xfe4a0000-0xfe4bffff,0xfe4c0000-0xfe4dffff irq 20 at device 12.0 on pci3 mpt0: [GIANT-LOCKED] mpt1: port 0xe800-0xe8ff mem 0xfe460000-0xfe47ffff,0xfe480000-0xfe49ffff irq 21 at device 12.1 on pci3 mpt1: [GIANT-LOCKED] pcib4: at device 30.0 on pci0 pci4: on pcib4 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc80-0xdcff mem 0xfe1ffc00-0xfe1ffc7f irq 23 at device 11.0 on pci4 miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:08:74:39:6e:03 pci4: at device 12.0 (no driver attached) pcm0: port 0xdc60-0xdc7f irq 17 at device 13.0 on pci4 pcm0: isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: port 0xff80-0xff9f irq 19 at device 31.2 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/18.00, addr 2, iclass 3/1 ums0: 7 buttons and Z dir. pci0: at device 31.3 (no driver attached) uhci1: port 0xff60-0xff7f irq 23 at device 31.4 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0: port 0x778-0x77f,0x378-0x37f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 pmtimer0 on isa0 orm0: at iomem 0xd2000-0xd3fff,0xce000-0xd1fff,0xc0000-0xcdfff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec acd0: CDROM at ata1-master UDMA33 acd1: CDRW at ata1-slave UDMA33 Waiting 15 seconds for SCSI devices to settle SMP: AP CPU #1 Launched! da0 at mpt1 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C) da1 at mpt1 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled da1: 140014MB (286749480 512 byte sectors: 255H 63S/T 17849C) Mounting root from ufs:/dev/da0s1a Thank you, Tom H. -- -------------------------- -- Thomas M. Hermann -- Research Associate -- NIAR -------------------------- From owner-freebsd-scsi@FreeBSD.ORG Wed Jan 26 20:06:41 2005 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7DF216A4CE for ; Wed, 26 Jan 2005 20:06:41 +0000 (GMT) Received: from linux5.mediom.qc.ca (mail.mediom.qc.ca [199.243.212.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A63243D5D for ; Wed, 26 Jan 2005 20:06:41 +0000 (GMT) (envelope-from michel.belanger@mediom.qc.ca) Received: from michelxp (michb.mediom.qc.ca [199.243.251.220]) by linux5.mediom.qc.ca (8.12.1/8.12.1) with ESMTP id j0QK6drd011166 for ; Wed, 26 Jan 2005 15:06:40 -0500 From: =?iso-8859-1?Q?Michel_B=E9langer?= To: Date: Wed, 26 Jan 2005 15:07:01 -0500 Message-ID: <002c01c503e2$996718d0$0c01a8c0@michelxp> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Importance: Normal Subject: RAID CARD X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2005 20:06:41 -0000 Hi, I just bought a new serve rand I want to install a RAID card in it, I = want to install freebsd 5.3 and I would like to have suggestions on wich card would be best. People proposed me ADAPTEC 2120S U320 and others = suggested Intel SRCU42L. Wich one is best supported with Freebsd 5.3 =A0=20 -Michel From owner-freebsd-scsi@FreeBSD.ORG Thu Jan 27 11:55:52 2005 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B740016A4CE for ; Thu, 27 Jan 2005 11:55:52 +0000 (GMT) Received: from jabananaika.andineeme.ee (jabananaika.andineeme.ee [212.47.219.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDDC443D62 for ; Thu, 27 Jan 2005 11:55:51 +0000 (GMT) (envelope-from mauri@silicium.ee) Received: from [192.168.12.100] (iBook.andineeme.internal [192.168.12.100]) j0RBtgTB015047; Thu, 27 Jan 2005 13:55:48 +0200 (EET) (envelope-from mauri@silicium.ee) In-Reply-To: <002c01c503e2$996718d0$0c01a8c0@michelxp> References: <002c01c503e2$996718d0$0c01a8c0@michelxp> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <5D4E254C-705A-11D9-90D8-000A95CD3F70@silicium.ee> Content-Transfer-Encoding: quoted-printable From: Lauri Laupmaa Date: Thu, 27 Jan 2005 13:55:39 +0200 To: =?ISO-8859-1?Q?Michel_B=E9langer?= X-Mailer: Apple Mail (2.619) cc: freebsd-scsi@freebsd.org Subject: Re: RAID CARD X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2005 11:55:52 -0000 On Jan 26, 2005, at 10:07 PM, Michel B=E9langer wrote: > would be best. People proposed me ADAPTEC 2120S U320 and others=20 > suggested > Intel SRCU42L. Wich one is best supported with Freebsd 5.3 I can only comment on Adaptec 2120S, because I have a number of those,=20= both in 4.x and 5.x servers. At first I very much loved those cards, but after some lockups started=20= to be suspicious. What I have found is that sometimes those systems just stops serving=20 disk requests. If there is active ssh connection in time of hang, then=20= I can switch screens with ctrl-a (/usr/ports/misc/screen). But when=20 doing whatever accessing disks then terminal hangs. No relevant=20 messages in logs. There are no successful recovery from this state.=20 Only power/reset switch. All the servers have 3 or 4 disks configured as RAID5, they have=20 different motherboards and disk drives. One of them (4.9-STABLE) was running fine for years and started hanging=20= after 2120S install. I just moved filesystems to RAID. I cannot imagine how this can be related, but those hangs seem to=20 coincide with /var filling up. L.= From owner-freebsd-scsi@FreeBSD.ORG Fri Jan 28 15:53:30 2005 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04F3316A4D0 for ; Fri, 28 Jan 2005 15:53:30 +0000 (GMT) Received: from mail.software.plasmon.com (mail.software.plasmon.co.uk [194.130.136.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1BCA43D69 for ; Fri, 28 Jan 2005 15:53:29 +0000 (GMT) (envelope-from jconnett@software.plasmon.com) Received: from skylon.devel.pcs ([10.4.2.152]) by mail.software.plasmon.com with esmtp (Exim 3.35 #1 (Debian)) id 1CuYR2-0003yK-00 for ; Fri, 28 Jan 2005 15:53:24 +0000 Message-ID: <41FA5FE5.3040406@software.plasmon.com> Date: Fri, 28 Jan 2005 15:53:09 +0000 From: John Connett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1 X-Accept-Language: en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: LSI53C1020 Integrated Mirroring and mpt? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jan 2005 15:53:30 -0000 I have a system with an LSI53C1020 controller with the Integrated Mirroring firmware and two disks attached. This operates as a RAID1 array and appears to the rest of the system as a single scsi disk. What I am looking for is a simple utility roughly equivalent to raidutil used with asr(4). Our application uses a simple wrapper around raidutil to query the states of the array and disks; and to command a rebuild of the array. Here's some example output: -su-2.05b# raidutil -L raid Address Type Manufacturer/Model Capacity Status --------------------------------------------------------------------------- d0b0t0d0 RAID 1 (Mirrored) ADAPTEC RAID-1 70149MB Optimal d0b0t0d0 Disk Drive (DASD) MAXTOR ATLASU320_73_SC70149MB Optimal d0b0t1d0 Disk Drive (DASD) MAXTOR ATLASU320_73_SC70149MB Optimal The only information used is from the "Address" and "Status" fields. We also use "raidutil -a rebuild d0" to command a rebuild of the array. What I want is either a similar utility or sufficient information to use the mpt(4) driver to obtain this information. The target platform is FreeBSD 4.x on i386. Any pointers to this information would be gratefully received. -- John Connett