From owner-freebsd-stable@FreeBSD.ORG Sun Jul 19 14:51:40 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF28E1065673 for ; Sun, 19 Jul 2009 14:51:40 +0000 (UTC) (envelope-from mkhitrov@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 7BBD78FC1B for ; Sun, 19 Jul 2009 14:51:40 +0000 (UTC) (envelope-from mkhitrov@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so568634qwe.7 for ; Sun, 19 Jul 2009 07:51:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=aykwJGctaspxrRWndfvE8S+at+P/uiBvp/2jc+C7TlQ=; b=VOZqC8NiuvzvGnqxEugO+Bw+Pjvktw4ah0cZBycflWTZ9GdTO3eJN28N5tlXVMZIhe micb6T1acqfV7K71uHQ9n7AwyhlLXDGqqt68e9NLuEv7CQl/cOO7v5sgLClZP4W9UMmw 6rrkBf7W4pzBL1k55lOd/7M3do14WXEjY6i1c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=oNeqxdCUMepQKJJeccTt0sIxkYlTTRxXtfJF3gkylz1PhkMUkRMq5zlfKX3l1lNbK/ KD7RtBHb6VdQt9bvPC+qiX9rvWUIfrdBgzPKib2zDpGqyJ9/dbarzjlTznk+bOYFjkJv hcylKLceF6H2FVPaNue7DkOAoPHp0ivKittaw= MIME-Version: 1.0 Received: by 10.229.99.130 with SMTP id u2mr630062qcn.29.1248013650190; Sun, 19 Jul 2009 07:27:30 -0700 (PDT) From: Maxim Khitrov Date: Sun, 19 Jul 2009 10:27:10 -0400 Message-ID: <26ddd1750907190727o59d49a9bm4bc730592c898389@mail.gmail.com> To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: twa (3ware 9690SA) error on shutdown X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jul 2009 14:51:41 -0000 I'm playing around with the 3ware 9690SA raid controller. At first, I was using FreeBSD 8.0-BETA2, but it kept encountering errors after start-up and on shutdown. There is no 8.x driver on the 3ware site, so I decided to go back to 7.2-RELEASE. This, however, did not solve the problem. The major one that I'm having right now is that the system refuses to reboot. After issuing the command, this is what I see toward the end: Uptime: 9h41m43s twa0: ERROR: (0x15: 0x1104): Internal request timed out: request = 0xfffffffe80223a28 twa0: INFO: (0x16: 0x1108): Resetting Controller...: twa0: INFO: (0x04: 0x0001): Controller reset occurred: resets=1 twa0: INFO: (0x16: 0x1107): Controller reset done!: twa0: ERROR: (0x15: 0x1015): Can't close connection with controller: error = 60 twa0: ERROR: (0x05: 0x2015): Failed to shutdown Common Layer/controller: error = 60 Here the system freezes and I have to hold the power button for 5 sec to turn the power off and then restart. This happened with the default twa driver, so I downloaded the 9.5.2 code set from 3ware website and tried to use the twa.ko that comes with that release (for amd64). This also did not fix the problem. There is one other issue that may be related to this one. The verify process for a newly created array is never finished. When the system is started, I see a "verify started" message and the activity leds of the drivers connected to the controller light up. If I reboot the system at this point, the first problem does not occur. On other hand, if I wait maybe 5 minutes the activity lights turn off, indicating that something happens to the verify process, and at this point I can no longer reboot the system. My guess is that the verify process causes some sort of a problem for the driver or the controller itself, which then prevents normal communication during shutdown. Has anyone else encountered this problem or has a solution for it? - Max