From owner-freebsd-scsi@FreeBSD.ORG Mon May 10 11:17:05 2004 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 A3EA416A4CE for ; Mon, 10 May 2004 11:17:05 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 171B843D1D for ; Mon, 10 May 2004 11:17:05 -0700 (PDT) (envelope-from AdilK@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Mon, 10 May 2004 14:17:04 -0400 Message-ID: From: Adil Katchi To: "'freebsd-scsi@freebsd.org'" Date: Mon, 10 May 2004 14:17:00 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: VMIoctl command timeout 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, 10 May 2004 18:17:05 -0000 I'm running FreeBSD 4.7 and have an Adaptec SCSI RAID 2200S controller. Whenever I reboot my box, the aac0 device times out after 30 seconds while trying to send a VMIoctl command and I get the following error message on the screen: aacd0: on aac0 aacd0: 419944MB (860045568 sectors) aac0: Error 5 sending VMIoctl command aac0: Error 5 sending VMIoctl command The pciconf for the controller card is as follows: aac0@pci5:2:0: class=0x010400 card=0x02859005 chip=0x02859005 rev=0x01 hdr=0x00 vendor = 'Adaptec' device = 'AAC-RAID RAID Controller' class = mass storage subclass = RAID I am using the SCSI passthrough device, aacp, and so my kernel configuration file has the following in it: device aac # Adaptec FSA RAID, Dell PERC2/PERC3 device aacp # SCSI Passthrough interface (optional, CAM required) As shown above, the RAID configuration is 3 drives on a RAID 5 configuration. The system continues to boot without a problem. I tried upgrading my aac device to the latest RELENG_4 branch without success. Furthermore, I tried upgrading the whole kernel to 4.10, again without success. I looked through the code in sys/dev/aac/aac_cam.c and I traced the problem to a timeout that occurs while doing a AAC_MONKER_SYNCFIB command. I've also contacted Scott Long, the owner of the device driver, but he hasn't been able to reproduce this problem. He's the one who suggested that I upgrade the driver. Can anyone help? Adil