From owner-freebsd-sparc64@FreeBSD.ORG Thu Jul 23 19:07:27 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDEDB106566B for ; Thu, 23 Jul 2009 19:07:27 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 68B118FC12 for ; Thu, 23 Jul 2009 19:07:27 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id n6NJ7Puh056490; Thu, 23 Jul 2009 21:07:26 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id n6NJ7Oij056489; Thu, 23 Jul 2009 21:07:24 +0200 (CEST) (envelope-from marius) Date: Thu, 23 Jul 2009 21:07:24 +0200 From: Marius Strobl To: R J Message-ID: <20090723190724.GB56079@alchemy.franken.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: Sata pci cards in ultra 60 or blade 1000 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 19:07:28 -0000 On Wed, Jul 22, 2009 at 02:40:55PM -0500, R J wrote: > Hi all, > I have both an ultra 60 and a Sun blade 1000. I have freebsd 7.2 running > on both seemingly without issue, outside of sata pci. > > I have had a promise SATA300 TX4, 66MHZ (4 port version) in the ultra 60 > and rebuild the kernel to contain the ata driver. When the system boots, > it sees the card just fine, but it doesn't see any drives attached to it. I > had two disks attached (one 40gig fujitsu, and one is a 1TB hitachi), but > none of them were seen. I tried powering the drives with a different power > supply, but they would not be seen by the promise controller. The drives > work fine in a pc with linux. > > I switched out the promise card, and put a silicon image Sil 3512 in the > ultra 60, and the two drives were seen. I was able to lay ufs file system > on them, and even copied files around, but the system was not stable. I.e, > I would copy files to the sata hard drives for a few minutes before it > would hang and remain that way till I did a hard reset. > > I then took the Sil 3512 out of the ultra60 and put it in the Sun blade > 1000, and attached the drives, and, just like the promise card, the sil > card is seen by freebsd, but the drives are not. Remember, the drives are > seen with the same card in the ultra60. I currently don't have the promise > card with me to test with the blade, but I would imagine the same thing > will happen. > > Has any body had success with sata pci cards in any of the ultrasparc pci > systems? If so, what cards/chipsets/workarounds? > > Other than the 66mhz v 33mhz(with respective 3.3/5 volt) and 32 v 64 bit, > is there any other thing quirky about the sparc pci busses that would cause > this sort of behaviour? > > Any help appreciated. > For several controllers ata(4) depends on the firmware to do at least part of the initialization, even for models without RAID etc functionality, which would be required to be written in FCode in order to work in sparc64 machines. Depending on the system firmware and the PCI class a specific controller reports it might be treated as ordinary IDE controller or not which might explain the different behaviors you have seen between machine models. Generally this is highly controller dependent though, IIRC I had no problems with a Promise FastTrack TX2 in a Sun AXe board and a VIA VT6421A-based controller in a Blade 1500, the latter was only lightly tested though. Another possibility for connecting SATA disks to sparc64 machines is to use a SAS controller driven by mpt(4), which aren't necessarily more expensive than TX4 on Ebay. Marius