From owner-freebsd-stable Wed Feb 20 12:10:24 2002 Delivered-To: freebsd-stable@freebsd.org Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by hub.freebsd.org (Postfix) with ESMTP id 9046F37B416; Wed, 20 Feb 2002 12:10:17 -0800 (PST) Received: from simoeon.sentex.net (pyroxene.sentex.ca [199.212.134.18]) by smtp1.sentex.ca (8.11.6/8.11.6) with ESMTP id g1KKAG059533; Wed, 20 Feb 2002 15:10:16 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <5.1.0.14.0.20020220144955.022709b0@marble.sentex.ca> X-Sender: mdtpop@marble.sentex.ca X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 20 Feb 2002 15:04:11 -0500 To: Michael Smith , stable@FreeBSD.ORG From: Mike Tancsa Subject: Re: 3ware 6xxx-series controllers and 6.9 firmware In-Reply-To: <200202181135.g1IBZWA06638@mass.dis.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG OK, while trying this patch out, I have found the following: * The patch applies to RELENG_4 with some errors, but it compiles and installs just fine. * with the patch and the OLD firmware, buildworld works as expected. I can also stress the box just fine with 20 bonnies running at the same time in the background each writing to a file the size of all the RAM. * The patch will work with the previous version of the firmware I have been using, but the 3dm util complains a bit and I am now unable to download the extended error_log on the Alarms page. e.g. dmesg | grep -i twe twe0: <3ware Storage Controller> port 0xe000-0xe00f irq 15 at device 10.0 on pci0 twe0: 2 ports, Firmware FE6X 1.00.43.003, BIOS BEXX 1.04.00.009 twed0: on twe0 twed0: 58819MB (120462848 sectors) e.g. when I start up the 3dmd program I see baycrest# ./3dmd Error: ioctl(3/0x800c5469 0x402/0xc) failed: Invalid argument. Error: ioctl(3/0x800c5469 0x406/0x2) failed: Invalid argument. baycrest# Error: ioctl(4/0x800c5469 0x402/0xc) failed: Invalid argument. Error: ioctl(4/0x800c5469 0x406/0x2) failed: Invalid argument. baycrest# And browsing through the daemon's web pages, it generates a series of errors/warnings as well twed0: controller error - aborted due to system command or reconfiguration (flags = 0x16) twe0: TWEIO_GET_PARAM failed for 0x402/0xc/8 twed0: controller error - aborted due to system command or reconfiguration (flags = 0x15) twe0: TWEIO_GET_PARAM failed for 0x406/0x2/16 twed0: controller error - aborted due to system command or reconfiguration (flags = 0x16) twe0: TWEIO_GET_PARAM failed for 0x402/0xc/8 twed0: controller error - aborted due to system command or reconfiguration (flags = 0x15) I am going to try the firmware upgrade now and see how it works. ---Mike At 03:35 AM 2/18/02 -0800, Michael Smith wrote: >As several people have pointed out, the 6.9 firmware update from 3ware >is causing problems with the 'twe' driver. > >I have a version of the driver working with the 6.9 firmware which folks >encountering problems are encouraged to test. I've rolled most but not >all of the changes from the Linux 6.9 drivers in; some will require more >testing and/or may not be useful. > >Please try: > > http://people.freebsd.org/~msmith/RAID/3ware/twe.releng_4.diff > http://people.freebsd.org/~msmith/RAID/3ware/twe.current.diff > >and let me know how you go. > >-- >To announce that there must be no criticism of the president, >or that we are to stand by the president, right or wrong, is not >only unpatriotic and servile, but is morally treasonable to >the American public. - Theodore Roosevelt > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message