From owner-freebsd-hardware@FreeBSD.ORG Thu May 8 03:06:37 2003 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D1AD37B401; Thu, 8 May 2003 03:06:37 -0700 (PDT) Received: from mail.dannysplace.net (allxs.xs4all.nl [194.109.223.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6CCD43F93; Thu, 8 May 2003 03:06:35 -0700 (PDT) (envelope-from fbsd@dannysplace.net) Received: from [192.168.1.3] (helo=localhost) by mail.dannysplace.net with esmtp (Exim 4.12) id 19DiII-000Lq9-00; Thu, 08 May 2003 12:06:30 +0200 Received: from pr2.ing.nl (pr2.ing.nl [145.221.92.41]) by www.dannysplace.com (Horde) with HTTP for ; Thu, 8 May 2003 12:06:29 +0200 Message-ID: <1052388389.c4bc0c7cd203e@www.dannysplace.com> Date: Thu, 8 May 2003 12:06:29 +0200 From: Danny Carroll To: freebsd-hackers@freebsd.org, freebsd-hardware@freebsd.org, freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *19DiII-000Lq9-00*WtVnbMX7rIU* Subject: Compaq IDA driver and getting array state. X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2003 10:06:38 -0000 First off, sorry for the cross post, not sure where this should go. I am looking at extending the driver for ida so that messages about failed drives and the state of the array will make it into the syslog. (If this somehow already happens, can someone explain how?) Also, I want to write an app that will give extended info about the logical drive(s) and controller(s). Aside from some packet driver programming on DOS a decade ago, I've never done any hardware programming. So I have a few questions. 1. Anyone with a Compaq Smart controller want to help/test? 2. Can I query a device directly without using the driver? Or is the driver the only thing allowed to talk to the hardware? 3. Debugging a kernel device driver, is there are HOW-TO? (I've also not done any Kernel programming before..) 4. For those that have FreeBSD machines running on Compaq hardware now, how do you monitor the array? Especially if it's in a rack somewhere? The device driver looks simple enough, and I have a document that describes the devices' features, so I don't think it's going to be mega-hard. But considering I'll be screwing with the device directly, and that it's a disk device, I will need to be wary. -D