From owner-freebsd-scsi@FreeBSD.ORG Mon Oct 31 11:02:38 2005 Return-Path: X-Original-To: freebsd-scsi@freebsd.org 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 6FDD816A41F for ; Mon, 31 Oct 2005 11:02:38 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4824C43D62 for ; Mon, 31 Oct 2005 11:02:27 +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.3/8.13.3) with ESMTP id j9VB2RXV009073 for ; Mon, 31 Oct 2005 11:02:27 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9VB2QCN009066 for freebsd-scsi@freebsd.org; Mon, 31 Oct 2005 11:02:26 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 31 Oct 2005 11:02:26 GMT Message-Id: <200510311102.j9VB2QCN009066@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 Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 11:02:38 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/05/03] kern/27059 scsi [sym] SCSI subsystem hangs under heavy lo 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 o [2003/05/24] kern/52638 scsi [panic] SCSI U320 on SMP server won't run s [2003/09/30] kern/57398 scsi [mly] Current fails to install on mly(4) o [2003/12/26] kern/60598 scsi wire down of scsi devices conflicts with o [2003/12/27] kern/60641 scsi [sym] Sporadic SCSI bus resets with 53C81 s [2004/01/10] kern/61165 scsi [panic] kernel page fault after calling c o [2004/12/02] kern/74627 scsi [ahc] [hang] Adaptec 2940U2W Can't boot 5 o [2005/06/04] kern/81887 scsi [aac] Adaptec SCSI 2130S aac0: GetDeviceP 11 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/57469 scsi [scsi] [patch] Quirk for Conner CP3500 o [2005/01/12] kern/76178 scsi [ahd] Problem with ahd and large SCSI Rai 7 problems total. From owner-freebsd-scsi@FreeBSD.ORG Tue Nov 1 16:09:51 2005 Return-Path: X-Original-To: freebsd-scsi@freebsd.org 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 594D616A41F for ; Tue, 1 Nov 2005 16:09:51 +0000 (GMT) (envelope-from rainer@pasch.de) Received: from daisy.wunsch.net (daisy.wunsch.net [195.145.5.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id C56F443D45 for ; Tue, 1 Nov 2005 16:09:50 +0000 (GMT) (envelope-from rainer@pasch.de) Received: from localhost (localhost [127.0.0.1]) by daisy.wunsch.net (Postfix) with ESMTP id A88745007 for ; Tue, 1 Nov 2005 17:09:48 +0100 (CET) Received: from daisy.wunsch.net ([127.0.0.1]) by localhost (daisy [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26747-03 for ; Tue, 1 Nov 2005 17:09:45 +0100 (CET) Received: by daisy.wunsch.net (Postfix, from userid 1003) id 868954EAF; Tue, 1 Nov 2005 17:09:45 +0100 (CET) Received: from pasch (dslb-084-063-003-189.pools.arcor-ip.net [84.63.3.189]) by daisy.wunsch.net (Postfix) with ESMTP id 06DF2159B for ; Tue, 1 Nov 2005 17:09:43 +0100 (CET) Message-ID: <000501c5dfb7$234179f0$6f5ffea9@pasch> From: "Rainer Pasch" To: Date: Wed, 2 Nov 2005 15:10:10 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Antivirus: avast! (VPS 0544-0, 31.10.2005), Outbound message X-Antivirus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on daisy.wunsch.net X-Spam-Level: ** X-Spam-Status: No, score=2.5 required=4.0 tests=DATE_IN_FUTURE_12_24, HTML_MESSAGE,RCVD_IN_SORBS_DUL autolearn=no version=3.0.2 X-Virus-Scanned: by amavisd-new at wunsch.net X-Mailman-Approved-At: Wed, 02 Nov 2005 16:12:31 +0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ahd driver & PCI-X (64bit) Adaptec 39320D Ultra320 SCSI adapter X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2005 16:09:51 -0000 Hallo, I am searching for 64 bit driver "Windows Vista" campatible for = "Adaptec ASC 29320 A" SCSI controller. Can you help? RP From owner-freebsd-scsi@FreeBSD.ORG Wed Nov 2 21:14:49 2005 Return-Path: X-Original-To: freebsd-scsi@freebsd.org 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 C52C716A41F for ; Wed, 2 Nov 2005 21:14:49 +0000 (GMT) (envelope-from cp.hennessy@openapp.biz) Received: from host0419.cammail.net (host0419.cammail.net [217.206.202.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECC1043D66 for ; Wed, 2 Nov 2005 21:14:43 +0000 (GMT) (envelope-from cp.hennessy@openapp.biz) Received: from con-laptop ([83.70.173.25]) (authenticated bits=0) by host0419.cammail.net (8.12.8/8.12.8) with ESMTP id jA2LtCIc012071 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Wed, 2 Nov 2005 21:55:13 GMT From: CP Hennessy To: freebsd-scsi@freebsd.org Date: Wed, 2 Nov 2005 21:13:17 +0000 User-Agent: KMail/1.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511022113.17435.cp.hennessy@openapp.biz> Subject: rebuilding an RAID 0+1 disk ( Compaq DL380 with a SmartArray controller) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Nov 2005 21:14:49 -0000 Hi, [I've taken over a system which I did not setup and am new to RAID on FreeBSD, so please be patient with me :) ] We have a production server that seems to hang infrequently. The problem seemed to be related to reading of pages from swap, so I disabled swap and the problem has not reappeared (yet). When I was finally able to get physical access to the machine I saw that the led on one of the disks was flashing yellow, so I suspect that this is the problem. I will replace that disk and I want to rebuild the mirror on that disk, but do not know exactly how. I see that the following drivers : $ pciconf -lv | grep -B 3 mass ida0@pci0:1:0: class=0x010400 card=0x40400e11 chip=0x00101000 rev=0x02 hdr=0x00 vendor = 'LSI Logic (Was: Symbios Logic, NCR)' device = 'LSI53C1510 I2O-Ready PCI RAID Ultra2 SCSI Controller (Intelligent mode)' class = mass storage -- atapci0@pci0:15:1: class=0x01018a card=0x00000000 chip=0x02111166 rev=0x00 hdr=0x00 vendor = 'Reliance Computer Corp./ServerWorks' device = 'OSB4 PCI EIDE Controller' class = mass storage What do I need to do to add/remove the new disk to the raid configuration ? How do I rebuild the mirror ? Thanks CP Hennessy From owner-freebsd-scsi@FreeBSD.ORG Wed Nov 2 22:08:15 2005 Return-Path: X-Original-To: freebsd-scsi@freebsd.org 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 8BD6316A41F for ; Wed, 2 Nov 2005 22:08:15 +0000 (GMT) (envelope-from cp.hennessy@openapp.biz) Received: from host0419.cammail.net (host0419.cammail.net [217.206.202.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B60D43D45 for ; Wed, 2 Nov 2005 22:08:14 +0000 (GMT) (envelope-from cp.hennessy@openapp.biz) Received: from con-laptop ([83.70.173.25]) (authenticated bits=0) by host0419.cammail.net (8.12.8/8.12.8) with ESMTP id jA2MmiIc012508 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Wed, 2 Nov 2005 22:48:45 GMT From: CP Hennessy To: freebsd-scsi@freebsd.org Date: Wed, 2 Nov 2005 22:06:47 +0000 User-Agent: KMail/1.8.2 References: <200511022113.17435.cp.hennessy@openapp.biz> In-Reply-To: <200511022113.17435.cp.hennessy@openapp.biz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511022206.48520.cp.hennessy@openapp.biz> Subject: Re: rebuilding an RAID 0+1 disk ( Compaq DL380 with a SmartArray controller) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Nov 2005 22:08:15 -0000 On Wednesday 02 November 2005 21:13, CP Hennessy wrote: > Hi, > > [I've taken over a system which I did not setup and am new to RAID on > FreeBSD, so please be patient with me :) ] > > We have a production server that seems to hang infrequently. The problem > seemed to be related to reading of pages from swap, so I disabled swap and > the problem has not reappeared (yet). When I was finally able to get > physical access to the machine I saw that the led on one of the disks was > flashing yellow, so I suspect that this is the problem. > > I will replace that disk and I want to rebuild the mirror on that disk, but > do not know exactly how. > > I see that the following drivers : > $ pciconf -lv | grep -B 3 mass > ida0@pci0:1:0: class=0x010400 card=0x40400e11 chip=0x00101000 rev=0x02 > hdr=0x00 > vendor = 'LSI Logic (Was: Symbios Logic, NCR)' > device = 'LSI53C1510 I2O-Ready PCI RAID Ultra2 SCSI Controller > (Intelligent mode)' > class = mass storage > -- > atapci0@pci0:15:1: class=0x01018a card=0x00000000 chip=0x02111166 rev=0x00 > hdr=0x00 > vendor = 'Reliance Computer Corp./ServerWorks' > device = 'OSB4 PCI EIDE Controller' > class = mass storage > > What do I need to do to add/remove the new disk to the raid configuration ? > How do I rebuild the mirror ? Oops, I forgot to mention that it is FreeBSD 4.8. CPH From owner-freebsd-scsi@FreeBSD.ORG Thu Nov 3 14:32:54 2005 Return-Path: X-Original-To: freebsd-scsi@freebsd.org 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 5657116A41F for ; Thu, 3 Nov 2005 14:32:54 +0000 (GMT) (envelope-from myself@rojer.pp.ru) Received: from hermes.hw.ru (hermes.hw.ru [80.68.240.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8005643D45 for ; Thu, 3 Nov 2005 14:32:50 +0000 (GMT) (envelope-from myself@rojer.pp.ru) Received: from [80.68.243.98] (account rojer@rbc.ru HELO [80.68.243.98]) by hermes.hw.ru (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 97410408 for freebsd-scsi@freebsd.org; Thu, 03 Nov 2005 17:32:49 +0300 Message-ID: <436A1F90.3000909@rojer.pp.ru> Date: Thu, 03 Nov 2005 17:32:48 +0300 From: Deomid Ryabkov User-Agent: Thunderbird 1.6a1 (X11/20050926) MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: multipart/mixed; boundary="------------000000010702090402000707" Subject: PATCH: simple monitoring solution for LSI 1030-base RAID arrays X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2005 14:32:54 -0000 This is a multi-part message in MIME format. --------------000000010702090402000707 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit (I have previously sent this to Justin Gibbs directly, but got no response. Maybe someone else can take a look at this). This small patch adds an OID that makes RAID monitoring much easier: current number of volumes with State != MPI_RAIDVOL0_STATUS_STATE_OPTIMAL. 0 under normal conditions, > 0 if "something is wrong". Having such a flag, it is essentially enough to just poll this OID regularly and send out a notification. -- Deomid Ryabkov aka Rojer myself@rojer.pp.ru rojer@sysadmins.ru ICQ: 8025844 --------------000000010702090402000707 Content-Type: text/x-patch; name="mpt_nonoptimal_volumes.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mpt_nonoptimal_volumes.patch" diff -ur /sys/dev/mpt.orig/mpt.h /sys/dev/mpt/mpt.h --- /sys/dev/mpt.orig/mpt.h Sun Jul 10 19:05:38 2005 +++ /sys/dev/mpt/mpt.h Tue Oct 18 14:40:24 2005 @@ -450,6 +450,7 @@ u_int raid_resync_rate; u_int raid_mwce_setting; u_int raid_queue_depth; + u_int raid_nonopt_volumes; struct proc *raid_thread; struct callout raid_timer; diff -ur /sys/dev/mpt.orig/mpt_raid.c /sys/dev/mpt/mpt_raid.c --- /sys/dev/mpt.orig/mpt_raid.c Sun Jul 10 19:05:38 2005 +++ /sys/dev/mpt/mpt_raid.c Tue Oct 18 14:40:19 2005 @@ -1226,6 +1226,7 @@ size_t len; int rv; int i; + u_int nonopt_volumes = 0; if (mpt->ioc_page2 == NULL || mpt->ioc_page3 == NULL) return; @@ -1329,6 +1330,9 @@ mpt_vol->flags |= MPT_RVF_ANNOUNCED; } + if (vol_pg->VolumeStatus.State != MPI_RAIDVOL0_STATUS_STATE_OPTIMAL) + nonopt_volumes++; + if ((mpt_vol->flags & MPT_RVF_UP2DATE) != 0) continue; @@ -1436,6 +1440,8 @@ } mpt_prtc(mpt, " )\n"); } + + mpt->raid_nonopt_volumes = nonopt_volumes; } static void @@ -1671,4 +1677,8 @@ "vol_resync_rate", CTLTYPE_INT | CTLFLAG_RW, mpt, 0, mpt_raid_sysctl_vol_resync_rate, "I", "volume resync priority (0 == NC, 1 - 255)"); + SYSCTL_ADD_INT( ctx, SYSCTL_CHILDREN(tree), OID_AUTO, + "nonoptimal_volumes", CTLFLAG_RD, &mpt->raid_nonopt_volumes, 0, + "number of nonoptimal volumes"); + } --------------000000010702090402000707--