From owner-freebsd-current@FreeBSD.ORG Fri Nov 28 03:15:57 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF77516A4CE; Fri, 28 Nov 2003 03:15:57 -0800 (PST) Received: from mail.ergobrains.co.jp (mail.ergobrains.co.jp [61.204.41.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CB2143FE0; Fri, 28 Nov 2003 03:15:56 -0800 (PST) (envelope-from t-yonetani@ergobrains.co.jp) Received: from y0netan1 (build [192.168.2.176]) by mail.ergobrains.co.jp (Postfix) with SMTP id 004A1115920; Fri, 28 Nov 2003 20:15:54 +0900 (JST) Date: Fri, 28 Nov 2003 20:15:52 +0900 From: YONETANI Tomokazu To: Martin Blapp Message-ID: <20031128111552.GA69277@ergobrains.co.jp> References: <200311270837.hAR8ba1K080927@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200311270837.hAR8ba1K080927@repoman.freebsd.org> User-Agent: Mutt/1.5.5.1i cc: freebsd-current@FreeBSD.org Subject: LOR or panic with ips driver (was Re: cvs commit: src/sys/dev/ips ips.c ips.h ips_commands.c) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Nov 2003 11:15:57 -0000 Hello. On 2003/11/27 00:37:36, Martin Blapp wrote: > mbr 2003/11/27 00:37:36 PST > > FreeBSD src repository > > Modified files: > sys/dev/ips ips.c ips.h ips_commands.c > Log: > ServeRaid (at least 5i) didn't initialize correctly. To get > them working (cache, automatic rebuild and hotswap) the FFDC > info (First Failure Data Capture) on the adapter must be > initialised. > > Logical drives in critical/degraded states weren't added to > the drive list. FreeBSD was not able to see a degraded array > after a reboot. Degraded drives are now also added to the drivelist > and the state of the logical drive is given at boottime. > > The adapter type is detected from informations in nvram page 5 > and displayed at boottime. > > Change IPS_OS_FREEBSD definition from 10 to 8 according to IBM > specs. > > Submitted by: pgfb@imp.ch > Reviewed by: mbr, scottl > Approved by: re > > Revision Changes Path > 1.6 +64 -2 src/sys/dev/ips/ips.c > 1.5 +57 -2 src/sys/dev/ips/ips.h > 1.7 +90 -0 src/sys/dev/ips/ips_commands.c After seeing this commit message, I've upgraded -CURRENT installed on NetFinity 6000R(with ServeRAID 4H) to catch up with the recent changes. However, LOR or panic still persists. You can panic your -CURRENT machine by creating a log of files in a directory. You can do it with a simple shell script like this: $ mkdir foo; i=0; while :; do echo $i > foo/$i; i=$(($i+1)); done - If you have WITNESS_* options in the kernel config file, you'll see a lot of LOR messages on the console or in /var/log/messages, along with a bunch of `iobuf error 5', but the kernel doesn't panic(or takes very long time before it panics). - If you don't have WITNESS_* options in the kernel config file and run the code above, the kernel panics in a few minutes after seeing `iobuf error 5' messages. I've already submitted a PR for this as kern/57832, but still have no idea how to fix this. The traceback looks almost the same as it was a few months ago. Regards. -- YONETANI Tomokazu / Ergo-Brains Inc.